From 94bc4738a5aa236170630658d0e106f36e793df9 Mon Sep 17 00:00:00 2001 From: ingrammicro-xvantage Date: Fri, 16 Feb 2024 05:46:56 +0000 Subject: [PATCH 1/6] Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispec/commit/bd8897c92668097ed2885f9c43086ab1f3ffbb55 --- .openapi-generator/FILES | 195 +- LICENCE | 21 - LICENSE | 21 - README.md | 107 +- api/openapi.yaml | 24525 ++++++---------- docs/InvoiceDetails.md | 13 - docs/InvoicesV4Api.md | 76 - docs/InvoicesV5Api.md | 80 - ...SKUPriceAndStockResponseServiceresponse.md | 2 +- ...esponseServiceresponseResponsepreamble.md} | 2 +- docs/OrderCancelResponse.md | 14 - docs/OrderCancelResponseServiceresponse.md | 13 - docs/OrderCreateRequest.md | 15 +- docs/OrderCreateRequestOrdercreaterequest.md | 14 - ...estOrdercreaterequestOrdercreatedetails.md | 32 - ...estOrdercreatedetailsExtendedspecsInner.md | 34 - ...eaterequestOrdercreatedetailsLinesInner.md | 32 - ...uestOrdercreatedetailsLinesInnerEnduser.md | 24 - ...ailsLinesInnerProductextendedspecsInner.md | 28 - ...erequestOrdercreatedetailsShiptoaddress.md | 20 - ...equestOrdercreaterequestRequestpreamble.md | 14 - docs/OrderCreateResponse.md | 12 +- docs/OrderCreateResponseServiceresponse.md | 15 - ...ServiceresponseOrdercreateresponseInner.md | 32 - ...ponseOrdercreateresponseInnerLinesInner.md | 27 - ...eateResponseServiceresponseOrdersummary.md | 16 - ...erviceresponseOrdersummaryShiptoaddress.md | 21 - docs/OrderDeleteResponse.md | 2 +- docs/OrderDeleteResponseServiceresponse.md | 13 + ...esponseServiceresponseResponsepreamble.md} | 2 +- docs/OrderDetailResponse.md | 23 +- docs/OrderDetailResponseServiceresponse.md | 14 - ...ponseServiceresponseOrderdetailresponse.md | 32 - ...esponseOrderdetailresponseBilltoaddress.md | 22 - ...nseOrderdetailresponseCommentlinesInner.md | 14 - ...eresponseOrderdetailresponseEnduserinfo.md | 13 - ...seOrderdetailresponseExtendedspecsInner.md | 14 - ...ceresponseOrderdetailresponseLinesInner.md | 35 - ...ponseLinesInnerSerialnumberdetailsInner.md | 13 - ...lresponseLinesInnerShipmentdetailsInner.md | 28 - ...InnerShipmentdetailsInnerPackagedetails.md | 16 - ...onseOrderdetailresponseMiscfeelineInner.md | 14 - ...esponseOrderdetailresponseShiptoaddress.md | 22 - docs/OrderSearchResponse.md | 8 +- docs/OrderSearchResponseServiceResponse.md | 14 - ...ponseServiceResponseOrdersearchresponse.md | 16 - ...eResponseOrdersearchresponseOrdersInner.md | 17 - ...onseOrdersearchresponseOrdersInnerLinks.md | 35 - ...searchresponseOrdersInnerSubordersInner.md | 18 - ...onseOrdersInnerSubordersInnerLinksInner.md | 34 - ...ResponseServiceResponseResponsepreamble.md | 14 - docs/OrdersV4Api.md | 348 - docs/OrdersV5Api.md | 314 - docs/PriceAndAvailabilityRequest.md | 8 +- ...iceAndAvailabilityRequestServicerequest.md | 14 - ...questServicerequestPriceandstockrequest.md | 16 - ...icerequestPriceandstockrequestItemInner.md | 24 - ...ityRequestServicerequestRequestpreamble.md | 14 - docs/PriceAndAvailabilityResponse.md | 14 - ...eAndAvailabilityResponseServiceresponse.md | 14 - ...nseServiceresponsePriceandstockresponse.md | 13 - ...sponsePriceandstockresponseDetailsInner.md | 87 - docs/ProductCatalogV4Api.md | 144 - docs/ProductCatalogV5Api.md | 148 - docs/ProductSearchResponse.md | 8 +- docs/ProductSearchResponseServiceresponse.md | 14 - ...rviceresponseProductsearchresponseInner.md | 14 - ...ductsearchresponseInnerPartnumbersInner.md | 18 - ...ResponseServiceresponseResponsepreamble.md | 15 - docs/QuoteListRequest.md | 14 - docs/QuoteListRequestQuoteSearchRequest.md | 14 - ...equestQuoteSearchRequestRequestPreamble.md | 15 - ...tQuoteSearchRequestRetrieveQuoteRequest.md | 31 - docs/QuotesV4Api.md | 144 - docs/QuotesV5Api.md | 150 - docs/WarehouseListType.md | 18 - .../java/xiresellers/client/ApiCallback.java | 2 +- .../java/xiresellers/client/ApiClient.java | 2 +- .../java/xiresellers/client/ApiException.java | 4 +- .../java/xiresellers/client/ApiResponse.java | 2 +- .../xiresellers/client/Configuration.java | 4 +- .../client/GzipRequestInterceptor.java | 2 +- src/main/java/xiresellers/client/JSON.java | 59 +- src/main/java/xiresellers/client/Pair.java | 4 +- .../client/ProgressRequestBody.java | 2 +- .../client/ProgressResponseBody.java | 2 +- .../java/xiresellers/client/StringUtil.java | 4 +- .../java/xiresellers/client/api/DealsApi.java | 2 +- .../client/api/FreightEstimateApi.java | 2 +- .../xiresellers/client/api/InvoicesApi.java | 2 +- .../xiresellers/client/api/InvoicesV4Api.java | 194 - .../xiresellers/client/api/InvoicesV5Api.java | 224 - .../xiresellers/client/api/InvoicesV6Api.java | 2 +- .../client/api/OrderStatusApi.java | 2 +- .../xiresellers/client/api/OrdersApi.java | 2 +- .../xiresellers/client/api/OrdersV4Api.java | 674 - .../xiresellers/client/api/OrdersV5Api.java | 737 - .../xiresellers/client/api/OrdersV6Api.java | 2 +- .../client/api/ProductCatalogApi.java | 2 +- .../client/api/ProductCatalogV4Api.java | 314 - .../client/api/ProductCatalogV5Api.java | 347 - .../client/api/QuoteToOrderApi.java | 2 +- .../xiresellers/client/api/QuotesApi.java | 2 +- .../xiresellers/client/api/QuotesV4Api.java | 314 - .../xiresellers/client/api/QuotesV5Api.java | 352 - .../xiresellers/client/api/RenewalsApi.java | 2 +- .../xiresellers/client/api/ReturnsApi.java | 2 +- .../client/api/StockUpdateApi.java | 2 +- .../xiresellers/client/auth/ApiKeyAuth.java | 4 +- .../client/auth/Authentication.java | 2 +- .../client/auth/HttpBasicAuth.java | 2 +- .../client/auth/HttpBearerAuth.java | 4 +- .../java/xiresellers/client/auth/OAuth.java | 4 +- .../xiresellers/client/auth/OAuthFlow.java | 4 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../xiresellers/client/model/AddressType.java | 4 +- .../AvailabilityAsyncNotificationRequest.java | 4 +- ...AsyncNotificationRequestResourceInner.java | 4 +- ...icationRequestResourceInnerLinksInner.java | 4 +- .../client/model/DealsDetailsResponse.java | 4 +- .../DealsDetailsResponseProductsInner.java | 4 +- .../client/model/DealsSearchResponse.java | 4 +- .../model/DealsSearchResponseDealsInner.java | 4 +- .../java/xiresellers/client/model/Error.java | 4 +- .../client/model/ErrorResponse.java | 4 +- .../client/model/ErrorResponseDTO.java | 4 +- .../model/ErrorResponseErrorsInner.java | 4 +- .../ErrorResponseErrorsInnerFieldsInner.java | 4 +- .../java/xiresellers/client/model/Fields.java | 4 +- .../client/model/FreightRequest.java | 4 +- .../model/FreightRequestLinesInner.java | 4 +- .../FreightRequestShipToAddressInner.java | 4 +- .../client/model/FreightResponse.java | 4 +- ...reightResponseFreightEstimateResponse.java | 4 +- ...ightEstimateResponseDistributionInner.java | 4 +- ...onseDistributionInnerCarrierListInner.java | 4 +- ...onseFreightEstimateResponseLinesInner.java | 4 +- ...GetResellerV6ValidateQuote400Response.java | 4 +- ...V6ValidateQuote400ResponseFieldsInner.java | 4 +- ...GetResellerV6ValidateQuote500Response.java | 4 +- .../client/model/InvoiceDetailRequest.java | 4 +- .../InvoiceDetailRequestServicerequest.java | 4 +- ...estServicerequestInvoicedetailrequest.java | 4 +- ...lRequestServicerequestRequestpreamble.java | 4 +- .../client/model/InvoiceDetailResponse.java | 4 +- .../InvoiceDetailResponseServiceresponse.java | 4 +- ...eServiceresponseInvoicedetailresponse.java | 4 +- ...voicedetailresponseExtendedspecsInner.java | 4 +- ...InvoicedetailresponseMiscfeelineInner.java | 4 +- ...sponseServiceresponseResponsepreamble.java | 4 +- .../client/model/InvoiceDetails.java | 208 - .../model/InvoiceDetailsv61Response.java | 4 +- .../InvoiceDetailsv61ResponseBillToInfo.java | 4 +- .../InvoiceDetailsv61ResponseFxRateInfo.java | 4 +- .../InvoiceDetailsv61ResponseLinesInner.java | 4 +- ...1ResponseLinesInnerSerialNumbersInner.java | 4 +- ...iceDetailsv61ResponsePaymentTermsInfo.java | 4 +- .../InvoiceDetailsv61ResponseShipToInfo.java | 4 +- .../InvoiceDetailsv61ResponseSummary.java | 4 +- ...ailsv61ResponseSummaryForeignFxTotals.java | 4 +- ...InvoiceDetailsv61ResponseSummaryLines.java | 4 +- ...ilsv61ResponseSummaryMiscChargesInner.java | 4 +- ...nvoiceDetailsv61ResponseSummaryTotals.java | 4 +- .../client/model/InvoiceSearchResponse.java | 4 +- .../InvoiceSearchResponseInvoicesInner.java | 4 +- .../model/MultiSKUPriceAndStockRequest.java | 4 +- ...SKUPriceAndStockRequestServicerequest.java | 4 +- ...estServicerequestPriceandstockrequest.java | 4 +- ...ervicerequestPriceandstockrequestItem.java | 4 +- ...kRequestServicerequestRequestpreamble.java | 4 +- .../model/MultiSKUPriceAndStockResponse.java | 4 +- ...UPriceAndStockResponseServiceresponse.java | 16 +- ...eServiceresponsePriceandstockresponse.java | 4 +- ...onsePriceandstockresponseDetailsInner.java | 4 +- ...onseDetailsInnerWarehousedetailsInner.java | 4 +- ...ponseServiceresponseResponsepreamble.java} | 62 +- .../client/model/OrderCancelResponse.java | 208 - .../client/model/OrderCreateRequest.java | 447 +- ...reateRequestAdditionalAttributesInner.java | 4 +- .../model/OrderCreateRequestEndUserInfo.java | 4 +- .../model/OrderCreateRequestLinesInner.java | 4 +- ...stLinesInnerAdditionalAttributesInner.java | 4 +- ...eateRequestLinesInnerEndUserInfoInner.java | 4 +- ...ateRequestLinesInnerWarrantyInfoInner.java | 4 +- ...InnerWarrantyInfoInnerSerialInfoInner.java | 4 +- .../OrderCreateRequestOrdercreaterequest.java | 245 - ...tOrdercreaterequestOrdercreatedetails.java | 599 - ...tOrdercreatedetailsExtendedspecsInner.java | 311 - ...terequestOrdercreatedetailsLinesInner.java | 584 - ...stOrdercreatedetailsLinesInnerEnduser.java | 525 - ...lsLinesInnerProductextendedspecsInner.java | 301 - ...equestOrdercreatedetailsShiptoaddress.java | 421 - ...uestOrdercreaterequestRequestpreamble.java | 244 - .../model/OrderCreateRequestResellerInfo.java | 4 +- .../model/OrderCreateRequestShipToInfo.java | 4 +- .../OrderCreateRequestShipmentDetails.java | 4 +- .../client/model/OrderCreateRequestVmf.java | 4 +- .../client/model/OrderCreateResponse.java | 321 +- .../model/OrderCreateResponseEndUserInfo.java | 4 +- .../model/OrderCreateResponseOrdersInner.java | 4 +- ...eOrdersInnerAdditionalAttributesInner.java | 4 +- ...erCreateResponseOrdersInnerLinesInner.java | 4 +- ...erLinesInnerAdditionalAttributesInner.java | 4 +- ...rsInnerLinesInnerShipmentDetailsInner.java | 4 +- ...erCreateResponseOrdersInnerLinksInner.java | 4 +- ...eOrdersInnerMiscellaneousChargesInner.java | 4 +- ...onseOrdersInnerRejectedLineItemsInner.java | 4 +- .../OrderCreateResponseServiceresponse.java | 290 - ...rviceresponseOrdercreateresponseInner.java | 566 - ...nseOrdercreateresponseInnerLinesInner.java | 595 - ...teResponseServiceresponseOrdersummary.java | 295 - ...viceresponseOrdersummaryShiptoaddress.java | 438 - .../model/OrderCreateResponseShipToInfo.java | 4 +- .../client/model/OrderDeleteRequest.java | 4 +- .../OrderDeleteRequestServicerequest.java | 4 +- ...rvicerequestOrderDeleteRequestDetails.java | 4 +- ...eRequestServicerequestRequestpreamble.java | 4 +- .../client/model/OrderDeleteResponse.java | 16 +- ...> OrderDeleteResponseServiceresponse.java} | 64 +- ...ponseServiceresponseResponsepreamble.java} | 62 +- .../client/model/OrderDetailB2B.java | 4 +- ...derDetailB2BAdditionalAttributesInner.java | 4 +- .../model/OrderDetailB2BBillToInfo.java | 4 +- .../model/OrderDetailB2BEndUserInfo.java | 4 +- .../model/OrderDetailB2BLinesInner.java | 4 +- ...2BLinesInnerAdditionalAttributesInner.java | 4 +- ...etailB2BLinesInnerEstimatedDatesInner.java | 4 +- ...LinesInnerEstimatedDatesInnerDelivery.java | 4 +- ...edDatesInnerDeliveryDeliveryDateRange.java | 4 +- ...lB2BLinesInnerEstimatedDatesInnerShip.java | 4 +- ...rEstimatedDatesInnerShipShipDateRange.java | 4 +- .../OrderDetailB2BLinesInnerLinksInner.java | 4 +- ...ilB2BLinesInnerMultipleShipmentsInner.java | 4 +- ...DetailB2BLinesInnerScheduleLinesInner.java | 4 +- ...etailB2BLinesInnerServiceContractInfo.java | 4 +- ...sInnerServiceContractInfoContractInfo.java | 4 +- ...esInnerServiceContractInfoLicenseInfo.java | 4 +- ...InnerServiceContractInfoSubscriptions.java | 4 +- ...tailB2BLinesInnerShipmentDetailsInner.java | 4 +- ...ipmentDetailsInnerCarrierDetailsInner.java | 4 +- ...rrierDetailsInnerTrackingDetailsInner.java | 4 +- ...rackingDetailsInnerSerialNumbersInner.java | 4 +- ...derDetailB2BMiscellaneousChargesInner.java | 4 +- .../model/OrderDetailB2BShipToInfo.java | 4 +- .../client/model/OrderDetailRequest.java | 4 +- .../OrderDetailRequestServicerequest.java | 4 +- ...questServicerequestOrderdetailrequest.java | 4 +- .../client/model/OrderDetailResponse.java | 676 +- .../model/OrderDetailResponseBillToInfo.java | 4 +- .../model/OrderDetailResponseEndUserInfo.java | 4 +- .../model/OrderDetailResponseLinesInner.java | 4 +- ...seLinesInnerAdditionalAttributesInner.java | 4 +- ...derDetailResponseLinesInnerLinksInner.java | 4 +- ...esponseLinesInnerShipmentDetailsInner.java | 4 +- ...nerShipmentDetailsInnerCarrierDetails.java | 4 +- ...nerCarrierDetailsTrackingDetailsInner.java | 4 +- ...rackingDetailsInnerSerialNumbersInner.java | 4 +- ...tailResponseMiscellaneousChargesInner.java | 4 +- .../OrderDetailResponseServiceresponse.java | 239 - ...nseServiceresponseOrderdetailresponse.java | 840 - ...ponseOrderdetailresponseBilltoaddress.java | 467 - ...eOrderdetailresponseCommentlinesInner.java | 235 - ...esponseOrderdetailresponseEnduserinfo.java | 206 - ...OrderdetailresponseExtendedspecsInner.java | 235 - ...responseOrderdetailresponseLinesInner.java | 907 - ...nseLinesInnerSerialnumberdetailsInner.java | 206 - ...esponseLinesInnerShipmentdetailsInner.java | 641 - ...nerShipmentdetailsInnerPackagedetails.java | 293 - ...seOrderdetailresponseMiscfeelineInner.java | 235 - ...ponseOrderdetailresponseShiptoaddress.java | 467 - .../model/OrderDetailResponseShipToInfo.java | 4 +- .../client/model/OrderModifyRequest.java | 4 +- ...odifyRequestAdditionalAttributesInner.java | 4 +- .../model/OrderModifyRequestLinesInner.java | 4 +- .../OrderModifyRequestServicerequest.java | 4 +- ...questServicerequestOrdermodifyrequest.java | 4 +- ...cerequestOrdermodifyrequestHeaderdata.java | 4 +- ...equestOrdermodifyrequestLinedataInner.java | 4 +- ...ervicerequestOrdermodifyrequestShipto.java | 4 +- ...yRequestServicerequestRequestpreamble.java | 4 +- .../model/OrderModifyRequestShipToInfo.java | 4 +- .../client/model/OrderModifyResponse.java | 4 +- .../model/OrderModifyResponseLinesInner.java | 4 +- ...seLinesInnerAdditionalAttributesInner.java | 4 +- ...difyResponseLinesInnerShipmentDetails.java | 4 +- ...rModifyResponseRejectedLineItemsInner.java | 4 +- .../OrderModifyResponseServiceresponse.java | 4 +- ...nseServiceresponseOrdermodifyresponse.java | 4 +- ...sponseServiceresponseResponsepreamble.java | 4 +- .../model/OrderModifyResponseShipToInfo.java | 4 +- .../client/model/OrderSearchRequest.java | 4 +- .../OrderSearchRequestServicerequest.java | 4 +- ...questServicerequestOrderLookupRequest.java | 4 +- ...OrderLookupRequestCustomerOrderNumber.java | 4 +- ...erequestOrderLookupRequestOrderNumber.java | 4 +- ...hRequestServicerequestRequestpreamble.java | 4 +- .../client/model/OrderSearchResponse.java | 200 +- .../model/OrderSearchResponseOrdersInner.java | 4 +- .../OrderSearchResponseOrdersInnerLinks.java | 4 +- ...archResponseOrdersInnerSubOrdersInner.java | 4 +- ...seOrdersInnerSubOrdersInnerLinksInner.java | 4 +- .../OrderSearchResponseServiceResponse.java | 239 - ...nseServiceResponseOrdersearchresponse.java | 323 - ...esponseOrdersearchresponseOrdersInner.java | 355 - ...seOrdersearchresponseOrdersInnerLinks.java | 379 - ...archresponseOrdersInnerSubordersInner.java | 373 - ...seOrdersInnerSubordersInnerLinksInner.java | 379 - ...sponseServiceResponseResponsepreamble.java | 244 - .../OrderStatusAsyncNotificationRequest.java | 4 +- ...AsyncNotificationRequestResourceInner.java | 4 +- ...icationRequestResourceInnerLinesInner.java | 4 +- ...nerLinesInnerSerialNumberDetailsInner.java | 4 +- ...ceInnerLinesInnerShipmentDetailsInner.java | 4 +- ...ipmentDetailsInnerPackageDetailsInner.java | 4 +- ...icationRequestResourceInnerLinksInner.java | 4 +- .../model/PostQuoteToOrderV6400Response.java | 4 +- ...tQuoteToOrderV6400ResponseFieldsInner.java | 4 +- .../model/PostRenewalssearch400Response.java | 4 +- .../model/PriceAndAvailabilityRequest.java | 243 +- ...ilityRequestAdditionalAttributesInner.java | 4 +- ...tyRequestAvailabilityByWarehouseInner.java | 4 +- ...ceAndAvailabilityRequestProductsInner.java | 4 +- ...roductsInnerAdditionalAttributesInner.java | 4 +- ...eAndAvailabilityRequestServicerequest.java | 239 - ...estServicerequestPriceandstockrequest.java | 312 - ...erequestPriceandstockrequestItemInner.java | 531 - ...yRequestServicerequestRequestpreamble.java | 244 - .../model/PriceAndAvailabilityResponse.java | 208 - .../PriceAndAvailabilityResponseInner.java | 4 +- ...AvailabilityResponseInnerAvailability.java | 4 +- ...ilabilityAvailabilityByWarehouseInner.java | 4 +- ...ityByWarehouseInnerBackOrderInfoInner.java | 4 +- ...ailabilityResponseInnerDiscountsInner.java | 4 +- ...rDiscountsInnerQuantityDiscountsInner.java | 4 +- ...nnerDiscountsInnerSpecialPricingInner.java | 4 +- ...ceAndAvailabilityResponseInnerPricing.java | 4 +- ...onseInnerReserveInventoryDetailsInner.java | 4 +- ...labilityResponseInnerServiceFeesInner.java | 4 +- ...ndAvailabilityResponseServiceresponse.java | 239 - ...eServiceresponsePriceandstockresponse.java | 228 - ...onsePriceandstockresponseDetailsInner.java | 1128 - .../client/model/ProductDetailResponse.java | 4 +- ...ctDetailResponseAdditionalInformation.java | 4 +- ...ditionalInformationProductWeightInner.java | 4 +- .../ProductDetailResponseCiscoFields.java | 4 +- .../ProductDetailResponseIndicators.java | 4 +- ...lResponseTechnicalSpecificationsInner.java | 4 +- .../client/model/ProductLineType.java | 4 +- ...oductLineTypeSerialnumberdetailsInner.java | 4 +- ...uctLineTypeTrackingnumberdetailsInner.java | 4 +- .../client/model/ProductSearchRequest.java | 4 +- .../ProductSearchRequestServicerequest.java | 4 +- ...estServicerequestProductsearchrequest.java | 4 +- ...estProductsearchrequestSearchcriteria.java | 4 +- ...hRequestServicerequestRequestpreamble.java | 4 +- .../client/model/ProductSearchResponse.java | 200 +- .../ProductSearchResponseCatalogInner.java | 4 +- ...tSearchResponseCatalogInnerLinksInner.java | 4 +- .../ProductSearchResponseServiceresponse.java | 259 - ...iceresponseProductsearchresponseInner.java | 257 - ...ctsearchresponseInnerPartnumbersInner.java | 351 - ...sponseServiceresponseResponsepreamble.java | 264 - .../client/model/QuoteDetails.java | 4 +- .../QuoteDetailsQuoteDetailResponse.java | 4 +- ...lsQuoteDetailResponseResponsePreamble.java | 4 +- ...teDetailResponseRetrieveQuoteResponse.java | 4 +- ...ponseRetrieveQuoteResponseAccountInfo.java | 4 +- ...ponseRetrieveQuoteResponseContactInfo.java | 4 +- ...lResponseRetrieveQuoteResponseEndUser.java | 4 +- ...RetrieveQuoteResponseVendorAttributes.java | 4 +- .../client/model/QuoteDetailsRequest.java | 4 +- ...oteDetailsRequestQuoteProductsRequest.java | 4 +- ...stQuoteProductsRequestRequestpreamble.java | 4 +- ...tsRequestRetrieveQuoteProductsRequest.java | 4 +- .../client/model/QuoteDetailsResponse.java | 4 +- ...ailsResponseAdditionalAttributesInner.java | 4 +- .../QuoteDetailsResponseEndUserInfo.java | 4 +- .../QuoteDetailsResponseProductsInner.java | 4 +- ...uoteDetailsResponseProductsInnerPrice.java | 4 +- ...oteDetailsResponseQuoteDetailResponse.java | 4 +- ...teDetailResponseRetrieveQuoteResponse.java | 4 +- .../QuoteDetailsResponseResellerInfo.java | 4 +- .../client/model/QuoteListRequest.java | 208 - .../QuoteListRequestQuoteSearchRequest.java | 239 - ...uestQuoteSearchRequestRequestPreamble.java | 273 - ...uoteSearchRequestRetrieveQuoteRequest.java | 518 - .../client/model/QuoteListResponse.java | 4 +- .../QuoteListResponseQuoteSearchResponse.java | 4 +- ...onseQuoteSearchResponseQuoteListInner.java | 4 +- ...seQuoteSearchResponseResponsePreamble.java | 4 +- .../client/model/QuoteProductList.java | 4 +- .../client/model/QuoteProductListPrice.java | 4 +- .../client/model/QuoteSearchResponse.java | 4 +- .../model/QuoteSearchResponseQuotesInner.java | 4 +- .../client/model/QuoteToOrderDetailsDTO.java | 4 +- ...erDetailsDTOAdditionalAttributesInner.java | 4 +- ...uoteToOrderDetailsDTOEndUserInfoInner.java | 4 +- .../QuoteToOrderDetailsDTOLinesInner.java | 4 +- ...QuoteToOrderDetailsDTOShipToInfoInner.java | 4 +- ...etailsDTOVmfadditionalAttributesInner.java | 4 +- .../client/model/QuoteToOrderResponse.java | 4 +- .../client/model/RenewalsDetailsResponse.java | 4 +- ...ailsResponseAdditionalAttributesInner.java | 4 +- ...newalsDetailsResponseEndUserInfoInner.java | 4 +- .../RenewalsDetailsResponseProductsInner.java | 4 +- ...lsDetailsResponseReferenceNumberInner.java | 4 +- .../client/model/RenewalsSearchRequest.java | 4 +- .../model/RenewalsSearchRequestDataType.java | 4 +- .../RenewalsSearchRequestDataTypeEndDate.java | 4 +- ...lsSearchRequestDataTypeExpirationDate.java | 4 +- ...ewalsSearchRequestDataTypeInvoiceDate.java | 4 +- ...enewalsSearchRequestDataTypeStartDate.java | 4 +- .../model/RenewalsSearchRequestStatus.java | 4 +- ...lsSearchRequestStatusOpporutinyStatus.java | 4 +- .../client/model/RenewalsSearchResponse.java | 4 +- .../RenewalsSearchResponseRenewalsInner.java | 4 +- ...SearchResponseRenewalsInnerLinksInner.java | 4 +- .../client/model/ReturnsCreateRequest.java | 4 +- .../model/ReturnsCreateRequestListInner.java | 4 +- ...eateRequestListInnerShipFromInfoInner.java | 4 +- .../client/model/ReturnsCreateResponse.java | 4 +- ...turnsCreateResponseReturnsClaimsInner.java | 4 +- .../client/model/ReturnsDetailsResponse.java | 4 +- .../ReturnsDetailsResponseProductsInner.java | 4 +- .../client/model/ReturnsSearchResponse.java | 4 +- ...turnsSearchResponseReturnsClaimsInner.java | 4 +- ...hResponseReturnsClaimsInnerLinksInner.java | 4 +- .../client/model/ValidateQuoteResponse.java | 4 +- .../ValidateQuoteResponseLinesInner.java | 4 +- ...nnerVmfAdditionalAttributesLinesInner.java | 4 +- ...eResponseVmfAdditionalAttributesInner.java | 4 +- .../client/model/WarehouseListType.java | 342 - .../xiresellers/client/api/DealsApiTest.java | 2 +- .../client/api/FreightEstimateApiTest.java | 2 +- .../client/api/InvoicesApiTest.java | 2 +- .../client/api/InvoicesV4ApiTest.java | 49 - .../client/api/InvoicesV5ApiTest.java | 50 - .../client/api/InvoicesV6ApiTest.java | 2 +- .../client/api/OrderStatusApiTest.java | 2 +- .../xiresellers/client/api/OrdersApiTest.java | 2 +- .../client/api/OrdersV4ApiTest.java | 113 - .../client/api/OrdersV5ApiTest.java | 113 - .../client/api/OrdersV6ApiTest.java | 2 +- .../client/api/ProductCatalogApiTest.java | 2 +- .../client/api/ProductCatalogV4ApiTest.java | 65 - .../client/api/ProductCatalogV5ApiTest.java | 66 - .../client/api/QuoteToOrderApiTest.java | 2 +- .../xiresellers/client/api/QuotesApiTest.java | 2 +- .../client/api/QuotesV4ApiTest.java | 65 - .../client/api/QuotesV5ApiTest.java | 67 - .../client/api/RenewalsApiTest.java | 2 +- .../client/api/ReturnsApiTest.java | 2 +- .../client/api/StockUpdateApiTest.java | 2 +- .../client/model/AddressTypeTest.java | 2 +- ...ionRequestResourceInnerLinksInnerTest.java | 2 +- ...cNotificationRequestResourceInnerTest.java | 2 +- ...ilabilityAsyncNotificationRequestTest.java | 2 +- ...DealsDetailsResponseProductsInnerTest.java | 2 +- .../model/DealsDetailsResponseTest.java | 2 +- .../DealsSearchResponseDealsInnerTest.java | 2 +- .../client/model/DealsSearchResponseTest.java | 2 +- .../client/model/ErrorResponseDTOTest.java | 2 +- ...rorResponseErrorsInnerFieldsInnerTest.java | 2 +- .../model/ErrorResponseErrorsInnerTest.java | 2 +- .../client/model/ErrorResponseTest.java | 2 +- .../xiresellers/client/model/ErrorTest.java | 2 +- .../xiresellers/client/model/FieldsTest.java | 2 +- .../model/FreightRequestLinesInnerTest.java | 2 +- .../FreightRequestShipToAddressInnerTest.java | 2 +- .../client/model/FreightRequestTest.java | 2 +- ...DistributionInnerCarrierListInnerTest.java | 2 +- ...EstimateResponseDistributionInnerTest.java | 2 +- ...FreightEstimateResponseLinesInnerTest.java | 2 +- ...htResponseFreightEstimateResponseTest.java | 2 +- .../client/model/FreightResponseTest.java | 2 +- ...lidateQuote400ResponseFieldsInnerTest.java | 2 +- ...esellerV6ValidateQuote400ResponseTest.java | 2 +- ...esellerV6ValidateQuote500ResponseTest.java | 2 +- ...ervicerequestInvoicedetailrequestTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- ...nvoiceDetailRequestServicerequestTest.java | 2 +- .../model/InvoiceDetailRequestTest.java | 2 +- ...edetailresponseExtendedspecsInnerTest.java | 2 +- ...icedetailresponseMiscfeelineInnerTest.java | 2 +- ...viceresponseInvoicedetailresponseTest.java | 2 +- ...seServiceresponseResponsepreambleTest.java | 2 +- ...oiceDetailResponseServiceresponseTest.java | 2 +- .../model/InvoiceDetailResponseTest.java | 2 +- .../client/model/InvoiceDetailsTest.java | 49 - ...voiceDetailsv61ResponseBillToInfoTest.java | 2 +- ...voiceDetailsv61ResponseFxRateInfoTest.java | 2 +- ...ponseLinesInnerSerialNumbersInnerTest.java | 2 +- ...voiceDetailsv61ResponseLinesInnerTest.java | 2 +- ...etailsv61ResponsePaymentTermsInfoTest.java | 2 +- ...voiceDetailsv61ResponseShipToInfoTest.java | 2 +- ...v61ResponseSummaryForeignFxTotalsTest.java | 2 +- ...iceDetailsv61ResponseSummaryLinesTest.java | 2 +- ...61ResponseSummaryMiscChargesInnerTest.java | 2 +- .../InvoiceDetailsv61ResponseSummaryTest.java | 2 +- ...ceDetailsv61ResponseSummaryTotalsTest.java | 2 +- .../model/InvoiceDetailsv61ResponseTest.java | 2 +- ...nvoiceSearchResponseInvoicesInnerTest.java | 2 +- .../model/InvoiceSearchResponseTest.java | 2 +- ...cerequestPriceandstockrequestItemTest.java | 2 +- ...ervicerequestPriceandstockrequestTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- ...riceAndStockRequestServicerequestTest.java | 2 +- .../MultiSKUPriceAndStockRequestTest.java | 2 +- ...PriceandstockresponseDetailsInnerTest.java | 2 +- ...DetailsInnerWarehousedetailsInnerTest.java | 2 +- ...viceresponsePriceandstockresponseTest.java | 2 +- ...eServiceresponseResponsepreambleTest.java} | 14 +- ...ceAndStockResponseServiceresponseTest.java | 4 +- .../MultiSKUPriceAndStockResponseTest.java | 2 +- .../client/model/OrderCancelResponseTest.java | 49 - ...eRequestAdditionalAttributesInnerTest.java | 2 +- .../OrderCreateRequestEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...RequestLinesInnerEndUserInfoInnerTest.java | 2 +- .../OrderCreateRequestLinesInnerTest.java | 2 +- ...rWarrantyInfoInnerSerialInfoInnerTest.java | 2 +- ...equestLinesInnerWarrantyInfoInnerTest.java | 2 +- ...ercreatedetailsExtendedspecsInnerTest.java | 56 - ...dercreatedetailsLinesInnerEnduserTest.java | 136 - ...nesInnerProductextendedspecsInnerTest.java | 56 - ...questOrdercreatedetailsLinesInnerTest.java | 132 - ...stOrdercreatedetailsShiptoaddressTest.java | 104 - ...ercreaterequestOrdercreatedetailsTest.java | 133 - ...OrdercreaterequestRequestpreambleTest.java | 56 - ...erCreateRequestOrdercreaterequestTest.java | 58 - .../OrderCreateRequestResellerInfoTest.java | 2 +- .../OrderCreateRequestShipToInfoTest.java | 2 +- ...OrderCreateRequestShipmentDetailsTest.java | 2 +- .../client/model/OrderCreateRequestTest.java | 114 +- .../model/OrderCreateRequestVmfTest.java | 2 +- .../OrderCreateResponseEndUserInfoTest.java | 2 +- ...ersInnerAdditionalAttributesInnerTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...nerLinesInnerShipmentDetailsInnerTest.java | 2 +- ...eateResponseOrdersInnerLinesInnerTest.java | 2 +- ...eateResponseOrdersInnerLinksInnerTest.java | 2 +- ...ersInnerMiscellaneousChargesInnerTest.java | 2 +- ...OrdersInnerRejectedLineItemsInnerTest.java | 2 +- .../OrderCreateResponseOrdersInnerTest.java | 2 +- ...rdercreateresponseInnerLinesInnerTest.java | 161 - ...eresponseOrdercreateresponseInnerTest.java | 132 - ...responseOrdersummaryShiptoaddressTest.java | 112 - ...sponseServiceresponseOrdersummaryTest.java | 73 - ...rderCreateResponseServiceresponseTest.java | 69 - .../OrderCreateResponseShipToInfoTest.java | 2 +- .../client/model/OrderCreateResponseTest.java | 87 +- ...erequestOrderDeleteRequestDetailsTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- .../OrderDeleteRequestServicerequestTest.java | 2 +- .../client/model/OrderDeleteRequestTest.java | 2 +- ...eServiceresponseResponsepreambleTest.java} | 14 +- ...derDeleteResponseServiceresponseTest.java} | 16 +- .../client/model/OrderDeleteResponseTest.java | 4 +- ...etailB2BAdditionalAttributesInnerTest.java | 2 +- .../model/OrderDetailB2BBillToInfoTest.java | 2 +- .../model/OrderDetailB2BEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...tesInnerDeliveryDeliveryDateRangeTest.java | 2 +- ...sInnerEstimatedDatesInnerDeliveryTest.java | 2 +- ...imatedDatesInnerShipShipDateRangeTest.java | 2 +- ...LinesInnerEstimatedDatesInnerShipTest.java | 2 +- ...lB2BLinesInnerEstimatedDatesInnerTest.java | 2 +- ...rderDetailB2BLinesInnerLinksInnerTest.java | 2 +- ...BLinesInnerMultipleShipmentsInnerTest.java | 2 +- ...ilB2BLinesInnerScheduleLinesInnerTest.java | 2 +- ...erServiceContractInfoContractInfoTest.java | 2 +- ...nerServiceContractInfoLicenseInfoTest.java | 2 +- ...rServiceContractInfoSubscriptionsTest.java | 2 +- ...lB2BLinesInnerServiceContractInfoTest.java | 2 +- ...ntDetailsInnerCarrierDetailsInnerTest.java | 2 +- ...ingDetailsInnerSerialNumbersInnerTest.java | 2 +- ...rDetailsInnerTrackingDetailsInnerTest.java | 2 +- ...B2BLinesInnerShipmentDetailsInnerTest.java | 2 +- .../model/OrderDetailB2BLinesInnerTest.java | 2 +- ...etailB2BMiscellaneousChargesInnerTest.java | 2 +- .../model/OrderDetailB2BShipToInfoTest.java | 2 +- .../client/model/OrderDetailB2BTest.java | 2 +- ...tServicerequestOrderdetailrequestTest.java | 2 +- .../OrderDetailRequestServicerequestTest.java | 2 +- .../client/model/OrderDetailRequestTest.java | 2 +- .../OrderDetailResponseBillToInfoTest.java | 2 +- .../OrderDetailResponseEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...etailResponseLinesInnerLinksInnerTest.java | 2 +- ...hipmentDetailsInnerCarrierDetailsTest.java | 2 +- ...ingDetailsInnerSerialNumbersInnerTest.java | 2 +- ...arrierDetailsTrackingDetailsInnerTest.java | 2 +- ...nseLinesInnerShipmentDetailsInnerTest.java | 2 +- .../OrderDetailResponseLinesInnerTest.java | 2 +- ...ResponseMiscellaneousChargesInnerTest.java | 2 +- ...eOrderdetailresponseBilltoaddressTest.java | 120 - ...erdetailresponseCommentlinesInnerTest.java | 56 - ...nseOrderdetailresponseEnduserinfoTest.java | 48 - ...rdetailresponseExtendedspecsInnerTest.java | 56 - ...inesInnerSerialnumberdetailsInnerTest.java | 48 - ...hipmentdetailsInnerPackagedetailsTest.java | 72 - ...nseLinesInnerShipmentdetailsInnerTest.java | 170 - ...onseOrderdetailresponseLinesInnerTest.java | 230 - ...derdetailresponseMiscfeelineInnerTest.java | 56 - ...eOrderdetailresponseShiptoaddressTest.java | 120 - ...erviceresponseOrderdetailresponseTest.java | 210 - ...rderDetailResponseServiceresponseTest.java | 58 - .../OrderDetailResponseShipToInfoTest.java | 2 +- .../client/model/OrderDetailResponseTest.java | 178 +- ...yRequestAdditionalAttributesInnerTest.java | 2 +- .../OrderModifyRequestLinesInnerTest.java | 2 +- ...questOrdermodifyrequestHeaderdataTest.java | 2 +- ...stOrdermodifyrequestLinedataInnerTest.java | 2 +- ...cerequestOrdermodifyrequestShiptoTest.java | 2 +- ...tServicerequestOrdermodifyrequestTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- .../OrderModifyRequestServicerequestTest.java | 2 +- .../OrderModifyRequestShipToInfoTest.java | 2 +- .../client/model/OrderModifyRequestTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...ResponseLinesInnerShipmentDetailsTest.java | 2 +- .../OrderModifyResponseLinesInnerTest.java | 2 +- ...ifyResponseRejectedLineItemsInnerTest.java | 2 +- ...erviceresponseOrdermodifyresponseTest.java | 2 +- ...seServiceresponseResponsepreambleTest.java | 2 +- ...rderModifyResponseServiceresponseTest.java | 2 +- .../OrderModifyResponseShipToInfoTest.java | 2 +- .../client/model/OrderModifyResponseTest.java | 2 +- ...rLookupRequestCustomerOrderNumberTest.java | 2 +- ...uestOrderLookupRequestOrderNumberTest.java | 2 +- ...tServicerequestOrderLookupRequestTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- .../OrderSearchRequestServicerequestTest.java | 2 +- .../client/model/OrderSearchRequestTest.java | 2 +- ...derSearchResponseOrdersInnerLinksTest.java | 2 +- ...dersInnerSubOrdersInnerLinksInnerTest.java | 2 +- ...ResponseOrdersInnerSubOrdersInnerTest.java | 2 +- .../OrderSearchResponseOrdersInnerTest.java | 2 +- ...dersearchresponseOrdersInnerLinksTest.java | 65 - ...dersInnerSubordersInnerLinksInnerTest.java | 65 - ...responseOrdersInnerSubordersInnerTest.java | 91 - ...nseOrdersearchresponseOrdersInnerTest.java | 84 - ...erviceResponseOrdersearchresponseTest.java | 75 - ...seServiceResponseResponsepreambleTest.java | 56 - ...rderSearchResponseServiceResponseTest.java | 58 - .../client/model/OrderSearchResponseTest.java | 52 +- ...inesInnerSerialNumberDetailsInnerTest.java | 2 +- ...ntDetailsInnerPackageDetailsInnerTest.java | 2 +- ...nerLinesInnerShipmentDetailsInnerTest.java | 2 +- ...ionRequestResourceInnerLinesInnerTest.java | 2 +- ...ionRequestResourceInnerLinksInnerTest.java | 2 +- ...cNotificationRequestResourceInnerTest.java | 2 +- ...derStatusAsyncNotificationRequestTest.java | 2 +- ...teToOrderV6400ResponseFieldsInnerTest.java | 2 +- .../PostQuoteToOrderV6400ResponseTest.java | 2 +- .../PostRenewalssearch400ResponseTest.java | 2 +- ...yRequestAdditionalAttributesInnerTest.java | 2 +- ...questAvailabilityByWarehouseInnerTest.java | 2 +- ...ctsInnerAdditionalAttributesInnerTest.java | 2 +- ...dAvailabilityRequestProductsInnerTest.java | 2 +- ...uestPriceandstockrequestItemInnerTest.java | 139 - ...ervicerequestPriceandstockrequestTest.java | 75 - ...uestServicerequestRequestpreambleTest.java | 56 - ...AvailabilityRequestServicerequestTest.java | 58 - .../PriceAndAvailabilityRequestTest.java | 54 +- ...yWarehouseInnerBackOrderInfoInnerTest.java | 2 +- ...ilityAvailabilityByWarehouseInnerTest.java | 2 +- ...labilityResponseInnerAvailabilityTest.java | 2 +- ...countsInnerQuantityDiscountsInnerTest.java | 2 +- ...DiscountsInnerSpecialPricingInnerTest.java | 2 +- ...bilityResponseInnerDiscountsInnerTest.java | 2 +- ...dAvailabilityResponseInnerPricingTest.java | 2 +- ...InnerReserveInventoryDetailsInnerTest.java | 2 +- ...lityResponseInnerServiceFeesInnerTest.java | 2 +- ...PriceAndAvailabilityResponseInnerTest.java | 2 +- ...PriceandstockresponseDetailsInnerTest.java | 220 - ...viceresponsePriceandstockresponseTest.java | 51 - ...ailabilityResponseServiceresponseTest.java | 58 - .../PriceAndAvailabilityResponseTest.java | 49 - ...onalInformationProductWeightInnerTest.java | 2 +- ...tailResponseAdditionalInformationTest.java | 2 +- .../ProductDetailResponseCiscoFieldsTest.java | 2 +- .../ProductDetailResponseIndicatorsTest.java | 2 +- ...ponseTechnicalSpecificationsInnerTest.java | 2 +- .../model/ProductDetailResponseTest.java | 2 +- ...tLineTypeSerialnumberdetailsInnerTest.java | 2 +- .../client/model/ProductLineTypeTest.java | 2 +- ...ineTypeTrackingnumberdetailsInnerTest.java | 2 +- ...roductsearchrequestSearchcriteriaTest.java | 2 +- ...ervicerequestProductsearchrequestTest.java | 2 +- ...uestServicerequestRequestpreambleTest.java | 2 +- ...roductSearchRequestServicerequestTest.java | 2 +- .../model/ProductSearchRequestTest.java | 2 +- ...rchResponseCatalogInnerLinksInnerTest.java | 2 +- ...ProductSearchResponseCatalogInnerTest.java | 2 +- ...archresponseInnerPartnumbersInnerTest.java | 88 - ...esponseProductsearchresponseInnerTest.java | 59 - ...seServiceresponseResponsepreambleTest.java | 64 - ...ductSearchResponseServiceresponseTest.java | 60 - .../model/ProductSearchResponseTest.java | 52 +- ...oteDetailResponseResponsePreambleTest.java | 2 +- ...eRetrieveQuoteResponseAccountInfoTest.java | 2 +- ...eRetrieveQuoteResponseContactInfoTest.java | 2 +- ...ponseRetrieveQuoteResponseEndUserTest.java | 2 +- ...tailResponseRetrieveQuoteResponseTest.java | 2 +- ...ieveQuoteResponseVendorAttributesTest.java | 2 +- .../QuoteDetailsQuoteDetailResponseTest.java | 2 +- ...oteProductsRequestRequestpreambleTest.java | 2 +- ...questRetrieveQuoteProductsRequestTest.java | 2 +- ...etailsRequestQuoteProductsRequestTest.java | 2 +- .../client/model/QuoteDetailsRequestTest.java | 2 +- ...ResponseAdditionalAttributesInnerTest.java | 2 +- .../QuoteDetailsResponseEndUserInfoTest.java | 2 +- ...DetailsResponseProductsInnerPriceTest.java | 2 +- ...QuoteDetailsResponseProductsInnerTest.java | 2 +- ...tailResponseRetrieveQuoteResponseTest.java | 2 +- ...etailsResponseQuoteDetailResponseTest.java | 2 +- .../QuoteDetailsResponseResellerInfoTest.java | 2 +- .../model/QuoteDetailsResponseTest.java | 2 +- .../client/model/QuoteDetailsTest.java | 2 +- ...QuoteSearchRequestRequestPreambleTest.java | 64 - ...SearchRequestRetrieveQuoteRequestTest.java | 121 - ...uoteListRequestQuoteSearchRequestTest.java | 58 - .../client/model/QuoteListRequestTest.java | 49 - ...QuoteSearchResponseQuoteListInnerTest.java | 2 +- ...oteSearchResponseResponsePreambleTest.java | 2 +- ...teListResponseQuoteSearchResponseTest.java | 2 +- .../client/model/QuoteListResponseTest.java | 2 +- .../model/QuoteProductListPriceTest.java | 2 +- .../client/model/QuoteProductListTest.java | 2 +- .../QuoteSearchResponseQuotesInnerTest.java | 2 +- .../client/model/QuoteSearchResponseTest.java | 2 +- ...tailsDTOAdditionalAttributesInnerTest.java | 2 +- ...ToOrderDetailsDTOEndUserInfoInnerTest.java | 2 +- .../QuoteToOrderDetailsDTOLinesInnerTest.java | 2 +- ...eToOrderDetailsDTOShipToInfoInnerTest.java | 2 +- .../model/QuoteToOrderDetailsDTOTest.java | 2 +- ...lsDTOVmfadditionalAttributesInnerTest.java | 2 +- .../model/QuoteToOrderResponseTest.java | 2 +- ...ResponseAdditionalAttributesInnerTest.java | 2 +- ...lsDetailsResponseEndUserInfoInnerTest.java | 2 +- ...ewalsDetailsResponseProductsInnerTest.java | 2 +- ...tailsResponseReferenceNumberInnerTest.java | 2 +- .../model/RenewalsDetailsResponseTest.java | 2 +- ...ewalsSearchRequestDataTypeEndDateTest.java | 2 +- ...archRequestDataTypeExpirationDateTest.java | 2 +- ...sSearchRequestDataTypeInvoiceDateTest.java | 2 +- ...alsSearchRequestDataTypeStartDateTest.java | 2 +- .../RenewalsSearchRequestDataTypeTest.java | 2 +- ...archRequestStatusOpporutinyStatusTest.java | 2 +- .../RenewalsSearchRequestStatusTest.java | 2 +- .../model/RenewalsSearchRequestTest.java | 2 +- ...chResponseRenewalsInnerLinksInnerTest.java | 2 +- ...newalsSearchResponseRenewalsInnerTest.java | 2 +- .../model/RenewalsSearchResponseTest.java | 2 +- ...RequestListInnerShipFromInfoInnerTest.java | 2 +- .../ReturnsCreateRequestListInnerTest.java | 2 +- .../model/ReturnsCreateRequestTest.java | 2 +- ...sCreateResponseReturnsClaimsInnerTest.java | 2 +- .../model/ReturnsCreateResponseTest.java | 2 +- ...turnsDetailsResponseProductsInnerTest.java | 2 +- .../model/ReturnsDetailsResponseTest.java | 2 +- ...ponseReturnsClaimsInnerLinksInnerTest.java | 2 +- ...sSearchResponseReturnsClaimsInnerTest.java | 2 +- .../model/ReturnsSearchResponseTest.java | 2 +- .../ValidateQuoteResponseLinesInnerTest.java | 2 +- ...VmfAdditionalAttributesLinesInnerTest.java | 2 +- .../model/ValidateQuoteResponseTest.java | 2 +- ...ponseVmfAdditionalAttributesInnerTest.java | 2 +- .../client/model/WarehouseListTypeTest.java | 88 - 770 files changed, 12422 insertions(+), 46766 deletions(-) delete mode 100644 LICENCE delete mode 100644 LICENSE delete mode 100644 docs/InvoiceDetails.md delete mode 100644 docs/InvoicesV4Api.md delete mode 100644 docs/InvoicesV5Api.md rename docs/{PriceAndAvailabilityResponseServiceresponseResponsepreamble.md => MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md} (87%) delete mode 100644 docs/OrderCancelResponse.md delete mode 100644 docs/OrderCancelResponseServiceresponse.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequest.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md delete mode 100644 docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md delete mode 100644 docs/OrderCreateResponseServiceresponse.md delete mode 100644 docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md delete mode 100644 docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md delete mode 100644 docs/OrderCreateResponseServiceresponseOrdersummary.md delete mode 100644 docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md create mode 100644 docs/OrderDeleteResponseServiceresponse.md rename docs/{OrderCancelResponseServiceresponseResponsepreamble.md => OrderDeleteResponseServiceresponseResponsepreamble.md} (83%) delete mode 100644 docs/OrderDetailResponseServiceresponse.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponse.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md delete mode 100644 docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md delete mode 100644 docs/OrderSearchResponseServiceResponse.md delete mode 100644 docs/OrderSearchResponseServiceResponseOrdersearchresponse.md delete mode 100644 docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md delete mode 100644 docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md delete mode 100644 docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md delete mode 100644 docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md delete mode 100644 docs/OrderSearchResponseServiceResponseResponsepreamble.md delete mode 100644 docs/OrdersV4Api.md delete mode 100644 docs/OrdersV5Api.md delete mode 100644 docs/PriceAndAvailabilityRequestServicerequest.md delete mode 100644 docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md delete mode 100644 docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md delete mode 100644 docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md delete mode 100644 docs/PriceAndAvailabilityResponse.md delete mode 100644 docs/PriceAndAvailabilityResponseServiceresponse.md delete mode 100644 docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md delete mode 100644 docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md delete mode 100644 docs/ProductCatalogV4Api.md delete mode 100644 docs/ProductCatalogV5Api.md delete mode 100644 docs/ProductSearchResponseServiceresponse.md delete mode 100644 docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md delete mode 100644 docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md delete mode 100644 docs/ProductSearchResponseServiceresponseResponsepreamble.md delete mode 100644 docs/QuoteListRequest.md delete mode 100644 docs/QuoteListRequestQuoteSearchRequest.md delete mode 100644 docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md delete mode 100644 docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md delete mode 100644 docs/QuotesV4Api.md delete mode 100644 docs/QuotesV5Api.md delete mode 100644 docs/WarehouseListType.md delete mode 100644 src/main/java/xiresellers/client/api/InvoicesV4Api.java delete mode 100644 src/main/java/xiresellers/client/api/InvoicesV5Api.java delete mode 100644 src/main/java/xiresellers/client/api/OrdersV4Api.java delete mode 100644 src/main/java/xiresellers/client/api/OrdersV5Api.java delete mode 100644 src/main/java/xiresellers/client/api/ProductCatalogV4Api.java delete mode 100644 src/main/java/xiresellers/client/api/ProductCatalogV5Api.java delete mode 100644 src/main/java/xiresellers/client/api/QuotesV4Api.java delete mode 100644 src/main/java/xiresellers/client/api/QuotesV5Api.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetails.java rename src/main/java/xiresellers/client/model/{PriceAndAvailabilityResponseServiceresponseResponsepreamble.java => MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java} (68%) delete mode 100644 src/main/java/xiresellers/client/model/OrderCancelResponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetails.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummary.java delete mode 100644 src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.java rename src/main/java/xiresellers/client/model/{OrderCancelResponseServiceresponse.java => OrderDeleteResponseServiceresponse.java} (73%) rename src/main/java/xiresellers/client/model/{OrderCancelResponseServiceresponseResponsepreamble.java => OrderDeleteResponseServiceresponseResponsepreamble.java} (80%) delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityResponse.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.java delete mode 100644 src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInner.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListRequest.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequest.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.java delete mode 100644 src/main/java/xiresellers/client/model/WarehouseListType.java delete mode 100644 src/test/java/xiresellers/client/api/InvoicesV4ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/InvoicesV5ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/OrdersV4ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/OrdersV5ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/ProductCatalogV4ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/ProductCatalogV5ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/QuotesV4ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/QuotesV5ApiTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailsTest.java rename src/test/java/xiresellers/client/model/{PriceAndAvailabilityResponseServiceresponseResponsepreambleTest.java => MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java} (69%) delete mode 100644 src/test/java/xiresellers/client/model/OrderCancelResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseTest.java rename src/test/java/xiresellers/client/model/{OrderCancelResponseServiceresponseResponsepreambleTest.java => OrderDeleteResponseServiceresponseResponsepreambleTest.java} (73%) rename src/test/java/xiresellers/client/model/{OrderCancelResponseServiceresponseTest.java => OrderDeleteResponseServiceresponseTest.java} (68%) delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/WarehouseListTypeTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8161329c..cf126249 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -43,7 +43,6 @@ docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md docs/InvoiceDetailResponseServiceresponseResponsepreamble.md -docs/InvoiceDetails.md docs/InvoiceDetailsv61Response.md docs/InvoiceDetailsv61ResponseBillToInfo.md docs/InvoiceDetailsv61ResponseFxRateInfo.md @@ -59,8 +58,6 @@ docs/InvoiceDetailsv61ResponseSummaryTotals.md docs/InvoiceSearchResponse.md docs/InvoiceSearchResponseInvoicesInner.md docs/InvoicesApi.md -docs/InvoicesV4Api.md -docs/InvoicesV5Api.md docs/InvoicesV6Api.md docs/MultiSKUPriceAndStockRequest.md docs/MultiSKUPriceAndStockRequestServicerequest.md @@ -72,9 +69,7 @@ docs/MultiSKUPriceAndStockResponseServiceresponse.md docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md -docs/OrderCancelResponse.md -docs/OrderCancelResponseServiceresponse.md -docs/OrderCancelResponseServiceresponseResponsepreamble.md +docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md docs/OrderCreateRequest.md docs/OrderCreateRequestAdditionalAttributesInner.md docs/OrderCreateRequestEndUserInfo.md @@ -83,14 +78,6 @@ docs/OrderCreateRequestLinesInnerAdditionalAttributesInner.md docs/OrderCreateRequestLinesInnerEndUserInfoInner.md docs/OrderCreateRequestLinesInnerWarrantyInfoInner.md docs/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.md -docs/OrderCreateRequestOrdercreaterequest.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md -docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md -docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md docs/OrderCreateRequestResellerInfo.md docs/OrderCreateRequestShipToInfo.md docs/OrderCreateRequestShipmentDetails.md @@ -105,17 +92,14 @@ docs/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.md docs/OrderCreateResponseOrdersInnerLinksInner.md docs/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.md docs/OrderCreateResponseOrdersInnerRejectedLineItemsInner.md -docs/OrderCreateResponseServiceresponse.md -docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md -docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md -docs/OrderCreateResponseServiceresponseOrdersummary.md -docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md docs/OrderCreateResponseShipToInfo.md docs/OrderDeleteRequest.md docs/OrderDeleteRequestServicerequest.md docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md docs/OrderDeleteRequestServicerequestRequestpreamble.md docs/OrderDeleteResponse.md +docs/OrderDeleteResponseServiceresponse.md +docs/OrderDeleteResponseServiceresponseResponsepreamble.md docs/OrderDetailB2B.md docs/OrderDetailB2BAdditionalAttributesInner.md docs/OrderDetailB2BBillToInfo.md @@ -154,18 +138,6 @@ docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md docs/OrderDetailResponseMiscellaneousChargesInner.md -docs/OrderDetailResponseServiceresponse.md -docs/OrderDetailResponseServiceresponseOrderdetailresponse.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md -docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md docs/OrderDetailResponseShipToInfo.md docs/OrderModifyRequest.md docs/OrderModifyRequestAdditionalAttributesInner.md @@ -197,13 +169,6 @@ docs/OrderSearchResponseOrdersInner.md docs/OrderSearchResponseOrdersInnerLinks.md docs/OrderSearchResponseOrdersInnerSubOrdersInner.md docs/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.md -docs/OrderSearchResponseServiceResponse.md -docs/OrderSearchResponseServiceResponseOrdersearchresponse.md -docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md -docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md -docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md -docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md -docs/OrderSearchResponseServiceResponseResponsepreamble.md docs/OrderStatusApi.md docs/OrderStatusAsyncNotificationRequest.md docs/OrderStatusAsyncNotificationRequestResourceInner.md @@ -213,8 +178,6 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md docs/OrdersApi.md -docs/OrdersV4Api.md -docs/OrdersV5Api.md docs/OrdersV6Api.md docs/PostQuoteToOrderV6400Response.md docs/PostQuoteToOrderV6400ResponseFieldsInner.md @@ -224,11 +187,6 @@ docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md docs/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.md docs/PriceAndAvailabilityRequestProductsInner.md docs/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.md -docs/PriceAndAvailabilityRequestServicerequest.md -docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md -docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md -docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md -docs/PriceAndAvailabilityResponse.md docs/PriceAndAvailabilityResponseInner.md docs/PriceAndAvailabilityResponseInnerAvailability.md docs/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.md @@ -239,13 +197,7 @@ docs/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.md docs/PriceAndAvailabilityResponseInnerPricing.md docs/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.md docs/PriceAndAvailabilityResponseInnerServiceFeesInner.md -docs/PriceAndAvailabilityResponseServiceresponse.md -docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md -docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md -docs/PriceAndAvailabilityResponseServiceresponseResponsepreamble.md docs/ProductCatalogApi.md -docs/ProductCatalogV4Api.md -docs/ProductCatalogV5Api.md docs/ProductDetailResponse.md docs/ProductDetailResponseAdditionalInformation.md docs/ProductDetailResponseAdditionalInformationProductWeightInner.md @@ -263,10 +215,6 @@ docs/ProductSearchRequestServicerequestRequestpreamble.md docs/ProductSearchResponse.md docs/ProductSearchResponseCatalogInner.md docs/ProductSearchResponseCatalogInnerLinksInner.md -docs/ProductSearchResponseServiceresponse.md -docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md -docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md -docs/ProductSearchResponseServiceresponseResponsepreamble.md docs/QuoteDetails.md docs/QuoteDetailsQuoteDetailResponse.md docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md @@ -287,10 +235,6 @@ docs/QuoteDetailsResponseProductsInnerPrice.md docs/QuoteDetailsResponseQuoteDetailResponse.md docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md docs/QuoteDetailsResponseResellerInfo.md -docs/QuoteListRequest.md -docs/QuoteListRequestQuoteSearchRequest.md -docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md -docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md docs/QuoteListResponse.md docs/QuoteListResponseQuoteSearchResponse.md docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md @@ -308,8 +252,6 @@ docs/QuoteToOrderDetailsDTOShipToInfoInner.md docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md docs/QuoteToOrderResponse.md docs/QuotesApi.md -docs/QuotesV4Api.md -docs/QuotesV5Api.md docs/RenewalsApi.md docs/RenewalsDetailsResponse.md docs/RenewalsDetailsResponseAdditionalAttributesInner.md @@ -343,7 +285,6 @@ docs/ValidateQuoteResponse.md docs/ValidateQuoteResponseLinesInner.md docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md -docs/WarehouseListType.md git_push.sh gradle.properties gradle/wrapper/gradle-wrapper.jar @@ -369,21 +310,13 @@ src/main/java/xiresellers/client/StringUtil.java src/main/java/xiresellers/client/api/DealsApi.java src/main/java/xiresellers/client/api/FreightEstimateApi.java src/main/java/xiresellers/client/api/InvoicesApi.java -src/main/java/xiresellers/client/api/InvoicesV4Api.java -src/main/java/xiresellers/client/api/InvoicesV5Api.java src/main/java/xiresellers/client/api/InvoicesV6Api.java src/main/java/xiresellers/client/api/OrderStatusApi.java src/main/java/xiresellers/client/api/OrdersApi.java -src/main/java/xiresellers/client/api/OrdersV4Api.java -src/main/java/xiresellers/client/api/OrdersV5Api.java src/main/java/xiresellers/client/api/OrdersV6Api.java src/main/java/xiresellers/client/api/ProductCatalogApi.java -src/main/java/xiresellers/client/api/ProductCatalogV4Api.java -src/main/java/xiresellers/client/api/ProductCatalogV5Api.java src/main/java/xiresellers/client/api/QuoteToOrderApi.java src/main/java/xiresellers/client/api/QuotesApi.java -src/main/java/xiresellers/client/api/QuotesV4Api.java -src/main/java/xiresellers/client/api/QuotesV5Api.java src/main/java/xiresellers/client/api/RenewalsApi.java src/main/java/xiresellers/client/api/ReturnsApi.java src/main/java/xiresellers/client/api/StockUpdateApi.java @@ -431,7 +364,6 @@ src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoi src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java -src/main/java/xiresellers/client/model/InvoiceDetails.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 @@ -456,9 +388,7 @@ src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServicerespo src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java -src/main/java/xiresellers/client/model/OrderCancelResponse.java -src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponse.java -src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreamble.java +src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderCreateRequest.java src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -467,14 +397,6 @@ src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAtt src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequest.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetails.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.java -src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreamble.java src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -489,17 +411,14 @@ src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerS src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java -src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponse.java -src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInner.java -src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.java -src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummary.java -src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.java src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java src/main/java/xiresellers/client/model/OrderDeleteRequest.java src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java src/main/java/xiresellers/client/model/OrderDeleteResponse.java +src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java +src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderDetailB2B.java src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -538,18 +457,6 @@ src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDeta src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponse.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponse.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.java src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java src/main/java/xiresellers/client/model/OrderModifyRequest.java src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -581,13 +488,6 @@ src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponse.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponse.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.java -src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -603,11 +503,6 @@ src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttr src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequest.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreamble.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityResponse.java src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -618,10 +513,6 @@ src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscount src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponse.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.java -src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/ProductDetailResponse.java src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -639,10 +530,6 @@ src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequest src/main/java/xiresellers/client/model/ProductSearchResponse.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java -src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponse.java -src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInner.java -src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.java -src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/QuoteDetails.java src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java @@ -663,10 +550,6 @@ src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.ja src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java -src/main/java/xiresellers/client/model/QuoteListRequest.java -src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequest.java -src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreamble.java -src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.java src/main/java/xiresellers/client/model/QuoteListResponse.java src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java @@ -712,25 +595,16 @@ 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/main/java/xiresellers/client/model/WarehouseListType.java src/test/java/xiresellers/client/api/DealsApiTest.java src/test/java/xiresellers/client/api/FreightEstimateApiTest.java src/test/java/xiresellers/client/api/InvoicesApiTest.java -src/test/java/xiresellers/client/api/InvoicesV4ApiTest.java -src/test/java/xiresellers/client/api/InvoicesV5ApiTest.java src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java src/test/java/xiresellers/client/api/OrderStatusApiTest.java src/test/java/xiresellers/client/api/OrdersApiTest.java -src/test/java/xiresellers/client/api/OrdersV4ApiTest.java -src/test/java/xiresellers/client/api/OrdersV5ApiTest.java src/test/java/xiresellers/client/api/OrdersV6ApiTest.java src/test/java/xiresellers/client/api/ProductCatalogApiTest.java -src/test/java/xiresellers/client/api/ProductCatalogV4ApiTest.java -src/test/java/xiresellers/client/api/ProductCatalogV5ApiTest.java src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java src/test/java/xiresellers/client/api/QuotesApiTest.java -src/test/java/xiresellers/client/api/QuotesV4ApiTest.java -src/test/java/xiresellers/client/api/QuotesV5ApiTest.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 @@ -769,7 +643,6 @@ src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoi src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java -src/test/java/xiresellers/client/model/InvoiceDetailsTest.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 @@ -792,11 +665,9 @@ src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java +src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java -src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseTest.java -src/test/java/xiresellers/client/model/OrderCancelResponseTest.java src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java @@ -804,14 +675,6 @@ src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoIn src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestTest.java src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java @@ -826,17 +689,14 @@ src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerT src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerTest.java -src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest.java -src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryTest.java -src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseTest.java src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java src/test/java/xiresellers/client/model/OrderCreateResponseTest.java src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java +src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java +src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java @@ -875,18 +735,6 @@ src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDeta src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseTest.java src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailResponseTest.java src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java @@ -918,13 +766,6 @@ src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.j src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseTest.java src/test/java/xiresellers/client/model/OrderSearchResponseTest.java src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java @@ -940,10 +781,6 @@ src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttr src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java @@ -955,11 +792,6 @@ src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingT src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseTest.java -src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java @@ -976,10 +808,6 @@ src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.ja src/test/java/xiresellers/client/model/ProductSearchRequestTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java -src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest.java -src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerTest.java -src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseTest.java src/test/java/xiresellers/client/model/ProductSearchResponseTest.java src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java @@ -1001,10 +829,6 @@ src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTe src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java src/test/java/xiresellers/client/model/QuoteDetailsTest.java -src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreambleTest.java -src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest.java -src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestTest.java -src/test/java/xiresellers/client/model/QuoteListRequestTest.java src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java @@ -1050,4 +874,3 @@ 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 -src/test/java/xiresellers/client/model/WarehouseListTypeTest.java diff --git a/LICENCE b/LICENCE deleted file mode 100644 index 84e2962e..00000000 --- a/LICENCE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Ingram Micro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 84e2962e..00000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Ingram Micro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index bb4e42ca..43426f14 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # xi.sdk.resellers -XI Sdk Resellers +XI SDK Resellers - API version: 1.0.0 - - Build date: 2024-02-14T10:07:36.431201Z[Etc/UTC] + - Build date: 2024-02-16T05:46:16.662413Z[Etc/UTC] For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. @@ -16,7 +16,6 @@ Building the API client library requires: 1. Java 1.8+ 2. Maven (3.8.3+)/Gradle (7.2+) - ## Installation To install the API client library to your local Maven repository, simply execute: @@ -46,18 +45,21 @@ Add this dependency to your project's POM: ``` -### -If you want to compile it yourself, here's how: +### Gradle users +Add this dependency to your project's build file: -```shell -git clone git@github.com:ingrammicro-xvantage/xi-sdk-resellers-java -cd xi-sdk-resellers-java -mvn install # Requires maven, download from https://maven.apache.org/download.html +```groovy + repositories { + mavenCentral() // Needed if the 'xi.sdk.resellers' jar has been published to maven central. + mavenLocal() // Needed if the 'xi.sdk.resellers' jar has been published to the local maven repo. + } + dependencies { + implementation "xi.sdk.resellers:xi.sdk.resellers:1.0.0" + } ``` - ### Others At first generate the JAR by executing: @@ -71,8 +73,6 @@ Then manually install the following JARs: * `target/xi.sdk.resellers-1.0.0.jar` * `target/lib/*.jar` - - ## Getting Started Please follow the [installation](#installation) instruction and execute the following Java code: @@ -129,8 +129,6 @@ Class | Method | HTTP request | Description *FreightEstimateApi* | [**postFreightestimate**](docs/FreightEstimateApi.md#postFreightestimate) | **POST** /resellers/v6/freightestimate | Freight Estimate *InvoicesApi* | [**getInvoicedetailsV61**](docs/InvoicesApi.md#getInvoicedetailsV61) | **GET** /resellers/v6.1/invoices/{invoiceNumber} | Get Invoice Details v6.1 *InvoicesApi* | [**getResellersV6Invoicesearch**](docs/InvoicesApi.md#getResellersV6Invoicesearch) | **GET** /resellers/v6/invoices | Search your invoice -*InvoicesV4Api* | [**postV4Invoicedetails**](docs/InvoicesV4Api.md#postV4Invoicedetails) | **POST** /invoices/v4/invoicedetails | Get Invoice Details -*InvoicesV5Api* | [**getInvoices**](docs/InvoicesV5Api.md#getInvoices) | **GET** /resellers/v5/invoices/{invoiceNumber} | Get Invoice Details *InvoicesV6Api* | [**getInvoicedetailsV6**](docs/InvoicesV6Api.md#getInvoicedetailsV6) | **GET** /resellers/v6/invoices/{invoicenumber} | Get Invoice Details v6 *OrderStatusApi* | [**resellersV1WebhooksOrderstatuseventPost**](docs/OrderStatusApi.md#resellersV1WebhooksOrderstatuseventPost) | **POST** /resellers/v1/webhooks/orderstatusevent | Order Status *OrdersApi* | [**deleteOrdercancel**](docs/OrdersApi.md#deleteOrdercancel) | **DELETE** /resellers/v6/orders/{OrderNumber} | Cancel your Order @@ -138,31 +136,14 @@ Class | Method | HTTP request | Description *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* | [**putOrdermodify**](docs/OrdersApi.md#putOrdermodify) | **PUT** /resellers/v6/orders/{orderNumber} | Modify your Order -*OrdersV4Api* | [**postV4Ordercreate**](docs/OrdersV4Api.md#postV4Ordercreate) | **POST** /orders/v4/ordercreate | Create a new Order -*OrdersV4Api* | [**postV4Orderdelete**](docs/OrdersV4Api.md#postV4Orderdelete) | **POST** /orders/v4/orderdelete | Delete an Order -*OrdersV4Api* | [**postV4Orderdetails**](docs/OrdersV4Api.md#postV4Orderdetails) | **POST** /orders/v4/orderdetails | Get Order Details -*OrdersV4Api* | [**postV4Ordermodify**](docs/OrdersV4Api.md#postV4Ordermodify) | **POST** /orders/v4/ordermodify | Modify an Existing Order -*OrdersV4Api* | [**postV4Ordersearch**](docs/OrdersV4Api.md#postV4Ordersearch) | **POST** /orders/v4/orderlookup | Order Search -*OrdersV5Api* | [**deleteOrdersOrderNumber**](docs/OrdersV5Api.md#deleteOrdersOrderNumber) | **DELETE** /resellers/v5/Orders/{ordernumber} | Cancel an Existing Order -*OrdersV5Api* | [**getOrdersSearch**](docs/OrdersV5Api.md#getOrdersSearch) | **GET** /resellers/v5/Orders/search | Search your Orders -*OrdersV5Api* | [**getV5OrdersDetails**](docs/OrdersV5Api.md#getV5OrdersDetails) | **GET** /resellers/v5/Orders/{ordernumber} | Get Order Details -*OrdersV5Api* | [**postV5OrdersCreate**](docs/OrdersV5Api.md#postV5OrdersCreate) | **POST** /resellers/v5/Orders | Create a New Order *OrdersV6Api* | [**getOrderdetailsV6**](docs/OrdersV6Api.md#getOrderdetailsV6) | **GET** /resellers/v6/orders/{ordernumber} | Get Order Details v6 *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 -*ProductCatalogV4Api* | [**postV4Multiskupriceandstock**](docs/ProductCatalogV4Api.md#postV4Multiskupriceandstock) | **POST** /products/v4/multiskupriceandstock | Product availability for upto 50 SKUs -*ProductCatalogV4Api* | [**postV4Productsearch**](docs/ProductCatalogV4Api.md#postV4Productsearch) | **POST** /products/v4/productsearch | Real-time Product Search -*ProductCatalogV5Api* | [**getV5CatalogProductsearch**](docs/ProductCatalogV5Api.md#getV5CatalogProductsearch) | **GET** /resellers/v5/Catalog | Search Product Catalog -*ProductCatalogV5Api* | [**multiSKUPriceAndStock**](docs/ProductCatalogV5Api.md#multiSKUPriceAndStock) | **POST** /resellers/v5/Catalog/priceandavailability | Find availability of upto 50 SKUs *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 -*QuotesV4Api* | [**postV4Quotedetails**](docs/QuotesV4Api.md#postV4Quotedetails) | **POST** /quotes/v1/quotedetails | Get Quote Details -*QuotesV4Api* | [**postV4Quotesearch**](docs/QuotesV4Api.md#postV4Quotesearch) | **POST** /quotes/v1/quotes | Get Quote List -*QuotesV5Api* | [**getV5QuotesDetails**](docs/QuotesV5Api.md#getV5QuotesDetails) | **GET** /resellers/v5/quote/{quoteNumber} | Get Quote Details -*QuotesV5Api* | [**postV5QuotesSearch**](docs/QuotesV5Api.md#postV5QuotesSearch) | **POST** /resellers/v5/quote/search | Search Quotes *RenewalsApi* | [**getResellersV6Renewalsdetails**](docs/RenewalsApi.md#getResellersV6Renewalsdetails) | **GET** /resellers/v6/renewals/{renewalId} | Renewals Details *RenewalsApi* | [**postRenewalssearch**](docs/RenewalsApi.md#postRenewalssearch) | **POST** /resellers/v6/renewals/search | Renewals Search *ReturnsApi* | [**getResellersV6Returnsdetails**](docs/ReturnsApi.md#getResellersV6Returnsdetails) | **GET** /resellers/v6/returns/{caseRequestNumber} | Returns Details @@ -208,7 +189,6 @@ Class | Method | HTTP request | Description - [InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) - [InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md) - [InvoiceDetailResponseServiceresponseResponsepreamble](docs/InvoiceDetailResponseServiceresponseResponsepreamble.md) - - [InvoiceDetails](docs/InvoiceDetails.md) - [InvoiceDetailsv61Response](docs/InvoiceDetailsv61Response.md) - [InvoiceDetailsv61ResponseBillToInfo](docs/InvoiceDetailsv61ResponseBillToInfo.md) - [InvoiceDetailsv61ResponseFxRateInfo](docs/InvoiceDetailsv61ResponseFxRateInfo.md) @@ -233,9 +213,7 @@ Class | Method | HTTP request | Description - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md) - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md) - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md) - - [OrderCancelResponse](docs/OrderCancelResponse.md) - - [OrderCancelResponseServiceresponse](docs/OrderCancelResponseServiceresponse.md) - - [OrderCancelResponseServiceresponseResponsepreamble](docs/OrderCancelResponseServiceresponseResponsepreamble.md) + - [MultiSKUPriceAndStockResponseServiceresponseResponsepreamble](docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md) - [OrderCreateRequest](docs/OrderCreateRequest.md) - [OrderCreateRequestAdditionalAttributesInner](docs/OrderCreateRequestAdditionalAttributesInner.md) - [OrderCreateRequestEndUserInfo](docs/OrderCreateRequestEndUserInfo.md) @@ -244,14 +222,6 @@ Class | Method | HTTP request | Description - [OrderCreateRequestLinesInnerEndUserInfoInner](docs/OrderCreateRequestLinesInnerEndUserInfoInner.md) - [OrderCreateRequestLinesInnerWarrantyInfoInner](docs/OrderCreateRequestLinesInnerWarrantyInfoInner.md) - [OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner](docs/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.md) - - [OrderCreateRequestOrdercreaterequest](docs/OrderCreateRequestOrdercreaterequest.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetails](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md) - - [OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress](docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md) - - [OrderCreateRequestOrdercreaterequestRequestpreamble](docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md) - [OrderCreateRequestResellerInfo](docs/OrderCreateRequestResellerInfo.md) - [OrderCreateRequestShipToInfo](docs/OrderCreateRequestShipToInfo.md) - [OrderCreateRequestShipmentDetails](docs/OrderCreateRequestShipmentDetails.md) @@ -266,17 +236,14 @@ Class | Method | HTTP request | Description - [OrderCreateResponseOrdersInnerLinksInner](docs/OrderCreateResponseOrdersInnerLinksInner.md) - [OrderCreateResponseOrdersInnerMiscellaneousChargesInner](docs/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.md) - [OrderCreateResponseOrdersInnerRejectedLineItemsInner](docs/OrderCreateResponseOrdersInnerRejectedLineItemsInner.md) - - [OrderCreateResponseServiceresponse](docs/OrderCreateResponseServiceresponse.md) - - [OrderCreateResponseServiceresponseOrdercreateresponseInner](docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md) - - [OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner](docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md) - - [OrderCreateResponseServiceresponseOrdersummary](docs/OrderCreateResponseServiceresponseOrdersummary.md) - - [OrderCreateResponseServiceresponseOrdersummaryShiptoaddress](docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md) - [OrderCreateResponseShipToInfo](docs/OrderCreateResponseShipToInfo.md) - [OrderDeleteRequest](docs/OrderDeleteRequest.md) - [OrderDeleteRequestServicerequest](docs/OrderDeleteRequestServicerequest.md) - [OrderDeleteRequestServicerequestOrderDeleteRequestDetails](docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md) - [OrderDeleteRequestServicerequestRequestpreamble](docs/OrderDeleteRequestServicerequestRequestpreamble.md) - [OrderDeleteResponse](docs/OrderDeleteResponse.md) + - [OrderDeleteResponseServiceresponse](docs/OrderDeleteResponseServiceresponse.md) + - [OrderDeleteResponseServiceresponseResponsepreamble](docs/OrderDeleteResponseServiceresponseResponsepreamble.md) - [OrderDetailB2B](docs/OrderDetailB2B.md) - [OrderDetailB2BAdditionalAttributesInner](docs/OrderDetailB2BAdditionalAttributesInner.md) - [OrderDetailB2BBillToInfo](docs/OrderDetailB2BBillToInfo.md) @@ -315,18 +282,6 @@ Class | Method | HTTP request | Description - [OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner](docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md) - [OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner](docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md) - [OrderDetailResponseMiscellaneousChargesInner](docs/OrderDetailResponseMiscellaneousChargesInner.md) - - [OrderDetailResponseServiceresponse](docs/OrderDetailResponseServiceresponse.md) - - [OrderDetailResponseServiceresponseOrderdetailresponse](docs/OrderDetailResponseServiceresponseOrderdetailresponse.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress](docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo](docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseLinesInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails](docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner](docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md) - - [OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress](docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md) - [OrderDetailResponseShipToInfo](docs/OrderDetailResponseShipToInfo.md) - [OrderModifyRequest](docs/OrderModifyRequest.md) - [OrderModifyRequestAdditionalAttributesInner](docs/OrderModifyRequestAdditionalAttributesInner.md) @@ -358,13 +313,6 @@ Class | Method | HTTP request | Description - [OrderSearchResponseOrdersInnerLinks](docs/OrderSearchResponseOrdersInnerLinks.md) - [OrderSearchResponseOrdersInnerSubOrdersInner](docs/OrderSearchResponseOrdersInnerSubOrdersInner.md) - [OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner](docs/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.md) - - [OrderSearchResponseServiceResponse](docs/OrderSearchResponseServiceResponse.md) - - [OrderSearchResponseServiceResponseOrdersearchresponse](docs/OrderSearchResponseServiceResponseOrdersearchresponse.md) - - [OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner](docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md) - - [OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks](docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md) - - [OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner](docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md) - - [OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner](docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md) - - [OrderSearchResponseServiceResponseResponsepreamble](docs/OrderSearchResponseServiceResponseResponsepreamble.md) - [OrderStatusAsyncNotificationRequest](docs/OrderStatusAsyncNotificationRequest.md) - [OrderStatusAsyncNotificationRequestResourceInner](docs/OrderStatusAsyncNotificationRequestResourceInner.md) - [OrderStatusAsyncNotificationRequestResourceInnerLinesInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.md) @@ -380,11 +328,6 @@ Class | Method | HTTP request | Description - [PriceAndAvailabilityRequestAvailabilityByWarehouseInner](docs/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.md) - [PriceAndAvailabilityRequestProductsInner](docs/PriceAndAvailabilityRequestProductsInner.md) - [PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner](docs/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.md) - - [PriceAndAvailabilityRequestServicerequest](docs/PriceAndAvailabilityRequestServicerequest.md) - - [PriceAndAvailabilityRequestServicerequestPriceandstockrequest](docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md) - - [PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner](docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md) - - [PriceAndAvailabilityRequestServicerequestRequestpreamble](docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md) - - [PriceAndAvailabilityResponse](docs/PriceAndAvailabilityResponse.md) - [PriceAndAvailabilityResponseInner](docs/PriceAndAvailabilityResponseInner.md) - [PriceAndAvailabilityResponseInnerAvailability](docs/PriceAndAvailabilityResponseInnerAvailability.md) - [PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner](docs/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.md) @@ -395,10 +338,6 @@ Class | Method | HTTP request | Description - [PriceAndAvailabilityResponseInnerPricing](docs/PriceAndAvailabilityResponseInnerPricing.md) - [PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner](docs/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.md) - [PriceAndAvailabilityResponseInnerServiceFeesInner](docs/PriceAndAvailabilityResponseInnerServiceFeesInner.md) - - [PriceAndAvailabilityResponseServiceresponse](docs/PriceAndAvailabilityResponseServiceresponse.md) - - [PriceAndAvailabilityResponseServiceresponsePriceandstockresponse](docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md) - - [PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner](docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md) - - [PriceAndAvailabilityResponseServiceresponseResponsepreamble](docs/PriceAndAvailabilityResponseServiceresponseResponsepreamble.md) - [ProductDetailResponse](docs/ProductDetailResponse.md) - [ProductDetailResponseAdditionalInformation](docs/ProductDetailResponseAdditionalInformation.md) - [ProductDetailResponseAdditionalInformationProductWeightInner](docs/ProductDetailResponseAdditionalInformationProductWeightInner.md) @@ -416,10 +355,6 @@ Class | Method | HTTP request | Description - [ProductSearchResponse](docs/ProductSearchResponse.md) - [ProductSearchResponseCatalogInner](docs/ProductSearchResponseCatalogInner.md) - [ProductSearchResponseCatalogInnerLinksInner](docs/ProductSearchResponseCatalogInnerLinksInner.md) - - [ProductSearchResponseServiceresponse](docs/ProductSearchResponseServiceresponse.md) - - [ProductSearchResponseServiceresponseProductsearchresponseInner](docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md) - - [ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner](docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md) - - [ProductSearchResponseServiceresponseResponsepreamble](docs/ProductSearchResponseServiceresponseResponsepreamble.md) - [QuoteDetails](docs/QuoteDetails.md) - [QuoteDetailsQuoteDetailResponse](docs/QuoteDetailsQuoteDetailResponse.md) - [QuoteDetailsQuoteDetailResponseResponsePreamble](docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md) @@ -440,10 +375,6 @@ Class | Method | HTTP request | Description - [QuoteDetailsResponseQuoteDetailResponse](docs/QuoteDetailsResponseQuoteDetailResponse.md) - [QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse](docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md) - [QuoteDetailsResponseResellerInfo](docs/QuoteDetailsResponseResellerInfo.md) - - [QuoteListRequest](docs/QuoteListRequest.md) - - [QuoteListRequestQuoteSearchRequest](docs/QuoteListRequestQuoteSearchRequest.md) - - [QuoteListRequestQuoteSearchRequestRequestPreamble](docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md) - - [QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest](docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md) - [QuoteListResponse](docs/QuoteListResponse.md) - [QuoteListResponseQuoteSearchResponse](docs/QuoteListResponseQuoteSearchResponse.md) - [QuoteListResponseQuoteSearchResponseQuoteListInner](docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md) @@ -489,7 +420,6 @@ Class | Method | HTTP request | Description - [ValidateQuoteResponseLinesInner](docs/ValidateQuoteResponseLinesInner.md) - [ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner](docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) - [ValidateQuoteResponseVmfAdditionalAttributesInner](docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md) - - [WarehouseListType](docs/WarehouseListType.md) @@ -513,13 +443,6 @@ Authentication schemes defined for the API: It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues. ## Author --[Ingram Micro Xvantage](https://github.com/ingrammicro-xvantage) - -## Contact - -For any inquiries or support, please feel free to contact us at: - -- Email: [xi_support@ingrammicro.com](xi_support@ingrammicro.com) diff --git a/api/openapi.yaml b/api/openapi.yaml index bf33b92a..df29791d 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ 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. - title: XI Sdk Resellers + title: XI SDK Resellers version: 1.0.0 servers: - description: Sandbox @@ -8417,7972 +8417,449 @@ paths: - Freight Estimate x-content-type: application/json x-accepts: application/json - /resellers/v5/invoices/{invoiceNumber}: - get: - description: |- - View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. - - invoiceNumber, isoCountryCode and customerNumber parameters are required. - operationId: get-invoices - parameters: - - description: Ingram Micro Invoice Number - explode: false - in: path - name: invoiceNumber - required: true - schema: - default: 20-RCW67-11 - maxLength: 12 +components: + schemas: + OrderCreateRequest: + example: + notes: notes + endUserInfo: + endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 6 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endCustomerOrderNumber: endCustomerOrderNumber + billToAddressId: billToAddressId + customerOrderNumber: customerOrderNumber + vmf: + vendAuthNumber: vendAuthNumber + specialBidNumber: specialBidNumber + shipToInfo: + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + shipmentDetails: + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: 2000-01-23 + resellerInfo: + resellerId: resellerId + phoneNumber: 0 + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + acceptBackOrder: true + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 5.962133916683182 + quantity: 1 + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: 5.637376656633329 + warrantyInfo: + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + unitPrice: 5.962133916683182 + quantity: 1 + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: 5.637376656633329 + warrantyInfo: + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + properties: + customerOrderNumber: + description: The reseller's unique PO/Order number. + maxLength: 35 type: string - style: simple - - description: Your unique Ingram Micro customer number - explode: true - in: query - name: customerNumber - required: true - schema: - default: 20-222222 + endCustomerOrderNumber: + description: The end user/customer's Purchase Order number. + 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. maxLength: 10 type: string - style: form - - description: ISO 2 char country code - explode: true - in: query - name: isoCountryCode - required: true - schema: - default: US - maxLength: 2 - minLength: 2 + specialBidNumber: + description: The bid number 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 - style: form - responses: - "200": - content: - application/json: - examples: - Example: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: "200" - responsemessage: Invoice Found - invoicedetailresponse: - invoicenumber: RCW67-11 - customerordernumber: ZFEDRGT - customerfreightamount: "0.00" - customerforeignfrightamt: "0.00" - totaltaxamount: "0" - totalamount: "61.22" - shiptosuffix: "200" - billtosuffix: "000" - billto: - name1: INGRAM MICRO CAPS TEST ACCOUNT - addressline1: 1759 WEHRLE DR - city: WILLIAMSVILLE - state: NY - postalcode: "142217033" - countrycode: US - paymentterms: "200" - orderdate: 2020-01-06 - carrier: OT - carrierdescription: OTHER - discountamount: "0.00" - enduserponumber: null - freightforwardercode: null - creditmemoreasoncode: null - holdreason: null - shipcomplete: null - shipdate: 2020-01-06 - companycurrency: USD - currencycode: USD - currencyrate: "1.000000" - globalorderid: 20-RCW67-11 - originalshipcode: null - orderstatus: I - shiptoaddress: - name1: INGRAM MICRO TEST ACCOUNT - addressline1: ATTN TOD DEBIE - addressline2: 1610 E SAINT ANDREW PL - city: SANTA ANA - state: CA - postalcode: "927054931" - countrycode: US - totalsales: "61.22" - weight: "5.00" - lines: - - linenumber: "1" - partnumber: "123511" - vendorpartnumber: F2A032-06 - partdescription: 666 PARALLEL PRINTER DB25M TO CABLCENT36M - PRO SERIES 28AWG ROHS - shipfrombranch: "10" - shippedquantity: "1" - orderedquantity: "1" - backorderquantity: "0" - extendedprice: "30.61" - specialbidnumber: null - ordersuffix: "11" - unitprice: "30.61" - unitofmeasure: EA - productextendedspecs: - - attributename: commenttext - attributevalue: EU#-001599983 ASPECT AUTOMATION LLMC#C - - linenumber: "2" - partnumber: "123511" - vendorpartnumber: F2A032-06 - partdescription: 666 PARALLEL PRINTER DB25M TO CABLCENT36M - PRO SERIES 28AWG ROHS - shipfrombranch: "10" - shippedquantity: "1" - orderedquantity: "1" - backorderquantity: "0" - extendedprice: "30.61" - specialbidnumber: null - ordersuffix: "11" - unitprice: "30.61" - unitofmeasure: EA - productextendedspecs: - - attributename: commenttext - attributevalue: EU#-001599983 ASPECT AUTOMATION LLMC#C - - linenumber: "3" - partnumber: "123511" - vendorpartnumber: F2A032-06 - partdescription: 666 PARALLEL PRINTER DB25M TO CABLCENT36M - PRO SERIES 28AWG ROHS - shipfrombranch: "10" - shippedquantity: "0" - orderedquantity: "1" - backorderquantity: "1" - extendedprice: "0.00" - specialbidnumber: null - ordersuffix: "11" - unitprice: "30.61" - unitofmeasure: EA - - linenumber: "895" - vendorpartnumber: null - partdescription: FREE FREIGHT - shipfrombranch: "10" - shippedquantity: "0" - orderedquantity: "0" - backorderquantity: "0" - extendedprice: "0.00" - specialbidnumber: null - ordersuffix: "11" - unitprice: "0" - unitofmeasure: null - schema: - $ref: '#/components/schemas/invoiceDetails' - description: OK - security: - - application: - - read - summary: Get Invoice Details - tags: - - Invoices V5 - x-accepts: application/json - /resellers/v5/Orders: - post: - description: |- - Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. - - Every order to be created with this API must complete these validations to be placed and processed: - - Ingram Micro recommends that you provide the ingrampartnumber for each SKU contained in each order. - - When using vendorpartnumber to place an order, please use the product search endpoint to find the ingrampartnumber for a specific vendorpartnumber, and then supply the ingrampartnumber to place an order. - - NOTE: You must have net terms to use the Ingram Micro Order Create API. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - operationId: post-v5-orders-create - requestBody: - content: - application/json: - examples: - With Ingram Part No.: - value: - ordercreaterequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - ordercreatedetails: - customerponumber: CustumerPO-1 - shiptoaddress: - attention: John Smith - addressline1: Ingram Micro - addressline2: 3351 Michelson Dr - city: Long Beach - state: CA - postalcode: "92612" - countrycode: US - carriercode: OT - lines: - - linetype: P - linenumber: "002" - quantity: "1" - ingrampartnumber: TSXML3 - extendedspecs: - - attributename: isdirectshiporder - attributevalue: "false" - - attributename: euponumber - attributevalue: "1234" - - attributename: commenttext - attributevalue: Happy Birthday Mom - - attributename: duplicatecustomerordernumbervalidate - attributevalue: ALLOW - - attributename: commenttext - attributevalue: ///This order must ship on FedEx - - attributename: commenttext - attributevalue: /// 3rd account# 12345678 - With Vendor Part No.: - value: - ordercreaterequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - ordercreatedetails: - customerponumber: CustumerPO-1 - carriercode: OT - lines: - - linetype: P - linenumber: "002" - quantity: "1" - vendorpartnumber: PA03670-B055 - extendedspecs: - - attributename: commenttext - attributevalue: This is a test comment text - schema: - $ref: '#/components/schemas/orderCreateRequest' - responses: - "200": - content: - application/json: - examples: - Example: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: WY - responsemessage: "Note: (WY) Address fixed by group 1" - ordersummary: - customerponumber: CUSTUMERPO-1 - totalorderamount: 6.77 - totalordercreated: "1" - shiptoaddress: - attention: INGRAM MICRO - addressline1: 3351 MICHELSON DR - city: IRVINE - state: CA - postalcode: "926120696" - countrycode: US - ordercreateresponse: - - numberoflineswithsuccess: "1" - numberoflineswitherror: "0" - numberoflineswithwarning: "0" - globalorderid: 20-RD12J - ordertype: S - ordertimestamp: 2020-04-04 - invoicingsystemorderid: 20-RD12J - taxamount: 0 - freightamount: 0 - orderamount: 6.77 - lines: - - linetype: P - globallinenumber: "002" - partnumber: TSXML3 - linenumber: "4" - carriercode: OT - carrierdescription: OTHER - requestedunitprice: 6.77 - requestedquantity: 1 - confirmedquantity: 1 - backorderedquantity: 0 - unitproductprice: 6.77 - netamount: 6.77 - warehouseid: "10" - ordersuffix: "11" - schema: - $ref: '#/components/schemas/orderCreateResponse' - description: OK - security: - - application: - - write - summary: Create a New Order - tags: - - Orders v5 - x-content-type: application/json - x-accepts: application/json - /resellers/v5/Orders/search: - get: - description: |- - Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: - - - - For pagination, please use these parameters: - - - Order Status Values: - - - The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - operationId: get-orders-search - parameters: - - description: Your unique Ingram Micro customer number - explode: true - in: query - name: customerNumber - required: true - schema: - example: 20-222222 - type: string - style: form - - description: 2 char iso country code - explode: true - in: query - name: isocountrycode - required: true - schema: - example: US - maxLength: 2 - minLength: 2 - type: string - style: form - - description: Ingram sales order number - explode: true - in: query - name: ordernumber - required: false - schema: - type: string - style: form - - description: Search using your PO/Order number - explode: true - in: query - name: customerordernumber - required: false - schema: - example: ZENPO1 - type: string - style: form - - description: Ingram Micro order status - explode: true - in: query - name: orderstatus - required: false - schema: - default: any - enum: - - P - - R - - "4" - - I - - V - - any - example: "" - minLength: 1 - type: string - uniqueItems: false - style: form - - allowEmptyValue: false - allowReserved: false - description: Search start date/time in UTC format - explode: false - in: query - name: startcreatetimestamp - required: false - schema: - format: date-time - type: string - style: form - - description: Search end date/time in UTC format - explode: true - in: query - name: endcreatetimestamp - required: false - schema: - format: date-time - type: string - style: form - - description: Number of records required in the call - explode: true - in: query - name: pagesize - required: false - schema: - type: integer - style: form - - description: the page number reference - explode: true - in: query - name: pagenumber - required: false - schema: - default: 1 - type: integer - style: form - responses: - "200": - content: - application/json: - examples: - Success Example: - value: - serviceresponse: - responsepreamble: - requeststatus: SUCCESS - returnmessage: Data found - ordesearchresponse: - ordersfound: "1" - pagesize: "1" - pagenumber: "1" - orders: - - ordernumber: 20-RD128 - entrytimestamp: 2020-04-03T15:54:39Z - customerordernumber: ZENPO - suborders: - - subordernumber: 20-RD128-11 - statuscode: C - status: CREDIT HOLD - holdreasoncode: CH - holdreason: HARD-9 CUST NOT FLOOR ORD - links: - - topic: orders - href: /resellers/v5/orders/20-RD128-11?customerNumber=20-222222&isoCountryCode=US - type: GET - - topic: invoices - href: /resellers/v5/invoices/20-RD128-11?customerNumber=20-222222&isoCountryCode=US - type: GET - links: - topic: orders - href: /resellers/v5/orders/20-RD128?customerNumber=20-222222&isoCountryCode=US - type: GET - Data not found: - value: - serviceresponse: - responsepreamble: - requeststatus: FAILED - returnmessage: No data found - ordesearchresponse: - ordersfound: "0" - pagesize: "0" - pagenumber: "1" - schema: - $ref: '#/components/schemas/orderSearchResponse' - description: OK - security: - - application: - - read - summary: Search your Orders - tags: - - Orders v5 - x-accepts: application/json - /resellers/v5/Orders/{ordernumber}: - delete: - description: |- - This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. - - The orderNumber, isoCountryCode, customerNumber and entryDate parameters are required. - - This call must be submitted before the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. - - Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - operationId: delete-orders-orderNumber - parameters: - - description: Ingram Micro sales order number - explode: false - in: path - name: ordernumber - required: true - schema: - example: 20-RD128 - type: string - style: simple - - description: Your unique Ingram Micro customer number - explode: true - in: query - name: customerNumber - required: true - schema: - type: string - style: form - - description: 2 chars ISO country code - explode: true - in: query - name: isoCountryCode - required: true - schema: - maxLength: 2 - minLength: 2 - type: string - style: form - - description: Order entry date (yyyy-mm-dd) - explode: true - in: query - name: entryDate - required: true - schema: - default: 2020-04-03 - type: string - style: form - responses: - "200": - content: - application/json: - examples: - Example: - value: - serviceresponse: - responsepreamble: - requestStatus: SUCCESS - returnCode: "00" - returnMessage: Order Deleted Successfully - schema: - $ref: '#/components/schemas/orderCancelResponse' - description: OK - security: - - application: - - write - summary: Cancel an Existing Order - tags: - - Orders v5 - x-accepts: application/json - get: - description: |- - Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. - - The sales order number, customer number and isoCountryCode are required parameters. - - The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. - - The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. - - In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. - - Use the "simulate" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - operationId: get-v5-orders-details - parameters: - - description: Ingram Micro sales order number - explode: false - in: path - name: ordernumber - required: true - schema: - example: 20-RD128 - type: string - style: simple - - description: Your unique Ingram Micro customer number - explode: true - in: query - name: customernumber - required: true - schema: - default: 20-222222 - type: string - style: form - - description: 2 chars ISO country code - explode: true - in: query - name: isocountrycode - required: true - schema: - default: US - maxLength: 2 - minLength: 2 - type: string - style: form - - description: Your PO/Order Number provide at the time of order creation - explode: true - in: query - name: customerordernumber - required: false - schema: - type: string - style: form - - description: Filter start date - format YYYY-MM-DD - explode: true - in: query - name: startcreatetimestamp - required: false - schema: - example: 2020-03-15 - format: date - type: string - style: form - - description: Filter end date - format YYYY-MM-DD - explode: true - in: query - name: endcreatetimestamp - required: false - schema: - example: 2020-04-20 - type: string - style: form - - description: Order response for various order statuses. Not for use in production. - explode: true - in: query - name: simulate - required: false - schema: - enum: - - IM::shipped - - IM::invoiced - - IM::hold - - IM::partially_shipped - example: "" + notes: + description: Order level notes. type: string - style: form - responses: - "200": - content: - application/json: - examples: - Success: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 20-RD128 - ordertype: D - customerordernumber: ZENPO - orderstatus: CREDIT HOLD - entrytimestamp: 2020-04-03T08:54:39-07:00 - entrymethoddescription: VIA LU62 - ordertotalvalue: 14.67 - ordersubtotal: 6.67 - freightamount: 8 - currencycode: USD - totalweight: "1" - totaltax: "0" - billtoaddress: - suffix: "000" - name: INGRAM MICRO CAPS TEST ACCOUNT - addressline1: 1759 WEHRLE DR - city: WILLIAMSVILLE - state: NY - postalcode: "142217033" - countrycode: US - shiptoaddress: null - enduserinfo: null - lines: - - linenumber: "004" - globallinenumber: "002" - ordersuffix: "11" - erpordernumber: 20-RD128-11 - linestatus: CREDIT HOLD - partnumber: TSXML2 - manufacturerpartnumber: TESTXMLSKU2 - vendorname: TEST VENDOR NUMBER 6 - vendorcode: TST6 - partdescription1: CLASS X SKU NO STOCK - unitweight: "1" - unitprice: 6.67 - extendedprice: 6.67 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "40" - warehousename: "Carol Stream, IL" - status: C - statusdescription: CREDIT HOLD - holdreasoncodedescription: NO DESCRIPTION - carriertype: LTL - carriercode: OT - carriername: OTHER - pronumber: OTHER - productextendedspecs: - - attributename: ponumber - attributevalue: PO NOT GENERATED YET - extendedspecs: - - attributename: commenttext - attributevalue: HAPPY BIRTHDAY MOM - - attributename: commenttext - attributevalue: ///THIS ORDER MUST SHIP ON FEDEX - - attributename: commenttext - attributevalue: /// 3RD ACCOUNT# 12345678 - Order number not found: - value: - serviceresponse: - responsepreamble: - responsestatus: FAILED - orderdetailresponse: - ordernumber: Not Found - customerordernumber: Not-Found - orderstatus: Not-Found - Shipped Order: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 20-V9R37 - ordertype: S - customerordernumber: 9WYLT4PNC - enduserponumber: "20369444086587527" - orderstatus: Shipped - entrytimestamp: 2020-01-22T09:11:14-08:00 - entrymethoddescription: XML/PCG - ordertotalvalue: 197.55 - ordersubtotal: 164.62 - currencycode: GBP - totalweight: "1.87" - totaltax: "32.93" - billtoaddress: - suffix: "000" - name: AMAZON EU SARL - addressline1: "AMAZON EU SARL, UK BRANCH" - addressline2: 1 PRINCIPAL PLACE - addressline3: WORSHIP STREET - city: LONDON - postalcode: EC2A 2FA - countrycode: UK - shiptoaddress: - attention: ATTENTION LINE - name: COMPANY NAME HERE - addressline1: ADDRESS LINE 1 - addressline2: ADDRESS LINE 2 - city: MILTON KEYNES - postalcode: MK9 2EA - countrycode: UK - enduserinfo: null - lines: - - linenumber: "002" - globallinenumber: "001" - ordersuffix: "11" - erpordernumber: 20-V9R37-11 - linestatus: Shipped - partnumber: V934027 - manufacturerpartnumber: 45PAT7MYL - vendorname: STARTECH - CABLES - vendorcode: D825 - partdescription1: 7M YELLOW CAT5E CABLE - partdescription2: SNAGLESS ETHERNET CABLE - UTP - unitweight: "0.36" - unitprice: 2.04 - extendedprice: 2.04 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - serialnumberdetails: - - serialnumber: "011" - deliverynumber: "1123" - trackingnumber: - - "10660208" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "10" - warehousename: "Mira Loma, CA" - status: S - statusdescription: Shipped - holdreasoncodedescription: NA - carriercode: 4M - carriername: SMARTPOST-BM - pronumber: "121" - packagedetails: - - trackingnumber: "65792630" - packageweight: "2" - cartonnumber: "1" - quantityinbox: "3" - - linenumber: "003" - globallinenumber: "002" - ordersuffix: "11" - erpordernumber: 20-V9R37-11 - linestatus: Shipped - partnumber: V934357 - manufacturerpartnumber: DK30CHDPPDUE - vendorname: STARTECH - IO NETWORKING - vendorcode: D822 - partdescription1: DUAL MONITOR USB C DOCK - POWER - partdescription2: DELIVERY 60W - DUAL 4K DP/HDMI SD - unitweight: "1.35" - unitprice: 143.42 - extendedprice: 143.42 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - serialnumberdetails: - - serialnumber: "011" - deliverynumber: "1123" - trackingnumber: - - "10660208" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "10" - warehousename: "Mira Loma, CA" - status: S - statusdescription: Shipped - holdreasoncodedescription: NA - carriercode: 4M - carriername: SMARTPOST-BM - pronumber: "121" - packagedetails: - - trackingnumber: "65792630" - packageweight: "2" - cartonnumber: "1" - quantityinbox: "3" - - linenumber: "004" - globallinenumber: "003" - ordersuffix: "11" - erpordernumber: 20-V9R37-11 - linestatus: Shipped - partnumber: 242F880 - manufacturerpartnumber: 1511B001 - vendorname: CANON - SUPPLIES INK HV - vendorcode: M032 - partdescription1: CLI-36 INK CARTRIDGE COLOUR - partdescription2: F/ PIXMA MINI260 - unitweight: "0.05" - unitprice: 8.88 - extendedprice: 8.88 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - serialnumberdetails: - - serialnumber: "011" - deliverynumber: "1123" - trackingnumber: - - "10660208" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "10" - warehousename: "Mira Loma, CA" - status: S - statusdescription: Shipped - holdreasoncodedescription: NA - carriercode: 4M - carriername: SMARTPOST-BM - pronumber: "121" - packagedetails: - - trackingnumber: "65792630" - packageweight: "2" - cartonnumber: "1" - quantityinbox: "3" - - linenumber: "005" - globallinenumber: "004" - ordersuffix: "11" - erpordernumber: 20-V9R37-11 - linestatus: Shipped - partnumber: V931792 - manufacturerpartnumber: RJ45SPLITTER - vendorname: STARTECH - CABLES - vendorcode: D825 - partdescription1: 2-TO-1 RJ45 SPLITTER CABLE - partdescription2: ADAPTER - F/M - unitweight: "0.03" - unitprice: 4.8 - extendedprice: 4.8 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - serialnumberdetails: - - serialnumber: "011" - deliverynumber: "1123" - trackingnumber: - - "10660208" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "10" - warehousename: "Mira Loma, CA" - status: S - statusdescription: Shipped - holdreasoncodedescription: NA - carriercode: 4M - carriername: SMARTPOST-BM - pronumber: "121" - packagedetails: - - trackingnumber: "65792630" - packageweight: "2" - cartonnumber: "1" - quantityinbox: "3" - - linenumber: "006" - globallinenumber: "005" - ordersuffix: "11" - erpordernumber: 20-V9R37-11 - linestatus: Shipped - partnumber: V931639 - manufacturerpartnumber: HDMM1MHS - vendorname: STARTECH - CABLES - vendorcode: D825 - partdescription1: 1M HIGH SPEED HDMI CABLE WITH - partdescription2: ETHERNET - HDMI - M/M - unitweight: "0.08" - unitprice: 3.48 - extendedprice: 3.48 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - serialnumberdetails: - - serialnumber: "011" - deliverynumber: "1123" - trackingnumber: - - "10660208" - shipmentdetails: - - quantity: 1 - shipfromwarehouseid: "10" - warehousename: "Mira Loma, CA" - status: S - statusdescription: Shipped - holdreasoncodedescription: NA - carriercode: 4M - carriername: SMARTPOST-BM - pronumber: "121" - packagedetails: - - trackingnumber: "65792630" - packageweight: "2" - cartonnumber: "1" - quantityinbox: "3" - miscfeeline: - - code: "895" - description: FN PARCELFORCE NEXT DAY - chargeamount: "2.00" - extendedspecs: - - attributename: commenttext - attributevalue: ///CN:CONTACT NAME HERE - schema: - $ref: '#/components/schemas/orderDetailResponse' - description: OK - security: - - application: - - read - summary: Get Order Details - tags: - - Orders v5 - x-accepts: application/json - /resellers/v5/Catalog/priceandavailability: - post: - description: "Search the product catalog for the price and availability for\ - \ up to 50 SKUs at one time. This endpoint helps to confirm the details just\ - \ prior to placing a real-time call." - operationId: MultiSKUPriceAndStock - parameters: [] - requestBody: - content: - application/json: - examples: - Ingram Part Number: - value: - servicerequest: - requestpreamble: - customernumber: 20-222223 - isocountrycode: US - priceandstockrequest: - showwarehouseavailability: "True" - extravailabilityflag: "Y" - item: - - ingrampartnumber: TB6489 - quantity: 1 - - ingrampartnumber: 1AQ821 - quantity: 1 - includeallsystems: false - schema: - $ref: '#/components/schemas/priceAndAvailabilityRequest' - responses: - "200": - content: - application/json: - examples: - Example: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: "200" - responsemessage: Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: 3000-SKU not found/replic - ingrampartnumber: TB6489 - vendorpartnumber: H1180HD - globalskuid: A300-TB6489 - customerprice: 0 - partdescription1: H1180HD DLP 3D PROJ 2000L 1080PPROJ - partdescription2: 10000:1 VGA HDMI RCA - vendornumber: Q680 - vendorname: VIVITEK - cpucode: DLP-PR - class: X - skustatus: ACTIVE - mediacpu: PROJ DLP-PR - categorysubcategory: 04 25 - retailprice: 899 - newmedia: PROJ - enduserrequired: "Y" - backorderflag: "Y" - skuauthorized: "Y" - warehousedetails: - - warehouseid: "30" - warehousedescription: "Millington, TN" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "49" - warehousedescription: Electronic Download - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "80" - warehousedescription: "Jonestown, PA" - availablequantity: 690 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "40" - warehousedescription: "Carol Stream, IL" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "10" - warehousedescription: "Mira Loma, CA" - availablequantity: 781 - onorderquantity: 2 - onholdquantity: 0 - etadate: 2028-07-06 - - warehouseid: "20" - warehousedescription: "Carrolton, TX" - availablequantity: 256 - onorderquantity: 0 - onholdquantity: 0 - - itemstatus: SUCCESS - statusmessage: 3000-SKU not found/replic - ingrampartnumber: 1AQ821 - vendorpartnumber: NP940X3M-K03US - globalskuid: A300-1AQ821 - customerprice: 0 - partdescription1: NOTEBOOK 9 PRO I5-7200U 2.5G SYST - partdescription2: 128GB SSD 13IN TITAN SILVER Z - vendornumber: QG86 - vendorname: SAMSUNG - cpucode: NOTEBK - class: E - skustatus: ACTIVE - mediacpu: SYST NOTEBK - categorysubcategory: 00 46 - retailprice: 949.99 - newmedia: SYST - backorderflag: "N" - skuauthorized: "N" - extendedvendorpartnumber: NP940X3M-K03US - warehousedetails: - - warehouseid: "30" - warehousedescription: "Millington, TN" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "80" - warehousedescription: "Jonestown, PA" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "40" - warehousedescription: "Carol Stream, IL" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 1 - - warehouseid: "17" - warehousedescription: "Miami, FL" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "10" - warehousedescription: "Mira Loma, CA" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - - warehouseid: "20" - warehousedescription: "Carrolton, TX" - availablequantity: 0 - onorderquantity: 0 - onholdquantity: 0 - schema: - $ref: '#/components/schemas/priceAndAvailabilityResponse' - description: Success - security: - - application: - - read - summary: Find availability of upto 50 SKUs - tags: - - Product Catalog v5 - x-content-type: application/json - x-accepts: application/json - /resellers/v5/Catalog: - get: - description: "Search the Ingram Micro product catalog using customerNumber,\ - \ isoCountryCode and partNumber." - operationId: get-v5-catalog-productsearch - parameters: - - description: Your unique Ingram Micro customer number - explode: true - in: query - name: customerNumber - required: true - schema: - default: 20-222222 - type: string - style: form - - description: 2 chars country code - explode: true - in: query - name: isoCountryCode - required: true - schema: - default: US - maxLength: 2 - minLength: 2 - type: string - style: form - - description: Part Number can be ingram part number or vendor part number or - customer part number or UPC - explode: true - in: query - name: partNumber - required: true - schema: - default: 1AQ821 - type: string - style: form - responses: - "200": - content: - application/json: - examples: - Using Ingram part number: - value: - serviceresponse: - responsepreamble: - requeststatus: SUCCESS - returncode: "200" - returnmessage: Data Available - productsearchresponse: - - responseflag: "1" - partnumbers: - - ingrampartnumber: 3AR598 - manufacturerpartnumber: NP940X5N-X01US - upccode: "0887276244266" - productdescription: NOTEBOOK 9 PRO 15IN 2018 I7-8550U 256GB - SSD - currency: USD - haswarranty: "false" - schema: - $ref: '#/components/schemas/productSearchResponse' - description: OK - security: - - application: - - read - summary: Search Product Catalog - tags: - - Product Catalog v5 - x-accepts: application/json - /resellers/v5/quote/search: - post: - description: |- - This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. - - Observe these additional parameters: - operationId: post-v5-quotes-search - requestBody: - content: - application/json: - examples: - Example: - value: - quoteSearchRequest: - requestPreamble: - customerNumber: 20-222222 - customerContact: customer@im.com - isoCountryCode: US - retrieveQuoteRequest: - fromDate: 2019-08-01 - toDate: 2019-11-01 - pageIndex: 1 - recordsPerPage: 5 - sorting: desc - sortingColumnName: createdon - thirdPartySource: 3RDPIDCONWISE - schema: - $ref: '#/components/schemas/quoteListRequest' - responses: - "200": - content: - application/json: - examples: - Success: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 10-12345 - customerordernumber: test order - enduserponumber: ABC - orderstatus: INVOICED - entrytimestamp: 2018-07-15T04:31:42-07:00 - entrymethoddescription: XML/PCG - fulfilmentordercode: "Y" - ordertotalvalue: 3907.38 - ordersubtotal: 3907.38 - freightamount: 141.34 - currencycode: USD - totalweight: "86" - totaltax: "0" - billtoaddress: - suffix: "000" - name: Ingram Micro - addressline1: 123 Ingram Way - addressline2: null - addressline3: null - city: Irvine - state: CA - postalcode: "12345000" - countrycode: US - shiptoaddress: - name: Mr Customer - addressline1: 123 Main St - city: Anywhere - state: CA - postalcode: "12345000" - countrycode: US - lines: - - globallinenumber: "001" - ordersuffix: "11" - linestatus: INVOICED - partnumber: 3AM612 - manufacturerpartnumber: QN75Q8FNBFXZA - vendorname: SAMSUNG - CONSUMER TV - partdescription1: 75IN Q8 FLAT 4K UHD HDR SMARTTV - partdescription2: FULL ARRAY BACKLIGHTIN CLEAN CABLE - freeitempromoflag: "false" - unitweight: "75" - unitprice: 50000.48 - foreignunitprice: 0 - extendedprice: 5000.48 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-16 - shipfromwarehouseid: "40" - warehousename: "Carol Stream, IL" - invoicenumber: "1234511" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-16 - carriercode: AY - carriername: ORD4708752 - packagedetails: - trackingnumber: 6838019 - packageweight: 80 - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-11 - vendorcode: Q012 - isacopapplied: "N" - adjustedcost: "5000.09" - serialnumberdetails: - serialnumber: 07AS3CAK500682 - productextendedspecs: - attributename: commenttext - attributevalue: FULL ARRAY BACKLIGHTIN CLEAN CABLE - - globallinenumber: "002" - ordersuffix: "21" - linestatus: INVOICED - partnumber: 2GH590 - manufacturerpartnumber: F-ADT-STR-KT-1 - vendorname: SAMSUNG - SMART THINGS - partdescription1: ADT HOME SECURITY STARTER KIT - partdescription2: SECURITY STARTER KIT - freeitempromoflag: "false" - unitweight: "5.15" - unitprice: 500.9 - foreignunitprice: 0 - extendedprice: 500.9 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-17 - shipfromwarehouseid: "80" - warehousename: "Jonestown, PA" - invoicenumber: "1234521" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-17 - carriercode: RG - carriername: FEDEX GROUND - packagedetails: - trackingnumber: "017136225260674" - packageweight: "000000006" - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-21 - vendorcode: QG64 - isacopapplied: "N" - adjustedcost: "400.99" - productextendedspecs: - attributename: commenttext - attributevalue: SECURITY STARTER KIT - extendedspecs: - - attributename: termscode - attributevalue: "300" - - attributename: termsdescription - attributevalue: NET 30 DAYS - - attributename: commenttext - attributevalue: PHONE:7148675309 - - attributename: commenttext - attributevalue: PHONE:7148675309 - ordertype: S - erpid: null - Customer not found: - value: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Customer Not Found - totalCount: 0 - Invalid sort column: - value: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Provide valid sort column name - totalCount: 0 - schema: - $ref: '#/components/schemas/quoteListResponse' - description: OK - security: - - application: - - read - summary: Search Quotes - tags: - - Quotes v5 - x-content-type: application/json - x-accepts: application/json - /resellers/v5/quote/{quoteNumber}: - get: - description: |- - The quote details API provides all quote details associated with the quote number provided. - - The “quoteNumber”, “isoCountryCode” and “customerNumber” parameters are required. - operationId: get-v5-quotes-details - parameters: - - description: Ingram Micro Quote Number - explode: false - in: path - name: quoteNumber - required: true - schema: - default: QUO-25576-C8S2W7 - type: string - style: simple - - description: Your Ingram Micro unique customer number - explode: true - in: query - name: customerNumber - required: true - schema: - default: 20-222222 - type: string - style: form - - description: "" - explode: true - in: query - name: isoCountryCode - required: true - schema: - default: US - maxLength: 2 - minLength: 2 - type: string - style: form - - description: Unique identifier used to identify the third party source accessing - the services - explode: true - in: query - name: thirdPartySource - required: false - schema: - default: customer - type: string - style: form - responses: - "200": - content: - application/json: - examples: - Example: - value: - quoteDetailResponse: - responsePreamble: - responseStatus: Passed - statusCode: 200 - responseMessage: Records Found - retrieveQuoteResponse: - quoteGuid: bfce8c7f-de74-ea11-a811-000d3a32deaa - quoteName: USName53 - quoteNumber: QUO-25576-C8S2W7 - quoteExpiryDate: 2020-08-13 - revisionNumber: "0" - introPreamble: "Thank you for contacting Ingram Micro. We\ - \ value your business greatly and will continue to deliver\ - \ the services you need to retain it. This quote is not\ - \ intended to represent the entire conversation; only what\ - \ was relevant to the solution you requested. We make every\ - \ effort to provide a complete and correct solution. However,\ - \ the accuracy of the solution provided is dependent on\ - \ the information gathered. If relevant information is not\ - \ provided by our customer, Ingram Micro cannot be held\ - \ responsible. We urge you to review this quote fully, to\ - \ ensure it reflects all of your required specifications.\ - \ If you have additional questions, please contact your\ - \ designated Ingram Micro contact. Remember to reference\ - \ your Quote Number.Call reference To ensure fastest\ - \ and most accurate processing of your order, please provide\ - \ the quote at the time of purchase" - purchaseInstructions: "For specific pricing and to order the\ - \ above products, you may : Some product may be orderable\ - \ on Imonline at http://us-new.ingrammicro.com : Call the\ - \ Ingram Micro Sales department at 1.800.456.8000; Your\ - \ PO number;End User; Your fax number; Shipping instructions;\ - \ End user PO number; End user license, contract or authorization\ - \ number Thank you for your order!" - legalTerms: This offer to sell the listed product(s) is subject - to product availability and Ingram Micro's standard terms - and conditions that are published on http://www.ingrammicro.com - prices are subject to change without notice. Please contact - the Ingram Micro Sales desk at 1.800.456.8000 if you have - any additional questions. - accountInfo: - accountName: INGRAM MICRO CAPS TEST ACCOUNT - bcn: "20222222" - phone: "7166333600" - contactInfo: - contactName: test9 user9 - contactEmail: null - currencyCode: USD - priceDeviationId: null - customerNeed: null - solutionProposed: null - status: Active - created: 2020-04-02 - modified: 2020-04-02 - vendorAttributes: - estimateId: FT93031874YX - dealId: "41168951" - vendorName: CISCO - HW SWITCHES DT - vendorSettingMessage: null - endUser: - endUserName: WAKE FOREST UNIVERSITY - endUserAddress: 391 TECHNOLOGY WAY - endUserAddress2: null - endUserAddress3: null - endUserCity: WINSTON SALEM - endUserState: NC - endUserEmail: null - endUserPhone: null - endUserZipCode: "27101" - endUserContactName: null - endUserMarketSegment: null - leasingCalculations: Lease Rate 2000 - leasingInstructions: "Win more opportunities by offering\ - \ your customers flexible financing solutions with Ingram\ - \ Micro Financial Solutions.###############Lease pricing is intended to be a good faith\ - \ estimate and is being used for marketing purposes only.\ - \ The actual rate and payment amount may vary, and is subject\ - \ to credit approval in addition to any terms and conditions\ - \ that may be required." - quoteProductList: - - quoteProductGuid: cfce8c7f-de74-ea11-a811-000d3a32deaa - quantity: "1.0" - comments: null - sku: 9Y6780 - lineNumber: "1.0" - price: - quotePrice: "1401.85" - msrp: "2645.00" - extendedMsrp: "2645.00" - extendedQuotePrice: "1401.85" - description: "Catalyst 9300 8 x 10GE Network Module, spare" - vendorPartNumber: C9300-NM-8X= - weight: "1.35" - isSuggestionProduct: "false" - vpnCategory: hwsw - quoteProductsSupplierPartAuxiliaryId: 69479607572;0;; - quoteProductsVendor: CISCO - HW SWITCHES DT - totalQuoteProductCount: "1" - totalExtendedMsrp: "2645.00" - totalQuantity: 1 - totalExtendedQuotePrice: "1401.85" - schema: - $ref: '#/components/schemas/quoteDetails' - description: OK - security: - - application: - - read - summary: Get Quote Details - tags: - - Quotes v5 - x-accepts: application/json - /products/v4/multiskupriceandstock: - post: - description: |- - Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. - - Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - operationId: post-v4-multiskupriceandstock - parameters: [] - requestBody: - content: - application/json: - examples: - Ingram Part Number: - value: "{ \n \"servicerequest\":{\n \"requestpreamble\"\ - :{ \n \"customernumber\":\"20-222222\",\n \"isocountrycode\"\ - :\"US\"\n },\n \"priceandstockrequest\":{ \n \ - \ \"showwarehouseavailability\":\"True\",\n \"extravailabilityflag\"\ - :\"Y\",\n \"item\":[ \n {\"ingrampartnumber\"\ - :\"TB6489\",\"quantity\":1}\n ],\n \"includeallsystems\"\ - :false\n }\n }\n}" - schema: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest' - responses: - "200": - content: - application/json: - examples: {} - schema: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse' - description: Success - security: - - application: - - read - summary: Product availability for upto 50 SKUs - tags: - - Product Catalog v4 - x-content-type: application/json - x-accepts: application/json - /products/v4/productsearch: - post: - description: 'A real time search that provides the Ingram Micro part number - using the manufacturer part number. This API is helpful to eliminate any - errors when a manufactuer has the same part number and Ingram Micro has had - to create multiple sku numbers ' - operationId: post-v4-productsearch - parameters: [] - requestBody: - content: - application/json: - examples: - Ingram Part Number: - value: - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - productsearchrequest: - searchcriteria: - ingrampartnumber: TSXML3 - schema: - $ref: '#/components/schemas/productSearchRequest' - responses: - "200": - content: - application/json: - examples: - SKU found: - value: - serviceresponse: - responsepreamble: - requeststatus: SUCCESS - returnmessage: Details Found - productsearchresponse: - - partnumbers: - - ingrampartnumber: TSXML3 - manufacturerpartnumber: TESTXMLSKU3 - SKU Not Found: - value: - serviceresponse: - responsepreamble: - requeststatus: FAILED - returnmessage: PART-NOT-FOUND - schema: - $ref: '#/components/schemas/productSearchResponse' - description: Success - security: - - application: - - read - summary: Real-time Product Search - tags: - - Product Catalog v4 - x-content-type: application/json - x-accepts: application/json - /invoices/v4/invoicedetails: - post: - description: A real-time request that allows the customer to query Ingram Micro - for Invoice information for a specific open or shipped order (in the past - 9 months). Orders are searched using Ingram Micro Sales Order Number. - operationId: post-v4-invoicedetails - requestBody: - content: - application/json: - examples: - Test: - value: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - invoicedetailrequest: - invoicenumber: 30-13649-13 - customerponumber: DH-200732 - schema: - $ref: '#/components/schemas/invoiceDetailRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/invoiceDetailResponse' - description: OK - security: - - application: - - read - summary: Get Invoice Details - tags: - - Invoices v4 - x-content-type: application/json - x-accepts: application/json - /orders/v4/ordermodify: - post: - description: | - The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. - - Types of modifications allowable: Order release, add comment, and carrier change. - NOTE - Direct Ship orders cannot be modified. - operationId: post-v4-ordermodify - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/orderModifyRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/orderModifyResponse' - description: OK - security: - - application: - - read - - write - summary: Modify an Existing Order - tags: - - Orders v4 - x-content-type: application/json - x-accepts: application/json - /orders/v4/orderlookup: - post: - description: Search your orders using various search parameters - operationId: post-v4-ordersearch - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/orderSearchRequest' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/orderSearchResponse' - description: OK - security: - - application: - - read - summary: Order Search - tags: - - Orders v4 - x-content-type: application/json - x-accepts: application/json - /orders/v4/orderdetails: - post: - description: A real-time request that allows the customer to query Ingram Micro - for detailed information for a specific open or shipped order. Orders are - searched using Ingram Micro Sales Order Number. - operationId: post-v4-orderdetails - requestBody: - content: - application/json: - examples: - Sample: - value: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderdetailrequest: - ordernumber: 20-B2V9H - schema: - $ref: '#/components/schemas/orderDetailRequest' - responses: - "200": - content: - application/json: - examples: - Sample: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 10-12345 - customerordernumber: test order - enduserponumber: ABC - orderstatus: INVOICED - entrytimestamp: 2018-07-15T04:31:42-07:00 - entrymethoddescription: XML/PCG - fulfilmentordercode: "Y" - ordertotalvalue: 3907.38 - ordersubtotal: 3907.38 - freightamount: 141.34 - currencycode: USD - totalweight: "86" - totaltax: "0" - billtoaddress: - suffix: "000" - name: Ingram Micro - addressline1: 123 Ingram Way - addressline2: null - addressline3: null - city: Irvine - state: CA - postalcode: "12345000" - countrycode: US - shiptoaddress: - name: Mr Customer - addressline1: 123 Main St - city: Anywhere - state: CA - postalcode: "12345000" - countrycode: US - lines: - - globallinenumber: "001" - ordersuffix: "11" - linestatus: INVOICED - partnumber: 3AM612 - manufacturerpartnumber: QN75Q8FNBFXZA - vendorname: SAMSUNG - CONSUMER TV - partdescription1: 75IN Q8 FLAT 4K UHD HDR SMARTTV - partdescription2: FULL ARRAY BACKLIGHTIN CLEAN CABLE - freeitempromoflag: "false" - unitweight: "75" - unitprice: 50000.48 - foreignunitprice: 0 - extendedprice: 5000.48 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-16 - shipfromwarehouseid: "40" - warehousename: "Carol Stream, IL" - invoicenumber: "1234511" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-16 - carriercode: AY - carriername: ORD4708752 - packagedetails: - trackingnumber: 6838019 - packageweight: 80 - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-11 - vendorcode: Q012 - isacopapplied: "N" - adjustedcost: "5000.09" - serialnumberdetails: - serialnumber: 07AS3CAK500682 - productextendedspecs: - attributename: commenttext - attributevalue: FULL ARRAY BACKLIGHTIN CLEAN CABLE - - globallinenumber: "002" - ordersuffix: "21" - linestatus: INVOICED - partnumber: 2GH590 - manufacturerpartnumber: F-ADT-STR-KT-1 - vendorname: SAMSUNG - SMART THINGS - partdescription1: ADT HOME SECURITY STARTER KIT - partdescription2: SECURITY STARTER KIT - freeitempromoflag: "false" - unitweight: "5.15" - unitprice: 500.9 - foreignunitprice: 0 - extendedprice: 500.9 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-17 - shipfromwarehouseid: "80" - warehousename: "Jonestown, PA" - invoicenumber: "1234521" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-17 - carriercode: RG - carriername: FEDEX GROUND - packagedetails: - trackingnumber: "017136225260674" - packageweight: "000000006" - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-21 - vendorcode: QG64 - isacopapplied: "N" - adjustedcost: "400.99" - productextendedspecs: - attributename: commenttext - attributevalue: SECURITY STARTER KIT - extendedspecs: - - attributename: termscode - attributevalue: "300" - - attributename: termsdescription - attributevalue: NET 30 DAYS - - attributename: commenttext - attributevalue: PHONE:7148675309 - - attributename: commenttext - attributevalue: PHONE:7148675309 - ordertype: S - erpid: null - schema: - $ref: '#/components/schemas/orderDetailResponse' - description: OK - security: - - application: - - read - summary: Get Order Details - tags: - - Orders v4 - x-content-type: application/json - x-accepts: application/json - /orders/v4/orderdelete: - post: - description: A real-time request to delete a previously accepted order must - be submitted before the order is released to Ingram Micro’s warehouse. After - release the order is no longer eligible for deletion. Order delete transaction - submitted after the order is released will be rejected and will not be applied. - *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - operationId: post-v4-orderdelete - requestBody: - content: - application/json: - examples: - Example: - value: - servicerequest: - requestpreamble: - isocountrycode: US - customerumber: 20-222222 - OrderDeleteRequestDetails: - entryDate: 2019-01-22 - orderBranch: "20" - orderNumber: RC62Z - schema: - $ref: '#/components/schemas/orderDeleteRequest' - responses: - "200": - content: - application/json: - examples: - Example: - value: - serviceresponse: - responsepreamble: - requestStatus: SUCCESS - returnCode: "00" - returnMessage: Order Deleted Successfully - schema: - $ref: '#/components/schemas/orderDeleteResponse' - description: OK - security: - - application: - - write - summary: Delete an Order - tags: - - Orders v4 - x-content-type: application/json - x-accepts: application/json - /orders/v4/ordercreate: - post: - description: The order create transaction is a real-time transaction that allows - customers to place standard product and direct ship (licensing and warranties) - orders with Ingram Micro using API. - operationId: post-v4-ordercreate - requestBody: - content: - application/json: - examples: - With Ingram Part Number: - value: - ordercreaterequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - ordercreatedetails: - systemid: "" - customerponumber: TESTAPI10156 - billtosuffix: "000" - shiptoaddress: - attention: HARRY WELLS - addressline1: THE COMPUTER STORE - addressline2: 754 LAS PALMAS DR - city: IRVINE - state: CA - postalcode: "926022004" - countrycode: US - lines: - - linetype: P - linenumber: "001" - globalskuid: "" - quantity: "1" - ingrampartnumber: NE7872 - extendedspecs: - - attributename: entrymethod - attributevalue: WEBS - schema: - $ref: '#/components/schemas/orderCreateRequest' - responses: - "200": - content: - application/json: - examples: - Sample: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - ordercreateresponse: - numberoflineswithsuccess: "1" - numberoflineswitherror: "0" - numberoflineswithwarning: "0" - globalorderid: 20-RBRN9 - customerponumber: H3E - ordertype: S - ordertimestamp: 2018-07-18 - invoicingsystemorderid: 20-RBRN9 - taxamount: 0 - freightamount: 0 - totalorderamount: 0 - shiptoaddress: - attention: null - name: null - addressline1: null - addressline2: null - addressline3: null - addressline4: null - city: null - state: null - postalcode: null - countrycode: null - lines: - - linetype: P - globallinenumber: "002" - partnumber: 4K9938 - globalskuid: A300-4K9938 - freeitempromoflag: "false" - linenumber: "4" - carriercode: WC - carrierdescription: WILL CALL - requestedunitprice: 647.6 - requestedquantity: 1 - confirmedquantity: 0 - backorderedquantity: 1 - backorderetadate: 2018-05-15 - unitproductprice: 647.6 - netamount: 0 - warehouseid: "40" - ordersuffix: "11" - isacopapplied: "Y" - schema: - $ref: '#/components/schemas/orderCreateResponse' - description: OK - security: - - application: - - write - summary: Create a new Order - tags: - - Orders v4 - x-content-type: application/json - x-accepts: application/json - /quotes/v1/quotedetails: - post: - description: A real-time request to delete a previously accepted order must - be submitted before the order is released to Ingram Micro’s warehouse. After - release the order is no longer eligible for deletion. Order delete transaction - submitted after the order is released will be rejected and will not be applied. - *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - operationId: post-v4-quotedetails - requestBody: - content: - application/json: - examples: - Example: - value: - servicerequest: - requestpreamble: - isocountrycode: US - customerumber: 20-222222 - OrderDeleteRequestDetails: - entryDate: 2019-01-22 - orderBranch: "20" - orderNumber: RC62Z - schema: - $ref: '#/components/schemas/quoteDetailsRequest' - responses: - "200": - content: - application/json: - examples: - Example: - value: - quoteDetailResponse: - responsePreamble: - responseStatus: Passed - statusCode: 200 - responseMessage: Records Found - retrieveQuoteResponse: - quoteGuid: bfce8c7f-de74-ea11-a811-000d3a32deaa - quoteName: USName53 - quoteNumber: QUO-25576-C8S2W7 - quoteExpiryDate: 2020-08-13 - revisionNumber: "0" - introPreamble: "Thank you for contacting Ingram Micro. We\ - \ value your business greatly and will continue to deliver\ - \ the services you need to retain it. This quote is not\ - \ intended to represent the entire conversation; only what\ - \ was relevant to the solution you requested. We make every\ - \ effort to provide a complete and correct solution. However,\ - \ the accuracy of the solution provided is dependent on\ - \ the information gathered. If relevant information is not\ - \ provided by our customer, Ingram Micro cannot be held\ - \ responsible. We urge you to review this quote fully, to\ - \ ensure it reflects all of your required specifications.\ - \ If you have additional questions, please contact your\ - \ designated Ingram Micro contact. Remember to reference\ - \ your Quote Number.Call reference To ensure fastest\ - \ and most accurate processing of your order, please provide\ - \ the quote at the time of purchase" - purchaseInstructions: "For specific pricing and to order the\ - \ above products, you may : Some product may be orderable\ - \ on Imonline at http://us-new.ingrammicro.com : Call the\ - \ Ingram Micro Sales department at 1.800.456.8000; Your\ - \ PO number;End User; Your fax number; Shipping instructions;\ - \ End user PO number; End user license, contract or authorization\ - \ number Thank you for your order!" - legalTerms: This offer to sell the listed product(s) is subject - to product availability and Ingram Micro's standard terms - and conditions that are published on http://www.ingrammicro.com - prices are subject to change without notice. Please contact - the Ingram Micro Sales desk at 1.800.456.8000 if you have - any additional questions. - accountInfo: - accountName: INGRAM MICRO CAPS TEST ACCOUNT - bcn: "20222222" - phone: "7166333600" - contactInfo: - contactName: test9 user9 - contactEmail: null - currencyCode: USD - priceDeviationId: null - customerNeed: null - solutionProposed: null - status: Active - created: 2020-04-02 - modified: 2020-04-02 - vendorAttributes: - estimateId: FT93031874YX - dealId: "41168951" - vendorName: CISCO - HW SWITCHES DT - vendorSettingMessage: null - endUser: - endUserName: WAKE FOREST UNIVERSITY - endUserAddress: 391 TECHNOLOGY WAY - endUserAddress2: null - endUserAddress3: null - endUserCity: WINSTON SALEM - endUserState: NC - endUserEmail: null - endUserPhone: null - endUserZipCode: "27101" - endUserContactName: null - endUserMarketSegment: null - leasingCalculations: Lease Rate 2000 - leasingInstructions: "Win more opportunities by offering\ - \ your customers flexible financing solutions with Ingram\ - \ Micro Financial Solutions.###############Lease pricing is intended to be a good faith\ - \ estimate and is being used for marketing purposes only.\ - \ The actual rate and payment amount may vary, and is subject\ - \ to credit approval in addition to any terms and conditions\ - \ that may be required." - quoteProductList: - - quoteProductGuid: cfce8c7f-de74-ea11-a811-000d3a32deaa - quantity: "1.0" - comments: null - sku: 9Y6780 - lineNumber: "1.0" - price: - quotePrice: "1401.85" - msrp: "2645.00" - extendedMsrp: "2645.00" - extendedQuotePrice: "1401.85" - description: "Catalyst 9300 8 x 10GE Network Module, spare" - vendorPartNumber: C9300-NM-8X= - weight: "1.35" - isSuggestionProduct: "false" - vpnCategory: hwsw - quoteProductsSupplierPartAuxiliaryId: 69479607572;0;; - quoteProductsVendor: CISCO - HW SWITCHES DT - totalQuoteProductCount: "1" - totalExtendedMsrp: "2645.00" - totalQuantity: 1 - totalExtendedQuotePrice: "1401.85" - schema: - $ref: '#/components/schemas/quoteDetailsResponse' - description: OK - security: - - application: - - write - summary: Get Quote Details - tags: - - Quotes v4 - x-content-type: application/json - x-accepts: application/json - /quotes/v1/quotes: - post: - description: A real-time request that allows the customer to query Ingram Micro - for detailed information for a specific open or shipped order. Orders are - searched using Ingram Micro Sales Order Number. - operationId: post-v4-quotesearch - requestBody: - content: - application/json: - examples: - Sample: - value: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderdetailrequest: - ordernumber: 20-B2V9H - schema: - $ref: '#/components/schemas/quoteListRequest' - responses: - "200": - content: - application/json: - examples: - Sample: - value: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 10-12345 - customerordernumber: test order - enduserponumber: ABC - orderstatus: INVOICED - entrytimestamp: 2018-07-15T04:31:42-07:00 - entrymethoddescription: XML/PCG - fulfilmentordercode: "Y" - ordertotalvalue: 3907.38 - ordersubtotal: 3907.38 - freightamount: 141.34 - currencycode: USD - totalweight: "86" - totaltax: "0" - billtoaddress: - suffix: "000" - name: Ingram Micro - addressline1: 123 Ingram Way - addressline2: null - addressline3: null - city: Irvine - state: CA - postalcode: "12345000" - countrycode: US - shiptoaddress: - name: Mr Customer - addressline1: 123 Main St - city: Anywhere - state: CA - postalcode: "12345000" - countrycode: US - lines: - - globallinenumber: "001" - ordersuffix: "11" - linestatus: INVOICED - partnumber: 3AM612 - manufacturerpartnumber: QN75Q8FNBFXZA - vendorname: SAMSUNG - CONSUMER TV - partdescription1: 75IN Q8 FLAT 4K UHD HDR SMARTTV - partdescription2: FULL ARRAY BACKLIGHTIN CLEAN CABLE - freeitempromoflag: "false" - unitweight: "75" - unitprice: 50000.48 - foreignunitprice: 0 - extendedprice: 5000.48 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-16 - shipfromwarehouseid: "40" - warehousename: "Carol Stream, IL" - invoicenumber: "1234511" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-16 - carriercode: AY - carriername: ORD4708752 - packagedetails: - trackingnumber: 6838019 - packageweight: 80 - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-11 - vendorcode: Q012 - isacopapplied: "N" - adjustedcost: "5000.09" - serialnumberdetails: - serialnumber: 07AS3CAK500682 - productextendedspecs: - attributename: commenttext - attributevalue: FULL ARRAY BACKLIGHTIN CLEAN CABLE - - globallinenumber: "002" - ordersuffix: "21" - linestatus: INVOICED - partnumber: 2GH590 - manufacturerpartnumber: F-ADT-STR-KT-1 - vendorname: SAMSUNG - SMART THINGS - partdescription1: ADT HOME SECURITY STARTER KIT - partdescription2: SECURITY STARTER KIT - freeitempromoflag: "false" - unitweight: "5.15" - unitprice: 500.9 - foreignunitprice: 0 - extendedprice: 500.9 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-17 - shipfromwarehouseid: "80" - warehousename: "Jonestown, PA" - invoicenumber: "1234521" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-17 - carriercode: RG - carriername: FEDEX GROUND - packagedetails: - trackingnumber: "017136225260674" - packageweight: "000000006" - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-21 - vendorcode: QG64 - isacopapplied: "N" - adjustedcost: "400.99" - productextendedspecs: - attributename: commenttext - attributevalue: SECURITY STARTER KIT - extendedspecs: - - attributename: termscode - attributevalue: "300" - - attributename: termsdescription - attributevalue: NET 30 DAYS - - attributename: commenttext - attributevalue: PHONE:7148675309 - - attributename: commenttext - attributevalue: PHONE:7148675309 - ordertype: S - erpid: null - schema: - $ref: '#/components/schemas/quoteListResponse' - description: OK - security: - - application: - - read - summary: Get Quote List - tags: - - Quotes v4 - x-content-type: application/json - x-accepts: application/json -components: - schemas: - OrderCreateRequest: - example: - notes: notes - endUserInfo: - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 6 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endCustomerOrderNumber: endCustomerOrderNumber - billToAddressId: billToAddressId - customerOrderNumber: customerOrderNumber - vmf: - vendAuthNumber: vendAuthNumber - specialBidNumber: specialBidNumber - shipToInfo: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - shipmentDetails: - shipComplete: shipComplete - freightAccountNumber: freightAccountNumber - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: true - requestedDeliveryDate: 2000-01-23 - resellerInfo: - resellerId: resellerId - phoneNumber: 0 - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - acceptBackOrder: true - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 - specialBidNumber: specialBidNumber - notes: notes - endUserInfo: - - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 2.3021358869347655 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - endUserType: endUserType - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 2.3021358869347655 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - endUserType: endUserType - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endUserPrice: 5.637376656633329 - warrantyInfo: - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 - specialBidNumber: specialBidNumber - notes: notes - endUserInfo: - - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 2.3021358869347655 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - endUserType: endUserType - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 2.3021358869347655 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - endUserType: endUserType - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endUserPrice: 5.637376656633329 - warrantyInfo: - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - customerOrderNumber: - description: The reseller's unique PO/Order number. - maxLength: 35 - type: string - endCustomerOrderNumber: - description: The end user/customer's Purchase Order number. - 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. - maxLength: 10 - type: string - specialBidNumber: - description: The bid number 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 - notes: - description: Order level notes. - 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 - resellerInfo: - $ref: '#/components/schemas/OrderCreateRequest_resellerInfo' - vmf: - $ref: '#/components/schemas/OrderCreateRequest_vmf' - shipToInfo: - $ref: '#/components/schemas/OrderCreateRequest_shipToInfo' - endUserInfo: - $ref: '#/components/schemas/OrderCreateRequest_endUserInfo' - lines: - description: The line-level details of the order. - items: - $ref: '#/components/schemas/OrderCreateRequest_lines_inner' - type: array - shipmentDetails: - $ref: '#/components/schemas/OrderCreateRequest_shipmentDetails' - additionalAttributes: - description: Shipment-level additional attributes. - items: - $ref: '#/components/schemas/OrderCreateRequest_additionalAttributes_inner' - type: array - required: - - customerOrderNumber - type: object - OrderCreateResponse: - example: - purchaseOrderTotal: 0.8008281904610115 - specialBidNumber: specialBidNumber - shipToInfo: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endUserInfo: - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endCustomerOrderNumber: endCustomerOrderNumber - orderSplit: true - processedPartially: true - billToAddressId: billToAddressId - orders: - - orderType: orderType - rejectedLineItems: - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - notes: notes - numberOfLinesWithSuccess: 6 - numberOfLinesWithError: 1 - orderTotal: 5.637376656633329 - ingramOrderNumber: ingramOrderNumber - totalTax: 7.061401241503109 - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - numberOfLinesWithWarning: 5 - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - currencyCode: currencyCode - freightCharges: 2.3021358869347655 - ingramOrderDate: ingramOrderDate - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - orderType: orderType - rejectedLineItems: - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - notes: notes - numberOfLinesWithSuccess: 6 - numberOfLinesWithError: 1 - orderTotal: 5.637376656633329 - ingramOrderNumber: ingramOrderNumber - totalTax: 7.061401241503109 - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - numberOfLinesWithWarning: 5 - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - currencyCode: currencyCode - freightCharges: 2.3021358869347655 - ingramOrderDate: ingramOrderDate - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - customerOrderNumber: customerOrderNumber - properties: - customerOrderNumber: - description: The reseller's unique PO/Order number. - type: string - endCustomerOrderNumber: - description: The end user/customer's Purchase Order number. - 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 - type: string - specialBidNumber: - description: The bid number 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 - orderSplit: - description: true for multiple orders - type: boolean - processedPartially: - description: true for partial order succesfully placed - type: boolean - purchaseOrderTotal: - description: Total of all the orders including taxes and fees. - format: decimal - type: number - shipToInfo: - $ref: '#/components/schemas/OrderCreateResponse_shipToInfo' - endUserInfo: - $ref: '#/components/schemas/OrderCreateResponse_endUserInfo' - orders: - description: Order-level details. - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner' - type: array - type: object - OrderModifyRequest: - example: - notes: notes - shipToInfo: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - lines: - - ingramPartNumber: ingramPartNumber - quantity: 0 - notes: notes - addUpdateDeleteLine: UPDATE - ingramLineNumber: ingramLineNumber - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber - quantity: 0 - notes: notes - addUpdateDeleteLine: UPDATE - ingramLineNumber: ingramLineNumber - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - notes: - description: Shipment-level notes. - maxLength: 132 - type: string - shipToInfo: - $ref: '#/components/schemas/OrderModifyRequest_shipToInfo' - lines: - description: The order line items. - items: - $ref: '#/components/schemas/OrderModifyRequest_lines_inner' - type: array - additionalAttributes: - description: Header-level additional attributes. - items: - $ref: '#/components/schemas/OrderModifyRequest_additionalAttributes_inner' - type: array - type: object - OrderModifyResponse: - example: - rejectedLineItems: - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 9 - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 9 - customerLineNumber: customerLineNumber - changeDescription: changeDescription - orderModifiedDate: orderModifiedDate - notes: notes - endCustomerOrderNumber: endCustomerOrderNumber - orderStatus: orderStatus - billToAddressId: billToAddressId - customerOrderNumber: customerOrderNumber - orderTotal: 0.8008281904610115 - orderSubTotal: 6.027456183070403 - ingramOrderNumber: ingramOrderNumber - totalTax: 5.962133916683182 - shipToInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - addressId: addressId - lines: - - ingramPartNumber: ingramPartNumber - quantityBackOrdered: 7 - shipmentDetails: - freightAccountNumber: freightAccountNumber - carrierName: carrierName - carrierCode: carrierCode - notes: notes - subOrderNumber: subOrderNumber - quantityConfirmed: 2 - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 5 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - quantityBackOrdered: 7 - shipmentDetails: - freightAccountNumber: freightAccountNumber - carrierName: carrierName - carrierCode: carrierCode - notes: notes - subOrderNumber: subOrderNumber - quantityConfirmed: 2 - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 5 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - freightCharges: 1.4658129805029452 - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - ingramOrderNumber: - description: The IngramMicro order number. - type: string - changeDescription: - description: The description of the change. - type: string - orderModifiedDate: - description: The date the order was modified. - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - endCustomerOrderNumber: - description: The end user/customer's order number for reference in their - system. - type: string - orderTotal: - description: The total for the order. - format: decimal - type: number - notes: - description: Order-level notes. - type: string - orderSubTotal: - description: The sub total for the order. - format: decimal - type: number - freightCharges: - description: The freight charges for the order. - format: decimal - type: number - totalTax: - description: The total tax for the order. - format: decimal - type: number - orderStatus: - description: "The status of the order. One of the following. Backordered,\ - \ In Progress, Shipped, Delivered, Canceled, On Hold" - 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. - type: string - shipToInfo: - $ref: '#/components/schemas/OrderModifyResponse_shipToInfo' - lines: - description: The line-level details for the order. - items: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner' - type: array - rejectedLineItems: - description: Details for failed lines in the order. - items: - $ref: '#/components/schemas/OrderModifyResponse_rejectedLineItems_inner' - type: array - additionalAttributes: - description: Header-level additional attributes. - items: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' - type: array - type: object - OrderDetailResponse: - example: - orderType: orderType - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription - notes: notes - endUserInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - endCustomerOrderNumber: endCustomerOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - orderStatus: orderStatus - customerOrderNumber: customerOrderNumber - orderTotal: 0.8008281904610115 - orderSubTotal: 6.027456183070403 - ingramOrderNumber: ingramOrderNumber - totalTax: 5.637376656633329 - shipToInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - billToInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - totalWeight: 5.962133916683182 - lines: - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 - currencyCode: currencyCode - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 - currencyCode: currencyCode - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - currencyCode: currencyCode - freightCharges: 1.4658129805029452 - paymentTerms: paymentTerms - ingramOrderDate: ingramOrderDate - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - ingramOrderNumber: - description: The IngramMicro sales order number. - type: string - ingramOrderDate: - description: The date and time in UTC format that the order was created. - type: string - orderType: - description: "The order type. One of B = Branch Transfer, C = COD, D = Direct\ - \ Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S =\ - \ Sales Order." - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - endCustomerOrderNumber: - description: The end user/customer's order number for reference in their - system. - type: string - vendorSalesOrderNumber: - description: The vendor's order number for reference in their system. - type: string - orderStatus: - description: "The header-level status of the order. One of- Shipped, Canceled,\ - \ Backordered, Processing, On Hold, Delivered." - type: string - orderTotal: - description: "The total cost for the order, includes subtotal, freight charges,\ - \ and tax." - format: decimal - type: number - orderSubTotal: - description: "The sub total cost for the order, not including tax and freight." - format: decimal - type: number - freightCharges: - description: The freight charges for the order. - format: decimal - type: number - currencyCode: - description: The country-specific three digit ISO 4217 currency code for - the order. - type: string - totalWeight: - description: "The total weight of the order. Pounds in North America, KG\ - \ in all other countries." - format: decimal - type: number - totalTax: - description: The total tax for the order. - format: decimal - type: number - paymentTerms: - description: The payment terms of the order. (Ex- Net 30 days). - type: string - notes: - description: The header-level notes for the order. - type: string - billToInfo: - $ref: '#/components/schemas/OrderDetailResponse_billToInfo' - shipToInfo: - $ref: '#/components/schemas/OrderDetailResponse_shipToInfo' - endUserInfo: - $ref: '#/components/schemas/OrderDetailResponse_endUserInfo' - lines: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner' - type: array - miscellaneousCharges: - items: - $ref: '#/components/schemas/OrderDetailResponse_miscellaneousCharges_inner' - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' - type: array - type: object - x-tags: - - Orders - OrderSearch_Response: - example: - pageNumber: 1 - previousPage: previousPage - nextPage: nextPage - pageSize: 6 - recordsFound: 0 - orders: - - ingramOrderNumber: ingramOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - orderStatus: orderStatus - endUserCompanyName: endUserCompanyName - links: - topic: topic - href: href - type: type - subOrders: - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - vendorName: vendorName - customerOrderNumber: customerOrderNumber - orderTotal: 5.962133916683182 - ingramOrderDate: ingramOrderDate - - ingramOrderNumber: ingramOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - orderStatus: orderStatus - endUserCompanyName: endUserCompanyName - links: - topic: topic - href: href - type: type - subOrders: - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - vendorName: vendorName - customerOrderNumber: customerOrderNumber - orderTotal: 5.962133916683182 - ingramOrderDate: ingramOrderDate - properties: - recordsFound: - description: No of recourds found for the search. - type: integer - pageSize: - description: No of results per page.(default is 25) - type: integer - pageNumber: - description: Current page number.(default is 1) - type: integer - orders: - description: The details for the order. - items: - $ref: '#/components/schemas/OrderSearch_Response_orders_inner' - type: array - nextPage: - description: link/URL for accessing next page. - type: string - previousPage: - description: link/URL for accessing previous page. - type: string - type: object - PriceAndAvailabilityRequest: - example: - showAvailableDiscounts: true - specialBidNumber: specialBidNumber - availabilityByWarehouse: - - availabilityForAllLocation: true - availabilityByWarehouseId: availabilityByWarehouseId - - availabilityForAllLocation: true - availabilityByWarehouseId: availabilityByWarehouseId - showReserveInventoryDetails: true - products: - - ingramPartNumber: ingramPartNumber - customerPartNumber: customerPartNumber - quantityRequested: quantityRequested - upc: upc - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - customerPartNumber: customerPartNumber - quantityRequested: quantityRequested - upc: upc - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - showAvailableDiscounts: - description: Boolean value that will display Discount details in the response - when true. - type: boolean - showReserveInventoryDetails: - description: Boolean value that will display reserve inventory details in - the response when true. - type: boolean - specialBidNumber: - description: Pre-approved special pricing/bid number provided to the reseller - by the vendor for special pricing and discounts. Used to track the bid - number where different line items have different bid numbers. - type: string - availabilityByWarehouse: - items: - $ref: '#/components/schemas/PriceAndAvailabilityRequest_availabilityByWarehouse_inner' - type: array - products: - items: - $ref: '#/components/schemas/PriceAndAvailabilityRequest_products_inner' - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/PriceAndAvailabilityRequest_additionalAttributes_inner' - type: array - type: object - PriceAndAvailabilityResponse: - items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner' - type: array - ProductSearch_Response: - example: - pageNumber: 1 - previousPage: previousPage - catalog: - - ingramPartNumber: ingramPartNumber - extraDescription: extraDescription - subCategory: subCategory - replacementSku: replacementSku - endUserRequired: endUserRequired - authorizedToPurchase: authorizedToPurchase - description: description - discontinued: discontinued - vendorName: vendorName - type: type - newProduct: newProduct - hasWarranty: hasWarranty - hasDiscounts: hasDiscounts - directShip: directShip - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - category: category - productType: productType - upcCode: upcCode - - ingramPartNumber: ingramPartNumber - extraDescription: extraDescription - subCategory: subCategory - replacementSku: replacementSku - endUserRequired: endUserRequired - authorizedToPurchase: authorizedToPurchase - description: description - discontinued: discontinued - vendorName: vendorName - type: type - newProduct: newProduct - hasWarranty: hasWarranty - hasDiscounts: hasDiscounts - directShip: directShip - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - category: category - productType: productType - upcCode: upcCode - nextPage: nextPage - pageSize: 6 - recordsFound: 0 - properties: - recordsFound: - description: The number of recourds found for the search. - type: integer - pageSize: - description: The number of results per page. Default is 25. - type: integer - pageNumber: - description: current page number default is 1 - type: integer - catalog: - items: - $ref: '#/components/schemas/ProductSearch_Response_catalog_inner' - type: array - nextPage: - description: link/URL for accessing next page. - type: string - previousPage: - description: link/URL for accessing previous page. - type: string - type: object - ProductDetailResponse: - example: - ingramPartNumber: ingramPartNumber - additionalInformation: - netWeight: netWeight - width: width - length: length - dimensionUnit: dimensionUnit - productWeight: - - plantId: plantId - weight: 0.8008281904610115 - weightUnit: weightUnit - - plantId: plantId - weight: 0.8008281904610115 - weightUnit: weightUnit - isBulkFreight: true - height: height - customerPartNumber: customerPartNumber - productClass: productClass - description: description - upc: upc - warrantyInformation: - - "{}" - - "{}" - productAuthorized: true - vendorName: vendorName - indicators: - isHeavyWeight: true - isEnduserRequired: true - hasStdWebDiscount: true - hasStdSpecialPrice: true - isPreorderProduct: true - hasWarranty: true - isDirectshipOrderable: true - isNewProduct: true - isDownloadable: true - isClearanceProduct: true - isOversizeProduct: true - isShippedFromPartner: true - isIngramShip: true - hasAcopQuantityBreak: true - IsBackOrderAllowed: true - isReplacementProduct: true - hasSpecialBid: true - isReturnableProduct: true - isConfigurable: true - isExportableToCountry: true - isDigitalType: true - hasAcopSpecialPrice: true - isRefurbishedProduct: true - isLicenseProduct: true - HasReturnLimits: true - skuType: skuType - isDiscontinuedProduct: true - hasLtl: true - isServiceSku: true - hasBundle: true - isDirectship: true - productCategory: productCategory - productSubcategory: productSubcategory - ciscoFields: - itemType: itemType - productSubGroup: productSubGroup - configurationIndicator: configurationIndicator - internalBusinessEntity: internalBusinessEntity - serviceProgramName: serviceProgramName - globalListPrice: globalListPrice - itemCatalogCategory: itemCatalogCategory - technicalSpecifications: - - headername: headername - attributevalue: attributevalue - attributedisplay: attributedisplay - attributename: attributename - - headername: headername - attributevalue: attributevalue - attributedisplay: attributedisplay - attributename: attributename - productDetailDescription: productDetailDescription - vendorPartNumber: vendorPartNumber - productStatusCode: productStatusCode - vendorNumber: vendorNumber - properties: - ingramPartNumber: - description: Ingram Micro unique part number for the product. - type: string - vendorPartNumber: - description: Vendor’s part number for the product. - type: string - customerPartNumber: - description: Reseller / end-user’s part number for the product. - type: string - productAuthorized: - description: Boolean that indicates whether a product is authorized. - type: boolean - description: - description: The description given for the product. - type: string - productDetailDescription: - description: The detailed description given for the product. - type: string - upc: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquely assigned to each trade item. - type: string - productCategory: - description: The category of the product. - type: string - productSubcategory: - description: The sub-category of the product. - type: string - vendorName: - description: Vendor name for the order. - type: string - vendorNumber: - description: Vendor number that identifies the product. - type: string - productStatusCode: - description: Status code of the product. - type: string - productClass: - description: "Indicates whether the product is directly shipped from the\ - \ vendor’s warehouse or if the product ships from Ingram Micro’s warehouse.\ - \ Class Codes are Ingram classifications on how skus are stocked A = Product\ - \ that is stocked usually in all IM warehouses and replenished on a regular\ - \ basis. B = Product that is stocked in limited IM warehouses and replenished\ - \ on a regular basis C = Product that is stocked in fewer IM warehouses\ - \ and replenished on a regular basis. D = Product that Ingram Micro has\ - \ elected to discontinue. E = Product that will be phased out later, according\ - \ to the vendor. You may not want to replenish this product, but instead\ - \ sell down what is in stock. F = Product that we carry for a specific\ - \ customer or supplier under a contractual agreement. N = New Sku. Classification\ - \ before first receipt O = Discontinued product to be liquidated S= Order\ - \ for Specialized Demand (Order to backorder) X= direct ship from Vendor\ - \ V = product that vendor has elected to discontinue." - type: string - indicators: - $ref: '#/components/schemas/ProductDetailResponse_indicators' - ciscoFields: - $ref: '#/components/schemas/ProductDetailResponse_ciscoFields' - technicalSpecifications: - description: Technical specifications of the product. - items: - $ref: '#/components/schemas/ProductDetailResponse_technicalSpecifications_inner' - type: array - warrantyInformation: - description: Warranty information related to the product. - items: - type: object - type: array - additionalInformation: - $ref: '#/components/schemas/ProductDetailResponse_additionalInformation' - type: object - renewalsSearchRequest: - properties: - status: - $ref: '#/components/schemas/renewalsSearchRequest_status' - dataType: - $ref: '#/components/schemas/renewalsSearchRequest_dataType' - vendor: - description: The name of the Vendor. - type: string - endUser: - description: 'The name of the enduser. ' - type: string - type: object - renewalsSearchResponse: - example: - pageNumber: 1 - previousPage: previousPage - nextPage: nextPage - pageSize: 6 - recordsFound: 0 - renewals: - - renewalId: renewalId - endUser: endUser - referenceNumber: referenceNumber - vendor: vendor - renewalValue: renewalValue - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - customerOrderNumber: customerOrderNumber - expirationDate: expirationDate - status: status - - renewalId: renewalId - endUser: endUser - referenceNumber: referenceNumber - vendor: vendor - renewalValue: renewalValue - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - customerOrderNumber: customerOrderNumber - expirationDate: expirationDate - status: status - properties: - recordsFound: - description: Number of records found. - type: integer - pageSize: - description: Number of records in a page. - type: integer - pageNumber: - description: Number of page. - type: integer - renewals: - items: - $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner' - type: array - nextPage: - description: URL for the next page. - type: string - previousPage: - description: URL for the previous page. - type: string - type: object - renewalsDetailsResponse: - example: - renewalId: renewalId - endUserInfo: - - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - endCustomerOrderNumber: endCustomerOrderNumber - customerOrderNumber: customerOrderNumber - products: - - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - manufacturerPartNumber: manufacturerPartNumber - isConsolidated: isConsolidated - quantity: quantity - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - productDescription: productDescription - - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - manufacturerPartNumber: manufacturerPartNumber - isConsolidated: isConsolidated - quantity: quantity - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - productDescription: productDescription - ingramOrderNumber: ingramOrderNumber - endUser: endUser - ingramPurchaseOrderNumber: ingramPurchaseOrderNumber - referenceNumber: - - notificationId: notificationId - quoteNumber: quoteNumber - - notificationId: notificationId - quoteNumber: quoteNumber - vendor: vendor - renewalValue: 0.8008281904610115 - ingramOrderDate: 2000-01-23 - expirationDate: 2000-01-23 - status: status - additionalAttributes: - - isConsolidated: isConsolidated - attributeValue: attributeValue - attributeDescription: attributeDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 - - isConsolidated: isConsolidated - attributeValue: attributeValue - attributeDescription: attributeDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 - properties: - renewalId: - description: Unique Ingram renewal ID. - type: string - ingramOrderNumber: - description: The IngramMicro sales order number. - type: string - ingramOrderDate: - description: The IngramMicro sales order date. - format: date - type: string - expirationDate: - description: Renewal expiration date. - format: date - type: string - ingramPurchaseOrderNumber: - description: Ingram purchase order number. - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - endCustomerOrderNumber: - description: The end customer's order number for reference in their system. - type: string - renewalValue: - description: The value of the renewal. - format: decimal - type: number - endUser: - description: The company name for the end user/customer. - type: string - vendor: - description: The name of the vendor. - type: string - status: - description: The status of the renewal. - type: string - endUserInfo: - items: - $ref: '#/components/schemas/renewalsDetailsResponse_endUserInfo_inner' - type: array - referenceNumber: - items: - $ref: '#/components/schemas/renewalsDetailsResponse_referenceNumber_inner' - type: array - products: - items: - $ref: '#/components/schemas/renewalsDetailsResponse_products_inner' - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/renewalsDetailsResponse_additionalAttributes_inner' - type: array - type: object - dealsSearchResponse: - example: - pageNumber: 1 - previousPage: previousPage - nextPage: nextPage - deals: - - endUser: endUser - dealId: dealId - vendor: vendor - links: - topic: topic - href: href - type: type - version: version - dealExpiryDate: dealExpiryDate - - endUser: endUser - dealId: dealId - vendor: vendor - links: - topic: topic - href: href - type: type - version: version - dealExpiryDate: dealExpiryDate - pageSize: 6 - recordsFound: 0 - properties: - recordsFound: - description: Number of records found. - type: integer - pageSize: - description: Number of records in a page. - type: integer - pageNumber: - description: Number of page. - type: integer - deals: - items: - $ref: '#/components/schemas/dealsSearchResponse_deals_inner' - type: array - nextPage: - description: URL for the next page. - type: string - previousPage: - description: URL for the previous page. - type: string - type: object - dealsDetailsResponse: - example: - endUser: endUser - priceProtectionEndDate: 2000-01-23 - endUserInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - dealId: dealId - vendor: vendor - dealReceivedOn: 2000-01-23 - version: version - extendedMsrp: 0.8008281904610115 - currencyCode: currencyCode - dealExpiryDate: 2000-01-23 - products: - - ingramPartNumber: ingramPartNumber - remainingQuantity: 2 - daysRemaining: 7 - comments: comments - specialConditions: specialConditions - upc: upc - standardPrice: 5.962133916683182 - approvedQuantity: 5 - msrp: 6.027456183070403 - vendorPartNumber: vendorPartNumber - extendedMSRP: 1.4658129805029452 - productDescription: productDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 - - ingramPartNumber: ingramPartNumber - remainingQuantity: 2 - daysRemaining: 7 - comments: comments - specialConditions: specialConditions - upc: upc - standardPrice: 5.962133916683182 - approvedQuantity: 5 - msrp: 6.027456183070403 - vendorPartNumber: vendorPartNumber - extendedMSRP: 1.4658129805029452 - productDescription: productDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 - properties: - dealId: - description: Deal/Special bid number. - type: string - version: - description: Most recent version number of the deal. - type: string - endUser: - description: The end user/customer's name. - type: string - extendedMsrp: - description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity. - format: decimal - type: number - vendor: - description: The vendor's name. - type: string - dealReceivedOn: - description: The date on which the deal starts. - format: date - type: string - dealExpiryDate: - description: Expiration date of the deal/Special bid. - format: date - type: string - priceProtectionEndDate: - description: The date on which the price protection will end. - format: date - type: string - currencyCode: - description: Country specific currency code. - type: string - endUserInfo: - $ref: '#/components/schemas/renewalsDetailsResponse_endUserInfo_inner' - products: - items: - $ref: '#/components/schemas/dealsDetailsResponse_products_inner' - type: array - type: object - returnsSearchResponse: - example: - pageNumber: 1 - previousPage: previousPage - returnsClaims: - - modifiedOn: modifiedOn - estimatedTotalValue: 5.962133916683182 - referenceNumber: referenceNumber - returnReason: returnReason - returnClaimId: returnClaimId - caseRequestNumber: caseRequestNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - type: type - credit: 5.637376656633329 - createdOn: createdOn - status: status - - modifiedOn: modifiedOn - estimatedTotalValue: 5.962133916683182 - referenceNumber: referenceNumber - returnReason: returnReason - returnClaimId: returnClaimId - caseRequestNumber: caseRequestNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - type: type - credit: 5.637376656633329 - createdOn: createdOn - status: status - nextPage: nextPage - pageSize: 6 - recordsFound: 0 - properties: - recordsFound: - description: Number of records found. - type: integer - pageSize: - description: Number of records in a page. - type: integer - pageNumber: - description: Number of page. - type: integer - returnsClaims: - items: - $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner' - type: array - nextPage: - description: URL for the next page. - type: string - previousPage: - description: URL for the previous page. - type: string - type: object - returnsDetailsResponse: - example: - returnWarehouseAddress: returnWarehouseAddress - tax: 7.061401241503109 - subTotal: 2.3021358869347655 - createdOn: 2000-01-23 - rmaClaimId: rmaClaimId - products: - - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 - requestDetails: requestDetails - description: description - upc: upc - ingramLineNumber: ingramLineNumber - invoiceDate: 2000-01-23 - customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 - invoiceNumber: invoiceNumber - returnBranch: 5 - vendorPartNumber: vendorPartNumber - shipFromBranch: 5 - status: status - - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 - requestDetails: requestDetails - description: description - upc: upc - ingramLineNumber: ingramLineNumber - invoiceDate: 2000-01-23 - customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 - invoiceNumber: invoiceNumber - returnBranch: 5 - vendorPartNumber: vendorPartNumber - shipFromBranch: 5 - status: status - typeOfDetails: typeOfDetails - referenceNumber: referenceNumber - returnReason: returnReason - caseRequestNumber: caseRequestNumber - estimatedTotal: 3.616076749251911 - status: status - additionalFees: 9.301444243932576 - properties: - typeOfDetails: - description: The type of the details. Return or Claim. - type: string - rmaClaimId: - description: The rmaClaimId claim id. - type: string - caseRequestNumber: - description: A unique return request number. - type: string - createdOn: - description: The date on which the return request was created. - format: date - type: string - returnReason: - description: The reason for the return. - type: string - referenceNumber: - description: The reference number for the return. - type: string - status: - description: The status of the request. - type: string - returnWarehouseAddress: - description: The address of the return warehouse. - type: string - products: - items: - $ref: '#/components/schemas/returnsDetailsResponse_products_inner' - type: array - subTotal: - description: Sub total amount of the return request. - format: decimal - type: number - tax: - description: The tax amount of the return request. - format: decimal - type: number - additionalFees: - description: The additional fees for the return request. - format: decimal - type: number - estimatedTotal: - description: The total estimated amount for the return request. - format: decimal - type: number - type: object - returnsCreateRequest: - properties: - list: - items: - $ref: '#/components/schemas/returnsCreateRequest_list_inner' - type: array - type: object - returnsCreateResponse: - example: - returnsClaims: - - ingramPartNumber: ingramPartNumber - quantity: 0 - notes: notes - estimatedTotalValue: 6.027456183070403 - type: type - createdOn: 2000-01-23 - rmaClaimId: rmaClaimId - referenceNumber: referenceNumber - returnReason: returnReason - caseRequestNumber: caseRequestNumber - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - credit: 1.4658129805029452 - status: status - - ingramPartNumber: ingramPartNumber - quantity: 0 - notes: notes - estimatedTotalValue: 6.027456183070403 - type: type - createdOn: 2000-01-23 - rmaClaimId: rmaClaimId - referenceNumber: referenceNumber - returnReason: returnReason - caseRequestNumber: caseRequestNumber - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - credit: 1.4658129805029452 - status: status - properties: - returnsClaims: - items: - $ref: '#/components/schemas/returnsCreateResponse_returnsClaims_inner' - type: array - type: object - freightRequest: - properties: - 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. - type: string - shipToAddressId: - description: The ID references the reseller's address in Ingram Micro's - system for shipping. Provided to resellers during the onboarding process. - type: string - shipToAddress: - description: The shipping information. - items: - $ref: '#/components/schemas/freightRequest_shipToAddress_inner' - type: array - lines: - items: - $ref: '#/components/schemas/freightRequest_lines_inner' - type: array - type: object - freightResponse: - example: - freightEstimateResponse: - totalFees: 1.4658129805029452 - totalNetAmount: 5.962133916683182 - totalFreightAmount: 0.8008281904610115 - grossAmount: 5.637376656633329 - totalTaxAmount: 6.027456183070403 - distribution: - - carrierList: - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - freightRate: 2.3021358869347655 - shipVia: shipVia - carrierCode: carrierCode - totalWeight: 7.061401241503109 - shipFromBranchNumber: shipFromBranchNumber - transitDays: 9 - - carrierList: - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - freightRate: 2.3021358869347655 - shipVia: shipVia - carrierCode: carrierCode - totalWeight: 7.061401241503109 - shipFromBranchNumber: shipFromBranchNumber - transitDays: 9 - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 - warehouseId: warehouseId - netAmount: 1.2315135367772556 - vendorPartNumber: vendorPartNumber - - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 - warehouseId: warehouseId - netAmount: 1.2315135367772556 - vendorPartNumber: vendorPartNumber - currencyCode: currencyCode - properties: - freightEstimateResponse: - $ref: '#/components/schemas/freightResponse_freightEstimateResponse' - type: object - QuoteSearchResponse: - example: - pageNumber: 1 - pageSize: 6 - recordsFound: 0 - quotes: - - specialBidNumber: specialBidNumber - lastModifiedDate: lastModifiedDate - createdBy: createdBy - vendor: vendor - ingramQuoteExpiryDate: ingramQuoteExpiryDate - quoteTotal: 5.962133916683182 - quoteNumber: quoteNumber - endUserContact: endUserContact - quoteStatus: quoteStatus - quoteName: quoteName - revision: revision - ingramQuoteDate: ingramQuoteDate - - specialBidNumber: specialBidNumber - lastModifiedDate: lastModifiedDate - createdBy: createdBy - vendor: vendor - ingramQuoteExpiryDate: ingramQuoteExpiryDate - quoteTotal: 5.962133916683182 - quoteNumber: quoteNumber - endUserContact: endUserContact - quoteStatus: quoteStatus - quoteName: quoteName - revision: revision - ingramQuoteDate: ingramQuoteDate - properties: - recordsFound: - description: Total count of quotes retrieved in the request response. - type: integer - pageSize: - description: Number of records (quotes) displayed per page in the quote - list. - type: integer - pageNumber: - description: Page index or page number for the list of quotes being returned. - type: integer - quotes: - description: The quote details for the requested criteria. - items: - $ref: '#/components/schemas/QuoteSearchResponse_quotes_inner' - type: array - type: object - QuoteDetailsResponse: - example: - quantityTotal: 2 - leaseInfo: leaseInfo - products: - - ingramPartNumber: ingramPartNumber - CoO: CoO - vpnCategory: vpnCategory - quantity: 0 - notes: notes - description: description - weight: 6 - vendorName: vendorName - EAN: EAN - terms: terms - price: - quotePrice: 1 - msrp: 5 - extendedQuotePrice: 2 - extendedMsrp: 5 - discountOffList: 7.061401241503109 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - isSuggestionProduct: true - - ingramPartNumber: ingramPartNumber - CoO: CoO - vpnCategory: vpnCategory - quantity: 0 - notes: notes - description: description - weight: 6 - vendorName: vendorName - EAN: EAN - terms: terms - price: - quotePrice: 1 - msrp: 5 - extendedQuotePrice: 2 - extendedMsrp: 5 - discountOffList: 7.061401241503109 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - isSuggestionProduct: true - leasingInstructions: leasingInstructions - productsCount: 9 - specialBidEffectiveDate: specialBidEffectiveDate - endUserInfo: - phoneNumber: phoneNumber - city: city - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - marketSegment: marketSegment - introPreamble: introPreamble - extendedMsrpTotal: 3 - lastModifiedDate: lastModifiedDate - legalTerms: legalTerms - specialBidExpirationDate: specialBidExpirationDate - quoteNumber: quoteNumber - revision: revision - extendedQuotePriceTotal: 4 - customerNeed: customerNeed - resellerInfo: - phoneNumber: phoneNumber - contact: contact - companyName: companyName - customerNumber: customerNumber - email: email - ingramQuoteExpiryDate: ingramQuoteExpiryDate - purchaseInstructions: purchaseInstructions - proposedSolution: proposedSolution - currencyCode: currencyCode - specialBidId: specialBidId - quoteName: quoteName - ingramQuoteDate: ingramQuoteDate - status: status - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - quoteName: - description: Quote Name given to quote by sales team or system generated. Generally - used as a reference to identify the quote. - type: string - quoteNumber: - description: "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." - 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\ - \ number is updated for each revision of the quote. The revision numbers\ - \ is associated with the Unique Quote Number." - type: string - ingramQuoteDate: - description: Date the Quote was initially Created. - type: string - lastModifiedDate: - description: Date the Quote was last updated or modified. - type: string - ingramQuoteExpiryDate: - description: Quote expiration date. - type: string - currencyCode: - description: Three letter currency code. - type: string - specialBidId: - description: 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 - type: string - specialBidEffectiveDate: - description: If price discount has been applied to the quote - the starting - date the discount begins. - type: string - specialBidExpirationDate: - description: If a price discount has been applied to the quote - The date - the discount expires and will no longer be applicable. - type: string - status: - description: This refers to the primary status of the quote. API responses - will return - type: string - customerNeed: - description: Details related to the customer's request for the quote entered - by the sales representative or system generated. - type: string - proposedSolution: - description: Ingram Micro proposed solution and summary of quote. - type: string - introPreamble: - description: Introductory paragraph included in each quote. Legally required - - must be included when presenting the quote details. - type: string - purchaseInstructions: - description: Purchase instructions. Legally required - must be included - when presenting the quote details. - type: string - legalTerms: - description: Legal terms - Legally required - must be included when presenting - the quote details. - type: string - leaseInfo: - description: Lease information. - type: string - leasingInstructions: - description: Leasing information - type: string - resellerInfo: - $ref: '#/components/schemas/QuoteDetailsResponse_resellerInfo' - endUserInfo: - $ref: '#/components/schemas/QuoteDetailsResponse_endUserInfo' - products: - items: - $ref: '#/components/schemas/QuoteDetailsResponse_products_inner' - type: array - productsCount: - description: Total number of products included in the quote - type: integer - extendedMsrpTotal: - description: Total extended MSRP for all products included in the quote - type: integer - quantityTotal: - description: Total quantity of all items in the quote. - type: integer - extendedQuotePriceTotal: - description: Total amount of quoted price for all products in the quote - including both solution products and suggested products. - type: integer - additionalAttributes: - items: - $ref: '#/components/schemas/QuoteDetailsResponse_additionalAttributes_inner' - type: array - type: object - AvailabilityAsyncNotificationRequest: - example: - eventId: eventId - resource: - - ingramPartNumber: ingramPartNumber - totalAvailability: totalAvailability - backOrderFlag: backOrderFlag - skuStatus: skuStatus - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - eventType: eventType - vendorName: vendorName - upcCode: upcCode - - ingramPartNumber: ingramPartNumber - totalAvailability: totalAvailability - backOrderFlag: backOrderFlag - skuStatus: skuStatus - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - eventType: eventType - vendorName: vendorName - upcCode: upcCode - topic: topic - event: event - eventTimeStamp: eventTimeStamp - properties: - topic: - description: "Field for identifying whether it is a reseller or vendor event.\ - \ For eg, resellers/orders" - type: string - event: - description: "The event sent in the request. For eg, im::create." - type: string - eventTimeStamp: - description: The timestamp at which the event was sent. - type: string - eventId: - description: A unique id used as identifier for the sepcific event and used - for generating the x-hub signature. - type: string - resource: - items: - $ref: '#/components/schemas/AvailabilityAsyncNotificationRequest_resource_inner' - type: array - required: - - customerOrderNumber - type: object - OrderStatusAsyncNotificationRequest: - example: - eventId: eventId - resource: - - orderNumber: orderNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - eventType: eventType - lines: - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - customerOrderNumber: customerOrderNumber - orderEntryTimeStamp: orderEntryTimeStamp - - orderNumber: orderNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - eventType: eventType - lines: - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - customerOrderNumber: customerOrderNumber - orderEntryTimeStamp: orderEntryTimeStamp - topic: topic - event: event - eventTimeStamp: eventTimeStamp - properties: - topic: - description: "Field for identifying whether it is a reseller or vendor event.\ - \ For eg, resellers/orders" - type: string - event: - description: "The event sent in the request. For eg, im::create." - type: string - eventTimeStamp: - description: The timestamp at which the event was sent. - type: string - eventId: - description: A unique id used as identifier for the sepcific event and used - for generating the x-hub signature. - type: string - resource: - items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner' - type: array - required: - - customerOrderNumber - type: object - InvoiceSearchResponse: - example: - pageNumber: 1 - invoices: - - orderCreateDate: orderCreateDate - paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue - endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax - invoiceNumber: invoiceNumber - erpOrderNumber: erpOrderNumber - invoiceStatus: invoiceStatus - invoiceDate: invoiceDate - customerOrderNumber: customerOrderNumber - invoiceDueDate: invoiceDueDate - - orderCreateDate: orderCreateDate - paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue - endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax - invoiceNumber: invoiceNumber - erpOrderNumber: erpOrderNumber - invoiceStatus: invoiceStatus - invoiceDate: invoiceDate - customerOrderNumber: customerOrderNumber - invoiceDueDate: invoiceDueDate - nextPage: nextPage - pageSize: 6 - recordsFound: 0 - properties: - recordsFound: - description: Total count of quotes retrieved in the request response. - type: integer - pageSize: - description: Number of records (quotes) displayed per page in the quote - list. - type: integer - pageNumber: - description: Page index or page number for the list of quotes being returned. - type: integer - invoices: - description: The Invoices details for the requested criteria. - items: - $ref: '#/components/schemas/InvoiceSearchResponse_invoices_inner' - type: array - nextPage: - description: Next page of the pagination. - type: string - type: object - InvoiceDetailResponse: - example: - serviceresponse: - invoicedetailresponse: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse' - title: invoiceDetails.Response - type: object - x-tags: - - invoices - InvoiceDetailsv6.1Response: - example: - summary: - miscCharges: - - chargeLineReference: chargeLineReference - isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 - chargeDescription: chargeDescription - totals: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 - discountType: discountType - totalTaxAmount: 6.84685269835264 - foreignFxTotals: - foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 - foreignInvoiceAmountDue: foreignInvoiceAmountDue - foreignTotalTaxableAmount: foreignTotalTaxableAmount - lines: - productLineCount: 2 - productLineTotalQuantity: 4 - notes: notes - endCustomerOrderNumber: endCustomerOrderNumber - invoiceDate: 2000-01-23 - customerNumber: customerNumber - customerOrderNumber: customerOrderNumber - invoiceDueDate: invoiceDueDate - OrderDate: 2000-01-23 - customerCountryCode: customerCountryCode - ingramOrderNumber: ingramOrderNumber - paymentTermsInfo: - paymentTermsDescription: paymentTermsDescription - paymentTermsDueDate: paymentTermsDueDate - paymentTermsCode: paymentTermsCode - shipToInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - billToInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - invoiceNumber: invoiceNumber - fxRateInfo: - companyCurrency: companyCurrency - currencyFxRate: 3.616076749251911 - currencyCode: currencyCode - invoiceCurrency: invoiceCurrency - invoiceType: invoiceType - billToID: billToID - invoiceStatus: invoiceStatus - lines: - - ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 - customerPartNumber: customerPartNumber - quantity: 0 - unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - ingramLineNumber: ingramLineNumber - quantityOrdered: 7 - vendorName: vendorName - customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 - vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 - currencyCode: currencyCode - productDescription: productDescription - - ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 - customerPartNumber: customerPartNumber - quantity: 0 - unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - ingramLineNumber: ingramLineNumber - quantityOrdered: 7 - vendorName: vendorName - customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 - vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 - currencyCode: currencyCode - productDescription: productDescription - properties: - invoiceNumber: - description: The Invoice number for the order. - type: string - invoiceStatus: - description: Status of the invoice. - type: string - invoiceDate: - description: Date of an Invoice. - format: date - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - endCustomerOrderNumber: - description: The end customer's order number for reference in their system. - type: string - OrderDate: - description: The date and time in UTC format that the order was created. - format: date - type: string - billToID: - description: Bill to party - type: string - invoiceType: - description: Type of the Invoice - type: string - invoiceDueDate: - description: Date when the invoice is due. - type: string - customerCountryCode: - description: Customer country code. - type: string - customerNumber: - description: Unique customer number in Ingram's system. - type: string - ingramOrderNumber: - description: The IngramMicro sales order number. - type: string - notes: - description: Notes for the invoice. - type: string - paymentTermsInfo: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_paymentTermsInfo' - billToInfo: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_billToInfo' - shipToInfo: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_shipToInfo' - lines: - items: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_lines_inner' - type: array - fxRateInfo: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_fxRateInfo' - summary: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary' - title: invoiceDetailsv6.1Response - type: object - x-tags: - - invoices - invoiceDetails: - example: - serviceresponse: - invoicedetailresponse: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse' - title: invoiceDetails.Response - type: object - x-tags: - - invoices - addressType: - description: Address type object - example: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - properties: - attention: - type: string - name1: - type: string - name2: - type: string - addressline1: - type: string - addressline2: - type: string - addressline3: - type: string - city: - type: string - state: - type: string - postalcode: - type: string - countrycode: - type: string - fax: - type: string - phonenumber: - type: string - email: - type: string - title: invoiceDetails.addressType.Response - type: object - x-tags: - - invoices - productLineType: - description: Product line items object under each invoice - example: - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - properties: - linenumber: - type: string - linetype: - type: string - partnumber: - type: string - vendorpartnumber: - type: string - partdescription: - type: string - shipfrombranch: - type: string - shippedquantity: - type: string - orderedquantity: - type: string - marginpercent: - type: string - backorderquantity: - type: string - backorderetadate: - format: date - type: string - extendedprice: - type: string - specialbidnumber: - type: string - ordersuffix: - type: string - isacopapplied: - type: string - unitprice: - type: string - unitofmeasure: - type: string - serialnumberdetails: - items: - $ref: '#/components/schemas/productLineType_serialnumberdetails_inner' - type: array - trackingnumberdetails: - items: - $ref: '#/components/schemas/productLineType_trackingnumberdetails_inner' - type: array - productextendedspecs: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' - type: array - title: invoiceDetails.productLineType.Response - type: object - x-tags: - - invoices - ErrorResponse: - example: - errors: - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - errors: - items: - $ref: '#/components/schemas/ErrorResponse_errors_inner' - type: array - type: object - orderCreateRequest: - description: Request schema for order create endpoint - properties: - ordercreaterequest: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest' - title: orderCreate.Request - type: object - x-examples: {} - x-tags: - - orders - orderCreateResponse: - description: Response schema for order create endpoint - example: - serviceresponse: - ordersummary: - totalorderamount: totalorderamount - totalordercreated: totalordercreated - customerponumber: customerponumber - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - ordercreateresponse: - - freightamount: 6.027456183070403 - numberoflineswitherror: numberoflineswitherror - numberoflineswithwarning: numberoflineswithwarning - orderamount: 1.4658129805029452 - ordertimestamp: ordertimestamp - taxamount: 0.8008281904610115 - globalorderid: globalorderid - invoicingsystemorderid: invoicingsystemorderid - numberoflineswithsuccess: numberoflineswithsuccess - ordertype: S - Lines: - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - freightamount: 6.027456183070403 - numberoflineswitherror: numberoflineswitherror - numberoflineswithwarning: numberoflineswithwarning - orderamount: 1.4658129805029452 - ordertimestamp: ordertimestamp - taxamount: 0.8008281904610115 - globalorderid: globalorderid - invoicingsystemorderid: invoicingsystemorderid - numberoflineswithsuccess: numberoflineswithsuccess - ordertype: S - Lines: - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/orderCreateResponse_serviceresponse' - title: orderCreate.Response - type: object - x-tags: - - orders - x-examples: {} - orderDetailResponse: - description: Response schema for order details endpoint - example: - serviceresponse: - orderdetailresponse: - freightamount: freightamount - totalweight: totalweight - orderstatus: orderstatus - miscfeeline: - - description: description - chargeamount: chargeamount - - description: description - chargeamount: chargeamount - entrytimestamp: entrytimestamp - ordertotalvalue: 0.8008281904610115 - billtoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix - currencycode: currencycode - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix - totaltax: totaltax - enduserponumber: enduserponumber - ordersubtotal: 6.027456183070403 - ordernumber: ordernumber - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber - ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 - serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity - partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate - - linenumber: linenumber - backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber - ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 - serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity - partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate - entrymethoddescription: entrymethoddescription - commentlines: - - commenttext1: commenttext1 - commenttext2: commenttext2 - - commenttext1: commenttext1 - commenttext2: commenttext2 - ordertype: ordertype - enduserinfo: - enduserid: enduserid - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse' - title: orderDetail.Response - type: object - x-tags: - - orders - x-examples: - Example: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - orderdetailresponse: - ordernumber: 10-12345 - customerordernumber: test order - enduserponumber: ABC - orderstatus: INVOICED - entrytimestamp: 2018-07-15T04:31:42-07:00 - entrymethoddescription: XML/PCG - fulfilmentordercode: "Y" - ordertotalvalue: 3907.38 - ordersubtotal: 3907.38 - freightamount: 141.34 - currencycode: USD - totalweight: "86" - totaltax: "0" - billtoaddress: - suffix: "000" - name: Ingram Micro - addressline1: 123 Ingram Way - city: Irvine - state: CA - postalcode: "12345000" - countrycode: US - shiptoaddress: - name: Mr Customer - addressline1: 123 Main St - city: Anywhere - state: CA - postalcode: "12345000" - countrycode: US - lines: - - globallinenumber: "001" - ordersuffix: "11" - linestatus: INVOICED - partnumber: 3AM612 - manufacturerpartnumber: QN75Q8FNBFXZA - vendorname: SAMSUNG - CONSUMER TV - partdescription1: 75IN Q8 FLAT 4K UHD HDR SMARTTV - partdescription2: FULL ARRAY BACKLIGHTIN CLEAN CABLE - freeitempromoflag: "false" - unitweight: "75" - unitprice: 50000.48 - foreignunitprice: 0 - extendedprice: 5000.48 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-16 - shipfromwarehouseid: "40" - warehousename: "Carol Stream, IL" - invoicenumber: "1234511" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-16 - carriercode: AY - carriername: ORD4708752 - packagedetails: - trackingnumber: 6838019 - packageweight: 80 - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-11 - vendorcode: Q012 - isacopapplied: "N" - adjustedcost: "5000.09" - serialnumberdetails: - serialnumber: 07AS3CAK500682 - productextendedspecs: - attributename: commenttext - attributevalue: FULL ARRAY BACKLIGHTIN CLEAN CABLE - - globallinenumber: "002" - ordersuffix: "21" - linestatus: INVOICED - partnumber: 2GH590 - manufacturerpartnumber: F-ADT-STR-KT-1 - vendorname: SAMSUNG - SMART THINGS - partdescription1: ADT HOME SECURITY STARTER KIT - partdescription2: SECURITY STARTER KIT - freeitempromoflag: "false" - unitweight: "5.15" - unitprice: 500.9 - foreignunitprice: 0 - extendedprice: 500.9 - foreignextendedprice: 0 - taxamount: 0 - requestedquantity: "1" - confirmedquantity: "1" - backorderquantity: "0" - promisedate: 2018-07-15 - shipmentdetails: - - quantity: 1 - shipmentdate: 2018-07-17 - shipfromwarehouseid: "80" - warehousename: "Jonestown, PA" - invoicenumber: "1234521" - invoicedate: 2018-07-16 - status: I - statusdescription: INVOICED - shippeddate: 2018-07-17 - carriercode: RG - carriername: FEDEX GROUND - packagedetails: - trackingnumber: "017136225260674" - packageweight: "000000006" - cartonnumber: "001" - quantityinbox: "0000001" - erpordernumber: 10-12345-21 - vendorcode: QG64 - isacopapplied: "N" - adjustedcost: "400.99" - productextendedspecs: - attributename: commenttext - attributevalue: SECURITY STARTER KIT - extendedspecs: - - attributename: termscode - attributevalue: "300" - - attributename: termsdescription - attributevalue: NET 30 DAYS - - attributename: commenttext - attributevalue: PHONE:7148675309 - - attributename: commenttext - attributevalue: PHONE:7148675309 - ordertype: S - orderCancelResponse: - description: Response schema for order delete endpoint - example: - serviceresponse: - responsepreamble: - returnCode: returnCode - returnMessage: returnMessage - requestStatus: requestStatus - properties: - serviceresponse: - $ref: '#/components/schemas/orderCancelResponse_serviceresponse' - title: orderCancel.Response - type: object - x-tags: - - orders - x-examples: {} - orderSearchResponse: - description: Response schema for order search endpoint - example: - serviceResponse: - responsepreamble: - returnmessage: returnmessage - requeststatus: requeststatus - ordersearchresponse: - ordersfound: ordersfound - pagesize: pagesize - orders: - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - pagenumber: pagenumber - properties: - serviceResponse: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse' - title: orderSearch.Response - type: object - x-tags: - - orders - productSearchResponse: - description: Response object model for the product search endpoint - example: - serviceresponse: - responsepreamble: - returnmessage: returnmessage - returncode: returncode - requeststatus: requeststatus - productsearchresponse: - - partnumbers: - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - responseflag: responseflag - - partnumbers: - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - responseflag: responseflag - properties: - serviceresponse: - $ref: '#/components/schemas/productSearchResponse_serviceresponse' - title: productSearch.Response - type: object - x-tags: - - product catalog - priceAndAvailabilityRequest: - description: Request object model for the multi sku price and stock API endpoint - properties: - servicerequest: - $ref: '#/components/schemas/priceAndAvailabilityRequest_servicerequest' - title: priceAndAvailability.Request - type: object - x-examples: - Example: - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - priceandstockrequest: - showwarehouseavailability: "True" - extravailabilityflag: "Y" - item: - - ingrampartnumber: M93592 - quantity: 1 - includeallsystems: false - x-tags: - - product catalog - priceAndAvailabilityResponse: - description: Response object model for the multi sku price and stock API endpoint - example: - serviceresponse: - priceandstockresponse: - details: - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/priceAndAvailabilityResponse_serviceresponse' - title: priceAndAvailability.Response - type: object - x-examples: - Success: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: "200" - responsemessage: Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: A-No qty breaks availa - ingrampartnumber: TB6489 - vendorpartnumber: H1180HD - globalskuid: A300-TB6489 - customerprice: 850.54 - currency: USD - partdescription1: H1180HD DLP 3D PROJ 2000L 1080PPROJ - partdescription2: 10000:1 VGA HDMI RCA - vendornumber: Q680 - vendorname: VIVITEK - cpucode: DLP-PR - class: X - skustatus: ACTIVE - mediacpu: PROJ DLP-PR - categorysubcategory: 04 25 - retailprice: 899 - newmedia: PROJ - backorderflag: "N" - skuauthorized: "Y" - warehousedetails: - - warehouseid: "80" - warehousedescription: "Jonestown, PA" - availablequantity: 0 - onorderquantity: 0 - - warehouseid: "10" - warehousedescription: "Mira Loma, CA" - availablequantity: 0 - onorderquantity: 0 - Invalid Customer: - serviceresponse: - responsepreamble: - responsestatus: FAILED - statuscode: "500" - responsemessage: Data Not Found - priceandstockresponse: - details: - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - 'Invalid Country ': - serviceresponse: - responsepreamble: - responsestatus: SUCCESSWITHERROR - statuscode: "046" - responsemessage: Partial Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: edv 2 - ingrampartnumber: NaN - globalskuid: A001-NaN - customernumber: 41-231791 - quantity: 0 - customerprice: 0 - vendornumber: NaN - retailprice: 0 - enduserrequired: "false" - specialpromoflag: "false" - isavailable: false - isstocakable: false - isbom: false - hasquantitybreaks: false - haswebdiscounts: false - issboprice: false - extendednetamount: 0 - taxamount: 0 - totalfeeamount: 0 - totalpromotionamount: 0 - totalenvironmentalfees: 0 - x-tags: - - product catalog - warehouseListType: - example: - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - properties: - warehouseid: - description: "" - type: string - warehousedescription: - description: City of the Ingram Micro warehouse location - type: string - availablequantity: - description: On hand available quantity - type: integer - onorderquantity: - description: On Order quantity - type: integer - onholdquantity: - description: On hold quantity - type: integer - etadate: - type: string - title: priceAndAvailability.warehouseListType.Response - type: object - quoteListRequest: - description: Request schema for get quote list endpoint - properties: - quoteSearchRequest: - $ref: '#/components/schemas/quoteListRequest_quoteSearchRequest' - title: quoteList.Request - type: object - x-examples: - Example: - quoteSearchRequest: - requestPreamble: - customerNumber: "40006990" - customerContact: user.name@ingrampartner.com - isoCountryCode: US - retrieveQuoteRequest: - quoteNumber: QUO-02973-V6H8R6 - bidNumber: MDMF-1199371-1811 - endUserName: CARESOURCE MANAGEMENT GROUP CO. - quoteStatus: "3" - fromDate: 2019-09-01 - toDate: 2019-09-11 - pageIndex: 1 - recordsPerPage: 25 - sorting: desc - sortingColumnName: createdon - thirdPartySource: 3RDPIDCONWISE - x-tags: - - quotes - quoteListResponse: - description: Response schema for get quote list endpoint - example: - quoteSearchResponse: - responsePreamble: - responseStatusCode: responseStatusCode - responseStatus: responseStatus - responseMessage: responseMessage - totalCount: 6 - quoteList: - - totalAmount: totalAmount - createdDate: 2019-10-08 - revisionNumber: 0 - lastModifiedDate: 2019-10-08 - endUserName: endUserName - bidNumber: bidNumber - quoteNumber: quoteNumber - quoteStatus: quoteStatus - quoteExpiryDate: 2019-10-08 - quoteName: quoteName - - totalAmount: totalAmount - createdDate: 2019-10-08 - revisionNumber: 0 - lastModifiedDate: 2019-10-08 - endUserName: endUserName - bidNumber: bidNumber - quoteNumber: quoteNumber - quoteStatus: quoteStatus - quoteExpiryDate: 2019-10-08 - quoteName: quoteName - properties: - quoteSearchResponse: - $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse' - title: quoteList.Response - type: object - x-examples: - Success: - quoteSearchResponse: - responsePreamble: - responseStatus: Passed - responseStatusCode: "200" - responseMessage: Records Found - quotelist: - - quoteGuid: dbabb2a5-02ea-e911-a97b-000d3a30e34c - quoteName: TEST-9771006-1920_CW EndUser11 - quoteNumber: QUO-11048-S9P1R3 - revisionNumber: 0 - endUserName: CW EndUser11 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: ec14fd96-02ea-e911-a98d-000d3a30e941 - quoteName: TEST-9771006-1920_CW EndUser12 - quoteNumber: QUO-11047-M1K1Z6 - revisionNumber: 0 - endUserName: CW EndUser12 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: f3d7d186-02ea-e911-a98d-000d3a30e941 - quoteName: TEST-9771006-1920_CW EndUser10 - quoteNumber: QUO-11045-G1X9S8 - revisionNumber: 0 - endUserName: CW EndUser10 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: 43ae3e7f-02ea-e911-a97a-000d3a30eb04 - quoteName: TEST-9771006-1920_CW EndUser9 - quoteNumber: QUO-11044-V2F8F9 - revisionNumber: 0 - endUserName: CW EndUser9 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: 88062b6f-02ea-e911-a97a-000d3a30eb04 - quoteName: TEST-9771006-1920_CW EndUser8 - quoteNumber: QUO-11043-W2X1T5 - revisionNumber: 0 - endUserName: CW EndUser8 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - totalCount: 5 - Customer Not Found: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Customer Not Found - totalCount: 0 - Wrong sort column: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Provide valid sort column name - totalCount: 0 - x-tags: - - quotes - quoteDetailsRequest: - description: Request schema for get quote details endpoint - properties: - quoteProductsRequest: - $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest' - title: quoteDetails.Request - type: object - x-examples: - Example: - quoteProductsRequest: - requestPreamble: - customerNumber: "21222222" - isoCountryCode: US - retrieveQuoteProductsRequest: - quoteNumber: QUO-04959-C3V6L4 - thirdPartySource: 3RDPIDCONWISE - x-tags: - - quotes - quoteDetails: - description: Response schema for quote details - example: - quoteDetailResponse: - totalExtendedMsrp: totalExtendedMsrp - totalQuantity: 5 - totalExtendedQuotePrice: totalExtendedQuotePrice - retrieveQuoteResponse: - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - introPreamble: introPreamble - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - legalTerms: legalTerms - created: 2019-10-04 - priceDeviationExpiryDate: 2000-01-23 - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - priceDeviationStartDate: 2000-01-23 - leasingCalculations: leasingCalculations - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - modified: 2019-10-04 - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - leasingInstructions: leasingInstructions - currencyCode: currencyCode - quoteExpiryDate: 2020-01-01 - quoteName: quoteName - status: status - responsePreamble: - responseStatus: responseStatus - responseMessage: responseMessage - statusCode: statusCode - quoteProductList: - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - totalQuoteProductCount: totalQuoteProductCount - properties: - quoteDetailResponse: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse' - title: quoteDetails.Response - type: object - x-tags: - - quotes - quoteProductList: - description: "" - example: - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - properties: - quoteProductGuid: - type: string - quantity: - type: string - comments: - type: string - bidStartDate: - type: string - bidExpiryDate: - type: string - sku: - type: string - lineNumber: - type: string - description: - type: string - vendorPartNumber: - type: string - weight: - type: string - isSuggestionProduct: - type: string - vpnCategory: - type: string - quoteProductsSupplierPartAuxiliaryId: - type: string - quoteProductsVendor: - type: string - price: - $ref: '#/components/schemas/quoteProductList_price' - title: quoteDetails.quoteProductList.Response - type: object - x-tags: - - quotes - productSearchRequest: - description: Request object model for the product search endpoint - properties: - servicerequest: - $ref: '#/components/schemas/productSearchRequest_servicerequest' - title: productSearchRequest - type: object - x-examples: - 'Using Vendor Part #': - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - productsearchrequest: - searchcriteria: - vendorpartnumber: TESTE IS - x-tags: - - product catalog - multiSKUPriceAndStockResponse: - description: Response object model for the multi sku price and stock API endpoint - example: - serviceresponse: - priceandstockresponse: - details: - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse' - title: multiSKUPriceAndStockResponse - type: object - x-examples: - Success: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: "200" - responsemessage: Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: A-No qty breaks availa - ingrampartnumber: TB6489 - vendorpartnumber: H1180HD - globalskuid: A300-TB6489 - customerprice: 850.54 - currency: USD - partdescription1: H1180HD DLP 3D PROJ 2000L 1080PPROJ - partdescription2: 10000:1 VGA HDMI RCA - vendornumber: Q680 - vendorname: VIVITEK - cpucode: DLP-PR - class: X - skustatus: ACTIVE - mediacpu: PROJ DLP-PR - categorysubcategory: 04 25 - retailprice: 899 - newmedia: PROJ - backorderflag: "N" - skuauthorized: "Y" - warehousedetails: - - warehouseid: "80" - warehousedescription: "Jonestown, PA" - availablequantity: 0 - onorderquantity: 0 - - warehouseid: "10" - warehousedescription: "Mira Loma, CA" - availablequantity: 0 - onorderquantity: 0 - Invalid Customer: - serviceresponse: - responsepreamble: - responsestatus: FAILED - statuscode: "500" - responsemessage: Data Not Found - priceandstockresponse: - details: - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - 'Invalid Country ': - serviceresponse: - responsepreamble: - responsestatus: SUCCESSWITHERROR - statuscode: "046" - responsemessage: Partial Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: edv 2 - ingrampartnumber: NaN - globalskuid: A001-NaN - customernumber: 20-222222 - quantity: 0 - customerprice: 0 - vendornumber: NaN - retailprice: 0 - enduserrequired: "false" - specialpromoflag: "false" - isavailable: false - isstocakable: false - isbom: false - hasquantitybreaks: false - haswebdiscounts: false - issboprice: false - extendednetamount: 0 - taxamount: 0 - totalfeeamount: 0 - totalpromotionamount: 0 - totalenvironmentalfees: 0 - x-tags: - - product catalog - multiSKUPriceAndStockRequest: - description: Request object model for the multi sku price and stock API endpoint - properties: - servicerequest: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest' - title: multiSKUPriceAndStockRequest - type: object - x-examples: - Example: - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - priceandstockrequest: - showwarehouseavailability: "True" - extravailabilityflag: "Y" - item: - - ingrampartnumber: M93592 - quantity: 1 - includeallsystems: false - x-tags: - - product catalog - invoiceDetailRequest: - properties: - servicerequest: - $ref: '#/components/schemas/invoiceDetailRequest_servicerequest' - title: invoiceDetailRequest - type: object - x-tags: - - invoices - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - invoicedetailrequest: - invoicenumber: 60ABCDE11 - invoiceDetailResponse: - example: - serviceresponse: - invoicedetailresponse: - customernumber: customernumber - freightamount: 5.637376656633329 - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - carrierdescription: carrierdescription - invoicetype: invoicetype - orderdate: orderdate - freightforwardercode: freightforwardercode - customerfreightamount: 0.8008281904610115 - taxtype: taxtype - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totaltaxamount: 1.4658129805029452 - totalamount: 5.962133916683182 - discountamount: 2.3021358869347655 - shiptosuffix: shiptosuffix - customerordernumber: customerordernumber - invoicedate: 2000-01-23 - invoicenumber: invoicenumber - customerforeignfrightamt: 6.0274563 - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/invoiceDetailResponse_serviceresponse' - title: invoiceDetailResponse - type: object - x-tags: - - invoices - orderModifyResponse: - description: Response schema for order modify endpoint - example: - serviceresponse: - responsepreamble: - responsemessage: responsemessage - responsestatus: responsestatus - ordermodifyresponse: - errortype: errortype - headerresponse: headerresponse - acktriggered: acktriggered - responseflag: responseflag - warncode: warncode - properties: - serviceresponse: - $ref: '#/components/schemas/orderModifyResponse_serviceresponse' - title: orderModifyResponse - type: object - x-tags: - - orders - orderModifyRequest: - description: Request schema for order modify endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderModifyRequest_servicerequest' - title: orderModifyRequest - type: object - x-tags: - - orders - orderSearchRequest: - description: Request schema for order search endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderSearchRequest_servicerequest' - title: orderSearchRequest - type: object - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderlookuprequest: - status: - fromdate: 2020-01-07 - todate: 2020-01-14 - x-tags: - - orders - orderDeleteResponse: - description: Response schema for order delete endpoint - example: - serviceresponse: - responsepreamble: - returnCode: returnCode - returnMessage: returnMessage - requestStatus: requestStatus - properties: - serviceresponse: - $ref: '#/components/schemas/orderCancelResponse_serviceresponse' - title: orderDeleteResponse - type: object - x-tags: - - orders - x-examples: - Example: - serviceresponse: - responsepreamble: - requestStatus: SUCCESS - returnCode: "00" - returnMessage: Order Deleted Successfully - orderDeleteRequest: - description: Request schema for order delete endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderDeleteRequest_servicerequest' - title: orderDeleteRequest - type: object - x-tags: - - orders - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customerumber: 20-222222 - OrderDeleteRequestDetails: - entryDate: 2019-01-22 - orderBranch: "20" - orderNumber: RC62Z - orderDetailRequest: - description: Request schema for order details endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderDetailRequest_servicerequest' - title: orderDetailRequest - type: object - x-tags: - - orders - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderdetailrequest: - ordernumber: 10-H07XB - orderdate: 2018-07-15 - systemid: A300 - quoteDetailsResponse: - example: - quoteDetailResponse: - retrieveQuoteResponse: - totalExtendedQuotePrice: totalExtendedQuotePrice - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - priceDeviationExpiryDate: priceDeviationExpiryDate - priceDeviationStartDate: priceDeviationStartDate - leasingCalculations: leasingCalculations - totalQuantity: totalQuantity - quoteProductList: - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - totalQuoteProductCount: totalQuoteProductCount - modified: modified - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - leasingInstructions: leasingInstructions - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - totalExtendedMsrp: totalExtendedMsrp - introPreamble: introPreamble - legalTerms: legalTerms - created: created - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - currencyCode: currencyCode - quoteExpiryDate: quoteExpiryDate - quoteName: quoteName - status: status - responsePreamble: - responseStatus: responseStatus - responseMessage: responseMessage - statusCode: statusCode - properties: - quoteDetailResponse: - $ref: '#/components/schemas/quoteDetailsResponse_quoteDetailResponse' - title: quoteDetailsResponse - type: object - x-tags: - - quotes - ValidateQuoteResponse: - example: - vmfAdditionalAttributes: - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - 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 - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: "1" - customerLineNumber: "11" - quoteNumber: QUO-14551943-D2Y9L9 - properties: - quoteNumber: - description: A unique identifier generated by Ingram Micro's CRM specific - to each quote. - example: QUO-14551943-D2Y9L9 - type: string - vendorName: - description: The name of the vendor. - example: Cisco - type: string - vmfAdditionalAttributes: - description: The object containing the list of fields required at a header - level by the vendor. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_vmfAdditionalAttributes_inner' - type: array - lines: - description: The object containing the lines from the quote. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner' - type: array - type: object - QuoteToOrderDetailsDTO: - additionalProperties: false - example: - endUserInfo: - - phoneNumber: phoneNumber - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - - phoneNumber: phoneNumber - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - shipToInfo: - - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - addressId: addressId - - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - addressId: addressId - billToAddressId: billToAddressId - enduserOrderNumber: enduserOrderNumber - lines: - - ingramPartNumber: ingramPartNumber - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - 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: - description: The contact information for the end user/customer provided - by the reseller. Used to determine pricing and discounts. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo_inner' - type: array - shipToInfo: - description: The shipping information provided by the reseller for order - delivery. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo_inner' - type: array - 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 - QuoteToOrderResponse: - example: - confirmationNumber: 987654322 - message: message - quoteNumber: QUO-14551943-D2Y9L9 - properties: - quoteNumber: - description: Unique identifier generated by Ingram Micro's CRM specific - to each quote. - example: QUO-14551943-D2Y9L9 - type: string - confirmationNumber: - description: A unique confirmation number for tracking purposes. - example: 987654322 - type: number - message: - description: A confirmation message. - type: string - type: object - Error: - additionalProperties: false - example: - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - id: - nullable: true - type: string - type: - nullable: true - type: string - message: - nullable: true - type: string - fields: + 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 + resellerInfo: + $ref: '#/components/schemas/OrderCreateRequest_resellerInfo' + vmf: + $ref: '#/components/schemas/OrderCreateRequest_vmf' + shipToInfo: + $ref: '#/components/schemas/OrderCreateRequest_shipToInfo' + endUserInfo: + $ref: '#/components/schemas/OrderCreateRequest_endUserInfo' + lines: + description: The line-level details of the order. items: - $ref: '#/components/schemas/Fields' - nullable: true + $ref: '#/components/schemas/OrderCreateRequest_lines_inner' type: array - type: object - ErrorResponseDTO: - additionalProperties: false - example: - errors: - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - errors: + shipmentDetails: + $ref: '#/components/schemas/OrderCreateRequest_shipmentDetails' + additionalAttributes: + description: Shipment-level additional attributes. items: - $ref: '#/components/schemas/Error' - nullable: true + $ref: '#/components/schemas/OrderCreateRequest_additionalAttributes_inner' type: array + required: + - customerOrderNumber type: object - Fields: - additionalProperties: false - example: - field: field - message: message - value: value - properties: - field: - nullable: true - type: string - message: - nullable: true - type: string - value: - nullable: true - type: string - type: object - OrderDetailB2B: - additionalProperties: false + OrderCreateResponse: example: - orderType: orderType - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: chargeAmount - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: chargeAmount - chargeDescription: chargeDescription - notes: notes - endUserInfo: - phoneNumber: phoneNumber + purchaseOrderTotal: 0.8008281904610115 + specialBidNumber: specialBidNumber + shipToInfo: city: city - countryCode: countryCode - contact: contact companyName: companyName postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - endCustomerOrderNumber: endCustomerOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - webOrderId: webOrderId - orderStatus: orderStatus - customerOrderNumber: customerOrderNumber - orderTotal: 0.8008281904610115 - orderSubTotal: 6.027456183070403 - ingramOrderNumber: ingramOrderNumber - totalTax: 5.637376656633329 - shipToInfo: + addressId: addressId phoneNumber: phoneNumber - city: city countryCode: countryCode contact: contact - companyName: companyName - postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email - billToInfo: - phoneNumber: phoneNumber + endUserInfo: + endUserId: endUserId city: city - countryCode: countryCode - contact: contact companyName: companyName postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - ingramPurchaseOrderNumber: ingramPurchaseOrderNumber - totalWeight: 5.962133916683182 - lines: - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - requestedDeliverydate: requestedDeliverydate - multipleShipments: - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - scheduleLines: - - goodsIssueDate: goodsIssueDate - scheduleLineDate: scheduleLineDate - requestedQuantity: requestedQuantity - lineNumber: lineNumber - confirmedQuantity: confirmedQuantity - - goodsIssueDate: goodsIssueDate - scheduleLineDate: scheduleLineDate - requestedQuantity: requestedQuantity - lineNumber: lineNumber - confirmedQuantity: confirmedQuantity - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7.061401241503109 - ingramOrderLineNumber: ingramOrderLineNumber - estimatedDates: - - delivery: - deliveredDate: deliveredDate - deliveryDescription: deliveryDescription - deliveryDateType: deliveryDateType - deliverySource: deliverySource - deliveryDateRange: - endDate: endDate - startDate: startDate - ship: - shipDateRange: - endDate: endDate - startDate: startDate - shipSource: shipSource - shipDate: shipDate - shipDateType: shipDateType - shipDescription: shipDescription - - delivery: - deliveredDate: deliveredDate - deliveryDescription: deliveryDescription - deliveryDateType: deliveryDateType - deliverySource: deliverySource - deliveryDateRange: - endDate: endDate - startDate: startDate - ship: - shipDateRange: - endDate: endDate - startDate: startDate - shipSource: shipSource - shipDate: shipDate - shipDateType: shipDateType - shipDescription: shipDescription - serviceContractInfo: - subscriptions: - renewalTerm: renewalTerm - subcriptionEndDate: subcriptionEndDate - billingModel: billingModel - subscriptionTerm: subscriptionTerm - subscriptionId: subscriptionId - subcriptionStartDate: subcriptionStartDate - contractInfo: - contractStatus: contractStatus - contractDuration: contractDuration - contractStartDate: contractStartDate - contractEndDate: contractEndDate - contractDescription: contractDescription - contractNumber: contractNumber - licenseInfo: - quantity: quantity - licenseStartDate: licenseStartDate - description: description - licenseNumber: - - licenseNumber - - licenseNumber - licenseEndDate: licenseEndDate - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: estimatedShipDate - invoiceDate: invoiceDate - deliveryNumber: deliveryNumber - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endCustomerOrderNumber: endCustomerOrderNumber + orderSplit: true + processedPartially: true + billToAddressId: billToAddressId + orders: + - orderType: orderType + rejectedLineItems: + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + notes: notes + numberOfLinesWithSuccess: 6 + numberOfLinesWithError: 1 + orderTotal: 5.637376656633329 + ingramOrderNumber: ingramOrderNumber + totalTax: 7.061401241503109 + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + numberOfLinesWithWarning: 5 + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - shipFromLocation: shipFromLocation - - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: estimatedShipDate - invoiceDate: invoiceDate - deliveryNumber: deliveryNumber - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - shipFromLocation: shipFromLocation - promisedDeliveryDate: promisedDeliveryDate - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - weightUom: weightUom - taxAmount: 3.616076749251911 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName currencyCode: currencyCode + freightCharges: 2.3021358869347655 + ingramOrderDate: ingramOrderDate additionalAttributes: - attributeValue: attributeValue attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - requestedDeliverydate: requestedDeliverydate - multipleShipments: - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - scheduleLines: - - goodsIssueDate: goodsIssueDate - scheduleLineDate: scheduleLineDate - requestedQuantity: requestedQuantity - lineNumber: lineNumber - confirmedQuantity: confirmedQuantity - - goodsIssueDate: goodsIssueDate - scheduleLineDate: scheduleLineDate - requestedQuantity: requestedQuantity - lineNumber: lineNumber - confirmedQuantity: confirmedQuantity - vendorPartNumber: vendorPartNumber + - attributeValue: attributeValue + attributeName: attributeName + - orderType: orderType + rejectedLineItems: + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + notes: notes + numberOfLinesWithSuccess: 6 + numberOfLinesWithError: 1 + orderTotal: 5.637376656633329 + ingramOrderNumber: ingramOrderNumber + totalTax: 7.061401241503109 links: - topic: topic href: href @@ -16390,3619 +8867,5184 @@ components: - topic: topic href: href type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7.061401241503109 - ingramOrderLineNumber: ingramOrderLineNumber - estimatedDates: - - delivery: - deliveredDate: deliveredDate - deliveryDescription: deliveryDescription - deliveryDateType: deliveryDateType - deliverySource: deliverySource - deliveryDateRange: - endDate: endDate - startDate: startDate - ship: - shipDateRange: - endDate: endDate - startDate: startDate - shipSource: shipSource - shipDate: shipDate - shipDateType: shipDateType - shipDescription: shipDescription - - delivery: - deliveredDate: deliveredDate - deliveryDescription: deliveryDescription - deliveryDateType: deliveryDateType - deliverySource: deliverySource - deliveryDateRange: - endDate: endDate - startDate: startDate - ship: - shipDateRange: - endDate: endDate - startDate: startDate - shipSource: shipSource - shipDate: shipDate - shipDateType: shipDateType - shipDescription: shipDescription - serviceContractInfo: - subscriptions: - renewalTerm: renewalTerm - subcriptionEndDate: subcriptionEndDate - billingModel: billingModel - subscriptionTerm: subscriptionTerm - subscriptionId: subscriptionId - subcriptionStartDate: subcriptionStartDate - contractInfo: - contractStatus: contractStatus - contractDuration: contractDuration - contractStartDate: contractStartDate - contractEndDate: contractEndDate - contractDescription: contractDescription - contractNumber: contractNumber - licenseInfo: - quantity: quantity - licenseStartDate: licenseStartDate - description: description - licenseNumber: - - licenseNumber - - licenseNumber - licenseEndDate: licenseEndDate - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: estimatedShipDate - invoiceDate: invoiceDate - deliveryNumber: deliveryNumber - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + numberOfLinesWithWarning: 5 + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - shipFromLocation: shipFromLocation - - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: estimatedShipDate - invoiceDate: invoiceDate - deliveryNumber: deliveryNumber - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - - deliveredDate: deliveredDate - carrierPickupDate: carrierPickupDate - quantity: 1 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber carrierName: carrierName + shippingInstructions: shippingInstructions carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - cartonNumber: cartonNumber - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - trackingNumber: trackingNumber - shippedDate: shippedDate - estimatedDeliveryDate: estimatedDeliveryDate - shipFromLocation: shipFromLocation - promisedDeliveryDate: promisedDeliveryDate - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - weightUom: weightUom - taxAmount: 3.616076749251911 + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName currencyCode: currencyCode + freightCharges: 2.3021358869347655 + ingramOrderDate: ingramOrderDate additionalAttributes: - attributeValue: attributeValue attributeName: attributeName - attributeValue: attributeValue attributeName: attributeName - currencyCode: currencyCode - freightCharges: 1.4658129805029452 - paymentTerms: paymentTerms - ingramOrderDate: 2000-01-23T04:56:07.000+00:00 - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName + customerOrderNumber: customerOrderNumber properties: - ingramOrderNumber: - description: The IngramMicro sales order number. - type: string - ingramOrderDate: - description: The IngramMicro sales order date. - format: date-time - type: string - orderType: - description: The IngramMicro sales order type. - type: string customerOrderNumber: - description: The reseller's order number for reference in their system. + description: The reseller's unique PO/Order number. type: string endCustomerOrderNumber: - description: The end customer's order number for reference in their system. - type: string - webOrderId: - description: The web order id of the order. - type: string - vendorSalesOrderNumber: - description: The vendor's order number for reference in their system - type: string - ingramPurchaseOrderNumber: - description: Ingram purchase order number. + description: The end user/customer's Purchase Order number. type: string - orderStatus: - description: "The header-level status of the order. One of- Shipped, Canceled,\ - \ Backordered, Processing, On Hold, Delivered." + 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 type: string - orderTotal: - description: "The total cost for the order, includes subtotal, freight charges,\ - \ and tax." - format: double - type: number - orderSubTotal: - description: "The sub total cost for the order, not including tax and freight." - format: double - type: number - freightCharges: - description: The freight charges for the order. - format: double - type: number - currencyCode: - description: The country-specific three digit ISO 4217 currency code for - the order. + specialBidNumber: + description: The bid number 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 - totalWeight: - description: "Total order weight. unit -- North america - Pounds , other\ - \ countries will be KG." - format: double - type: number - totalTax: - description: Total tax on the orders placed. - format: double + orderSplit: + description: true for multiple orders + type: boolean + processedPartially: + description: true for partial order succesfully placed + type: boolean + purchaseOrderTotal: + description: Total of all the orders including taxes and fees. + format: decimal type: number - paymentTerms: - description: The payment terms of the order. (Ex- Net 30 days). - type: string - notes: - description: The header-level notes for the order. - type: string - billToInfo: - $ref: '#/components/schemas/OrderDetailB2B_billToInfo' shipToInfo: - $ref: '#/components/schemas/OrderDetailB2B_shipToInfo' + $ref: '#/components/schemas/OrderCreateResponse_shipToInfo' endUserInfo: - $ref: '#/components/schemas/OrderDetailB2B_endUserInfo' - lines: - items: - $ref: '#/components/schemas/OrderDetailB2B_lines_inner' - nullable: true - type: array - miscellaneousCharges: - items: - $ref: '#/components/schemas/OrderDetailB2B_miscellaneousCharges_inner' - nullable: true - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/OrderDetailB2B_additionalAttributes_inner' - nullable: true - type: array - type: object - get_reseller_v6_validateQuote_400_response_fields_inner: - example: - field: field - message: message - value: value - properties: - field: - description: Contains the name of the field. - type: string - message: - description: Gives the description of the field message. - type: string - value: - description: Value sent in the input for the specific field. - type: string - type: object - get_reseller_v6_validateQuote_400_response: - example: - traceid: traceid - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - traceid: - description: Unique Id to identify error. - type: string - type: - description: Describes the type of the error. - type: string - message: - description: A detailed error message. - type: string - fields: - items: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' - type: array - type: object - get_reseller_v6_validateQuote_500_response: - example: - traceid: traceid - type: type - message: message - fields: - - "{}" - - "{}" - properties: - traceid: - description: Unique Id to identify error. - type: string - type: - description: Describes the type of the error. - type: string - message: - description: Describes the error message. - type: string - fields: + $ref: '#/components/schemas/OrderCreateResponse_endUserInfo' + orders: + description: Order-level details. items: - type: object + $ref: '#/components/schemas/OrderCreateResponse_orders_inner' type: array type: object - post_QuoteToOrder_v6_400_response_fields_inner: - example: - field: field - message: message - value: value - properties: - field: - description: Name of the field. - type: string - message: - description: A filed level error message. - type: string - value: - description: Value of the message. - type: string - type: object - post_QuoteToOrder_v6_400_response: + OrderModifyRequest: example: - traceid: traceid - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - traceid: - description: A unique trace id to identify the issue. - type: string - type: - description: Type of the error message. - type: string - message: - description: A detailed error message. + notes: notes + shipToInfo: + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email + lines: + - ingramPartNumber: ingramPartNumber + quantity: 0 + notes: notes + addUpdateDeleteLine: UPDATE + ingramLineNumber: ingramLineNumber + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + quantity: 0 + notes: notes + addUpdateDeleteLine: UPDATE + ingramLineNumber: ingramLineNumber + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + properties: + notes: + description: Shipment-level notes. + maxLength: 132 type: string - fields: + shipToInfo: + $ref: '#/components/schemas/OrderModifyRequest_shipToInfo' + lines: + description: The order line items. items: - $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response_fields_inner' + $ref: '#/components/schemas/OrderModifyRequest_lines_inner' type: array - type: object - post_renewalssearch_400_response: - example: - traceid: traceid - type: type - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - traceid: - description: Unique Id to identify error. - type: string - type: - description: Describes the type of the error. - type: string - fields: + additionalAttributes: + description: Header-level additional attributes. items: - $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' + $ref: '#/components/schemas/OrderModifyRequest_additionalAttributes_inner' type: array type: object - OrderCreateRequest_resellerInfo: - description: The address and contact information provided by the reseller. + OrderModifyResponse: example: - resellerId: resellerId - phoneNumber: 0 - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email + rejectedLineItems: + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 9 + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 9 + customerLineNumber: customerLineNumber + changeDescription: changeDescription + orderModifiedDate: orderModifiedDate + notes: notes + endCustomerOrderNumber: endCustomerOrderNumber + orderStatus: orderStatus + billToAddressId: billToAddressId + customerOrderNumber: customerOrderNumber + orderTotal: 0.8008281904610115 + orderSubTotal: 6.027456183070403 + ingramOrderNumber: ingramOrderNumber + totalTax: 5.962133916683182 + shipToInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId + lines: + - ingramPartNumber: ingramPartNumber + quantityBackOrdered: 7 + shipmentDetails: + freightAccountNumber: freightAccountNumber + carrierName: carrierName + carrierCode: carrierCode + notes: notes + subOrderNumber: subOrderNumber + quantityConfirmed: 2 + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 5 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + quantityBackOrdered: 7 + shipmentDetails: + freightAccountNumber: freightAccountNumber + carrierName: carrierName + carrierCode: carrierCode + notes: notes + subOrderNumber: subOrderNumber + quantityConfirmed: 2 + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 5 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + freightCharges: 1.4658129805029452 + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - resellerId: - description: The reseller's Id. - type: string - companyName: - description: The reseller's company name. - maxLength: 40 - type: string - contact: - description: The reseller's contact name. - type: string - addressLine1: - description: The reseller's street address. - maxLength: 70 - type: string - addressLine2: - description: The reseller's building or apartment number. - maxLength: 70 + ingramOrderNumber: + description: The IngramMicro order number. type: string - addressLine3: - description: The reseller's address line 3. - maxLength: 70 + changeDescription: + description: The description of the change. type: string - city: - description: The reseller's city. - maxLength: 25 + orderModifiedDate: + description: The date the order was modified. type: string - state: - description: The reseller's state. - maxLength: 3 + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - postalCode: - description: The reseller's zip or postal code. - maxLength: 10 + endCustomerOrderNumber: + description: The end user/customer's order number for reference in their + system. type: string - countryCode: - description: The reseller's two-character ISO country code. - maxLength: 10 + orderTotal: + description: The total for the order. + format: decimal + type: number + notes: + description: Order-level notes. type: string - phoneNumber: - description: The reseller's phone number. - type: integer - email: - description: The reseller's email address. + orderSubTotal: + description: The sub total for the order. + format: decimal + type: number + freightCharges: + description: The freight charges for the order. + format: decimal + type: number + totalTax: + description: The total tax for the order. + format: decimal + type: number + orderStatus: + description: "The status of the order. One of the following. Backordered,\ + \ In Progress, Shipped, Delivered, Canceled, On Hold" type: string - type: object - OrderCreateRequest_vmf: - description: "Vendor mandatory fields, this is required in case of warranty\ - \ orders." - example: - vendAuthNumber: vendAuthNumber - properties: - 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." + 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. type: string + shipToInfo: + $ref: '#/components/schemas/OrderModifyResponse_shipToInfo' + lines: + description: The line-level details for the order. + items: + $ref: '#/components/schemas/OrderModifyResponse_lines_inner' + type: array + rejectedLineItems: + description: Details for failed lines in the order. + items: + $ref: '#/components/schemas/OrderModifyResponse_rejectedLineItems_inner' + type: array + additionalAttributes: + description: Header-level additional attributes. + items: + $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' + type: array type: object - OrderCreateRequest_shipToInfo: - description: The shipping information provided by the reseller. - example: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email + OrderDetailResponse: + example: + orderType: orderType + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.0246457001441578 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.0246457001441578 + chargeDescription: chargeDescription + notes: notes + endUserInfo: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email + endCustomerOrderNumber: endCustomerOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + orderStatus: orderStatus + customerOrderNumber: customerOrderNumber + orderTotal: 0.8008281904610115 + orderSubTotal: 6.027456183070403 + ingramOrderNumber: ingramOrderNumber + totalTax: 5.637376656633329 + shipToInfo: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email + billToInfo: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email + totalWeight: 5.962133916683182 + lines: + - unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + quantityOrdered: 2 + customerLinenumber: customerLinenumber + lineStatus: lineStatus + extendedPrice: 9.301444243932576 + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + upcCode: upcCode + ingramPartNumber: ingramPartNumber + unitPrice: 7 + ingramOrderLineNumber: ingramOrderLineNumber + vendorName: vendorName + lineNotes: lineNotes + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + promisedDeliveryDate: 2000-01-23 + subOrderNumber: subOrderNumber + partDescription: partDescription + quantityConfirmed: 4 + requestedDeliveryDate: 2000-01-23 + weightUom: weightUom + taxAmount: 3.616076749251911 + currencyCode: currencyCode + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + quantityOrdered: 2 + customerLinenumber: customerLinenumber + lineStatus: lineStatus + extendedPrice: 9.301444243932576 + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + upcCode: upcCode + ingramPartNumber: ingramPartNumber + unitPrice: 7 + ingramOrderLineNumber: ingramOrderLineNumber + vendorName: vendorName + lineNotes: lineNotes + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + promisedDeliveryDate: 2000-01-23 + subOrderNumber: subOrderNumber + partDescription: partDescription + quantityConfirmed: 4 + requestedDeliveryDate: 2000-01-23 + weightUom: weightUom + taxAmount: 3.616076749251911 + currencyCode: currencyCode + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + currencyCode: currencyCode + freightCharges: 1.4658129805029452 + paymentTerms: paymentTerms + ingramOrderDate: ingramOrderDate + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - addressId: - description: The ID references the resellers address in Ingram Micro's system - for shipping. Provided to resellers during the onboarding process. - maxLength: 10 - type: string - contact: - description: The company contact provided by the reseller. - maxLength: 70 - type: string - companyName: - description: The name of the company the order will be shipped to. - maxLength: 40 + ingramOrderNumber: + description: The IngramMicro sales order number. type: string - name1: - description: name1 + ingramOrderDate: + description: The date and time in UTC format that the order was created. type: string - name2: - description: name2 + orderType: + description: "The order type. One of B = Branch Transfer, C = COD, D = Direct\ + \ Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S =\ + \ Sales Order." type: string - addressLine1: - description: The street address and building or house number the order will - be shipped to. - maxLength: 70 + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - addressLine2: - description: The apartment number the order will be shipped to. - maxLength: 70 + endCustomerOrderNumber: + description: The end user/customer's order number for reference in their + system. type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. - maxLength: 70 + vendorSalesOrderNumber: + description: The vendor's order number for reference in their system. type: string - addressLine4: - description: Street address4 + orderStatus: + description: "The header-level status of the order. One of- Shipped, Canceled,\ + \ Backordered, Processing, On Hold, Delivered." type: string - city: - description: The city the order will be shipped to. - maxLength: 25 + orderTotal: + description: "The total cost for the order, includes subtotal, freight charges,\ + \ and tax." + format: decimal + type: number + orderSubTotal: + description: "The sub total cost for the order, not including tax and freight." + format: decimal + type: number + freightCharges: + description: The freight charges for the order. + format: decimal + type: number + currencyCode: + description: The country-specific three digit ISO 4217 currency code for + the order. type: string - state: - description: The state the order will be shipped to. - maxLength: 3 + totalWeight: + description: "The total weight of the order. Pounds in North America, KG\ + \ in all other countries." + format: decimal + type: number + totalTax: + description: The total tax for the order. + format: decimal + type: number + paymentTerms: + description: The payment terms of the order. (Ex- Net 30 days). type: string - postalCode: - description: The zip or postal code the order will be shipped to. - maxLength: 10 + notes: + description: The header-level notes for the order. type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. - maxLength: 10 + billToInfo: + $ref: '#/components/schemas/OrderDetailResponse_billToInfo' + shipToInfo: + $ref: '#/components/schemas/OrderDetailResponse_shipToInfo' + endUserInfo: + $ref: '#/components/schemas/OrderDetailResponse_endUserInfo' + lines: + items: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner' + type: array + miscellaneousCharges: + items: + $ref: '#/components/schemas/OrderDetailResponse_miscellaneousCharges_inner' + type: array + additionalAttributes: + items: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' + type: array + type: object + x-tags: + - Orders + OrderSearch_Response: + example: + pageNumber: 1 + previousPage: previousPage + nextPage: nextPage + pageSize: 6 + recordsFound: 0 + orders: + - ingramOrderNumber: ingramOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + orderStatus: orderStatus + endUserCompanyName: endUserCompanyName + links: + topic: topic + href: href + type: type + subOrders: + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + vendorName: vendorName + customerOrderNumber: customerOrderNumber + orderTotal: 5.962133916683182 + ingramOrderDate: ingramOrderDate + - ingramOrderNumber: ingramOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + orderStatus: orderStatus + endUserCompanyName: endUserCompanyName + links: + topic: topic + href: href + type: type + subOrders: + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + vendorName: vendorName + customerOrderNumber: customerOrderNumber + orderTotal: 5.962133916683182 + ingramOrderDate: ingramOrderDate + properties: + recordsFound: + description: No of recourds found for the search. + type: integer + pageSize: + description: No of results per page.(default is 25) + type: integer + pageNumber: + description: Current page number.(default is 1) + type: integer + orders: + description: The details for the order. + items: + $ref: '#/components/schemas/OrderSearch_Response_orders_inner' + type: array + nextPage: + description: link/URL for accessing next page. type: string - phoneNumber: - description: The company contact phone number. + previousPage: + description: link/URL for accessing previous page. type: string - email: - description: The company contact email address. + type: object + PriceAndAvailabilityRequest: + example: + showAvailableDiscounts: true + specialBidNumber: specialBidNumber + availabilityByWarehouse: + - availabilityForAllLocation: true + availabilityByWarehouseId: availabilityByWarehouseId + - availabilityForAllLocation: true + availabilityByWarehouseId: availabilityByWarehouseId + showReserveInventoryDetails: true + products: + - ingramPartNumber: ingramPartNumber + customerPartNumber: customerPartNumber + quantityRequested: quantityRequested + upc: upc + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + customerPartNumber: customerPartNumber + quantityRequested: quantityRequested + upc: upc + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + properties: + showAvailableDiscounts: + description: Boolean value that will display Discount details in the response + when true. + type: boolean + showReserveInventoryDetails: + description: Boolean value that will display reserve inventory details in + the response when true. + type: boolean + specialBidNumber: + description: Pre-approved special pricing/bid number provided to the reseller + by the vendor for special pricing and discounts. Used to track the bid + number where different line items have different bid numbers. type: string + availabilityByWarehouse: + items: + $ref: '#/components/schemas/PriceAndAvailabilityRequest_availabilityByWarehouse_inner' + type: array + products: + items: + $ref: '#/components/schemas/PriceAndAvailabilityRequest_products_inner' + type: array + additionalAttributes: + items: + $ref: '#/components/schemas/PriceAndAvailabilityRequest_additionalAttributes_inner' + type: array type: object - OrderCreateRequest_endUserInfo: - description: The contact information for the end user/customer provided by the - reseller. Used to determine pricing and discounts. + PriceAndAvailabilityResponse: + items: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner' + type: array + ProductSearch_Response: example: - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 6 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email + pageNumber: 1 + previousPage: previousPage + catalog: + - ingramPartNumber: ingramPartNumber + extraDescription: extraDescription + subCategory: subCategory + replacementSku: replacementSku + endUserRequired: endUserRequired + authorizedToPurchase: authorizedToPurchase + description: description + discontinued: discontinued + vendorName: vendorName + type: type + newProduct: newProduct + hasWarranty: hasWarranty + hasDiscounts: hasDiscounts + directShip: directShip + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + category: category + productType: productType + upcCode: upcCode + - ingramPartNumber: ingramPartNumber + extraDescription: extraDescription + subCategory: subCategory + replacementSku: replacementSku + endUserRequired: endUserRequired + authorizedToPurchase: authorizedToPurchase + description: description + discontinued: discontinued + vendorName: vendorName + type: type + newProduct: newProduct + hasWarranty: hasWarranty + hasDiscounts: hasDiscounts + directShip: directShip + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + category: category + productType: productType + upcCode: upcCode + nextPage: nextPage + pageSize: 6 + recordsFound: 0 properties: - endUserId: - description: ID for the end user/customer in Ingram Micro's system. - type: string - contact: - description: The contact name for the end user/customer. - maxLength: 70 - type: string - companyName: - description: The company name for the end user/customer. Required for Impulse - countries. - maxLength: 40 - type: string - name1: - description: name1 - type: string - name2: - description: name2 - type: string - addressLine1: - description: The end user/customer's street address and building or house - number. Required for Impulse countries. - maxLength: 70 - type: string - addressLine2: - description: The end user/customer's apartment number. - maxLength: 70 - type: string - addressLine3: - description: Line 3 of the address for the end user/customer. - maxLength: 70 - type: string - addressLine4: - description: Street address4 - type: string - city: - description: The end user/customer's city. Required for Impulse countries. - maxLength: 25 + recordsFound: + description: The number of recourds found for the search. + type: integer + pageSize: + description: The number of results per page. Default is 25. + type: integer + pageNumber: + description: current page number default is 1 + type: integer + catalog: + items: + $ref: '#/components/schemas/ProductSearch_Response_catalog_inner' + type: array + nextPage: + description: link/URL for accessing next page. type: string - state: - description: The end user/customer's state. Required for Impulse countries - but optional for EMEA countries. - maxLength: 3 + previousPage: + description: link/URL for accessing previous page. type: string - postalCode: - description: The end user/customer's zip or postal code. Required for Impulse - countries. - maxLength: 10 + type: object + ProductDetailResponse: + example: + ingramPartNumber: ingramPartNumber + additionalInformation: + netWeight: netWeight + width: width + length: length + dimensionUnit: dimensionUnit + productWeight: + - plantId: plantId + weight: 0.8008281904610115 + weightUnit: weightUnit + - plantId: plantId + weight: 0.8008281904610115 + weightUnit: weightUnit + isBulkFreight: true + height: height + customerPartNumber: customerPartNumber + productClass: productClass + description: description + upc: upc + warrantyInformation: + - "{}" + - "{}" + productAuthorized: true + vendorName: vendorName + indicators: + isHeavyWeight: true + isEnduserRequired: true + hasStdWebDiscount: true + hasStdSpecialPrice: true + isPreorderProduct: true + hasWarranty: true + isDirectshipOrderable: true + isNewProduct: true + isDownloadable: true + isClearanceProduct: true + isOversizeProduct: true + isShippedFromPartner: true + isIngramShip: true + hasAcopQuantityBreak: true + IsBackOrderAllowed: true + isReplacementProduct: true + hasSpecialBid: true + isReturnableProduct: true + isConfigurable: true + isExportableToCountry: true + isDigitalType: true + hasAcopSpecialPrice: true + isRefurbishedProduct: true + isLicenseProduct: true + HasReturnLimits: true + skuType: skuType + isDiscontinuedProduct: true + hasLtl: true + isServiceSku: true + hasBundle: true + isDirectship: true + productCategory: productCategory + productSubcategory: productSubcategory + ciscoFields: + itemType: itemType + productSubGroup: productSubGroup + configurationIndicator: configurationIndicator + internalBusinessEntity: internalBusinessEntity + serviceProgramName: serviceProgramName + globalListPrice: globalListPrice + itemCatalogCategory: itemCatalogCategory + technicalSpecifications: + - headername: headername + attributevalue: attributevalue + attributedisplay: attributedisplay + attributename: attributename + - headername: headername + attributevalue: attributevalue + attributedisplay: attributedisplay + attributename: attributename + productDetailDescription: productDetailDescription + vendorPartNumber: vendorPartNumber + productStatusCode: productStatusCode + vendorNumber: vendorNumber + properties: + ingramPartNumber: + description: Ingram Micro unique part number for the product. type: string - countryCode: - description: The end user/customer's two-character ISO country code. - maxLength: 10 + vendorPartNumber: + description: Vendor’s part number for the product. type: string - phoneNumber: - description: The end user/customer's phone number. - type: integer - email: - description: The end user/customer's email. + customerPartNumber: + description: Reseller / end-user’s part number for the product. type: string - type: object - OrderCreateRequest_lines_inner_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: SAP requested and country-specific line level details. + productAuthorized: + description: Boolean that indicates whether a product is authorized. + type: boolean + description: + description: The description given for the product. type: string - attributeValue: - description: Line-level additional attributes. + productDetailDescription: + description: The detailed description given for the product. type: string - OrderCreateRequest_lines_inner_warrantyInfo_inner_serialInfo_inner: - example: - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - properties: - dateofPurchase: - description: Date of purchase of the hardware. - format: date + upc: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquely assigned to each trade item. type: string - shipDate: - description: "Vendor specific mandatory field, date of hardware/product\ - \ shipment from vendor." - format: date + productCategory: + description: The category of the product. type: string - primarySerialNumber: - description: Serial number of the hardware/product. + productSubcategory: + description: The sub-category of the product. type: string - secondarySerialNumber: - description: Serial number of accessory associated with the above hardware/product. + vendorName: + description: Vendor name for the order. type: string - OrderCreateRequest_lines_inner_warrantyInfo_inner: - example: - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - properties: - directLineLink: - description: Unique value to link hardware and warranty lines. Should be - used only when products are purchased from both Ingram and/or vendor but - the warranty is purchased through Ingram for them. - maxLength: 25 + vendorNumber: + description: Vendor number that identifies the product. type: string - warrantyLineLink: - description: "Customer line number of the hardware product in this request\ - \ for linkage, either hardwareLineLink or warrantyLineLink can be used\ - \ in a line." + productStatusCode: + description: Status code of the product. type: string - hardwareLineLink: - description: "Customer line number of the warranty product in this request\ - \ for linkage, either hardwareLineLink or warrantyLineLink can be used\ - \ in a line " + productClass: + description: "Indicates whether the product is directly shipped from the\ + \ vendor’s warehouse or if the product ships from Ingram Micro’s warehouse.\ + \ Class Codes are Ingram classifications on how skus are stocked A = Product\ + \ that is stocked usually in all IM warehouses and replenished on a regular\ + \ basis. B = Product that is stocked in limited IM warehouses and replenished\ + \ on a regular basis C = Product that is stocked in fewer IM warehouses\ + \ and replenished on a regular basis. D = Product that Ingram Micro has\ + \ elected to discontinue. E = Product that will be phased out later, according\ + \ to the vendor. You may not want to replenish this product, but instead\ + \ sell down what is in stock. F = Product that we carry for a specific\ + \ customer or supplier under a contractual agreement. N = New Sku. Classification\ + \ before first receipt O = Discontinued product to be liquidated S= Order\ + \ for Specialized Demand (Order to backorder) X= direct ship from Vendor\ + \ V = product that vendor has elected to discontinue." type: string - serialInfo: - description: "Serial information of the hardware to be associated with the\ - \ warranty, applicable on post sale orders." + indicators: + $ref: '#/components/schemas/ProductDetailResponse_indicators' + ciscoFields: + $ref: '#/components/schemas/ProductDetailResponse_ciscoFields' + technicalSpecifications: + description: Technical specifications of the product. items: - $ref: '#/components/schemas/OrderCreateRequest_lines_inner_warrantyInfo_inner_serialInfo_inner' + $ref: '#/components/schemas/ProductDetailResponse_technicalSpecifications_inner' + type: array + warrantyInformation: + description: Warranty information related to the product. + items: + type: object type: array + additionalInformation: + $ref: '#/components/schemas/ProductDetailResponse_additionalInformation' type: object - OrderCreateRequest_lines_inner_endUserInfo_inner: - example: - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: 2.3021358869347655 - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - endUserType: endUserType - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email + renewalsSearchRequest: properties: - endUserType: - description: Specifies the type of endUser. It can be endUser or endUserContact - for SAP flow. - type: string - endUserId: - description: ID for the end user/customer in Ingram Micro's system. - maxLength: 10 - type: string - contact: - description: The contact name for the end user/customer. - type: string - companyName: - description: The company name for the end user/customer. - type: string - name1: - description: name1 - maxLength: 35 - type: string - name2: - description: name2 - type: string - addressLine1: - description: The end user/customer's street address and building or house - number. - type: string - addressLine2: - description: The end user/customer's apartment number. - type: string - addressLine3: - description: Line 3 of the address for the end user/customer. - type: string - addressLine4: - description: Street address4 - type: string - city: - description: The end user/customer's city. - type: string - state: - description: The end user/customer's state. + status: + $ref: '#/components/schemas/renewalsSearchRequest_status' + dataType: + $ref: '#/components/schemas/renewalsSearchRequest_dataType' + vendor: + description: The name of the Vendor. type: string - postalCode: - description: The end user/customer's zip or postal code. + endUser: + description: 'The name of the enduser. ' type: string - countryCode: - description: The end user/customer's two-character ISO country code. - maxLength: 3 + type: object + renewalsSearchResponse: + example: + pageNumber: 1 + previousPage: previousPage + nextPage: nextPage + pageSize: 6 + recordsFound: 0 + renewals: + - renewalId: renewalId + endUser: endUser + referenceNumber: referenceNumber + vendor: vendor + renewalValue: renewalValue + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + customerOrderNumber: customerOrderNumber + expirationDate: expirationDate + status: status + - renewalId: renewalId + endUser: endUser + referenceNumber: referenceNumber + vendor: vendor + renewalValue: renewalValue + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + customerOrderNumber: customerOrderNumber + expirationDate: expirationDate + status: status + properties: + recordsFound: + description: Number of records found. + type: integer + pageSize: + description: Number of records in a page. + type: integer + pageNumber: + description: Number of page. + type: integer + renewals: + items: + $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner' + type: array + nextPage: + description: URL for the next page. type: string - phoneNumber: - description: The end user/customer's phone number. - maxLength: 30 - type: number - email: - description: The end user/customer's email. - maxLength: 241 + previousPage: + description: URL for the previous page. type: string - OrderCreateRequest_lines_inner: + type: object + renewalsDetailsResponse: example: - ingramPartNumber: ingramPartNumber - unitPrice: 5.962133916683182 - quantity: 1 - specialBidNumber: specialBidNumber - notes: notes - endUserInfo: - - endUserId: endUserId - city: city + renewalId: renewalId + endUserInfo: + - city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + 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 - city: city + - city: city companyName: companyName postalCode: postalCode - phoneNumber: 2.3021358869347655 + 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: 5.637376656633329 - warrantyInfo: - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - hardwareLineLink: hardwareLineLink - directLineLink: directLineLink - warrantyLineLink: warrantyLineLink - serialInfo: - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - - dateofPurchase: 2000-01-23 - primarySerialNumber: primarySerialNumber - secondarySerialNumber: secondarySerialNumber - shipDate: 2000-01-23 - customerLineNumber: customerLineNumber + endCustomerOrderNumber: endCustomerOrderNumber + customerOrderNumber: customerOrderNumber + products: + - ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + manufacturerPartNumber: manufacturerPartNumber + isConsolidated: isConsolidated + quantity: quantity + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + productDescription: productDescription + - ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + manufacturerPartNumber: manufacturerPartNumber + isConsolidated: isConsolidated + quantity: quantity + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + productDescription: productDescription + ingramOrderNumber: ingramOrderNumber + endUser: endUser + ingramPurchaseOrderNumber: ingramPurchaseOrderNumber + referenceNumber: + - notificationId: notificationId + quoteNumber: quoteNumber + - notificationId: notificationId + quoteNumber: quoteNumber + vendor: vendor + renewalValue: 0.8008281904610115 + ingramOrderDate: 2000-01-23 + expirationDate: 2000-01-23 + status: status additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName + - isConsolidated: isConsolidated + attributeValue: attributeValue + attributeDescription: attributeDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 + - isConsolidated: isConsolidated + attributeValue: attributeValue + attributeDescription: attributeDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 properties: - customerLineNumber: - description: "The reseller's line item number for reference in their system.\ - \ The customer line number needs to be a unique numeric value between\ - \ 1 and 884. In the event we receive duplicate values or alphanumeric\ - \ values in the customer line number, we will re-sequence the customer\ - \ line number. To prevent re-sequencing, please use a unique numeric value\ - \ between 1 and 884 in the customer line number." - maxLength: 3 + renewalId: + description: Unique Ingram renewal ID. type: string - ingramPartNumber: - description: The unique IngramMicro part number. - maxLength: 18 + ingramOrderNumber: + description: The IngramMicro sales order number. type: string - quantity: - description: The requested quantity of the line item. + ingramOrderDate: + description: The IngramMicro sales order date. + format: date + type: string + expirationDate: + description: Renewal expiration date. + format: date + type: string + ingramPurchaseOrderNumber: + description: Ingram purchase order number. + type: string + customerOrderNumber: + description: The reseller's order number for reference in their system. + type: string + endCustomerOrderNumber: + description: The end customer's order number for reference in their system. + type: string + renewalValue: + description: The value of the renewal. + format: decimal + type: number + endUser: + description: The company name for the end user/customer. + type: string + vendor: + description: The name of the vendor. + type: string + status: + description: The status of the renewal. + type: string + endUserInfo: + items: + $ref: '#/components/schemas/renewalsDetailsResponse_endUserInfo_inner' + type: array + referenceNumber: + items: + $ref: '#/components/schemas/renewalsDetailsResponse_referenceNumber_inner' + type: array + products: + items: + $ref: '#/components/schemas/renewalsDetailsResponse_products_inner' + type: array + additionalAttributes: + items: + $ref: '#/components/schemas/renewalsDetailsResponse_additionalAttributes_inner' + type: array + type: object + dealsSearchResponse: + example: + pageNumber: 1 + previousPage: previousPage + nextPage: nextPage + deals: + - endUser: endUser + dealId: dealId + vendor: vendor + links: + topic: topic + href: href + type: type + version: version + dealExpiryDate: dealExpiryDate + - endUser: endUser + dealId: dealId + vendor: vendor + links: + topic: topic + href: href + type: type + version: version + dealExpiryDate: dealExpiryDate + pageSize: 6 + recordsFound: 0 + properties: + recordsFound: + description: Number of records found. type: integer - specialBidNumber: - description: The line-level bid number provided to the reseller by the vendor - for special pricing and discounts. Used to track the bid number in the - case of split orders or where different line items have different bid - numbers. Line-level bid number take precedence over header-level bid numbers. - maxLength: 36 + pageSize: + description: Number of records in a page. + type: integer + pageNumber: + description: Number of page. + type: integer + deals: + items: + $ref: '#/components/schemas/dealsSearchResponse_deals_inner' + type: array + nextPage: + description: URL for the next page. + type: string + previousPage: + description: URL for the previous page. + type: string + type: object + dealsDetailsResponse: + example: + endUser: endUser + priceProtectionEndDate: 2000-01-23 + endUserInfo: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + dealId: dealId + vendor: vendor + dealReceivedOn: 2000-01-23 + version: version + extendedMsrp: 0.8008281904610115 + currencyCode: currencyCode + dealExpiryDate: 2000-01-23 + products: + - ingramPartNumber: ingramPartNumber + remainingQuantity: 2 + daysRemaining: 7 + comments: comments + specialConditions: specialConditions + upc: upc + standardPrice: 5.962133916683182 + approvedQuantity: 5 + msrp: 6.027456183070403 + vendorPartNumber: vendorPartNumber + extendedMSRP: 1.4658129805029452 + productDescription: productDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 + - ingramPartNumber: ingramPartNumber + remainingQuantity: 2 + daysRemaining: 7 + comments: comments + specialConditions: specialConditions + upc: upc + standardPrice: 5.962133916683182 + approvedQuantity: 5 + msrp: 6.027456183070403 + vendorPartNumber: vendorPartNumber + extendedMSRP: 1.4658129805029452 + productDescription: productDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 + properties: + dealId: + description: Deal/Special bid number. type: string - notes: - description: Line-level notes. + version: + description: Most recent version number of the deal. type: string - unitPrice: - description: The reseller-requested unit price for the line item. The unit - price is not guaranteed. - format: decimal - type: number - endUserPrice: - description: The end user price. + endUser: + description: The end user/customer's name. + type: string + extendedMsrp: + description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity. format: decimal type: number - additionalAttributes: - items: - $ref: '#/components/schemas/OrderCreateRequest_lines_inner_additionalAttributes_inner' - type: array - warrantyInfo: - description: Warranty details for the line. This is required in case of - warranty orders. - items: - $ref: '#/components/schemas/OrderCreateRequest_lines_inner_warrantyInfo_inner' - type: array - endUserInfo: - items: - $ref: '#/components/schemas/OrderCreateRequest_lines_inner_endUserInfo_inner' - type: array - type: object - OrderCreateRequest_shipmentDetails: - description: Shipping details for the order provided by the customer. - example: - shipComplete: shipComplete - freightAccountNumber: freightAccountNumber - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: true - requestedDeliveryDate: 2000-01-23 - properties: - carrierCode: - description: The code for the shipping carrier for the line item. - maxLength: 10 + vendor: + description: The vendor's name. 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. + dealReceivedOn: + description: The date on which the deal starts. + format: date 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.\ - \ \n\n With value as true or C, backorderflag will be set as C. \n\n With\ - \ value as P, or E, backorderflag will be set as P or E respectively.\ - \ \n\n C = Ship complete at distribution level. \n\n P = ship complete\ - \ at line level. \n\n E = ship complete across all distributions. " - maxLength: 1 + dealExpiryDate: + description: Expiration date of the deal/Special bid. + format: date type: string - requestedDeliveryDate: - description: The reseller-requested delivery date in UTC format. Delivery - date is not guaranteed. + priceProtectionEndDate: + description: The date on which the price protection will end. format: date type: string - signatureRequired: - description: Specifies whether a signature is required for delivery. Default - is False. - type: boolean - shippingInstructions: - maxLength: 132 + currencyCode: + description: Country specific currency code. type: string + endUserInfo: + $ref: '#/components/schemas/renewalsDetailsResponse_endUserInfo_inner' + products: + items: + $ref: '#/components/schemas/dealsDetailsResponse_products_inner' + type: array type: object - OrderCreateRequest_additionalAttributes_inner: + returnsSearchResponse: example: - attributeValue: attributeValue - attributeName: attributeName + pageNumber: 1 + previousPage: previousPage + returnsClaims: + - modifiedOn: modifiedOn + estimatedTotalValue: 5.962133916683182 + referenceNumber: referenceNumber + returnReason: returnReason + returnClaimId: returnClaimId + caseRequestNumber: caseRequestNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + type: type + credit: 5.637376656633329 + createdOn: createdOn + status: status + - modifiedOn: modifiedOn + estimatedTotalValue: 5.962133916683182 + referenceNumber: referenceNumber + returnReason: returnReason + returnClaimId: returnClaimId + caseRequestNumber: caseRequestNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + type: type + credit: 5.637376656633329 + createdOn: createdOn + status: status + nextPage: nextPage + pageSize: 6 + recordsFound: 0 properties: - attributeName: - description: "allowPartialOrder: Allow orders with failed lines. (SAP) Depends\ - \ on backorder settings. \n\n\nDpasRating: DX rating by Department of\ - \ Defense is the highest rating by the highest offices and meant to be\ - \ top priority. DO any other gov offices at the federal level to priotize.\ - \ \n\n DpasProgramId: Identifies the actual agency that signed off on\ - \ the DPAS priority. \n\n allowDuplicateCustomerOrderNumber: Allow orders\ - \ with duplicate customer PO numbers. Enables resellers to have the same\ - \ PO number for multiple orders. \n \n channelCode: Determine storage\ - \ location for Markeplace(SAP) for different orderTypes.\n \n customerPOType:\ - \ Used for pricing, similar to orderType. Possible SAP values- ZXML and\ - \ ZWEB.\n \n storageLocation: Determine the location of the product stock\ - \ in SAP for Marketplaces.\n \n soldTo: To be used in cases when Sold-To\ - \ is different than Customer ID.\n \n orderType: Order Type[SAP]- ZOR\ - \ and ZLCN.\n \n endUserSearchTerm: Search ID for a end user contact is\ - \ used in SAP to determine the contact name.\n \n Z101: Used for end customer\ - \ details such as name, address, phone, etc. This information flows to\ - \ SAP and is used by warehouse.\n \n euDepId: DEP ID would be the 'End\ - \ User DEP/ABM Organization ID' up to 32 characters and is assigned by\ - \ Apple.\n \n depOrderNbr: depordernbr is 'End User PO to reseller' Can\ - \ appear in message lines or dedicated end user po#.\n \n govtProgramType:\ - \ Program type, “PA” for government orders, “ED” for education order.\n\ - \ \n govtEndUserType: Type of end user of the program. F = Federal, S\ - \ = State, E = Local, K = K-12 school, and H = Higher Education\n \n govtSolicitationNumber:\ - \ Education order’s contract number\n \n govtPublicPrivateCode: Determines\ - \ TAX / NO TAX. 'P' PUBLIC SECTOR, 'R' PRIVATE SECTOR. Value needs\ - \ only to be provided for EDUCATION order.\n \n govtEndUserData: Name\ - \ of the End user of the program. For example, STATE OF OHIO, CHICAGO\ - \ SCHOOLDISTRICT etc.\n \n govtEndUserPostalCode: 9 CHAR FIELD / Zip Code\ - \ of the End user of the order.\n \n dynamicMessageLine1: Custom Dynamic\ - \ Message line 1.\n \n allowOrderOnCustomerHold: Boolean value flag which\ - \ allows a customer to create an order with the hold status." + recordsFound: + description: Number of records found. + type: integer + pageSize: + description: Number of records in a page. + type: integer + pageNumber: + description: Number of page. + type: integer + returnsClaims: + items: + $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner' + type: array + nextPage: + description: URL for the next page. type: string - attributeValue: - description: attributefield data + previousPage: + description: URL for the previous page. type: string type: object - OrderCreateResponse_shipToInfo: - description: The shipping information provided by the reseller. + returnsDetailsResponse: example: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email - properties: - addressId: - description: The ID references the resellers address in Ingram Micro's system - for shipping. Provided to resellers during the onboarding process. - type: string - contact: - 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 - name1: - description: name1 - type: string - name2: - description: name2 - type: string - addressLine1: - description: The street address and building or house number the order will - be shipped to. - type: string - addressLine2: - description: The apartment number the order will be shipped to. - type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. + returnWarehouseAddress: returnWarehouseAddress + tax: 7.061401241503109 + subTotal: 2.3021358869347655 + createdOn: 2000-01-23 + rmaClaimId: rmaClaimId + products: + - ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + quantity: 0.8008281904610115 + requestDetails: requestDetails + description: description + upc: upc + ingramLineNumber: ingramLineNumber + invoiceDate: 2000-01-23 + customerOrderNumber: customerOrderNumber + extendedPrice: 1.4658129805029452 + invoiceNumber: invoiceNumber + returnBranch: 5 + vendorPartNumber: vendorPartNumber + shipFromBranch: 5 + status: status + - ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + quantity: 0.8008281904610115 + requestDetails: requestDetails + description: description + upc: upc + ingramLineNumber: ingramLineNumber + invoiceDate: 2000-01-23 + customerOrderNumber: customerOrderNumber + extendedPrice: 1.4658129805029452 + invoiceNumber: invoiceNumber + returnBranch: 5 + vendorPartNumber: vendorPartNumber + shipFromBranch: 5 + status: status + typeOfDetails: typeOfDetails + referenceNumber: referenceNumber + returnReason: returnReason + caseRequestNumber: caseRequestNumber + estimatedTotal: 3.616076749251911 + status: status + additionalFees: 9.301444243932576 + properties: + typeOfDetails: + description: The type of the details. Return or Claim. type: string - addressLine4: - description: Street address4 + rmaClaimId: + description: The rmaClaimId claim id. type: string - city: - description: The city the order will be shipped to. + caseRequestNumber: + description: A unique return request number. type: string - state: - description: The state the order will be shipped to. + createdOn: + description: The date on which the return request was created. + format: date type: string - postalCode: - description: The zip or postal code the order will be shipped to. + returnReason: + description: The reason for the return. type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. + referenceNumber: + description: The reference number for the return. type: string - phoneNumber: - description: The company contact phone number. + status: + description: The status of the request. type: string - email: - description: The company contact email address. + returnWarehouseAddress: + description: The address of the return warehouse. type: string + products: + items: + $ref: '#/components/schemas/returnsDetailsResponse_products_inner' + type: array + subTotal: + description: Sub total amount of the return request. + format: decimal + type: number + tax: + description: The tax amount of the return request. + format: decimal + type: number + additionalFees: + description: The additional fees for the return request. + format: decimal + type: number + estimatedTotal: + description: The total estimated amount for the return request. + format: decimal + type: number type: object - OrderCreateResponse_endUserInfo: - description: The contact information for the end user/customer provided by the - reseller. Used to determine pricing and discounts. + returnsCreateRequest: + properties: + list: + items: + $ref: '#/components/schemas/returnsCreateRequest_list_inner' + type: array + type: object + returnsCreateResponse: example: - endUserId: endUserId - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 - email: email + returnsClaims: + - ingramPartNumber: ingramPartNumber + quantity: 0 + notes: notes + estimatedTotalValue: 6.027456183070403 + type: type + createdOn: 2000-01-23 + rmaClaimId: rmaClaimId + referenceNumber: referenceNumber + returnReason: returnReason + caseRequestNumber: caseRequestNumber + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + credit: 1.4658129805029452 + status: status + - ingramPartNumber: ingramPartNumber + quantity: 0 + notes: notes + estimatedTotalValue: 6.027456183070403 + type: type + createdOn: 2000-01-23 + rmaClaimId: rmaClaimId + referenceNumber: referenceNumber + returnReason: returnReason + caseRequestNumber: caseRequestNumber + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + credit: 1.4658129805029452 + status: status properties: - endUserId: - description: The unique ID provided by the reseller for the end user/customer. - type: string - contact: - description: The contact name for the end user/customer. - type: string - companyName: - description: The company name for the end user/customer. - type: string - name1: - description: name1 - type: string - name2: - description: name2 - type: string - addressLine1: - description: The street adress and building or house number for the end - user/customer. - type: string - addressLine2: - description: The apartment number for the end user/customer. - type: string - addressLine3: - description: Line 3 of the address for the end user/customer. - type: string - addressLine4: - description: Street address4 - 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 - countryCode: - description: The end user/customer's two-character ISO country code. - type: string - phoneNumber: - description: The end user/customer's phone number. + returnsClaims: + items: + $ref: '#/components/schemas/returnsCreateResponse_returnsClaims_inner' + type: array + type: object + freightRequest: + properties: + 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. type: string - email: - description: The end user/customer's email. + shipToAddressId: + description: The ID references the reseller's address in Ingram Micro's + system for shipping. Provided to resellers during the onboarding process. type: string + shipToAddress: + description: The shipping information. + items: + $ref: '#/components/schemas/freightRequest_shipToAddress_inner' + type: array + lines: + items: + $ref: '#/components/schemas/freightRequest_lines_inner' + type: array type: object - OrderCreateResponse_orders_inner_lines_inner_shipmentDetails_inner: + freightResponse: example: - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation + freightEstimateResponse: + totalFees: 1.4658129805029452 + totalNetAmount: 5.962133916683182 + totalFreightAmount: 0.8008281904610115 + grossAmount: 5.637376656633329 + totalTaxAmount: 6.027456183070403 + distribution: + - carrierList: + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + freightRate: 2.3021358869347655 + shipVia: shipVia + carrierCode: carrierCode + totalWeight: 7.061401241503109 + shipFromBranchNumber: shipFromBranchNumber + transitDays: 9 + - carrierList: + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + freightRate: 2.3021358869347655 + shipVia: shipVia + carrierCode: carrierCode + totalWeight: 7.061401241503109 + shipFromBranchNumber: shipFromBranchNumber + transitDays: 9 + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 7.386281948385884 + quantity: 4 + warehouseId: warehouseId + netAmount: 1.2315135367772556 + vendorPartNumber: vendorPartNumber + - ingramPartNumber: ingramPartNumber + unitPrice: 7.386281948385884 + quantity: 4 + warehouseId: warehouseId + netAmount: 1.2315135367772556 + vendorPartNumber: vendorPartNumber + currencyCode: currencyCode properties: - carrierCode: - description: The code for the shipping carrier for the line item. - type: string - carrierName: - description: The name of the shipping carrier for the line item. - type: string - shipFromWarehouseId: - description: The ID of the warehouse the line item will ship from. - type: string - shipFromLocation: - description: Location from which order is shipped. - 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: string - shippingInstructions: - description: The shipping instructions for the order. - type: string + freightEstimateResponse: + $ref: '#/components/schemas/freightResponse_freightEstimateResponse' type: object - OrderCreateResponse_orders_inner_lines_inner_additionalAttributes_inner: + QuoteSearchResponse: example: - attributeValue: attributeValue - attributeName: attributeName + pageNumber: 1 + pageSize: 6 + recordsFound: 0 + quotes: + - specialBidNumber: specialBidNumber + lastModifiedDate: lastModifiedDate + createdBy: createdBy + vendor: vendor + ingramQuoteExpiryDate: ingramQuoteExpiryDate + quoteTotal: 5.962133916683182 + quoteNumber: quoteNumber + endUserContact: endUserContact + quoteStatus: quoteStatus + quoteName: quoteName + revision: revision + ingramQuoteDate: ingramQuoteDate + - specialBidNumber: specialBidNumber + lastModifiedDate: lastModifiedDate + createdBy: createdBy + vendor: vendor + ingramQuoteExpiryDate: ingramQuoteExpiryDate + quoteTotal: 5.962133916683182 + quoteNumber: quoteNumber + endUserContact: endUserContact + quoteStatus: quoteStatus + quoteName: quoteName + revision: revision + ingramQuoteDate: ingramQuoteDate properties: - attributeName: - type: string - attributeValue: - type: string + recordsFound: + description: Total count of quotes retrieved in the request response. + type: integer + pageSize: + description: Number of records (quotes) displayed per page in the quote + list. + type: integer + pageNumber: + description: Page index or page number for the list of quotes being returned. + type: integer + quotes: + description: The quote details for the requested criteria. + items: + $ref: '#/components/schemas/QuoteSearchResponse_quotes_inner' + type: array type: object - OrderCreateResponse_orders_inner_lines_inner: + QuoteDetailsResponse: example: - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber + quantityTotal: 2 + leaseInfo: leaseInfo + products: + - ingramPartNumber: ingramPartNumber + CoO: CoO + vpnCategory: vpnCategory + quantity: 0 + notes: notes + description: description + weight: 6 + vendorName: vendorName + EAN: EAN + terms: terms + price: + quotePrice: 1 + msrp: 5 + extendedQuotePrice: 2 + extendedMsrp: 5 + discountOffList: 7.061401241503109 + quoteProductGuid: quoteProductGuid + vendorPartNumber: vendorPartNumber + lineNumber: lineNumber + weightUom: weightUom + quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId + isSuggestionProduct: true + - ingramPartNumber: ingramPartNumber + CoO: CoO + vpnCategory: vpnCategory + quantity: 0 + notes: notes + description: description + weight: 6 + vendorName: vendorName + EAN: EAN + terms: terms + price: + quotePrice: 1 + msrp: 5 + extendedQuotePrice: 2 + extendedMsrp: 5 + discountOffList: 7.061401241503109 + quoteProductGuid: quoteProductGuid + vendorPartNumber: vendorPartNumber + lineNumber: lineNumber + weightUom: weightUom + quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId + isSuggestionProduct: true + leasingInstructions: leasingInstructions + productsCount: 9 + specialBidEffectiveDate: specialBidEffectiveDate + endUserInfo: + phoneNumber: phoneNumber + city: city + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + marketSegment: marketSegment + introPreamble: introPreamble + extendedMsrpTotal: 3 + lastModifiedDate: lastModifiedDate + legalTerms: legalTerms + specialBidExpirationDate: specialBidExpirationDate + quoteNumber: quoteNumber + revision: revision + extendedQuotePriceTotal: 4 + customerNeed: customerNeed + resellerInfo: + phoneNumber: phoneNumber + contact: contact + companyName: companyName + customerNumber: customerNumber + email: email + ingramQuoteExpiryDate: ingramQuoteExpiryDate + purchaseInstructions: purchaseInstructions + proposedSolution: proposedSolution + currencyCode: currencyCode + specialBidId: specialBidId + quoteName: quoteName + ingramQuoteDate: ingramQuoteDate + status: status additionalAttributes: - attributeValue: attributeValue attributeName: attributeName - attributeValue: attributeValue attributeName: attributeName properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. - type: string - ingramLineNumber: - description: The Ingram Micro line number for the product. - type: string - customerLineNumber: - description: The reseller's line number for reference in their system. - type: string - lineStatus: - description: "The status for the line item in the order. One of: Backordered,\ - \ Open" - type: string - ingramPartNumber: - description: The Ingram Micro part number for the line item. + quoteName: + description: Quote Name given to quote by sales team or system generated. Generally + used as a reference to identify the quote. type: string - vendorPartNumber: - description: The vendor part number for the line item. + quoteNumber: + description: "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." type: string - unitPrice: - description: The unit price for the line item. - format: decimal - type: number - extendedUnitPrice: - description: The extended list price (unit price X quantity) for the line - item. - format: decimal - type: number - quantityOrdered: - description: The quantity of the line item ordered. - type: integer - quantityConfirmed: - description: The quantity of the line item that has been confirmed. - type: integer - quantityBackOrdered: - description: The quantity of the line item that is backordered. - type: integer - specialBidNumber: - description: The bid number for the line item provided to the reseller by - the vendor for special pricing and discounts. Line-level bid numbers take - precedence over header-level bid numbers. + 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\ + \ number is updated for each revision of the quote. The revision numbers\ + \ is associated with the Unique Quote Number." type: string - notes: - description: Line-level notes. + ingramQuoteDate: + description: Date the Quote was initially Created. type: string - shipmentDetails: - description: The shipment details for the line item. - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner_shipmentDetails_inner' - type: array - additionalAttributes: - description: SAP requested and country-specific line level details. - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner_additionalAttributes_inner' - type: array - type: object - OrderCreateResponse_orders_inner_miscellaneousCharges_inner: - example: - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + lastModifiedDate: + description: Date the Quote was last updated or modified. type: string - chargeLineReference: - description: Impulse line number for the miscellaneous charge. + ingramQuoteExpiryDate: + description: Quote expiration date. type: string - chargeDescription: - description: Description of the miscellaneous charges for the order. + currencyCode: + description: Three letter currency code. type: string - chargeAmount: - description: The total amount of miscellaneous charges for the order. - format: decimal - type: number - type: object - OrderCreateResponse_orders_inner_links_inner: - example: - topic: topic - href: href - type: type - properties: - topic: - description: Provides the details of the orders. + specialBidId: + description: 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 type: string - href: - description: The URL endpoint for accessing the relevant data. + specialBidEffectiveDate: + description: If price discount has been applied to the quote - the starting + date the discount begins. type: string - type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.)." + specialBidExpirationDate: + description: If a price discount has been applied to the quote - The date + the discount expires and will no longer be applicable. type: string - type: object - OrderCreateResponse_orders_inner_rejectedLineItems_inner: - example: - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - properties: - customerLinenumber: - description: The reseller's line item number of the rejected item for their - reference. Number + status: + description: This refers to the primary status of the quote. API responses + will return type: string - ingramPartNumber: - description: The Ingram Micro part number for the rejected line item. + customerNeed: + description: Details related to the customer's request for the quote entered + by the sales representative or system generated. type: string - vendorPartNumber: - description: The vendor part number for the rejected line item. + proposedSolution: + description: Ingram Micro proposed solution and summary of quote. type: string - quantityOrdered: - description: The quantity ordered of the rejected line item. - type: integer - rejectCode: - description: "The rejection code for the rejected line item. Ex: 'EN' " + introPreamble: + description: Introductory paragraph included in each quote. Legally required + - must be included when presenting the quote details. type: string - rejectReason: - description: "The rejection reason for the rejected line item. Ex: 'SKU-NOTFOUND\ - \ DF41281' " + purchaseInstructions: + description: Purchase instructions. Legally required - must be included + when presenting the quote details. type: string - type: object - OrderCreateResponse_orders_inner_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: " allowPartialOrder: Allow orders with failed lines. (SAP)\ - \ Depends on backorder settings.\n\n\ndpasRating: DX rating by Department\ - \ of Defense is the highest rating by the highest offices and meant to\ - \ be top priority. DO any other gov offices at the federal level to priotize.\n\ - \n\ndpasProgramId: Identifies the actual agency that signed off on the\ - \ DPAS priority. \n\nstorageLocation: Determine the location of the product\ - \ stock in SAP for Marketplaces.\n\nsoldTo: To be used in cases when Sold-To\ - \ is different than Customer ID.\n\nZ101: Used for end customer details\ - \ such as name, address, phone, etc. This information flows to SAP and\ - \ is used by warehouse.\n\neuDepId: DEP ID would be the 'End User DEP/ABM\ - \ Organization ID' up to 32 characters and is assigned by Apple.\n\ndepOrderNbr:\ - \ depordernbr is 'End User PO to reseller' Can appear in message lines\ - \ or dedicated end user po#.\n " + legalTerms: + description: Legal terms - Legally required - must be included when presenting + the quote details. type: string - attributeValue: - description: Attribute value + leaseInfo: + description: Lease information. type: string - type: object - OrderCreateResponse_orders_inner: - example: - orderType: orderType - rejectedLineItems: - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - vendorPartNumber: vendorPartNumber - quantityOrdered: 1 - customerLinenumber: customerLinenumber - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.2315135367772556 - chargeDescription: chargeDescription - notes: notes - numberOfLinesWithSuccess: 6 - numberOfLinesWithError: 1 - orderTotal: 5.637376656633329 - ingramOrderNumber: ingramOrderNumber - totalTax: 7.061401241503109 - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - numberOfLinesWithWarning: 5 - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - ingramPartNumber: ingramPartNumber - unitPrice: 9.301444243932576 - notes: notes - extendedUnitPrice: 3.616076749251911 - ingramLineNumber: ingramLineNumber - quantityOrdered: 2 - customerLineNumber: customerLineNumber - lineStatus: lineStatus - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - - freightAccountNumber: freightAccountNumber - carrierName: carrierName - shippingInstructions: shippingInstructions - carrierCode: carrierCode - signatureRequired: signatureRequired - shipFromWarehouseId: shipFromWarehouseId - shipFromLocation: shipFromLocation - subOrderNumber: subOrderNumber - quantityConfirmed: 4 - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - currencyCode: currencyCode - freightCharges: 2.3021358869347655 - ingramOrderDate: ingramOrderDate - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - numberOfLinesWithSuccess: - description: The number of lines in the order that were successful. + leasingInstructions: + description: Leasing information + type: string + resellerInfo: + $ref: '#/components/schemas/QuoteDetailsResponse_resellerInfo' + endUserInfo: + $ref: '#/components/schemas/QuoteDetailsResponse_endUserInfo' + products: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner' + type: array + productsCount: + description: Total number of products included in the quote type: integer - numberOfLinesWithError: - description: The number of lines in the order that have errors. + extendedMsrpTotal: + description: Total extended MSRP for all products included in the quote type: integer - numberOfLinesWithWarning: - description: The number of lines in the order that have a warning. + quantityTotal: + description: Total quantity of all items in the quote. type: integer - ingramOrderNumber: - description: The Ingram Micro order number. + extendedQuotePriceTotal: + description: Total amount of quoted price for all products in the quote + including both solution products and suggested products. + type: integer + additionalAttributes: + items: + $ref: '#/components/schemas/QuoteDetailsResponse_additionalAttributes_inner' + type: array + type: object + AvailabilityAsyncNotificationRequest: + example: + eventId: eventId + resource: + - ingramPartNumber: ingramPartNumber + totalAvailability: totalAvailability + backOrderFlag: backOrderFlag + skuStatus: skuStatus + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + vendorName: vendorName + upcCode: upcCode + - ingramPartNumber: ingramPartNumber + totalAvailability: totalAvailability + backOrderFlag: backOrderFlag + skuStatus: skuStatus + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + vendorName: vendorName + upcCode: upcCode + topic: topic + event: event + eventTimeStamp: eventTimeStamp + properties: + topic: + description: "Field for identifying whether it is a reseller or vendor event.\ + \ For eg, resellers/orders" type: string - ingramOrderDate: - description: The date in UTC format that the order was created in Ingram - Micro's system. + event: + description: "The event sent in the request. For eg, im::create." + type: string + eventTimeStamp: + description: The timestamp at which the event was sent. + type: string + eventId: + description: A unique id used as identifier for the sepcific event and used + for generating the x-hub signature. + type: string + resource: + items: + $ref: '#/components/schemas/AvailabilityAsyncNotificationRequest_resource_inner' + type: array + required: + - customerOrderNumber + type: object + OrderStatusAsyncNotificationRequest: + example: + eventId: eventId + resource: + - orderNumber: orderNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + lines: + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + customerOrderNumber: customerOrderNumber + orderEntryTimeStamp: orderEntryTimeStamp + - orderNumber: orderNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + lines: + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + customerOrderNumber: customerOrderNumber + orderEntryTimeStamp: orderEntryTimeStamp + topic: topic + event: event + eventTimeStamp: eventTimeStamp + properties: + topic: + description: "Field for identifying whether it is a reseller or vendor event.\ + \ For eg, resellers/orders" type: string - notes: - description: Order-level notes. + event: + description: "The event sent in the request. For eg, im::create." type: string - orderType: - description: "The order typer. One of: S=Stocked PO D=Direct Ship PO" + eventTimeStamp: + description: The timestamp at which the event was sent. type: string - orderTotal: - description: The total price for the order. - format: decimal - type: number - freightCharges: - description: The total freight charges for the order. - format: decimal - type: number - totalTax: - description: The total tax for the order. - format: decimal - type: number - currencyCode: - description: The country-specific three character ISO 4217 currency code - used for the order. + eventId: + description: A unique id used as identifier for the sepcific event and used + for generating the x-hub signature. type: string - lines: - description: The line-level details for the order. - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner' - type: array - miscellaneousCharges: - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_miscellaneousCharges_inner' - type: array - links: - description: Link to Order Details for the order(s). - items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_links_inner' - type: array - rejectedLineItems: - description: A list of rejected line items. + resource: items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_rejectedLineItems_inner' + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner' type: array - additionalAttributes: + required: + - customerOrderNumber + type: object + InvoiceSearchResponse: + example: + pageNumber: 1 + invoices: + - orderCreateDate: orderCreateDate + paymentTermsDueDate: paymentTermsDueDate + invoicedAmountDue: invoicedAmountDue + endCustomerOrderNumber: endCustomerOrderNumber + invoiceAmountInclTax: invoiceAmountInclTax + invoiceNumber: invoiceNumber + erpOrderNumber: erpOrderNumber + invoiceStatus: invoiceStatus + invoiceDate: invoiceDate + customerOrderNumber: customerOrderNumber + invoiceDueDate: invoiceDueDate + - orderCreateDate: orderCreateDate + paymentTermsDueDate: paymentTermsDueDate + invoicedAmountDue: invoicedAmountDue + endCustomerOrderNumber: endCustomerOrderNumber + invoiceAmountInclTax: invoiceAmountInclTax + invoiceNumber: invoiceNumber + erpOrderNumber: erpOrderNumber + invoiceStatus: invoiceStatus + invoiceDate: invoiceDate + customerOrderNumber: customerOrderNumber + invoiceDueDate: invoiceDueDate + nextPage: nextPage + pageSize: 6 + recordsFound: 0 + properties: + recordsFound: + description: Total count of quotes retrieved in the request response. + type: integer + pageSize: + description: Number of records (quotes) displayed per page in the quote + list. + type: integer + pageNumber: + description: Page index or page number for the list of quotes being returned. + type: integer + invoices: + description: The Invoices details for the requested criteria. items: - $ref: '#/components/schemas/OrderCreateResponse_orders_inner_additionalAttributes_inner' + $ref: '#/components/schemas/InvoiceSearchResponse_invoices_inner' type: array + nextPage: + description: Next page of the pagination. + type: string type: object - OrderModifyRequest_shipToInfo: - description: The shipping information provided by the reseller. + InvoiceDetailResponse: example: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email + serviceresponse: + invoicedetailresponse: + creditmemoreasoncode: creditmemoreasoncode + paymentterms: paymentterms + soldto: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + orderstatus: orderstatus + totalotherfees: 6.027456183070403 + shippableswitch: shippableswitch + currencyrate: currencyrate + invoicetype: invoicetype + orderdate: 2000-01-23 + currencycode: currencycode + globalorderid: globalorderid + totalsales: totalsales + extendedspecs: + - attributevalue: attributevalue + attributename: attributename + - attributevalue: attributevalue + attributename: attributename + taxtype: taxtype + totaltaxamount: totaltaxamount + discountamount: 0.8008281904610115 + originalshipcode: originalshipcode + customerordernumber: customerordernumber + lines: + - linenumber: linenumber + vendorpartnumber: vendorpartnumber + backorderquantity: backorderquantity + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber + ordersuffix: ordersuffix + unitprice: unitprice + productextendedspecs: + - attributevalue: attributevalue + attributename: attributename + - attributevalue: attributevalue + attributename: attributename + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice + serialnumberdetails: + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription + partnumber: partnumber + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure + - linenumber: linenumber + vendorpartnumber: vendorpartnumber + backorderquantity: backorderquantity + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber + ordersuffix: ordersuffix + unitprice: unitprice + productextendedspecs: + - attributevalue: attributevalue + attributename: attributename + - attributevalue: attributevalue + attributename: attributename + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice + serialnumberdetails: + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription + partnumber: partnumber + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure + invoicenumber: invoicenumber + shipdate: 2000-01-23 + customernumber: customernumber + freightamount: freightamount + miscfeeline: + - code: code + description: description + chargeamount: chargeamount + - code: code + description: description + chargeamount: chargeamount + carrierdescription: carrierdescription + weight: weight + freightforwardercode: freightforwardercode + shoptoaddress: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + customerfreightamount: customerfreightamount + companycurrency: companycurrency + billtosuffix: billtosuffix + carrier: carrier + enduserponumber: enduserponumber + totalamount: totalamount + holdreason: holdreason + shiptosuffix: shiptosuffix + fulfillmentflag: fulfillmentflag + billto: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + invoicedate: 2000-01-23 + shipcomplete: shipcomplete + customerforeignfrightamt: customerforeignfrightamt + ordertype: ordertype + responsepreamble: + statuscode: statuscode + responsemessage: responsemessage + responsestatus: responsestatus properties: - addressId: - 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. - maxLength: 10 - type: string - contact: - description: The company contact provided by the reseller. - maxLength: 40 - type: string - companyName: - description: The name of the company the order will be shipped to. - maxLength: 40 - type: string - name1: - description: name1. - maxLength: 40 - type: string - name2: - description: name2. - maxLength: 40 - type: string - addressLine1: - description: The street address and building or house number the order will - be shipped to. - maxLength: 60 - type: string - addressLine2: - description: The apartment number the order will be shipped to. - maxLength: 40 - type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. - maxLength: 40 - type: string - city: - description: The city the order will be shipped to. - maxLength: 25 - type: string - state: - description: The state the order will be shipped to. - maxLength: 3 - type: string - postalCode: - description: The zip or postal code the order will be shipped to. - maxLength: 10 - type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. - maxLength: 3 - type: string - phoneNumber: - description: The company contact phone number. - maxLength: 30 - type: string - email: - description: The company contact email address. - maxLength: 241 - type: string + serviceresponse: + $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse' + title: invoiceDetails.Response type: object - OrderModifyRequest_lines_inner: + x-tags: + - invoices + InvoiceDetailsv6.1Response: example: - ingramPartNumber: ingramPartNumber - quantity: 0 + summary: + miscCharges: + - chargeLineReference: chargeLineReference + isNonMisc: isNonMisc + miscChargeLineTotal: 1.2315135367772556 + miscChargeLineCount: 7 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + isNonMisc: isNonMisc + miscChargeLineTotal: 1.2315135367772556 + miscChargeLineCount: 7 + chargeDescription: chargeDescription + totals: + netInvoiceAmount: 1.0246457001441578 + freightAmount: 1.1730742509559433 + invoicedAmountDue: 7.457744773683766 + discountAmount: 1.4894159098541704 + discountType: discountType + totalTaxAmount: 6.84685269835264 + foreignFxTotals: + foreignCurrencyCode: foreignCurrencyCode + foreignCurrencyFxRate: 4.965218492984954 + foreignTotalTaxAmount: 5.025004791520295 + foreignInvoiceAmountDue: foreignInvoiceAmountDue + foreignTotalTaxableAmount: foreignTotalTaxableAmount + lines: + productLineCount: 2 + productLineTotalQuantity: 4 notes: notes - addUpdateDeleteLine: UPDATE - ingramLineNumber: ingramLineNumber - customerLineNumber: customerLineNumber - properties: - ingramPartNumber: - description: The unique IngramMicro part number. - maxLength: 18 - type: string - ingramLineNumber: - description: The IngramMicro line number. - maxLength: 6 - type: string - customerLineNumber: - description: The reseller's line number for reference in their system. - maxLength: 6 - type: string - addUpdateDeleteLine: - description: "The line number that was added, updated, or deleted." - enum: - - UPDATE - - DELETE - - ADD - type: string - quantity: - description: The quantity of the line item. - type: integer - notes: - description: The line-level notes. - maxLength: 132 - type: string - type: object - OrderModifyRequest_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: "Example values are 'entryMethod', 'enableCommentsAsLines',\ - \ 'regionCode'" - type: string - attributeValue: - description: Attribute Value - type: string - type: object - OrderModifyResponse_shipToInfo: - description: The shipping information for the order provided by the reseller. - example: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - addressId: addressId + endCustomerOrderNumber: endCustomerOrderNumber + invoiceDate: 2000-01-23 + customerNumber: customerNumber + customerOrderNumber: customerOrderNumber + invoiceDueDate: invoiceDueDate + OrderDate: 2000-01-23 + customerCountryCode: customerCountryCode + ingramOrderNumber: ingramOrderNumber + paymentTermsInfo: + paymentTermsDescription: paymentTermsDescription + paymentTermsDueDate: paymentTermsDueDate + paymentTermsCode: paymentTermsCode + shipToInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + billToInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + invoiceNumber: invoiceNumber + fxRateInfo: + companyCurrency: companyCurrency + currencyFxRate: 3.616076749251911 + currencyCode: currencyCode + invoiceCurrency: invoiceCurrency + invoiceType: invoiceType + billToID: billToID + invoiceStatus: invoiceStatus + lines: + - ingramPartNumber: ingramPartNumber + unitWeight: unitWeight + unitPrice: 6.027456183070403 + customerPartNumber: customerPartNumber + quantity: 0 + unitOfMeasure: unitOfMeasure + taxPercentage: 5.962133916683182 + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + ingramLineNumber: ingramLineNumber + quantityOrdered: 7 + vendorName: vendorName + customerLineNumber: "0" + taxRate: 5.637376656633329 + quantityShipped: 9 + extendedPrice: 1.4658129805029452 + vendorPartNumber: vendorPartNumber + taxAmount: 2.3021358869347655 + currencyCode: currencyCode + productDescription: productDescription + - ingramPartNumber: ingramPartNumber + unitWeight: unitWeight + unitPrice: 6.027456183070403 + customerPartNumber: customerPartNumber + quantity: 0 + unitOfMeasure: unitOfMeasure + taxPercentage: 5.962133916683182 + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + ingramLineNumber: ingramLineNumber + quantityOrdered: 7 + vendorName: vendorName + customerLineNumber: "0" + taxRate: 5.637376656633329 + quantityShipped: 9 + extendedPrice: 1.4658129805029452 + vendorPartNumber: vendorPartNumber + taxAmount: 2.3021358869347655 + currencyCode: currencyCode + productDescription: productDescription properties: - addressId: - description: Suffix used to identify shipping 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. + invoiceNumber: + description: The Invoice number for the order. type: string - contact: - description: The company contact provided by the reseller. + invoiceStatus: + description: Status of the invoice. type: string - companyName: - description: The name of the company the order will be shipped to. + invoiceDate: + description: Date of an Invoice. + format: date type: string - addressLine1: - description: The street address and building or house number the order will - be shipped to. + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - addressLine2: - description: The apartment number the order will be shipped to. + endCustomerOrderNumber: + description: The end customer's order number for reference in their system. type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. + OrderDate: + description: The date and time in UTC format that the order was created. + format: date type: string - city: - description: The city the order will be shipped to. + billToID: + description: Bill to party type: string - state: - description: The state the order will be shipped to. + invoiceType: + description: Type of the Invoice type: string - postalCode: - description: The zip or postal code the order will be shipped to. + invoiceDueDate: + description: Date when the invoice is due. type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. + customerCountryCode: + description: Customer country code. type: string - phoneNumber: - description: The company contact phone number. + customerNumber: + description: Unique customer number in Ingram's system. type: string - email: - description: The company contact email address. + ingramOrderNumber: + description: The IngramMicro sales order number. + type: string + notes: + description: Notes for the invoice. type: string + paymentTermsInfo: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_paymentTermsInfo' + billToInfo: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_billToInfo' + shipToInfo: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_shipToInfo' + lines: + items: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_lines_inner' + type: array + fxRateInfo: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_fxRateInfo' + summary: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary' + title: invoiceDetailsv6.1Response type: object - OrderModifyResponse_lines_inner_shipmentDetails: - description: Shipping details for the order provided by the reseller. + x-tags: + - invoices + addressType: + description: Address type object example: - freightAccountNumber: freightAccountNumber - carrierName: carrierName - carrierCode: carrierCode + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email properties: - carrierCode: - description: The carrier code for the shipment containing the line item. + attention: type: string - carrierName: - description: The name of the carrier of the shipment containing the line - item. + name1: 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. + name2: type: string - type: object - OrderModifyResponse_lines_inner_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: Attribute Name. + addressline1: type: string - attributeValue: - description: Attribute Value. + addressline2: type: string - type: object - OrderModifyResponse_lines_inner: - example: - ingramPartNumber: ingramPartNumber - quantityBackOrdered: 7 - shipmentDetails: - freightAccountNumber: freightAccountNumber - carrierName: carrierName - carrierCode: carrierCode - notes: notes - subOrderNumber: subOrderNumber - quantityConfirmed: 2 - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 5 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + addressline3: type: string - ingramLineNumber: - description: The IngramMicro line number. + city: type: string - customerLineNumber: - description: The reseller's line number for reference in their system. + state: type: string - ingramPartNumber: - description: The unique IngramMicro part number for the line item. + postalcode: type: string - vendorPartNumber: - description: The vendor's part number for the line item. + countrycode: type: string - quantityOrdered: - description: The quantity ordered of the line item. - type: integer - quantityConfirmed: - description: The quantity confirmed of the line item. - type: integer - quantityBackOrdered: - description: The quantity backordered of the line item. - type: integer - shipmentDetails: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner_shipmentDetails' - additionalAttributes: - description: SAP requested and country-specific line level details. - items: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' - type: array - notes: - description: Line-level notes for the order. + fax: type: string - OrderModifyResponse_rejectedLineItems_inner: - example: - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 9 - customerLineNumber: customerLineNumber - properties: - ingramLineNumber: - description: The IngramMicro line number for the failed line item. + phonenumber: type: string - customerLineNumber: - description: The reseller's line number of the failed line item for reference - in their system. + email: type: string - ingramPartNumber: - description: The IngramMicro part number for the failed line item. + title: invoiceDetails.addressType.Response + type: object + x-tags: + - invoices + productLineType: + description: Product line items object under each invoice + example: + linenumber: linenumber + vendorpartnumber: vendorpartnumber + backorderquantity: backorderquantity + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber + ordersuffix: ordersuffix + unitprice: unitprice + productextendedspecs: + - attributevalue: attributevalue + attributename: attributename + - attributevalue: attributevalue + attributename: attributename + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice + serialnumberdetails: + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription + partnumber: partnumber + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure + properties: + linenumber: type: string - vendorPartNumber: - description: The vendor's part number for the failed line item. + linetype: type: string - quantityOrdered: - description: The quantity ordered of the failed line item. - type: integer - rejectCode: - description: The rejection code for the failed line item. + partnumber: type: string - rejectReason: - description: The rejection reason for the failed line item. + vendorpartnumber: type: string - OrderDetailResponse_billToInfo: - description: The billing information provided by the reseller. - example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - properties: - contact: - description: The company contact provided by the reseller. + partdescription: type: string - companyName: - description: The name of the company the order will be billed to. + shipfrombranch: type: string - name1: - description: First name. + shippedquantity: type: string - name2: - description: Last name. + orderedquantity: type: string - addressLine1: - description: The street address and building or house number the order will - be billed to. + marginpercent: type: string - addressLine2: - description: The apartment number the order will be billed to. + backorderquantity: type: string - addressLine3: - description: Address line 3. + backorderetadate: + format: date type: string - city: - description: The city the order will be billed to. + extendedprice: type: string - state: - description: The state the order will be billed to. + specialbidnumber: type: string - postalCode: - description: The zip or postal code the order will be billed to. + ordersuffix: type: string - countryCode: - description: The two-character ISO country code the order will be billed - to. + isacopapplied: type: string - phoneNumber: - description: The company contact phone number. + unitprice: type: string - email: - description: The company contact email address. + unitofmeasure: type: string + serialnumberdetails: + items: + $ref: '#/components/schemas/productLineType_serialnumberdetails_inner' + type: array + trackingnumberdetails: + items: + $ref: '#/components/schemas/productLineType_trackingnumberdetails_inner' + type: array + productextendedspecs: + items: + $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' + type: array + title: invoiceDetails.productLineType.Response type: object - OrderDetailResponse_shipToInfo: - description: The shipping information provided by the reseller for order delivery. + x-tags: + - invoices + ErrorResponse: example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email + errors: + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value properties: - contact: - description: The company contact provided by the reseller. + errors: + items: + $ref: '#/components/schemas/ErrorResponse_errors_inner' + type: array + type: object + quoteListResponse: + description: Response schema for get quote list endpoint + properties: + quoteSearchResponse: + $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse' + title: quoteList.Response + type: object + x-examples: + Success: + quoteSearchResponse: + responsePreamble: + responseStatus: Passed + responseStatusCode: "200" + responseMessage: Records Found + quotelist: + - quoteGuid: dbabb2a5-02ea-e911-a97b-000d3a30e34c + quoteName: TEST-9771006-1920_CW EndUser11 + quoteNumber: QUO-11048-S9P1R3 + revisionNumber: 0 + endUserName: CW EndUser11 + bidNumber: TEST-9771006-1920 + totalAmount: "60766.2" + quoteStatus: Active + createdDate: 2019-10-08 + lastModifiedDate: 2019-10-08 + quoteExpiryDate: 0001-01-01 + - quoteGuid: ec14fd96-02ea-e911-a98d-000d3a30e941 + quoteName: TEST-9771006-1920_CW EndUser12 + quoteNumber: QUO-11047-M1K1Z6 + revisionNumber: 0 + endUserName: CW EndUser12 + bidNumber: TEST-9771006-1920 + totalAmount: "60766.2" + quoteStatus: Active + createdDate: 2019-10-08 + lastModifiedDate: 2019-10-08 + quoteExpiryDate: 0001-01-01 + - quoteGuid: f3d7d186-02ea-e911-a98d-000d3a30e941 + quoteName: TEST-9771006-1920_CW EndUser10 + quoteNumber: QUO-11045-G1X9S8 + revisionNumber: 0 + endUserName: CW EndUser10 + bidNumber: TEST-9771006-1920 + totalAmount: "60766.2" + quoteStatus: Active + createdDate: 2019-10-08 + lastModifiedDate: 2019-10-08 + quoteExpiryDate: 0001-01-01 + - quoteGuid: 43ae3e7f-02ea-e911-a97a-000d3a30eb04 + quoteName: TEST-9771006-1920_CW EndUser9 + quoteNumber: QUO-11044-V2F8F9 + revisionNumber: 0 + endUserName: CW EndUser9 + bidNumber: TEST-9771006-1920 + totalAmount: "60766.2" + quoteStatus: Active + createdDate: 2019-10-08 + lastModifiedDate: 2019-10-08 + quoteExpiryDate: 0001-01-01 + - quoteGuid: 88062b6f-02ea-e911-a97a-000d3a30eb04 + quoteName: TEST-9771006-1920_CW EndUser8 + quoteNumber: QUO-11043-W2X1T5 + revisionNumber: 0 + endUserName: CW EndUser8 + bidNumber: TEST-9771006-1920 + totalAmount: "60766.2" + quoteStatus: Active + createdDate: 2019-10-08 + lastModifiedDate: 2019-10-08 + quoteExpiryDate: 0001-01-01 + totalCount: 5 + Customer Not Found: + quoteSearchResponse: + responsePreamble: + responseStatus: Failed + responseStatusCode: "400" + responseMessage: Customer Not Found + totalCount: 0 + Wrong sort column: + quoteSearchResponse: + responsePreamble: + responseStatus: Failed + responseStatusCode: "400" + responseMessage: Provide valid sort column name + totalCount: 0 + x-tags: + - quotes + quoteDetailsRequest: + description: Request schema for get quote details endpoint + properties: + quoteProductsRequest: + $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest' + title: quoteDetails.Request + type: object + x-examples: + Example: + quoteProductsRequest: + requestPreamble: + customerNumber: "21222222" + isoCountryCode: US + retrieveQuoteProductsRequest: + quoteNumber: QUO-04959-C3V6L4 + thirdPartySource: 3RDPIDCONWISE + x-tags: + - quotes + quoteDetails: + description: Response schema for quote details + properties: + quoteDetailResponse: + $ref: '#/components/schemas/quoteDetails_quoteDetailResponse' + title: quoteDetails.Response + type: object + x-tags: + - quotes + quoteProductList: + description: "" + properties: + quoteProductGuid: type: string - companyName: - description: The name of the company the order will be shipped to. + quantity: type: string - name1: - description: First name. + comments: type: string - name2: - description: Last name. + bidStartDate: type: string - addressLine1: - description: The street address the order will be shipped to. + bidExpiryDate: type: string - addressLine2: - description: The building or apartment number the order will be shipped - to. + sku: + type: string + lineNumber: type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. + description: type: string - city: - description: The city the order will be shipped to. + vendorPartNumber: type: string - state: - description: The state the order will be shipped to. + weight: type: string - postalCode: - description: The zip or postal code the order will be shipped to. + isSuggestionProduct: type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. + vpnCategory: type: string - phoneNumber: - description: The company contact phone number. + quoteProductsSupplierPartAuxiliaryId: type: string - email: - description: The company contact email address. + quoteProductsVendor: type: string + price: + $ref: '#/components/schemas/quoteProductList_price' + title: quoteDetails.quoteProductList.Response type: object - OrderDetailResponse_endUserInfo: - description: The contact information for the end user/customer provided by the - reseller. Used to determine pricing and discounts. - example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email + x-tags: + - quotes + productSearchRequest: + description: Request object model for the product search endpoint + properties: + servicerequest: + $ref: '#/components/schemas/productSearchRequest_servicerequest' + title: productSearchRequest + type: object + x-examples: + 'Using Vendor Part #': + servicerequest: + requestpreamble: + customernumber: 20-222222 + isocountrycode: US + productsearchrequest: + searchcriteria: + vendorpartnumber: TESTE IS + x-tags: + - product catalog + multiSKUPriceAndStockResponse: + description: Response object model for the multi sku price and stock API endpoint + properties: + serviceresponse: + $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse' + title: multiSKUPriceAndStockResponse + type: object + x-examples: + Success: + serviceresponse: + responsepreamble: + responsestatus: SUCCESS + statuscode: "200" + responsemessage: Data Found + priceandstockresponse: + details: + - itemstatus: SUCCESS + statusmessage: A-No qty breaks availa + ingrampartnumber: TB6489 + vendorpartnumber: H1180HD + globalskuid: A300-TB6489 + customerprice: 850.54 + currency: USD + partdescription1: H1180HD DLP 3D PROJ 2000L 1080PPROJ + partdescription2: 10000:1 VGA HDMI RCA + vendornumber: Q680 + vendorname: VIVITEK + cpucode: DLP-PR + class: X + skustatus: ACTIVE + mediacpu: PROJ DLP-PR + categorysubcategory: 04 25 + retailprice: 899 + newmedia: PROJ + backorderflag: "N" + skuauthorized: "Y" + warehousedetails: + - warehouseid: "80" + warehousedescription: "Jonestown, PA" + availablequantity: 0 + onorderquantity: 0 + - warehouseid: "10" + warehousedescription: "Mira Loma, CA" + availablequantity: 0 + onorderquantity: 0 + Invalid Customer: + serviceresponse: + responsepreamble: + responsestatus: FAILED + statuscode: "500" + responsemessage: Data Not Found + priceandstockresponse: + details: + - itemstatus: FAILED + statusmessage: E-INVALID CUSTOMER NUMBER + - itemstatus: FAILED + statusmessage: E-INVALID CUSTOMER NUMBER + - itemstatus: FAILED + statusmessage: E-INVALID CUSTOMER NUMBER + 'Invalid Country ': + serviceresponse: + responsepreamble: + responsestatus: SUCCESSWITHERROR + statuscode: "046" + responsemessage: Partial Data Found + priceandstockresponse: + details: + - itemstatus: SUCCESS + statusmessage: edv 2 + ingrampartnumber: NaN + globalskuid: A001-NaN + customernumber: 20-222222 + quantity: 0 + customerprice: 0 + vendornumber: NaN + retailprice: 0 + enduserrequired: "false" + specialpromoflag: "false" + isavailable: false + isstocakable: false + isbom: false + hasquantitybreaks: false + haswebdiscounts: false + issboprice: false + extendednetamount: 0 + taxamount: 0 + totalfeeamount: 0 + totalpromotionamount: 0 + totalenvironmentalfees: 0 + x-tags: + - product catalog + multiSKUPriceAndStockRequest: + description: Request object model for the multi sku price and stock API endpoint + properties: + servicerequest: + $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest' + title: multiSKUPriceAndStockRequest + type: object + x-examples: + Example: + servicerequest: + requestpreamble: + customernumber: 20-222222 + isocountrycode: US + priceandstockrequest: + showwarehouseavailability: "True" + extravailabilityflag: "Y" + item: + - ingrampartnumber: M93592 + quantity: 1 + includeallsystems: false + x-tags: + - product catalog + invoiceDetailRequest: + properties: + servicerequest: + $ref: '#/components/schemas/invoiceDetailRequest_servicerequest' + title: invoiceDetailRequest + type: object + x-tags: + - invoices + x-examples: + Example: + servicerequest: + requestpreamble: + isocountrycode: US + customernumber: 20-222222 + invoicedetailrequest: + invoicenumber: 60ABCDE11 + invoiceDetailResponse: + properties: + serviceresponse: + $ref: '#/components/schemas/invoiceDetailResponse_serviceresponse' + title: invoiceDetailResponse + type: object + x-tags: + - invoices + orderModifyResponse: + description: Response schema for order modify endpoint + properties: + serviceresponse: + $ref: '#/components/schemas/orderModifyResponse_serviceresponse' + title: orderModifyResponse + type: object + x-tags: + - orders + orderModifyRequest: + description: Request schema for order modify endpoint + properties: + servicerequest: + $ref: '#/components/schemas/orderModifyRequest_servicerequest' + title: orderModifyRequest + type: object + x-tags: + - orders + orderSearchRequest: + description: Request schema for order search endpoint + properties: + servicerequest: + $ref: '#/components/schemas/orderSearchRequest_servicerequest' + title: orderSearchRequest + type: object + x-examples: + Example: + servicerequest: + requestpreamble: + isocountrycode: US + customernumber: 20-222222 + orderlookuprequest: + status: + fromdate: 2020-01-07 + todate: 2020-01-14 + x-tags: + - orders + orderDeleteResponse: + description: Response schema for order delete endpoint + properties: + serviceresponse: + $ref: '#/components/schemas/orderDeleteResponse_serviceresponse' + title: orderDeleteResponse + type: object + x-tags: + - orders + x-examples: + Example: + serviceresponse: + responsepreamble: + requestStatus: SUCCESS + returnCode: "00" + returnMessage: Order Deleted Successfully + orderDeleteRequest: + description: Request schema for order delete endpoint + properties: + servicerequest: + $ref: '#/components/schemas/orderDeleteRequest_servicerequest' + title: orderDeleteRequest + type: object + x-tags: + - orders + x-examples: + Example: + servicerequest: + requestpreamble: + isocountrycode: US + customerumber: 20-222222 + OrderDeleteRequestDetails: + entryDate: 2019-01-22 + orderBranch: "20" + orderNumber: RC62Z + orderDetailRequest: + description: Request schema for order details endpoint properties: - contact: - description: The contact name for the end user/customer. - type: string - companyName: - description: The company name for the end user/customer. - type: string - name1: - description: First name. - type: string - name2: - description: Last name. - type: string - addressLine1: - description: The street adress and building or house number for the end - user/customer. - type: string - addressLine2: - description: The apartment number for the end user/customer. - type: string - addressLine3: - description: Line 3 of the address 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 - 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 email. - type: string + servicerequest: + $ref: '#/components/schemas/orderDetailRequest_servicerequest' + title: orderDetailRequest type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner: - description: A list of serial numbers of the line items contained in the shipment. - example: - serialNumber: serialNumber + x-tags: + - orders + x-examples: + Example: + servicerequest: + requestpreamble: + isocountrycode: US + customernumber: 20-222222 + orderdetailrequest: + ordernumber: 10-H07XB + orderdate: 2018-07-15 + systemid: A300 + quoteDetailsResponse: properties: - serialNumber: - description: The serial number for the line item. - type: string + quoteDetailResponse: + $ref: '#/components/schemas/quoteDetailsResponse_quoteDetailResponse' + title: quoteDetailsResponse type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner: - description: The tracking details for the shipment containing the line item. + x-tags: + - quotes + ValidateQuoteResponse: example: - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber + vmfAdditionalAttributes: + - attributeValue: ABC1234 + attributeName: VEND_AUTH_NBR_FLG + attributeDescription: Authorization Number + - attributeValue: ABC1234 + attributeName: VEND_AUTH_NBR_FLG + attributeDescription: Authorization Number + 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 + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: "1" + customerLineNumber: "11" + quoteNumber: QUO-14551943-D2Y9L9 properties: - trackingNumber: - description: The tracking number for the shipment containing the line item. - type: string - trackingUrl: - description: The tracking URL for the shipment containing the line item. - type: string - packageWeight: - description: The weight of the package for the line item. - type: string - cartonNumber: - description: The shipment carton number that contains the line item. + quoteNumber: + description: A unique identifier generated by Ingram Micro's CRM specific + to each quote. + example: QUO-14551943-D2Y9L9 type: string - quantityInBox: - description: The quantity of line items in the box. + vendorName: + description: The name of the vendor. + example: Cisco type: string - SerialNumbers: + vmfAdditionalAttributes: + description: The object containing the list of fields required at a header + level by the vendor. items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner' + $ref: '#/components/schemas/ValidateQuoteResponse_vmfAdditionalAttributes_inner' type: array - type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails: - description: The shipment carrier details for the line item. - example: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - properties: - carrierCode: - description: The carrier code for the shipment containing the line item. - type: string - carrierName: - description: The name of the carrier of the shipment containing the line - item. - type: string - trackingDetails: + lines: + description: The object containing the lines from the quote. items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner' + $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner' type: array type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner: - description: Shipping details for the line item. + QuoteToOrderDetailsDTO: + additionalProperties: false example: - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation + endUserInfo: + - phoneNumber: phoneNumber + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + - phoneNumber: phoneNumber + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + shipToInfo: + - city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId + - city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId + billToAddressId: billToAddressId + enduserOrderNumber: enduserOrderNumber + lines: + - ingramPartNumber: ingramPartNumber + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: quantity + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: quantity + customerLineNumber: customerLineNumber + 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: - quantity: - description: The quantity shipped of the line item. - type: integer - estimatedShipDate: - description: The estimated ship date for the line item. - format: date - type: string - shippedDate: - description: The date the line item was shipped. - format: date - type: string - estimatedDeliveryDate: - description: The date the line item is expected to be delivered. - format: date - type: string - deliveredDate: - description: The actual date of delivery of the line item. - format: date - type: string - shipFromWarehouseId: - description: The ID of the warehouse the product will ship from. - type: string - shipFromLocation: - description: The city and state the line item ships from. - type: string - invoiceNumber: - description: The Ingram Micro invoice number for the line item. + quoteNumber: + description: A unique identifier generated by Ingram Micro's CRM specific + to each quote. + maxLength: 35 + nullable: true type: string - invoiceDate: - description: The date the IngramMicro invoice was created for the line item. - format: date + customerOrderNumber: + description: The reseller's order number for reference in their system. + maxLength: 35 + nullable: true type: string - carrierDetails: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails' - type: object - OrderDetailResponse_lines_inner_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: Line level custom field names. + enduserOrderNumber: + description: The end customer's order number for reference in their system. + maxLength: 35 + nullable: true type: string - attributeValue: - description: Value of the custom fields. + 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: + description: The contact information for the end user/customer provided + by the reseller. Used to determine pricing and discounts. + items: + $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo_inner' + type: array + shipToInfo: + description: The shipping information provided by the reseller for order + delivery. + items: + $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo_inner' + type: array + 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 - OrderDetailResponse_lines_inner_links_inner: - description: Link to Order Details for the line item. + QuoteToOrderResponse: example: - topic: topic - href: href - type: type + confirmationNumber: 987654322 + message: message + quoteNumber: QUO-14551943-D2Y9L9 properties: - topic: - description: Provides the details of the line item. - type: string - href: - description: The API endpoint for accessing the relevant data. + quoteNumber: + description: Unique identifier generated by Ingram Micro's CRM specific + to each quote. + example: QUO-14551943-D2Y9L9 type: string - type: - description: "The type of call that can be made to the href link(GET,POST\ - \ etc)." + confirmationNumber: + description: A unique confirmation number for tracking purposes. + example: 987654322 + type: number + message: + description: A confirmation message. type: string type: object - OrderDetailResponse_lines_inner: - example: - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 + Error: + additionalProperties: false + example: + id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + properties: + id: + nullable: true + type: string + type: + nullable: true + type: string + message: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Fields' + nullable: true + type: array + type: object + ErrorResponseDTO: + additionalProperties: false + example: + errors: + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + properties: + errors: + items: + $ref: '#/components/schemas/Error' + nullable: true + type: array + type: object + Fields: + additionalProperties: false + example: + field: field + message: message + value: value + properties: + field: + nullable: true + type: string + message: + nullable: true + type: string + value: + nullable: true + type: string + type: object + OrderDetailB2B: + additionalProperties: false + example: + orderType: orderType + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: chargeAmount + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: chargeAmount + chargeDescription: chargeDescription + notes: notes + endUserInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + endCustomerOrderNumber: endCustomerOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + webOrderId: webOrderId + orderStatus: orderStatus + customerOrderNumber: customerOrderNumber + orderTotal: 0.8008281904610115 + orderSubTotal: 6.027456183070403 + ingramOrderNumber: ingramOrderNumber + totalTax: 5.637376656633329 + shipToInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + billToInfo: + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + ingramPurchaseOrderNumber: ingramPurchaseOrderNumber + totalWeight: 5.962133916683182 + lines: + - unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + requestedDeliverydate: requestedDeliverydate + multipleShipments: + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + extendedPrice: 9.301444243932576 + scheduleLines: + - goodsIssueDate: goodsIssueDate + scheduleLineDate: scheduleLineDate + requestedQuantity: requestedQuantity + lineNumber: lineNumber + confirmedQuantity: confirmedQuantity + - goodsIssueDate: goodsIssueDate + scheduleLineDate: scheduleLineDate + requestedQuantity: requestedQuantity + lineNumber: lineNumber + confirmedQuantity: confirmedQuantity + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + upcCode: upcCode + ingramPartNumber: ingramPartNumber + unitPrice: 7.061401241503109 + ingramOrderLineNumber: ingramOrderLineNumber + estimatedDates: + - delivery: + deliveredDate: deliveredDate + deliveryDescription: deliveryDescription + deliveryDateType: deliveryDateType + deliverySource: deliverySource + deliveryDateRange: + endDate: endDate + startDate: startDate + ship: + shipDateRange: + endDate: endDate + startDate: startDate + shipSource: shipSource + shipDate: shipDate + shipDateType: shipDateType + shipDescription: shipDescription + - delivery: + deliveredDate: deliveredDate + deliveryDescription: deliveryDescription + deliveryDateType: deliveryDateType + deliverySource: deliverySource + deliveryDateRange: + endDate: endDate + startDate: startDate + ship: + shipDateRange: + endDate: endDate + startDate: startDate + shipSource: shipSource + shipDate: shipDate + shipDateType: shipDateType + shipDescription: shipDescription + serviceContractInfo: + subscriptions: + renewalTerm: renewalTerm + subcriptionEndDate: subcriptionEndDate + billingModel: billingModel + subscriptionTerm: subscriptionTerm + subscriptionId: subscriptionId + subcriptionStartDate: subcriptionStartDate + contractInfo: + contractStatus: contractStatus + contractDuration: contractDuration + contractStartDate: contractStartDate + contractEndDate: contractEndDate + contractDescription: contractDescription + contractNumber: contractNumber + licenseInfo: + quantity: quantity + licenseStartDate: licenseStartDate + description: description + licenseNumber: + - licenseNumber + - licenseNumber + licenseEndDate: licenseEndDate + vendorName: vendorName + lineNotes: lineNotes + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: estimatedShipDate + invoiceDate: invoiceDate + deliveryNumber: deliveryNumber + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + shipFromLocation: shipFromLocation + - quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: estimatedShipDate + invoiceDate: invoiceDate + deliveryNumber: deliveryNumber + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + shipFromLocation: shipFromLocation + promisedDeliveryDate: promisedDeliveryDate + subOrderNumber: subOrderNumber + partDescription: partDescription + quantityConfirmed: 4 + weightUom: weightUom + taxAmount: 3.616076749251911 + currencyCode: currencyCode + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + requestedDeliverydate: requestedDeliverydate + multipleShipments: + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + extendedPrice: 9.301444243932576 + scheduleLines: + - goodsIssueDate: goodsIssueDate + scheduleLineDate: scheduleLineDate + requestedQuantity: requestedQuantity + lineNumber: lineNumber + confirmedQuantity: confirmedQuantity + - goodsIssueDate: goodsIssueDate + scheduleLineDate: scheduleLineDate + requestedQuantity: requestedQuantity + lineNumber: lineNumber + confirmedQuantity: confirmedQuantity + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + upcCode: upcCode + ingramPartNumber: ingramPartNumber + unitPrice: 7.061401241503109 + ingramOrderLineNumber: ingramOrderLineNumber + estimatedDates: + - delivery: + deliveredDate: deliveredDate + deliveryDescription: deliveryDescription + deliveryDateType: deliveryDateType + deliverySource: deliverySource + deliveryDateRange: + endDate: endDate + startDate: startDate + ship: + shipDateRange: + endDate: endDate + startDate: startDate + shipSource: shipSource + shipDate: shipDate + shipDateType: shipDateType + shipDescription: shipDescription + - delivery: + deliveredDate: deliveredDate + deliveryDescription: deliveryDescription + deliveryDateType: deliveryDateType + deliverySource: deliverySource + deliveryDateRange: + endDate: endDate + startDate: startDate + ship: + shipDateRange: + endDate: endDate + startDate: startDate + shipSource: shipSource + shipDate: shipDate + shipDateType: shipDateType + shipDescription: shipDescription + serviceContractInfo: + subscriptions: + renewalTerm: renewalTerm + subcriptionEndDate: subcriptionEndDate + billingModel: billingModel + subscriptionTerm: subscriptionTerm + subscriptionId: subscriptionId + subcriptionStartDate: subcriptionStartDate + contractInfo: + contractStatus: contractStatus + contractDuration: contractDuration + contractStartDate: contractStartDate + contractEndDate: contractEndDate + contractDescription: contractDescription + contractNumber: contractNumber + licenseInfo: + quantity: quantity + licenseStartDate: licenseStartDate + description: description + licenseNumber: + - licenseNumber + - licenseNumber + licenseEndDate: licenseEndDate + vendorName: vendorName + lineNotes: lineNotes + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: estimatedShipDate + invoiceDate: invoiceDate + deliveryNumber: deliveryNumber + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + shipFromLocation: shipFromLocation + - quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: estimatedShipDate + invoiceDate: invoiceDate + deliveryNumber: deliveryNumber + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + - deliveredDate: deliveredDate + carrierPickupDate: carrierPickupDate + quantity: 1 + carrierName: carrierName + carrierCode: carrierCode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + cartonNumber: cartonNumber + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + trackingNumber: trackingNumber + shippedDate: shippedDate + estimatedDeliveryDate: estimatedDeliveryDate + shipFromLocation: shipFromLocation + promisedDeliveryDate: promisedDeliveryDate + subOrderNumber: subOrderNumber + partDescription: partDescription + quantityConfirmed: 4 + weightUom: weightUom + taxAmount: 3.616076749251911 + currencyCode: currencyCode + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName currencyCode: currencyCode + freightCharges: 1.4658129805029452 + paymentTerms: paymentTerms + ingramOrderDate: 2000-01-23T04:56:07.000+00:00 additionalAttributes: - attributeValue: attributeValue attributeName: attributeName - attributeValue: attributeValue attributeName: attributeName properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + ingramOrderNumber: + description: The IngramMicro sales order number. type: string - ingramOrderLineNumber: - description: Unique Ingram Micro line number. Starts with 001. + ingramOrderDate: + description: The IngramMicro sales order date. + format: date-time type: string - vendorSalesOrderLineNumber: - description: The vendor's sales order line number. + orderType: + description: The IngramMicro sales order type. type: string - customerLinenumber: - description: The reseller's line item number for reference in their system. + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - lineStatus: - description: "The status for the line item in the order. One of- Backordered,\ - \ In Progress, Shipped, Delivered, Canceled, On Hold" + endCustomerOrderNumber: + description: The end customer's order number for reference in their system. type: string - ingramPartNumber: - description: Unique IngramMicro part number. + webOrderId: + description: The web order id of the order. type: string - vendorPartNumber: - description: The vendor's part number for the line item. + vendorSalesOrderNumber: + description: The vendor's order number for reference in their system type: string - vendorName: - description: The vendor's name for the part in their system. + ingramPurchaseOrderNumber: + description: Ingram purchase order number. type: string - partDescription: - description: The vendor's description of the part in their system. + orderStatus: + description: "The header-level status of the order. One of- Shipped, Canceled,\ + \ Backordered, Processing, On Hold, Delivered." type: string - unitWeight: - description: The unit weight of the line item. - format: decimal + orderTotal: + description: "The total cost for the order, includes subtotal, freight charges,\ + \ and tax." + format: double type: number - weightUom: - description: The unit of measure for the line item. - type: string - unitPrice: - description: The unit price of the line item. - type: integer - upcCode: - description: The UPC code of a product. - type: string - extendedPrice: - description: Unit price X quantity for the line item. - format: decimal + orderSubTotal: + description: "The sub total cost for the order, not including tax and freight." + format: double type: number - taxAmount: - description: The tax amount for the line item. - format: decimal + freightCharges: + description: The freight charges for the order. + format: double type: number currencyCode: - description: The country-specific three character ISO 4217 currency code - for the line item. + description: The country-specific three digit ISO 4217 currency code for + the order. type: string - quantityOrdered: - description: The quantity ordered of the line item. - type: integer - quantityConfirmed: - description: The quantity confirmed for the line item. - type: integer - quantityBackOrdered: - description: The quantity backordered for the line item. - type: integer - specialBidNumber: - description: The line-level bid number provided to the reseller by the vendor - for special pricing and discounts. Used to track the bid number in the - case of split orders or where different line items have different bid - numbers. Line-level bid numbers take precedence over header-level bid - numbers. + totalWeight: + description: "Total order weight. unit -- North america - Pounds , other\ + \ countries will be KG." + format: double + type: number + totalTax: + description: Total tax on the orders placed. + format: double + type: number + paymentTerms: + description: The payment terms of the order. (Ex- Net 30 days). type: string - requestedDeliveryDate: - description: Reseller-requested delivery date. Delivery date is not guaranteed. - format: date + notes: + description: The header-level notes for the order. + type: string + billToInfo: + $ref: '#/components/schemas/OrderDetailB2B_billToInfo' + shipToInfo: + $ref: '#/components/schemas/OrderDetailB2B_shipToInfo' + endUserInfo: + $ref: '#/components/schemas/OrderDetailB2B_endUserInfo' + lines: + items: + $ref: '#/components/schemas/OrderDetailB2B_lines_inner' + nullable: true + type: array + miscellaneousCharges: + items: + $ref: '#/components/schemas/OrderDetailB2B_miscellaneousCharges_inner' + nullable: true + type: array + additionalAttributes: + items: + $ref: '#/components/schemas/OrderDetailB2B_additionalAttributes_inner' + nullable: true + type: array + type: object + get_reseller_v6_validateQuote_400_response_fields_inner: + example: + field: field + message: message + value: value + properties: + field: + description: Contains the name of the field. + type: string + message: + description: Gives the description of the field message. + type: string + value: + description: Value sent in the input for the specific field. + type: string + type: object + get_reseller_v6_validateQuote_400_response: + example: + traceid: traceid + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + properties: + traceid: + description: Unique Id to identify error. type: string - promisedDeliveryDate: - description: The delivery date promised by IngramMicro. - format: date + type: + description: Describes the type of the error. type: string - lineNotes: - description: Line-level notes for the order. + message: + description: A detailed error message. type: string - shipmentDetails: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner' - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' - type: array - links: + fields: items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_links_inner' + $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' type: array type: object - OrderDetailResponse_miscellaneousCharges_inner: + get_reseller_v6_validateQuote_500_response: example: - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription + traceid: traceid + type: type + message: message + fields: + - "{}" + - "{}" properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + traceid: + description: Unique Id to identify error. type: string - chargeLineReference: - description: Impulse line number for the miscellaneous charge. + type: + description: Describes the type of the error. type: string - chargeDescription: - description: Description of the miscellaneous charges. + message: + description: Describes the error message. type: string - chargeAmount: - description: The amount of miscellaneous charges. - format: double - type: number + fields: + items: + type: object + type: array type: object - OrderSearch_Response_orders_inner_subOrders_inner_links_inner: + post_QuoteToOrder_v6_400_response_fields_inner: example: - topic: topic - href: href - type: type + field: field + message: message + value: value properties: - topic: - description: For orders or invoices. For orders the link provides details - of the order. For invoices the link provides details of the invoice. + field: + description: Name of the field. type: string - href: - description: The URL endpoint for accessing the relevant data. + message: + description: A filed level error message. type: string - type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.)." + value: + description: Value of the message. type: string type: object - OrderSearch_Response_orders_inner_subOrders_inner: + post_QuoteToOrder_v6_400_response: example: - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type + traceid: traceid + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest to the reseller. The middle number is the - order number. The two-digit suffix is the sub order number. + traceid: + description: A unique trace id to identify the issue. type: string - subOrderTotal: - description: The total for the suborder. - format: decimal - type: number - subOrderStatus: - description: "The status of the suborder. One of:- Shipped, Canceled, Backordered,\ - \ Processing, On Hold, Delivered" + type: + description: Type of the error message. type: string - links: - description: Link to Order Details for the sub order(s). + message: + description: A detailed error message. + type: string + fields: items: - $ref: '#/components/schemas/OrderSearch_Response_orders_inner_subOrders_inner_links_inner' + $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response_fields_inner' type: array type: object - OrderSearch_Response_orders_inner_links: - description: Link to Order Details for the order(s). + post_renewalssearch_400_response: example: - topic: topic - href: href + traceid: traceid type: type + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value properties: - topic: - description: Provides the details of the orders. - type: string - href: - description: The URL endpoint for accessing the relevant data. + traceid: + description: Unique Id to identify error. type: string type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.)." + description: Describes the type of the error. type: string + fields: + items: + $ref: '#/components/schemas/get_reseller_v6_validateQuote_400_response_fields_inner' + type: array type: object - OrderSearch_Response_orders_inner: + OrderCreateRequest_resellerInfo: + description: The address and contact information provided by the reseller. example: - ingramOrderNumber: ingramOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - orderStatus: orderStatus - endUserCompanyName: endUserCompanyName - links: - topic: topic - href: href - type: type - subOrders: - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - - subOrderNumber: subOrderNumber - subOrderTotal: 5.637376656633329 - subOrderStatus: subOrderStatus - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - vendorName: vendorName - customerOrderNumber: customerOrderNumber - orderTotal: 5.962133916683182 - ingramOrderDate: ingramOrderDate + resellerId: resellerId + phoneNumber: 0 + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email properties: - ingramOrderNumber: - description: The Ingram Micro order number. + resellerId: + description: The reseller's Id. type: string - ingramOrderDate: - description: The date the order was created(UTC). + companyName: + description: The reseller's company name. + maxLength: 40 type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. + contact: + description: The reseller's contact name. type: string - vendorSalesOrderNumber: - description: The vendor's order number.(only for D-Type Orders) + addressLine1: + description: The reseller's street address. + maxLength: 70 type: string - vendorName: - description: The name of the vendor. + addressLine2: + description: The reseller's building or apartment number. + maxLength: 70 type: string - endUserCompanyName: - description: The company name of the end user/customer. + addressLine3: + description: The reseller's address line 3. + maxLength: 70 type: string - orderTotal: - description: The total of the order. - format: decimal - type: number - orderStatus: - description: The header-level status of the order.(OPEN/CLOSED/CANCELLED) + city: + description: The reseller's city. + maxLength: 25 + type: string + state: + description: The reseller's state. + maxLength: 3 + type: string + postalCode: + description: The reseller's zip or postal code. + maxLength: 10 + type: string + countryCode: + description: The reseller's two-character ISO country code. + maxLength: 10 + type: string + phoneNumber: + description: The reseller's phone number. + type: integer + email: + description: The reseller's email address. type: string - subOrders: - description: Individual Ingram Micro order numbers associated with a single - reseller PO. - items: - $ref: '#/components/schemas/OrderSearch_Response_orders_inner_subOrders_inner' - type: array - links: - $ref: '#/components/schemas/OrderSearch_Response_orders_inner_links' type: object - PriceAndAvailabilityRequest_availabilityByWarehouse_inner: + OrderCreateRequest_vmf: + description: "Vendor mandatory fields, this is required in case of warranty\ + \ orders." example: - availabilityForAllLocation: true - availabilityByWarehouseId: availabilityByWarehouseId + vendAuthNumber: vendAuthNumber properties: - availabilityByWarehouseId: - description: Plant/warehouse Id of a particular location in order to get - just the inventory of that location. + 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 - availabilityForAllLocation: - description: "Pass boolean value as input, if true the response will contain\ - \ warehouse location details, if false the response will not hold warehouse\ - \ location details. By default value is true." - type: boolean type: object - PriceAndAvailabilityRequest_products_inner_additionalAttributes_inner: + OrderCreateRequest_shipToInfo: + description: The shipping information provided by the reseller. example: - attributeValue: attributeValue - attributeName: attributeName + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email properties: - attributeName: - description: |- - governmentprogramcode: Special Discount details will be provided based on the governmentprogramcode if available. - shiptostatebrazil: Attribute Specific to Brazil. - shipfrombranchnumber: If provided, displays only the availability of the specified branch number. + addressId: + description: The ID references the resellers address in Ingram Micro's system + for shipping. Provided to resellers during the onboarding process. + maxLength: 10 type: string - attributeValue: - description: key value pair -key value. + contact: + description: The company contact provided by the reseller. + maxLength: 70 type: string - type: object - PriceAndAvailabilityRequest_products_inner: - example: - ingramPartNumber: ingramPartNumber - customerPartNumber: customerPartNumber - quantityRequested: quantityRequested - upc: upc - vendorPartNumber: vendorPartNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - ingramPartNumber: - description: Ingram Micro unique part number for the product. + companyName: + description: The name of the company the order will be shipped to. + maxLength: 40 type: string - vendorPartNumber: - description: Vendor’s part number for the product. + name1: + description: name1 type: string - customerPartNumber: - description: Reseller/end-user’s part number for the product. + name2: + description: name2 type: string - upc: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquely assigned to each trade item. + addressLine1: + description: The street address and building or house number the order will + be shipped to. + maxLength: 70 type: string - quantityRequested: - description: Number of quantity of the Product. + addressLine2: + description: The apartment number the order will be shipped to. + maxLength: 70 type: string - additionalAttributes: - items: - $ref: '#/components/schemas/PriceAndAvailabilityRequest_products_inner_additionalAttributes_inner' - type: array - type: object - PriceAndAvailabilityRequest_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: key value pair -key Name. + addressLine3: + description: Line 3 of the address the order will be shipped to. + maxLength: 70 type: string - attributeValue: - description: key value pair -key value. + addressLine4: + description: Street address4 type: string - type: object - PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner_backOrderInfo_inner: - example: - quantity: 5 - etaDate: etaDate - properties: - quantity: - description: Quantity backordered. - type: integer - etaDate: - description: Expected availability date. - format: Date + city: + description: The city the order will be shipped to. + maxLength: 25 type: string - type: object - PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner: - example: - quantityAvailable: 6 - backOrderInfo: - - quantity: 5 - etaDate: etaDate - - quantity: 5 - etaDate: etaDate - warehouseId: warehouseId - location: location - quantityBackordered: 1 - quantityBackorderedEta: quantityBackorderedEta - properties: - location: - description: Indicates where (location) the product is available. + state: + description: The state the order will be shipped to. + maxLength: 3 type: string - warehouseId: - description: Indicates where (Ingram Warehouse Id) the product is available. + postalCode: + description: The zip or postal code the order will be shipped to. + maxLength: 10 type: string - quantityAvailable: - description: The quantity of the product available in a given warehouse. - type: integer - quantityBackordered: - description: The quantity of a product backordered in a given warehouse. - type: integer - quantityBackorderedEta: - description: The estimated time of arrival of a product that has been backordered - in a given warehouse. + countryCode: + description: The two-character ISO country code the order will be shipped + to. + maxLength: 10 + type: string + phoneNumber: + description: The company contact phone number. + type: string + email: + description: The company contact email address. type: string - backOrderInfo: - description: "*Currently, this feature is not available in these countries\ - \ (Mexico, Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western\ - \ Sahara)." - items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner_backOrderInfo_inner' - type: array - type: object - PriceAndAvailabilityResponse_inner_availability: - example: - totalAvailability: 0 - availabilityByWarehouse: - - quantityAvailable: 6 - backOrderInfo: - - quantity: 5 - etaDate: etaDate - - quantity: 5 - etaDate: etaDate - warehouseId: warehouseId - location: location - quantityBackordered: 1 - quantityBackorderedEta: quantityBackorderedEta - - quantityAvailable: 6 - backOrderInfo: - - quantity: 5 - etaDate: etaDate - - quantity: 5 - etaDate: etaDate - warehouseId: warehouseId - location: location - quantityBackordered: 1 - quantityBackorderedEta: quantityBackorderedEta - available: true - properties: - available: - description: Boolean that indicates if the product ordered is available - type: boolean - totalAvailability: - description: The total amount of available products - type: integer - availabilityByWarehouse: - items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner' - type: array type: object - PriceAndAvailabilityResponse_inner_reserveInventoryDetails_inner: + OrderCreateRequest_endUserInfo: + description: The contact information for the end user/customer provided by the + reseller. Used to determine pricing and discounts. example: - expirydate: expirydate - quantityAvailable: 2 - quantityReserved: 5 - effectivedate: effectivedate - properties: - quantityReserved: - description: The quantity of the product reserved for the customer. - type: integer - quantityAvailable: - description: The availability of the product reserved. - type: integer - effectivedate: - description: The reservation date for the product in UTC format. - format: Date + endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 6 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + properties: + endUserId: + description: ID for the end user/customer in Ingram Micro's system. type: string - expirydate: - description: The expiration date for the reservation of the product in UTC - format. - format: Date + contact: + description: The contact name for the end user/customer. + maxLength: 70 type: string - type: object - PriceAndAvailabilityResponse_inner_pricing: - example: - mapPrice: 9.301444243932576 - webDiscountsAvailable: true - specialBidPricingAvailable: true - currencyCode: currencyCode - retailPrice: 7.061401241503109 - customerPrice: 3.616076749251911 - properties: - currencyCode: - description: The 3-digit ISO currency code. + companyName: + description: The company name for the end user/customer. Required for Impulse + countries. + maxLength: 40 + type: string + name1: + description: name1 + type: string + name2: + description: name2 + type: string + addressLine1: + description: The end user/customer's street address and building or house + number. Required for Impulse countries. + maxLength: 70 + type: string + addressLine2: + description: The end user/customer's apartment number. + maxLength: 70 + type: string + addressLine3: + description: Line 3 of the address for the end user/customer. + maxLength: 70 + type: string + addressLine4: + description: Street address4 + type: string + city: + description: The end user/customer's city. Required for Impulse countries. + maxLength: 25 + type: string + state: + description: The end user/customer's state. Required for Impulse countries + but optional for EMEA countries. + maxLength: 3 + type: string + postalCode: + description: The end user/customer's zip or postal code. Required for Impulse + countries. + maxLength: 10 + type: string + countryCode: + description: The end user/customer's two-character ISO country code. + maxLength: 10 + type: string + phoneNumber: + description: The end user/customer's phone number. + type: integer + email: + description: The end user/customer's email. type: string - retailPrice: - description: The retail price of the product. - format: decimal - type: number - mapPrice: - description: "Minimum Advertised Price (MAP). If required by the vendor,\ - \ resellers can not sell below MAP price." - format: decimal - type: number - customerPrice: - description: The price customer pays after all special pricing and discounts - have been applied. - format: decimal - type: number - specialBidPricingAvailable: - description: Boolean values specifies whether special Bid discounts are - available for the product. - type: boolean - webDiscountsAvailable: - description: Boolean values specifies whether web Discounts are available - for the product. - type: boolean type: object - PriceAndAvailabilityResponse_inner_discounts_inner_specialPricing_inner: + OrderCreateRequest_lines_inner_additionalAttributes_inner: example: - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 + attributeValue: attributeValue + attributeName: attributeName properties: - discountType: - description: The type of discount being given to the customer. - example: "Special Bid, Promo Discount" + attributeName: + description: SAP requested and country-specific line level details. type: string - specialBidNumer: - description: Pre-approved special pricing/bid number provided to the reseller - by the vendor for special pricing and discounts. Used to track the bid - number where different line items have different bid numbers. Line-level - bid numbers take precedence over header-level bid numbers. + attributeValue: + description: Line-level additional attributes. type: string - specialPricingDiscount: - description: Special pricing discount amount given to the customer. - format: decimal - type: number - specialPricingEffectiveDate: - description: The effective date of the special pricing available to the - customer. + OrderCreateRequest_lines_inner_warrantyInfo_inner_serialInfo_inner: + example: + dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + properties: + dateofPurchase: + description: Date of purchase of the hardware. format: date type: string - specialPricingExpirationDate: - description: The expiration date of the special pricing available to the - customer. + shipDate: + description: "Vendor specific mandatory field, date of hardware/product\ + \ shipment from vendor." format: date type: string - specialPricingAvailableQuantity: - description: The available quantity of products with discounts. - type: integer - specialPricingMinQuantity: - description: The minimum quantity of products that have to be purchased - to ensure the discount is applied. - type: integer - governmentDiscountType: - description: "Type of Government Discount. *Currently, this discount is\ - \ only available in the USA." + primarySerialNumber: + description: Serial number of the hardware/product. type: string - governmentDiscountedCustomerPrice: - description: "Government Discounted Customer Price. *Currently, this discount\ - \ is only available in the USA." - format: decimal - type: number - type: object - PriceAndAvailabilityResponse_inner_discounts_inner_quantityDiscounts_inner: + secondarySerialNumber: + description: Serial number of accessory associated with the above hardware/product. + type: string + OrderCreateRequest_lines_inner_warrantyInfo_inner: example: - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode + hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 properties: - conditionType: - description: Indicates when the discount is applied after ordering the product. - example: Total fee + directLineLink: + description: Unique value to link hardware and warranty lines. Should be + used only when products are purchased from both Ingram and/or vendor but + the warranty is purchased through Ingram for them. + maxLength: 25 type: string - currencyCode: - description: The country-specific three digit ISO 4217 currency code for - the order. + warrantyLineLink: + description: "Customer line number of the hardware product in this request\ + \ for linkage, either hardwareLineLink or warrantyLineLink can be used\ + \ in a line." type: string - currencyType: - description: Type of currency. + hardwareLineLink: + description: "Customer line number of the warranty product in this request\ + \ for linkage, either hardwareLineLink or warrantyLineLink can be used\ + \ in a line " type: string - quantity: - description: The total discounted quantity of the product. - type: integer - amount: - description: The total price of all the discounts applied. - format: decimal - type: number - type: object - PriceAndAvailabilityResponse_inner_discounts_inner: - example: - specialPricing: - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - quantityDiscounts: - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - properties: - specialPricing: - items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner_specialPricing_inner' - type: array - quantityDiscounts: + serialInfo: + description: "Serial information of the hardware to be associated with the\ + \ warranty, applicable on post sale orders." items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner_quantityDiscounts_inner' + $ref: '#/components/schemas/OrderCreateRequest_lines_inner_warrantyInfo_inner_serialInfo_inner' type: array type: object - PriceAndAvailabilityResponse_inner_serviceFees_inner: + OrderCreateRequest_lines_inner_endUserInfo_inner: example: - amount: 6.84685269835264 - endDate: endDate - description: description - conditionType: conditionType - currencyCode: currencyCode + endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email properties: - conditionType: - description: Condition Type of the service fees. + endUserType: + description: Specifies the type of endUser. It can be endUser or endUserContact + for SAP flow. type: string - description: - description: Description of the service fees. + endUserId: + description: ID for the end user/customer in Ingram Micro's system. + maxLength: 10 type: string - amount: - description: Amount of the service fees. - format: decimal - type: number - endDate: - description: End Date of the service fees. + contact: + description: The contact name for the end user/customer. type: string - currencyCode: - description: Currency Code of the service fees. + companyName: + description: The company name for the end user/customer. type: string - type: object - PriceAndAvailabilityResponse_inner: + name1: + description: name1 + maxLength: 35 + type: string + name2: + description: name2 + type: string + addressLine1: + description: The end user/customer's street address and building or house + number. + type: string + addressLine2: + description: The end user/customer's apartment number. + type: string + addressLine3: + description: Line 3 of the address for the end user/customer. + type: string + addressLine4: + description: Street address4 + 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 + countryCode: + description: The end user/customer's two-character ISO country code. + maxLength: 3 + type: string + phoneNumber: + description: The end user/customer's phone number. + maxLength: 30 + type: number + email: + description: The end user/customer's email. + maxLength: 241 + type: string + OrderCreateRequest_lines_inner: example: - productStatusMessage: productStatusMessage - customerPartNumber: customerPartNumber - description: description - productAuthorized: true - serviceFees: - - amount: 6.84685269835264 - endDate: endDate - description: description - conditionType: conditionType - currencyCode: currencyCode - - amount: 6.84685269835264 - endDate: endDate - description: description - conditionType: conditionType - currencyCode: currencyCode - availability: - totalAvailability: 0 - availabilityByWarehouse: - - quantityAvailable: 6 - backOrderInfo: - - quantity: 5 - etaDate: etaDate - - quantity: 5 - etaDate: etaDate - warehouseId: warehouseId - location: location - quantityBackordered: 1 - quantityBackorderedEta: quantityBackorderedEta - - quantityAvailable: 6 - backOrderInfo: - - quantity: 5 - etaDate: etaDate - - quantity: 5 - etaDate: etaDate - warehouseId: warehouseId - location: location - quantityBackordered: 1 - quantityBackorderedEta: quantityBackorderedEta - available: true - uom: uom - discounts: - - specialPricing: - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - quantityDiscounts: - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - - specialPricing: - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - - specialBidNumer: specialBidNumer - specialPricingAvailableQuantity: 4 - specialPricingExpirationDate: 2000-01-23 - specialPricingMinQuantity: 7 - governmentDiscountedCustomerPrice: 1.2315135367772556 - specialPricingEffectiveDate: 2000-01-23 - governmentDiscountType: governmentDiscountType - discountType: "Special Bid, Promo Discount" - specialPricingDiscount: 2.027123023002322 - quantityDiscounts: - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - - currencyType: currencyType - amount: 1.4894159098541704 - quantity: 1 - conditionType: Total fee - currencyCode: currencyCode - productStatusCode: productStatusCode - vendorPartNumber: vendorPartNumber - acceptBackOrder: true ingramPartNumber: ingramPartNumber - productClass: productClass - govtProgramType: govtProgramType - govtEndUserType: govtEndUserType - upc: upc - productStatus: productStatus - partNumberType: partNumberType - bundlePartIndicator: true - vendorName: vendorName - returnableProduct: true - govtSpecialPriceAvailable: true - extendedVendorPartNumber: extendedVendorPartNumber - endUserInfoRequired: true - vendorNumber: vendorNumber - reserveInventoryDetails: - - expirydate: expirydate - quantityAvailable: 2 - quantityReserved: 5 - effectivedate: effectivedate - - expirydate: expirydate - quantityAvailable: 2 - quantityReserved: 5 - effectivedate: effectivedate - pricing: - mapPrice: 9.301444243932576 - webDiscountsAvailable: true - specialBidPricingAvailable: true - currencyCode: currencyCode - retailPrice: 7.061401241503109 - customerPrice: 3.616076749251911 + unitPrice: 5.962133916683182 + quantity: 1 + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: 2.3021358869347655 + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: 5.637376656633329 + warrantyInfo: + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - hardwareLineLink: hardwareLineLink + directLineLink: directLineLink + warrantyLineLink: warrantyLineLink + serialInfo: + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + - dateofPurchase: 2000-01-23 + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: 2000-01-23 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - productStatusCode: - description: Codes signifying whether the sku is active or not. - type: string - productStatusMessage: - description: Message returned saying whether sku is active. + customerLineNumber: + description: "The reseller's line item number for reference in their system.\ + \ The customer line number needs to be a unique numeric value between\ + \ 1 and 884. In the event we receive duplicate values or alphanumeric\ + \ values in the customer line number, we will re-sequence the customer\ + \ line number. To prevent re-sequencing, please use a unique numeric value\ + \ between 1 and 884 in the customer line number." + maxLength: 3 type: string ingramPartNumber: - description: Ingram Micro unique part number for the product. - type: string - vendorPartNumber: - description: Vendor’s part number for the product. - type: string - extendedVendorPartNumber: - description: "Extended Vendor Part Number. *Currently, this feature is not\ - \ available in these countries (Mexico, Turkey, New Zealand, Colombia,\ - \ Chile, Brazil, Peru, Western Sahara)." - type: string - customerPartNumber: - description: Reseller / end-user’s part number for the product. - type: string - upc: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquely assigned to each trade item. - type: string - partNumberType: - description: Number type of the part. - type: string - vendorNumber: - description: Vendor number that identifies the product. - type: string - vendorName: - description: Vendor name for the order. - type: string - description: - description: The description given for the product. - type: string - productClass: - description: |- - Indicates whether the product is directly shipped from the vendor’s warehouse or if the product ships from Ingram Micro’s warehouse. Class Codes are Ingram classifications on how skus are stocked - A = Product that is stocked usually in all IM warehouses and replenished on a regular basis. - B = Product that is stocked in limited IM warehouses and replenished on a regular basis - C = Product that is stocked in fewer IM warehouses and replenished on a regular basis. - D = Product that Ingram Micro has elected to discontinue. - E = Product that will be phased out later, according to the vendor. You may not want to replenish this product, but instead sell down what is in stock. - F = Product that we carry for a specific customer or supplier under a contractual agreement. - N = New Sku. Classification before first receipt - O = Discontinued product to be liquidated - S= Order for Specialized Demand (Order to backorder) - X= direct ship from Vendor - V = product that vendor has elected to discontinue. - type: string - uom: - description: The description given for the product. - type: string - productStatus: - description: Status that gives whether the product is Active. + description: The unique IngramMicro part number. + maxLength: 18 type: string - acceptBackOrder: - description: Boolean that indicates if the product accepts backorder. - type: boolean - productAuthorized: - description: Boolean that indicates whether a product is authorized. - type: boolean - returnableProduct: - description: Boolean that indicates if the product can be returned. - type: boolean - endUserInfoRequired: - description: Boolean that indicates if end user information is required. - type: boolean - govtSpecialPriceAvailable: - description: Boolean that indicates if special pricing is available for - the product. - type: boolean - govtProgramType: - description: "Program type, “PA” for government orders, “ED” for education\ - \ order." + quantity: + description: The requested quantity of the line item. + type: integer + specialBidNumber: + description: The line-level bid number provided to the reseller by the vendor + for special pricing and discounts. Used to track the bid number in the + case of split orders or where different line items have different bid + numbers. Line-level bid number take precedence over header-level bid numbers. + maxLength: 36 type: string - govtEndUserType: - description: "Type of end user of the program. F = Federal, S = State, E\ - \ = Local, K = K-12 school, and H = Higher Education." + notes: + description: Line-level notes. type: string - availability: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability' - reserveInventoryDetails: + unitPrice: + description: The reseller-requested unit price for the line item. The unit + price is not guaranteed. + format: decimal + type: number + endUserPrice: + description: The end user price. + format: decimal + type: number + additionalAttributes: items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_reserveInventoryDetails_inner' + $ref: '#/components/schemas/OrderCreateRequest_lines_inner_additionalAttributes_inner' type: array - pricing: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_pricing' - discounts: + warrantyInfo: + description: Warranty details for the line. This is required in case of + warranty orders. items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner' + $ref: '#/components/schemas/OrderCreateRequest_lines_inner_warrantyInfo_inner' type: array - bundlePartIndicator: - description: "True of false value to indicate whether it’s bundle part.\ - \ *Currently, this feature is not available in these countries (Mexico,\ - \ Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western Sahara)." - type: boolean - serviceFees: - description: "*Currently, this feature is not available in these countries\ - \ (Mexico, Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western\ - \ Sahara)." + endUserInfo: items: - $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_serviceFees_inner' + $ref: '#/components/schemas/OrderCreateRequest_lines_inner_endUserInfo_inner' type: array type: object - ProductSearch_Response_catalog_inner_links_inner: - description: HATEOAS links for the price and availability of the sku. + OrderCreateRequest_shipmentDetails: + description: Shipping details for the order provided by the customer. example: - topic: topic - href: href - type: type + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: 2000-01-23 properties: - topic: - description: Provides the details of the product. + carrierCode: + description: The code for the shipping carrier for the line item. + maxLength: 10 type: string - href: - description: The URL endpoint for accessing the relevant data.. + 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 - type: - description: The type of call that can be made to the href link(GET) + 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.\ + \ \n\n With value as true or C, backorderflag will be set as C. \n\n With\ + \ value as P, or E, backorderflag will be set as P or E respectively.\ + \ \n\n C = Ship complete at distribution level. \n\n P = ship complete\ + \ at line level. \n\n E = ship complete across all distributions. " + maxLength: 1 + type: string + requestedDeliveryDate: + description: The reseller-requested delivery date in UTC format. Delivery + date is not guaranteed. + format: date + type: string + signatureRequired: + description: Specifies whether a signature is required for delivery. Default + is False. + type: boolean + shippingInstructions: + maxLength: 132 + type: string + type: object + OrderCreateRequest_additionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + properties: + attributeName: + description: "allowPartialOrder: Allow orders with failed lines. (SAP) Depends\ + \ on backorder settings. \n\n\nDpasRating: DX rating by Department of\ + \ Defense is the highest rating by the highest offices and meant to be\ + \ top priority. DO any other gov offices at the federal level to priotize.\ + \ \n\n DpasProgramId: Identifies the actual agency that signed off on\ + \ the DPAS priority. \n\n allowDuplicateCustomerOrderNumber: Allow orders\ + \ with duplicate customer PO numbers. Enables resellers to have the same\ + \ PO number for multiple orders. \n \n channelCode: Determine storage\ + \ location for Markeplace(SAP) for different orderTypes.\n \n customerPOType:\ + \ Used for pricing, similar to orderType. Possible SAP values- ZXML and\ + \ ZWEB.\n \n storageLocation: Determine the location of the product stock\ + \ in SAP for Marketplaces.\n \n soldTo: To be used in cases when Sold-To\ + \ is different than Customer ID.\n \n orderType: Order Type[SAP]- ZOR\ + \ and ZLCN.\n \n endUserSearchTerm: Search ID for a end user contact is\ + \ used in SAP to determine the contact name.\n \n Z101: Used for end customer\ + \ details such as name, address, phone, etc. This information flows to\ + \ SAP and is used by warehouse.\n \n euDepId: DEP ID would be the 'End\ + \ User DEP/ABM Organization ID' up to 32 characters and is assigned by\ + \ Apple.\n \n depOrderNbr: depordernbr is 'End User PO to reseller' Can\ + \ appear in message lines or dedicated end user po#.\n \n govtProgramType:\ + \ Program type, “PA” for government orders, “ED” for education order.\n\ + \ \n govtEndUserType: Type of end user of the program. F = Federal, S\ + \ = State, E = Local, K = K-12 school, and H = Higher Education\n \n govtSolicitationNumber:\ + \ Education order’s contract number\n \n govtPublicPrivateCode: Determines\ + \ TAX / NO TAX. 'P' PUBLIC SECTOR, 'R' PRIVATE SECTOR. Value needs\ + \ only to be provided for EDUCATION order.\n \n govtEndUserData: Name\ + \ of the End user of the program. For example, STATE OF OHIO, CHICAGO\ + \ SCHOOLDISTRICT etc.\n \n govtEndUserPostalCode: 9 CHAR FIELD / Zip Code\ + \ of the End user of the order.\n \n dynamicMessageLine1: Custom Dynamic\ + \ Message line 1.\n \n allowOrderOnCustomerHold: Boolean value flag which\ + \ allows a customer to create an order with the hold status." + type: string + attributeValue: + description: attributefield data type: string type: object - ProductSearch_Response_catalog_inner: + OrderCreateResponse_shipToInfo: + description: The shipping information provided by the reseller. example: - ingramPartNumber: ingramPartNumber - extraDescription: extraDescription - subCategory: subCategory - replacementSku: replacementSku - endUserRequired: endUserRequired - authorizedToPurchase: authorizedToPurchase - description: description - discontinued: discontinued - vendorName: vendorName - type: type - newProduct: newProduct - hasWarranty: hasWarranty - hasDiscounts: hasDiscounts - directShip: directShip - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - category: category - productType: productType - upcCode: upcCode + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email properties: - description: - description: The description of the product. - type: string - category: - description: "The category of the product. Example: Displays." - type: string - subCategory: - description: "The sub category for the product. Example: ComputernMonitors." - type: string - productType: - description: "The product type of the product. Example: LCD Monitors." - type: string - ingramPartNumber: - description: The Unique IngramMicro part number for the product. - type: string - vendorPartNumber: - description: The vendor part number for the product. - type: string - upcCode: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquly assigned to each trade item. - type: string - vendorName: - description: The name of the vendor/manufacturer of the product. - type: string - endUserRequired: - description: "Indicates whether the contact information for the end user/customer\ - \ is required, which determines pricing and discounts." - type: string - hasDiscounts: - description: Specifies if there are discounts available for the product. + addressId: + description: The ID references the resellers address in Ingram Micro's system + for shipping. Provided to resellers during the onboarding process. type: string - type: - description: "The SKU type of product. One of Physical, Digital, or Any." + contact: + description: The company contact provided by the reseller. type: string - discontinued: - description: Indicates if the product has been discontinued. + companyName: + description: The name of the company the order will be shipped to. type: string - newProduct: - description: "Indicates if the product is new. For digital products, newer\ - \ than 10 days. For physical products, newer than 150 days." + name1: + description: name1 type: string - directShip: - description: Indicates if the product will be shipped directly to the reseller - or end user from the vendor/manufacturer. + name2: + description: name2 type: string - hasWarranty: - description: Indicates if the product has a warranty. + addressLine1: + description: The street address and building or house number the order will + be shipped to. type: string - links: - items: - $ref: '#/components/schemas/ProductSearch_Response_catalog_inner_links_inner' - type: array - extraDescription: - description: The extended description of the product. + addressLine2: + description: The apartment number the order will be shipped to. type: string - replacementSku: - description: Identifies a SKU that is a comparable subsititution of the - current SKU if available. + addressLine3: + description: Line 3 of the address the order will be shipped to. type: string - authorizedToPurchase: - description: It is true when it exists in matched queries field of ealstic - search API. + addressLine4: + description: Street address4 type: string - type: object - ProductDetailResponse_indicators: - description: Indicators of the Product - example: - isHeavyWeight: true - isEnduserRequired: true - hasStdWebDiscount: true - hasStdSpecialPrice: true - isPreorderProduct: true - hasWarranty: true - isDirectshipOrderable: true - isNewProduct: true - isDownloadable: true - isClearanceProduct: true - isOversizeProduct: true - isShippedFromPartner: true - isIngramShip: true - hasAcopQuantityBreak: true - IsBackOrderAllowed: true - isReplacementProduct: true - hasSpecialBid: true - isReturnableProduct: true - isConfigurable: true - isExportableToCountry: true - isDigitalType: true - hasAcopSpecialPrice: true - isRefurbishedProduct: true - isLicenseProduct: true - HasReturnLimits: true - skuType: skuType - isDiscontinuedProduct: true - hasLtl: true - isServiceSku: true - hasBundle: true - isDirectship: true - properties: - hasWarranty: - description: Boolean that indicates whether product has a warranty. - type: boolean - isNewProduct: - description: 'Boolean that indicates whether it’s a new product. ' - type: boolean - HasReturnLimits: - description: Boolean that indicates whether there is any limit to return - the product. - type: boolean - IsBackOrderAllowed: - description: Boolean that indicates whether back order is allowed for the - product. - type: boolean - isShippedFromPartner: - description: Boolean that indicates whether product is shipped from the - partner. - type: boolean - isReplacementProduct: - description: Boolean that indicates whether product is a replacement product. - type: boolean - isDirectship: - description: Boolean that indicates whether it’s a direct ship product. - type: boolean - isDownloadable: - description: Boolean that indicates whether product is downloadable. - type: boolean - isDigitalType: - description: 'Boolean that indicates whether it’s a digital product. ' - type: boolean - skuType: - description: skutype + 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. + type: string + countryCode: + description: The two-character ISO country code the order will be shipped + to. + type: string + phoneNumber: + description: The company contact phone number. + type: string + email: + description: The company contact email address. type: string - hasStdSpecialPrice: - description: Boolean that indicates whether product has any standard special - price. - type: boolean - hasAcopSpecialPrice: - description: Boolean that indicates whether product has any ACOP special - price. - type: boolean - hasAcopQuantityBreak: - description: Boolean that indicates whether product has any ACOP quantity - break. - type: boolean - hasStdWebDiscount: - description: Boolean that indicates whether product has any standard web - discount. - type: boolean - hasSpecialBid: - description: Boolean that indicates whether product has any special bid. - type: boolean - isExportableToCountry: - description: Boolean that indicates whether product is exportable. - type: boolean - isDiscontinuedProduct: - description: Boolean that indicates whether it’s a discontinued product. - type: boolean - isRefurbishedProduct: - description: Boolean that indicates whether product is refurbished. - type: boolean - isReturnableProduct: - description: Boolean that indicates if the product can be returned. - type: boolean - isIngramShip: - description: Boolean that indicates whether it’s a Ingram shipped product. - type: boolean - isEnduserRequired: - description: Do vendor requires Enduser name required to create an order. - type: boolean - isHeavyWeight: - description: Boolean that indicates whether it’s heavy weight product. - type: boolean - hasLtl: - description: Boolean that indicates whether it hasLtl or not. - type: boolean - isClearanceProduct: - description: Boolean that indicates whether it’s clearnce product. - type: boolean - hasBundle: - description: Boolean that indicates whether it’s a bundled product. - type: boolean - isOversizeProduct: - description: Boolean that indicates whether it’s oversized product. - type: boolean - isPreorderProduct: - description: Boolean that indicates whether it’s a preorder product. - type: boolean - isLicenseProduct: - description: Boolean that indicates whether it’s a licened product. - type: boolean - isDirectshipOrderable: - description: Boolean that indicates whether product is directship orderable. - type: boolean - isServiceSku: - description: Boolean that indicates whether product is service SKU. - type: boolean - isConfigurable: - description: Boolean that indicates whether product is configurable. - type: boolean type: object - ProductDetailResponse_ciscoFields: - description: Cisco product related information. + OrderCreateResponse_endUserInfo: + description: The contact information for the end user/customer provided by the + reseller. Used to determine pricing and discounts. example: - itemType: itemType - productSubGroup: productSubGroup - configurationIndicator: configurationIndicator - internalBusinessEntity: internalBusinessEntity - serviceProgramName: serviceProgramName - globalListPrice: globalListPrice - itemCatalogCategory: itemCatalogCategory + endUserId: endUserId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email properties: - productSubGroup: - description: Cisco product sub-group + endUserId: + description: The unique ID provided by the reseller for the end user/customer. type: string - serviceProgramName: - description: Cisco service program name + contact: + description: The contact name for the end user/customer. type: string - itemCatalogCategory: - description: Cisco item catalog category + companyName: + description: The company name for the end user/customer. type: string - configurationIndicator: - description: Cisco configuration indicator + name1: + description: name1 type: string - internalBusinessEntity: - description: Cisco internal business entity + name2: + description: name2 type: string - itemType: - description: Cisco item type + addressLine1: + description: The street adress and building or house number for the end + user/customer. type: string - globalListPrice: - description: Cisco global list price + addressLine2: + description: The apartment number for the end user/customer. + type: string + addressLine3: + description: Line 3 of the address for the end user/customer. + type: string + addressLine4: + description: Street address4 + 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 + 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 email. type: string type: object - ProductDetailResponse_technicalSpecifications_inner: + OrderCreateResponse_orders_inner_lines_inner_shipmentDetails_inner: example: - headername: headername - attributevalue: attributevalue - attributedisplay: attributedisplay - attributename: attributename + freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation properties: - headername: - description: "Example : 'Basic'" + carrierCode: + description: The code for the shipping carrier for the line item. type: string - attributevalue: - description: "Example : 'LCD Monitor'" + carrierName: + description: The name of the shipping carrier for the line item. type: string - attributedisplay: - description: "Example : 'Basic|Product Type|LCD Monitor'" + shipFromWarehouseId: + description: The ID of the warehouse the line item will ship from. type: string - attributename: - description: "Example : 'Product Type'" + shipFromLocation: + description: Location from which order is shipped. + 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: string + shippingInstructions: + description: The shipping instructions for the order. type: string type: object - ProductDetailResponse_additionalInformation_productWeight_inner: + OrderCreateResponse_orders_inner_lines_inner_additionalAttributes_inner: example: - plantId: plantId - weight: 0.8008281904610115 - weightUnit: weightUnit + attributeValue: attributeValue + attributeName: attributeName properties: - plantId: - description: "ID of the plant. \nExample : 'US01'" + attributeName: type: string - weight: - description: "Weight of the product. \n Example : 2" - type: number - weightUnit: - description: "Weight unit of the product. \n Example : 'LB'" + attributeValue: type: string type: object - ProductDetailResponse_additionalInformation: - description: Additional Information related to the product. + OrderCreateResponse_orders_inner_lines_inner: example: - netWeight: netWeight - width: width - length: length - dimensionUnit: dimensionUnit - productWeight: - - plantId: plantId - weight: 0.8008281904610115 - weightUnit: weightUnit - - plantId: plantId - weight: 0.8008281904610115 - weightUnit: weightUnit - isBulkFreight: true - height: height + ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - productWeight: - description: Weight information related to the product. - items: - $ref: '#/components/schemas/ProductDetailResponse_additionalInformation_productWeight_inner' - type: array - isBulkFreight: - description: "Example : true or false" - type: boolean - height: - description: "Example : '5.2 Inches'" + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - width: - description: "Example : '13 inches'" + ingramLineNumber: + description: The Ingram Micro line number for the product. type: string - length: - description: "Example : '20.4 inches'" + customerLineNumber: + description: The reseller's line number for reference in their system. type: string - netWeight: - description: "Example : '10 lb'" + lineStatus: + description: "The status for the line item in the order. One of: Backordered,\ + \ Open" + type: string + ingramPartNumber: + description: The Ingram Micro part number for the line item. + type: string + vendorPartNumber: + description: The vendor part number for the line item. + type: string + unitPrice: + description: The unit price for the line item. + format: decimal + type: number + extendedUnitPrice: + description: The extended list price (unit price X quantity) for the line + item. + format: decimal + type: number + quantityOrdered: + description: The quantity of the line item ordered. + type: integer + quantityConfirmed: + description: The quantity of the line item that has been confirmed. + type: integer + quantityBackOrdered: + description: The quantity of the line item that is backordered. + type: integer + specialBidNumber: + description: The bid number for the line item 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 - dimensionUnit: - description: "Example : 'Unit value'" + notes: + description: Line-level notes. type: string + shipmentDetails: + description: The shipment details for the line item. + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner_shipmentDetails_inner' + type: array + additionalAttributes: + description: SAP requested and country-specific line level details. + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner_additionalAttributes_inner' + type: array type: object - renewalsSearchRequest_status_OpporutinyStatus: + OrderCreateResponse_orders_inner_miscellaneousCharges_inner: + example: + chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription properties: - value: - description: "The value of opportunity status, it can be either Open or\ - \ Closed." - type: string - subStatus: - description: "The sub-status of Opportunity status. Possible sub-status\ - \ values for Open opportunity status are Ready to order, Quote pending,\ - \ Notification sent, Future, and Quote requested. Possible sub-status\ - \ values for Closed opportunity status are All, Ordered, Quote closed-contract\ - \ sales desk, Expired, Transition to new/upsell, Lost to competitior,\ - \ Consolidated, Transitioned to cloud, Renewal went direct, EOL, End user\ - \ out of business, Void, Other, and Cancelled." + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - type: object - renewalsSearchRequest_status: - properties: - OpporutinyStatus: - $ref: '#/components/schemas/renewalsSearchRequest_status_OpporutinyStatus' - type: object - renewalsSearchRequest_dataType_startDate: - properties: - customStartDate: - description: Custom from date for Renewal Start date. + chargeLineReference: + description: Impulse line number for the miscellaneous charge. type: string - customEndDate: - description: Custom to date for Renewal Start date. + chargeDescription: + description: Description of the miscellaneous charges for the order. type: string + chargeAmount: + description: The total amount of miscellaneous charges for the order. + format: decimal + type: number type: object - renewalsSearchRequest_dataType_endDate: + OrderCreateResponse_orders_inner_links_inner: + example: + topic: topic + href: href + type: type properties: - customStartDate: - description: Custom from date for Renewal end date. + topic: + description: Provides the details of the orders. type: string - customEndDate: - description: Custom to date for Renewal end date. + href: + description: The URL endpoint for accessing the relevant data. + type: string + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.)." type: string type: object - renewalsSearchRequest_dataType_invoiceDate: + OrderCreateResponse_orders_inner_rejectedLineItems_inner: + example: + ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber properties: - customStartDate: - description: Custom start date for invoice date. + customerLinenumber: + description: The reseller's line item number of the rejected item for their + reference. Number type: string - customEndDate: - description: Custom end date for invoice date. + ingramPartNumber: + description: The Ingram Micro part number for the rejected line item. type: string - type: object - renewalsSearchRequest_dataType_expirationDate: - properties: - customStartDate: - description: Custom start date for expiration date. + vendorPartNumber: + description: The vendor part number for the rejected line item. type: string - customEndDate: - description: Custom end date for expiration date. + quantityOrdered: + description: The quantity ordered of the rejected line item. + type: integer + rejectCode: + description: "The rejection code for the rejected line item. Ex: 'EN' " + type: string + rejectReason: + description: "The rejection reason for the rejected line item. Ex: 'SKU-NOTFOUND\ + \ DF41281' " type: string type: object - renewalsSearchRequest_dataType: - properties: - startDate: - $ref: '#/components/schemas/renewalsSearchRequest_dataType_startDate' - endDate: - $ref: '#/components/schemas/renewalsSearchRequest_dataType_endDate' - invoiceDate: - $ref: '#/components/schemas/renewalsSearchRequest_dataType_invoiceDate' - expirationDate: - $ref: '#/components/schemas/renewalsSearchRequest_dataType_expirationDate' - type: object - renewalsSearchResponse_renewals_inner_links_inner: + OrderCreateResponse_orders_inner_additionalAttributes_inner: example: - topic: topic - href: href - type: type + attributeValue: attributeValue + attributeName: attributeName properties: - topic: - description: The topic of the link. - type: string - href: - description: The URL of the topic. + attributeName: + description: " allowPartialOrder: Allow orders with failed lines. (SAP)\ + \ Depends on backorder settings.\n\n\ndpasRating: DX rating by Department\ + \ of Defense is the highest rating by the highest offices and meant to\ + \ be top priority. DO any other gov offices at the federal level to priotize.\n\ + \n\ndpasProgramId: Identifies the actual agency that signed off on the\ + \ DPAS priority. \n\nstorageLocation: Determine the location of the product\ + \ stock in SAP for Marketplaces.\n\nsoldTo: To be used in cases when Sold-To\ + \ is different than Customer ID.\n\nZ101: Used for end customer details\ + \ such as name, address, phone, etc. This information flows to SAP and\ + \ is used by warehouse.\n\neuDepId: DEP ID would be the 'End User DEP/ABM\ + \ Organization ID' up to 32 characters and is assigned by Apple.\n\ndepOrderNbr:\ + \ depordernbr is 'End User PO to reseller' Can appear in message lines\ + \ or dedicated end user po#.\n " type: string - type: - description: Type of a call. + attributeValue: + description: Attribute value type: string type: object - renewalsSearchResponse_renewals_inner: + OrderCreateResponse_orders_inner: example: - renewalId: renewalId - endUser: endUser - referenceNumber: referenceNumber - vendor: vendor - renewalValue: renewalValue + orderType: orderType + rejectedLineItems: + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + - ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 1 + customerLinenumber: customerLinenumber + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.2315135367772556 + chargeDescription: chargeDescription + notes: notes + numberOfLinesWithSuccess: 6 + numberOfLinesWithError: 1 + orderTotal: 5.637376656633329 + ingramOrderNumber: ingramOrderNumber + totalTax: 7.061401241503109 links: - topic: topic href: href @@ -20010,45 +14052,152 @@ components: - topic: topic href: href type: type - customerOrderNumber: customerOrderNumber - expirationDate: expirationDate - status: status + numberOfLinesWithWarning: 5 + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + - ingramPartNumber: ingramPartNumber + unitPrice: 9.301444243932576 + notes: notes + extendedUnitPrice: 3.616076749251911 + ingramLineNumber: ingramLineNumber + quantityOrdered: 2 + customerLineNumber: customerLineNumber + lineStatus: lineStatus + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + - freightAccountNumber: freightAccountNumber + carrierName: carrierName + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: signatureRequired + shipFromWarehouseId: shipFromWarehouseId + shipFromLocation: shipFromLocation + subOrderNumber: subOrderNumber + quantityConfirmed: 4 + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + currencyCode: currencyCode + freightCharges: 2.3021358869347655 + ingramOrderDate: ingramOrderDate + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - renewalId: - description: Unique renewal ID. - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - referenceNumber: - description: Renewal reference number. It could be notification id or quote - number. - type: string - endUser: - description: The company name for the end user/customer. + numberOfLinesWithSuccess: + description: The number of lines in the order that were successful. + type: integer + numberOfLinesWithError: + description: The number of lines in the order that have errors. + type: integer + numberOfLinesWithWarning: + description: The number of lines in the order that have a warning. + type: integer + ingramOrderNumber: + description: The Ingram Micro order number. type: string - vendor: - description: The name of the vendor. + ingramOrderDate: + description: The date in UTC format that the order was created in Ingram + Micro's system. type: string - expirationDate: - description: Renewal expiration date. + notes: + description: Order-level notes. type: string - renewalValue: - description: The value of the renewal. + orderType: + description: "The order typer. One of: S=Stocked PO D=Direct Ship PO" type: string - status: - description: The status of the renewal. + orderTotal: + description: The total price for the order. + format: decimal + type: number + freightCharges: + description: The total freight charges for the order. + format: decimal + type: number + totalTax: + description: The total tax for the order. + format: decimal + type: number + currencyCode: + description: The country-specific three character ISO 4217 currency code + used for the order. type: string + lines: + description: The line-level details for the order. + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_lines_inner' + type: array + miscellaneousCharges: + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_miscellaneousCharges_inner' + type: array links: + description: Link to Order Details for the order(s). items: - $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner_links_inner' + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_links_inner' + type: array + rejectedLineItems: + description: A list of rejected line items. + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_rejectedLineItems_inner' + type: array + additionalAttributes: + items: + $ref: '#/components/schemas/OrderCreateResponse_orders_inner_additionalAttributes_inner' type: array type: object - renewalsDetailsResponse_endUserInfo_inner: + OrderModifyRequest_shipToInfo: + description: The shipping information provided by the reseller. example: city: city companyName: companyName postalCode: postalCode + addressId: addressId phoneNumber: phoneNumber countryCode: countryCode contact: contact @@ -20057,545 +14206,393 @@ components: addressLine3: addressLine3 state: state name2: name2 - addressLine4: addressLine4 name1: name1 email: email properties: + addressId: + 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. + maxLength: 10 + type: string contact: - description: The contact name for the end user/customer. + description: The company contact provided by the reseller. + maxLength: 40 + type: string + companyName: + description: The name of the company the order will be shipped to. + maxLength: 40 type: string name1: - description: The name1 for the end user/customer. + description: name1. + maxLength: 40 type: string name2: - description: The name2 for the end user/customer. - type: string - companyName: - description: The company name for the end user/customer. + description: name2. + maxLength: 40 type: string addressLine1: - description: The address line 1 for the end user/customer. + description: The street address and building or house number the order will + be shipped to. + maxLength: 60 type: string addressLine2: - description: The address line 2 for the end user/customer. + description: The apartment number the order will be shipped to. + maxLength: 40 type: string addressLine3: - description: The address line 3 for the end user/customer. - type: string - addressLine4: - description: The address line 4 for the end user/customer. + description: Line 3 of the address the order will be shipped to. + maxLength: 40 type: string city: - description: The end user/customer's city. + description: The city the order will be shipped to. + maxLength: 25 type: string state: - description: The end user/customer's state. + description: The state the order will be shipped to. + maxLength: 3 type: string postalCode: - description: The end user/customer's zip or postal code. + description: The zip or postal code the order will be shipped to. + maxLength: 10 type: string countryCode: - description: The end user/customer's two character ISO country code. + description: The two-character ISO country code the order will be shipped + to. + maxLength: 3 type: string phoneNumber: - description: The end user/customer's phone number. + description: The company contact phone number. + maxLength: 30 type: string email: - description: The end user/customer's email. - type: string - type: object - renewalsDetailsResponse_referenceNumber_inner: - example: - notificationId: notificationId - quoteNumber: quoteNumber - properties: - notificationId: - description: Notification id of the communication sent from Ingram. - type: string - quoteNumber: - description: Quote number for the renewal. + description: The company contact email address. + maxLength: 241 type: string type: object - renewalsDetailsResponse_products_inner: + OrderModifyRequest_lines_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - manufacturerPartNumber: manufacturerPartNumber - isConsolidated: isConsolidated - quantity: quantity + quantity: 0 + notes: notes + addUpdateDeleteLine: UPDATE ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - productDescription: productDescription + customerLineNumber: customerLineNumber properties: - ingramLineNumber: - description: Unique Ingram Micro line number. - type: string - productDescription: - description: The description of the product. + ingramPartNumber: + description: The unique IngramMicro part number. + maxLength: 18 type: string - vendorPartNumber: - description: The vendor's part number for the line item. + ingramLineNumber: + description: The IngramMicro line number. + maxLength: 6 type: string - ingramPartNumber: - description: Unique IngramMicro part number. + customerLineNumber: + description: The reseller's line number for reference in their system. + maxLength: 6 type: string - manufacturerPartNumber: - description: The manufacturer's part number for the line item. + addUpdateDeleteLine: + description: "The line number that was added, updated, or deleted." + enum: + - UPDATE + - DELETE + - ADD type: string quantity: description: The quantity of the line item. - type: string - unitPrice: - description: The unit price of the line item. - format: decimal - type: number - isConsolidated: - description: Is the line item consolidated? Yes or No. + type: integer + notes: + description: The line-level notes. + maxLength: 132 type: string type: object - renewalsDetailsResponse_additionalAttributes_inner: + OrderModifyRequest_additionalAttributes_inner: example: - isConsolidated: isConsolidated attributeValue: attributeValue - attributeDescription: attributeDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 - properties: - attributeDescription: - description: The description of the additional attribute. - type: string - attributeValue: - description: The value of the additional attribute. - type: string - startDate: - description: The attribute start date. - format: date - type: string - expirationDate: - description: The attribute expiration date. - format: date - type: string - isConsolidated: - description: Is the line item consolidated? Yes or No. - type: string - type: object - dealsSearchResponse_deals_inner: - example: - endUser: endUser - dealId: dealId - vendor: vendor - links: - topic: topic - href: href - type: type - version: version - dealExpiryDate: dealExpiryDate + attributeName: attributeName properties: - dealId: - description: Deal/Special bid number. - type: string - version: - description: Most recent version number of the deal. - type: string - endUser: - description: The end user/customer's name. - type: string - vendor: - description: The vendor's name. + attributeName: + description: "Example values are 'entryMethod', 'enableCommentsAsLines',\ + \ 'regionCode'" type: string - dealExpiryDate: - description: Expiration date of the deal/Special bid. + attributeValue: + description: Attribute Value type: string - links: - $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner_links_inner' type: object - dealsDetailsResponse_products_inner: + OrderModifyResponse_shipToInfo: + description: The shipping information for the order provided by the reseller. example: - ingramPartNumber: ingramPartNumber - remainingQuantity: 2 - daysRemaining: 7 - comments: comments - specialConditions: specialConditions - upc: upc - standardPrice: 5.962133916683182 - approvedQuantity: 5 - msrp: 6.027456183070403 - vendorPartNumber: vendorPartNumber - extendedMSRP: 1.4658129805029452 - productDescription: productDescription - startDate: 2000-01-23 - expirationDate: 2000-01-23 + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId properties: - ingramPartNumber: - description: Unique Ingram part number. + addressId: + description: Suffix used to identify shipping 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. type: string - vendorPartNumber: - description: Vendor Part number for the product. + contact: + description: The company contact provided by the reseller. type: string - upc: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquely assigned to each trade item. + companyName: + description: The name of the company the order will be shipped to. type: string - productDescription: - description: Description of the product. + addressLine1: + description: The street address and building or house number the order will + be shipped to. type: string - msrp: - description: Manufacturer Suggested Retail Price. - format: decimal - type: number - extendedMSRP: - description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity. - format: decimal - type: number - standardPrice: - description: Standard price of the line item. - format: decimal - type: number - approvedQuantity: - description: Total quantity approved for the deal. - type: integer - remainingQuantity: - description: The quantity remaining as part of the deal for the customer - to order. - type: integer - comments: - description: Comments of the deal. + addressLine2: + description: The apartment number the order will be shipped to. type: string - specialConditions: - description: Special conditions of the deal. + addressLine3: + description: Line 3 of the address the order will be shipped to. type: string - startDate: - description: Start Date. - format: date + city: + description: The city the order will be shipped to. type: string - expirationDate: - description: Expiration date. - format: date + 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. + type: string + countryCode: + description: The two-character ISO country code the order will be shipped + to. + type: string + phoneNumber: + description: The company contact phone number. + type: string + email: + description: The company contact email address. type: string - daysRemaining: - description: Number of days remaining before the deal expires. - type: integer type: object - returnsSearchResponse_returnsClaims_inner_links_inner: + OrderModifyResponse_lines_inner_shipmentDetails: + description: Shipping details for the order provided by the reseller. example: - topic: topic - href: href - type: type + freightAccountNumber: freightAccountNumber + carrierName: carrierName + carrierCode: carrierCode properties: - topic: - description: Provides the details of the return. + carrierCode: + description: The carrier code for the shipment containing the line item. type: string - href: - description: The URL endpoint for accessing the relevant data. + carrierName: + description: The name of the carrier of the shipment containing the line + item. type: string - type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.)." + 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 type: object - returnsSearchResponse_returnsClaims_inner: + OrderModifyResponse_lines_inner_additionalAttributes_inner: example: - modifiedOn: modifiedOn - estimatedTotalValue: 5.962133916683182 - referenceNumber: referenceNumber - returnReason: returnReason - returnClaimId: returnClaimId - caseRequestNumber: caseRequestNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - type: type - credit: 5.637376656633329 - createdOn: createdOn - status: status + attributeValue: attributeValue + attributeName: attributeName properties: - returnClaimId: - description: A unique return claim Id. - type: string - caseRequestNumber: - description: A unique return request number. + attributeName: + description: Attribute Name. type: string - createdOn: - description: 'The date on which the return request was created. ' + attributeValue: + description: Attribute Value. type: string - type: - description: Type of request. + type: object + OrderModifyResponse_lines_inner: + example: + ingramPartNumber: ingramPartNumber + quantityBackOrdered: 7 + shipmentDetails: + freightAccountNumber: freightAccountNumber + carrierName: carrierName + carrierCode: carrierCode + notes: notes + subOrderNumber: subOrderNumber + quantityConfirmed: 2 + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 5 + customerLineNumber: customerLineNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName + properties: + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - returnReason: - description: The reason for the return. + ingramLineNumber: + description: The IngramMicro line number. type: string - referenceNumber: - description: The reference number for the return. + customerLineNumber: + description: The reseller's line number for reference in their system. type: string - estimatedTotalValue: - description: The estimated total value of the return. - format: double - type: number - credit: - description: The amount of credit. - format: decimal - type: number - modifiedOn: - description: The date on which the return request was last updated. + ingramPartNumber: + description: The unique IngramMicro part number for the line item. type: string - status: - description: The status of the request. + vendorPartNumber: + description: The vendor's part number for the line item. type: string - links: + quantityOrdered: + description: The quantity ordered of the line item. + type: integer + quantityConfirmed: + description: The quantity confirmed of the line item. + type: integer + quantityBackOrdered: + description: The quantity backordered of the line item. + type: integer + shipmentDetails: + $ref: '#/components/schemas/OrderModifyResponse_lines_inner_shipmentDetails' + additionalAttributes: + description: SAP requested and country-specific line level details. items: - $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner_links_inner' + $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' type: array - type: object - returnsDetailsResponse_products_inner: + notes: + description: Line-level notes for the order. + type: string + OrderModifyResponse_rejectedLineItems_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 - requestDetails: requestDetails - description: description - upc: upc + rejectReason: rejectReason + rejectCode: rejectCode ingramLineNumber: ingramLineNumber - invoiceDate: 2000-01-23 - customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 - invoiceNumber: invoiceNumber - returnBranch: 5 vendorPartNumber: vendorPartNumber - shipFromBranch: 5 - status: status + quantityOrdered: 9 + customerLineNumber: customerLineNumber properties: ingramLineNumber: - description: Unique Ingram Micro line number. + description: The IngramMicro line number for the failed line item. type: string - description: - description: The description of the line item product. + customerLineNumber: + description: The reseller's line number of the failed line item for reference + in their system. type: string ingramPartNumber: - description: Unique IngramMicro part number. + description: The IngramMicro part number for the failed line item. type: string vendorPartNumber: - description: The vendor's part number for the line item. - type: string - upc: - description: The UPC code of a product. - type: string - invoiceDate: - description: The date of the invoice. - format: date - type: string - invoiceNumber: - description: Ingram micro Invoice number. - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. + description: The vendor's part number for the failed line item. type: string - requestDetails: - description: Request details. + quantityOrdered: + description: The quantity ordered of the failed line item. + type: integer + rejectCode: + description: The rejection code for the failed line item. type: string - quantity: - description: The quantity of the line item. - format: decimal - type: number - unitPrice: - description: The unit price of the line item. - format: decimal - type: number - extendedPrice: - description: Unit price X quantity for the line item. - format: decimal - type: number - status: - description: The status of the line item. + rejectReason: + description: The rejection reason for the failed line item. type: string - returnBranch: - description: The code of the return branch. - type: integer - shipFromBranch: - description: The code of the ship from branch. - type: integer - type: object - returnsCreateRequest_list_inner_shipFromInfo_inner: + OrderDetailResponse_billToInfo: + description: The billing information provided by the reseller. + example: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email properties: + contact: + description: The company contact provided by the reseller. + type: string companyName: - description: Name of the company from where the product will be shipped. + description: The name of the company the order will be billed to. type: string - contact: - description: Contact name of the person from where the product will be shipped. + name1: + description: First name. + type: string + name2: + description: Last name. type: string addressLine1: - description: Ship from Address Line1. + description: The street address and building or house number the order will + be billed to. type: string addressLine2: - description: Ship from Address Line2. + description: The apartment number the order will be billed to. type: string addressLine3: - description: Ship from Address Line3. + description: Address line 3. type: string city: - description: Ship from City. + description: The city the order will be billed to. type: string state: - description: Ship from state. + description: The state the order will be billed to. type: string postalCode: - description: Ship from postal code. + description: The zip or postal code the order will be billed to. type: string countryCode: - description: ship from country code. - type: string - email: - description: Ship from email. + description: The two-character ISO country code the order will be billed + to. type: string phoneNumber: - description: Ship from phone number. - type: string - required: - - addressLine1 - - city - - companyName - - contact - - countryCode - - email - - postalCode - - state - returnsCreateRequest_list_inner: - properties: - invoiceNumber: - description: The Invoice number of the order. - type: string - invoiceDate: - description: Date of an Invoice. - format: date - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - ingramPartNumber: - description: Unique line number from Ingram. - type: string - vendorPartNumber: - description: Vendor Part Number. - type: string - serialNumber: - description: Serial number of the product. - type: string - quantity: - description: Return quantity of the product. - type: integer - primaryReason: - description: Primary reason to return the product. - type: string - secondaryReason: - description: Secondary reason to return the product. - type: string - notes: - description: Return notes. - type: string - referenceNumber: - description: Reference number to return the product. - type: string - billToAddressId: - description: Suffix used to identify billing address. - type: string - shipFromInfo: - items: - $ref: '#/components/schemas/returnsCreateRequest_list_inner_shipFromInfo_inner' - type: array - numberOfBoxes: - description: Number of boxes to return. - type: integer - required: - - invoiceDate - - invoiceNumber - - numberOfBoxes - - primaryReason - - quantity - - secondaryReason - - shipFromInfo - returnsCreateResponse_returnsClaims_inner: - example: - ingramPartNumber: ingramPartNumber - quantity: 0 - notes: notes - estimatedTotalValue: 6.027456183070403 - type: type - createdOn: 2000-01-23 - rmaClaimId: rmaClaimId - referenceNumber: referenceNumber - returnReason: returnReason - caseRequestNumber: caseRequestNumber - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - credit: 1.4658129805029452 - status: status - properties: - rmaClaimId: - description: The rmaClaimId claim id. - type: string - caseRequestNumber: - description: A unique return request number. - type: string - referenceNumber: - description: The reference number for the return. - type: string - createdOn: - description: 'The date on which the return request was created. ' - format: date - type: string - type: - description: Type of request. - type: string - returnReason: - description: The reason for the return. - type: string - ingramPartNumber: - description: Unique line number from Ingram. - type: string - vendorPartNumber: - description: Vendor Part Number. - type: string - quantity: - description: Return quantity of the product. - type: integer - notes: - description: Return notes. + description: The company contact phone number. type: string - estimatedTotalValue: - description: The estimated total value of the return. - format: decimal - type: number - credit: - description: The amount of credit. - format: decimal - type: number - status: - description: The status of the request. + email: + description: The company contact email address. type: string - links: - items: - $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner_links_inner' - type: array type: object - freightRequest_shipToAddress_inner: + OrderDetailResponse_shipToInfo: + description: The shipping information provided by the reseller for order delivery. + example: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email properties: + contact: + 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 + name1: + description: First name. + type: string + name2: + description: Last name. + type: string addressLine1: - description: Line 1 of the address the order will be shipped to. + description: The street address the order will be shipped to. type: string addressLine2: - description: Line 2 of the address the order will be shipped to. + description: The building or apartment number the order will be shipped + to. type: string addressLine3: description: Line 3 of the address the order will be shipped to. @@ -20613,712 +14610,1244 @@ components: description: The two-character ISO country code the order will be shipped to. type: string + phoneNumber: + description: The company contact phone number. + type: string + email: + description: The company contact email address. + type: string type: object - freightRequest_lines_inner: + OrderDetailResponse_endUserInfo: + description: The contact information for the end user/customer provided by the + reseller. Used to determine pricing and discounts. + example: + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + name1: name1 + email: email properties: - customerLineNumber: - description: The ID references the reseller's address in Ingram Micro's - system for shipping. Provided to resellers during the onboarding process. + contact: + description: The contact name for the end user/customer. type: string - ingramPartNumber: - description: The unique IngramMicro part number. + companyName: + description: The company name for the end user/customer. type: string - quantity: - description: The requested quantity of the line item. + name1: + description: First name. type: string - warehouseId: - description: The ID of the warehouse the line item will ship from. + name2: + description: Last name. type: string - carrierCode: - description: The code for the shipping carrier for the line item. + addressLine1: + description: The street adress and building or house number for the end + user/customer. + type: string + addressLine2: + description: The apartment number for the end user/customer. + type: string + addressLine3: + description: Line 3 of the address 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 + 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 email. type: string type: object - freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner: + OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner: + description: A list of serial numbers of the line items contained in the shipment. example: - daysInTransit: 2 - shipVia: shipVia + serialNumber: serialNumber + properties: + serialNumber: + description: The serial number for the line item. + type: string + type: object + OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner: + description: The tracking details for the shipment containing the line item. + example: + quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + properties: + trackingNumber: + description: The tracking number for the shipment containing the line item. + type: string + trackingUrl: + description: The tracking URL for the shipment containing the line item. + type: string + packageWeight: + description: The weight of the package for the line item. + type: string + cartonNumber: + description: The shipment carton number that contains the line item. + type: string + quantityInBox: + description: The quantity of line items in the box. + type: string + SerialNumbers: + items: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner' + type: array + type: object + OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails: + description: The shipment carrier details for the line item. + example: + carrierName: carrierName carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber properties: carrierCode: - description: The code for the shipping carrier for the line item. - type: string - shipVia: - description: The name of the shipping carrier. + description: The carrier code for the shipment containing the line item. type: string - carrierMode: - description: Mode of the carrier. + carrierName: + description: The name of the carrier of the shipment containing the line + item. type: string - estimatedFreightCharge: - description: Estimated freight charge. - format: decimal - type: number - daysInTransit: - description: Number of transit days. - type: integer + trackingDetails: + items: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner' + type: array type: object - freightResponse_freightEstimateResponse_distribution_inner: + OrderDetailResponse_lines_inner_shipmentDetails_inner: + description: Shipping details for the line item. example: - carrierList: - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - - daysInTransit: 2 - shipVia: shipVia + deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - freightRate: 2.3021358869347655 - shipVia: shipVia - carrierCode: carrierCode - totalWeight: 7.061401241503109 - shipFromBranchNumber: shipFromBranchNumber - transitDays: 9 + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + properties: + quantity: + description: The quantity shipped of the line item. + type: integer + estimatedShipDate: + description: The estimated ship date for the line item. + format: date + type: string + shippedDate: + description: The date the line item was shipped. + format: date + type: string + estimatedDeliveryDate: + description: The date the line item is expected to be delivered. + format: date + type: string + deliveredDate: + description: The actual date of delivery of the line item. + format: date + type: string + shipFromWarehouseId: + description: The ID of the warehouse the product will ship from. + type: string + shipFromLocation: + description: The city and state the line item ships from. + type: string + invoiceNumber: + description: The Ingram Micro invoice number for the line item. + type: string + invoiceDate: + description: The date the IngramMicro invoice was created for the line item. + format: date + type: string + carrierDetails: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails' + type: object + OrderDetailResponse_lines_inner_additionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName properties: - shipFromBranchNumber: - description: The ID of the warehouse the line item will ship from. - type: string - carrierCode: - description: The code for the shipping carrier for the line item. + attributeName: + description: Line level custom field names. type: string - shipVia: - description: The name of the shipping carrier. + attributeValue: + description: Value of the custom fields. type: string - freightRate: - description: Estimated freight charge. - format: decimal - type: number - totalWeight: - description: Total weight. - format: decimal - type: number - transitDays: - description: Number of transit days. - type: integer - carrierList: - items: - $ref: '#/components/schemas/freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner' - type: array type: object - freightResponse_freightEstimateResponse_lines_inner: + OrderDetailResponse_lines_inner_links_inner: + description: Link to Order Details for the line item. example: - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 - warehouseId: warehouseId - netAmount: 1.2315135367772556 - vendorPartNumber: vendorPartNumber + topic: topic + href: href + type: type properties: - ingramPartNumber: - description: The unique IngramMicro part number. + topic: + description: Provides the details of the line item. type: string - vendorPartNumber: - description: The vendor part number for the line item. + href: + description: The API endpoint for accessing the relevant data. type: string - warehouseId: - description: The ID of the warehouse the line item will ship from. + type: + description: "The type of call that can be made to the href link(GET,POST\ + \ etc)." type: string - quantity: - description: The requested quantity of the line item. - type: integer - unitPrice: - description: The unit price for the line item. - format: decimal - type: number - netAmount: - description: The net amount (unit price X quantity) for the line item. - format: decimal - type: number type: object - freightResponse_freightEstimateResponse: + OrderDetailResponse_lines_inner: example: - totalFees: 1.4658129805029452 - totalNetAmount: 5.962133916683182 - totalFreightAmount: 0.8008281904610115 - grossAmount: 5.637376656633329 - totalTaxAmount: 6.027456183070403 - distribution: - - carrierList: - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - - daysInTransit: 2 - shipVia: shipVia - carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - freightRate: 2.3021358869347655 - shipVia: shipVia - carrierCode: carrierCode - totalWeight: 7.061401241503109 - shipFromBranchNumber: shipFromBranchNumber - transitDays: 9 - - carrierList: - - daysInTransit: 2 - shipVia: shipVia + unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + quantityOrdered: 2 + customerLinenumber: customerLinenumber + lineStatus: lineStatus + extendedPrice: 9.301444243932576 + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + upcCode: upcCode + ingramPartNumber: ingramPartNumber + unitPrice: 7 + ingramOrderLineNumber: ingramOrderLineNumber + vendorName: vendorName + lineNotes: lineNotes + quantityBackOrdered: 7 + specialBidNumber: specialBidNumber + shipmentDetails: + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - - daysInTransit: 2 - shipVia: shipVia + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + - deliveredDate: 2000-01-23 + quantity: 1 + invoiceNumber: invoiceNumber + estimatedShipDate: 2000-01-23 + invoiceDate: 2000-01-23 + shippedDate: 2000-01-23 + estimatedDeliveryDate: 2000-01-23 + shipFromWarehouseId: shipFromWarehouseId + carrierDetails: + carrierName: carrierName carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 - carrierMode: carrierMode - freightRate: 2.3021358869347655 - shipVia: shipVia - carrierCode: carrierCode - totalWeight: 7.061401241503109 - shipFromBranchNumber: shipFromBranchNumber - transitDays: 9 - lines: - - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 - warehouseId: warehouseId - netAmount: 1.2315135367772556 - vendorPartNumber: vendorPartNumber - - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 - warehouseId: warehouseId - netAmount: 1.2315135367772556 - vendorPartNumber: vendorPartNumber + trackingDetails: + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInBox: quantityInBox + trackingUrl: trackingUrl + packageWeight: packageWeight + SerialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + cartonNumber: cartonNumber + trackingNumber: trackingNumber + shipFromLocation: shipFromLocation + promisedDeliveryDate: 2000-01-23 + subOrderNumber: subOrderNumber + partDescription: partDescription + quantityConfirmed: 4 + requestedDeliveryDate: 2000-01-23 + weightUom: weightUom + taxAmount: 3.616076749251911 currencyCode: currencyCode + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - currencyCode: - description: The country-specific three-character ISO 4217 currency code - used for the order. + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - totalFreightAmount: - description: Total freight amount. - format: decimal - type: number - totalTaxAmount: - description: Total tax amount. - format: decimal - type: number - totalFees: - description: Total fees. + ingramOrderLineNumber: + description: Unique Ingram Micro line number. Starts with 001. + type: string + vendorSalesOrderLineNumber: + description: The vendor's sales order line number. + type: string + customerLinenumber: + description: The reseller's line item number for reference in their system. + type: string + lineStatus: + description: "The status for the line item in the order. One of- Backordered,\ + \ In Progress, Shipped, Delivered, Canceled, On Hold" + type: string + ingramPartNumber: + description: Unique IngramMicro part number. + type: string + vendorPartNumber: + description: The vendor's part number for the line item. + type: string + vendorName: + description: The vendor's name for the part in their system. + type: string + partDescription: + description: The vendor's description of the part in their system. + type: string + unitWeight: + description: The unit weight of the line item. format: decimal type: number - totalNetAmount: - description: Total net amount. + weightUom: + description: The unit of measure for the line item. + type: string + unitPrice: + description: The unit price of the line item. + type: integer + upcCode: + description: The UPC code of a product. + type: string + extendedPrice: + description: Unit price X quantity for the line item. format: decimal type: number - grossAmount: - description: Gross amount. + taxAmount: + description: The tax amount for the line item. format: decimal type: number - distribution: + currencyCode: + description: The country-specific three character ISO 4217 currency code + for the line item. + type: string + quantityOrdered: + description: The quantity ordered of the line item. + type: integer + quantityConfirmed: + description: The quantity confirmed for the line item. + type: integer + quantityBackOrdered: + description: The quantity backordered for the line item. + type: integer + specialBidNumber: + description: The line-level bid number provided to the reseller by the vendor + for special pricing and discounts. Used to track the bid number in the + case of split orders or where different line items have different bid + numbers. Line-level bid numbers take precedence over header-level bid + numbers. + type: string + requestedDeliveryDate: + description: Reseller-requested delivery date. Delivery date is not guaranteed. + format: date + type: string + promisedDeliveryDate: + description: The delivery date promised by IngramMicro. + format: date + type: string + lineNotes: + description: Line-level notes for the order. + type: string + shipmentDetails: items: - $ref: '#/components/schemas/freightResponse_freightEstimateResponse_distribution_inner' + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner' type: array - lines: + additionalAttributes: items: - $ref: '#/components/schemas/freightResponse_freightEstimateResponse_lines_inner' + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' + type: array + links: + items: + $ref: '#/components/schemas/OrderDetailResponse_lines_inner_links_inner' type: array type: object - QuoteSearchResponse_quotes_inner: + OrderDetailResponse_miscellaneousCharges_inner: example: - specialBidNumber: specialBidNumber - lastModifiedDate: lastModifiedDate - createdBy: createdBy - vendor: vendor - ingramQuoteExpiryDate: ingramQuoteExpiryDate - quoteTotal: 5.962133916683182 - quoteNumber: quoteNumber - endUserContact: endUserContact - quoteStatus: quoteStatus - quoteName: quoteName - revision: revision - ingramQuoteDate: ingramQuoteDate + chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: 1.0246457001441578 + chargeDescription: chargeDescription properties: - quoteName: - description: Quote Name given to quote by sales team or system generated. Generally - used as a reference to identify the quote. + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - quoteNumber: - description: "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." + chargeLineReference: + description: Impulse line number for the miscellaneous charge. 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\ - \ number is updated for each revision of the quote. The revision numbers\ - \ is associated with the Unique Quote Number." + chargeDescription: + description: Description of the miscellaneous charges. type: string - endUserContact: - description: End User Name is the end customer name that is associated with - a quote in Ingram Micros CRM. + chargeAmount: + description: The amount of miscellaneous charges. + format: double + type: number + type: object + OrderSearch_Response_orders_inner_subOrders_inner_links_inner: + example: + topic: topic + href: href + type: type + properties: + topic: + description: For orders or invoices. For orders the link provides details + of the order. For invoices the link provides details of the invoice. type: string - specialBidNumber: - description: "Special Pricing Bid Number, also refers to as Dart Number\ - \ relates to a unique pricing deal associated with a vendor for the quote." + href: + description: The URL endpoint for accessing the relevant data. type: string - quoteTotal: - description: Total amount of quoted price for all products in the quote. + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.)." + type: string + type: object + OrderSearch_Response_orders_inner_subOrders_inner: + example: + subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + properties: + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest to the reseller. The middle number is the + order number. The two-digit suffix is the sub order number. + type: string + subOrderTotal: + description: The total for the suborder. format: decimal type: number - quoteStatus: - description: This refers to the primary status of the quote. + subOrderStatus: + description: "The status of the suborder. One of:- Shipped, Canceled, Backordered,\ + \ Processing, On Hold, Delivered" type: string - ingramQuoteDate: - description: Date the Quote was initially Created. + links: + description: Link to Order Details for the sub order(s). + items: + $ref: '#/components/schemas/OrderSearch_Response_orders_inner_subOrders_inner_links_inner' + type: array + type: object + OrderSearch_Response_orders_inner_links: + description: Link to Order Details for the order(s). + example: + topic: topic + href: href + type: type + properties: + topic: + description: Provides the details of the orders. type: string - lastModifiedDate: - description: Date the Quote was last updated or modified. + href: + description: The URL endpoint for accessing the relevant data. type: string - ingramQuoteExpiryDate: - description: Date when the Quote Expires. + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.)." type: string - vendor: - description: Name of the vendor. + type: object + OrderSearch_Response_orders_inner: + example: + ingramOrderNumber: ingramOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + orderStatus: orderStatus + endUserCompanyName: endUserCompanyName + links: + topic: topic + href: href + type: type + subOrders: + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + - subOrderNumber: subOrderNumber + subOrderTotal: 5.637376656633329 + subOrderStatus: subOrderStatus + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + vendorName: vendorName + customerOrderNumber: customerOrderNumber + orderTotal: 5.962133916683182 + ingramOrderDate: ingramOrderDate + properties: + ingramOrderNumber: + description: The Ingram Micro order number. type: string - createdBy: - description: Name of the end user/customer who created a quote. + ingramOrderDate: + description: The date the order was created(UTC). + type: string + customerOrderNumber: + description: The reseller's order number for reference in their system. + type: string + vendorSalesOrderNumber: + description: The vendor's order number.(only for D-Type Orders) + type: string + vendorName: + description: The name of the vendor. + type: string + endUserCompanyName: + description: The company name of the end user/customer. + type: string + orderTotal: + description: The total of the order. + format: decimal + type: number + orderStatus: + description: The header-level status of the order.(OPEN/CLOSED/CANCELLED) + type: string + subOrders: + description: Individual Ingram Micro order numbers associated with a single + reseller PO. + items: + $ref: '#/components/schemas/OrderSearch_Response_orders_inner_subOrders_inner' + type: array + links: + $ref: '#/components/schemas/OrderSearch_Response_orders_inner_links' + type: object + PriceAndAvailabilityRequest_availabilityByWarehouse_inner: + example: + availabilityForAllLocation: true + availabilityByWarehouseId: availabilityByWarehouseId + properties: + availabilityByWarehouseId: + description: Plant/warehouse Id of a particular location in order to get + just the inventory of that location. type: string - QuoteDetailsResponse_resellerInfo: + availabilityForAllLocation: + description: "Pass boolean value as input, if true the response will contain\ + \ warehouse location details, if false the response will not hold warehouse\ + \ location details. By default value is true." + type: boolean + type: object + PriceAndAvailabilityRequest_products_inner_additionalAttributes_inner: example: - phoneNumber: phoneNumber - contact: contact - companyName: companyName - customerNumber: customerNumber - email: email + attributeValue: attributeValue + attributeName: attributeName properties: - contact: - description: Contact Name - type: string - companyName: - description: Ingram Micro Customer's Account Name - type: string - email: - description: Account Contact Email Address - type: string - phoneNumber: - description: Account Phone Number + attributeName: + description: |- + governmentprogramcode: Special Discount details will be provided based on the governmentprogramcode if available. + shiptostatebrazil: Attribute Specific to Brazil. + shipfrombranchnumber: If provided, displays only the availability of the specified branch number. type: string - customerNumber: - description: Reseller account number + attributeValue: + description: key value pair -key value. type: string type: object - QuoteDetailsResponse_endUserInfo: + PriceAndAvailabilityRequest_products_inner: example: - phoneNumber: phoneNumber - city: city - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - marketSegment: marketSegment + ingramPartNumber: ingramPartNumber + customerPartNumber: customerPartNumber + quantityRequested: quantityRequested + upc: upc + vendorPartNumber: vendorPartNumber + additionalAttributes: + - attributeValue: attributeValue + attributeName: attributeName + - attributeValue: attributeValue + attributeName: attributeName properties: - contact: - description: End User Name - type: string - companyName: - description: Contact name of end user associated with the quote. - type: string - addressLine1: - description: Address line 1 for end user associated with the quote - type: string - addressLine2: - description: Address line 2 for end user associated with the quote. - type: string - addressLine3: - description: Address line 3 for end user associated with the quote. + ingramPartNumber: + description: Ingram Micro unique part number for the product. type: string - city: - description: City for end user associated with the quote + vendorPartNumber: + description: Vendor’s part number for the product. type: string - state: - description: Two letter state abreviation for end user associated with the - quote + customerPartNumber: + description: Reseller/end-user’s part number for the product. type: string - email: - description: Email of end user the quote associated with the quote. + upc: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquely assigned to each trade item. type: string - phoneNumber: - description: Phone number of end user associated with the quote. + quantityRequested: + description: Number of quantity of the Product. type: string - postalCode: - description: Zip code of end user associated with the quote. + additionalAttributes: + items: + $ref: '#/components/schemas/PriceAndAvailabilityRequest_products_inner_additionalAttributes_inner' + type: array + type: object + PriceAndAvailabilityRequest_additionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + properties: + attributeName: + description: key value pair -key Name. type: string - marketSegment: - description: "Market Segment of end user associated with the quote. End\ - \ user market segment is included when end user is included in specific\ - \ market segments like Educational, Government, Military, Medical - that\ - \ may receive special pricing due to their segmentation." + attributeValue: + description: key value pair -key value. type: string type: object - QuoteDetailsResponse_products_inner_price: + PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner_backOrderInfo_inner: example: - quotePrice: 1 - msrp: 5 - extendedQuotePrice: 2 - extendedMsrp: 5 - discountOffList: 7.061401241503109 + quantity: 5 + etaDate: etaDate properties: - quotePrice: - description: Ingram Micro quoted price specific to the reseller and quote. - type: integer - msrp: - description: Manufacturer Suggested Retail Price - type: integer - extendedMsrp: - description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity - type: integer - extendedQuotePrice: - description: Extended reseller quoted price (cost to reseller) X Quantity + quantity: + description: Quantity backordered. type: integer - discountOffList: - description: Discount off list percentage - format: decimal - type: number + etaDate: + description: Expected availability date. + format: Date + type: string type: object - QuoteDetailsResponse_products_inner: + PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner: example: - ingramPartNumber: ingramPartNumber - CoO: CoO - vpnCategory: vpnCategory - quantity: 0 - notes: notes - description: description - weight: 6 - vendorName: vendorName - EAN: EAN - terms: terms - price: - quotePrice: 1 - msrp: 5 - extendedQuotePrice: 2 - extendedMsrp: 5 - discountOffList: 7.061401241503109 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - lineNumber: lineNumber - weightUom: weightUom - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - isSuggestionProduct: true + quantityAvailable: 6 + backOrderInfo: + - quantity: 5 + etaDate: etaDate + - quantity: 5 + etaDate: etaDate + warehouseId: warehouseId + location: location + quantityBackordered: 1 + quantityBackorderedEta: quantityBackorderedEta properties: - quoteProductGuid: - description: Quote Product GUID is the primary quote key in Ingram Micro's - CRM - needed to retrieve quote details. + location: + description: Indicates where (location) the product is available. type: string - lineNumber: - description: Line number which the product will appear in the quote. Line - number is manditory when unique configurations are included in a quote - and mainting the item line order is required. + warehouseId: + description: Indicates where (Ingram Warehouse Id) the product is available. type: string - quantity: - description: Quantity of product line item quoted. + quantityAvailable: + description: The quantity of the product available in a given warehouse. type: integer - notes: - description: Product line item comments. - type: string - EAN: - description: EANUPC - type: string - CoO: - description: Country of Origin. - type: string - ingramPartNumber: - description: "Ingram Micro SKU (stock keeping unit). An identification,\ - \ usually alphanumeric, of a particular product that allows it to be tracked\ - \ for inventory purposes" - type: string - vendorPartNumber: - description: Vendor Part Number - type: string - description: - description: "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." - type: string - weight: - description: "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." + quantityBackordered: + description: The quantity of a product backordered in a given warehouse. type: integer - weightUom: - description: Unit of measure + quantityBackorderedEta: + description: The estimated time of arrival of a product that has been backordered + in a given warehouse. type: string - isSuggestionProduct: - description: 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. + backOrderInfo: + description: "*Currently, this feature is not available in these countries\ + \ (Mexico, Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western\ + \ Sahara)." + items: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner_backOrderInfo_inner' + type: array + type: object + PriceAndAvailabilityResponse_inner_availability: + example: + totalAvailability: 0 + availabilityByWarehouse: + - quantityAvailable: 6 + backOrderInfo: + - quantity: 5 + etaDate: etaDate + - quantity: 5 + etaDate: etaDate + warehouseId: warehouseId + location: location + quantityBackordered: 1 + quantityBackorderedEta: quantityBackorderedEta + - quantityAvailable: 6 + backOrderInfo: + - quantity: 5 + etaDate: etaDate + - quantity: 5 + etaDate: etaDate + warehouseId: warehouseId + location: location + quantityBackordered: 1 + quantityBackorderedEta: quantityBackorderedEta + available: true + properties: + available: + description: Boolean that indicates if the product ordered is available type: boolean - vpnCategory: - description: Vendor product category specific to Cisco. HWDW (hardware) - or service. - type: string - quoteProductsSupplierPartAuxiliaryId: - description: Vendor product configuration ID specific to Cisco. - type: string - vendorName: - description: Vendor name of the product - type: string - terms: - description: Terms of the quote - type: string - price: - $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price' + totalAvailability: + description: The total amount of available products + type: integer + availabilityByWarehouse: + items: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability_availabilityByWarehouse_inner' + type: array type: object - QuoteDetailsResponse_additionalAttributes_inner: + PriceAndAvailabilityResponse_inner_reserveInventoryDetails_inner: example: - attributeValue: attributeValue - attributeName: attributeName + expirydate: expirydate + quantityAvailable: 2 + quantityReserved: 5 + effectivedate: effectivedate properties: - attributeName: - description: |- - estimateId - is the identification number for an estimate provided by Cisco for a quote. - - dealId - is the identification number for the specific deal pricing related to a Cisco quote - - vendorName - Name of Vendor associated with the quote. - - vendorMessage - Vendor Message is associated with primary vendor in the quote. In cases where a vendor requires a message be presented in the quote, the vendor name and message will be retreived and must be included in the quote vendor message fields. + quantityReserved: + description: The quantity of the product reserved for the customer. + type: integer + quantityAvailable: + description: The availability of the product reserved. + type: integer + effectivedate: + description: The reservation date for the product in UTC format. + format: Date type: string - attributeValue: - description: The attribute field data. + expirydate: + description: The expiration date for the reservation of the product in UTC + format. + format: Date type: string type: object - AvailabilityAsyncNotificationRequest_resource_inner_links_inner: + PriceAndAvailabilityResponse_inner_pricing: example: - topic: topic - href: href - type: type + mapPrice: 9.301444243932576 + webDiscountsAvailable: true + specialBidPricingAvailable: true + currencyCode: currencyCode + retailPrice: 7.061401241503109 + customerPrice: 3.616076749251911 properties: - topic: - description: Provides the details of the orders. - type: string - href: - description: The URL endpoint for accessing the relevant data. - type: string - type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.). " + currencyCode: + description: The 3-digit ISO currency code. type: string + retailPrice: + description: The retail price of the product. + format: decimal + type: number + mapPrice: + description: "Minimum Advertised Price (MAP). If required by the vendor,\ + \ resellers can not sell below MAP price." + format: decimal + type: number + customerPrice: + description: The price customer pays after all special pricing and discounts + have been applied. + format: decimal + type: number + specialBidPricingAvailable: + description: Boolean values specifies whether special Bid discounts are + available for the product. + type: boolean + webDiscountsAvailable: + description: Boolean values specifies whether web Discounts are available + for the product. + type: boolean type: object - AvailabilityAsyncNotificationRequest_resource_inner: + PriceAndAvailabilityResponse_inner_discounts_inner_specialPricing_inner: example: - ingramPartNumber: ingramPartNumber - totalAvailability: totalAvailability - backOrderFlag: backOrderFlag - skuStatus: skuStatus - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - eventType: eventType - vendorName: vendorName - upcCode: upcCode + specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 properties: - eventType: - description: The event name sent in the event request. + discountType: + description: The type of discount being given to the customer. + example: "Special Bid, Promo Discount" type: string - ingramPartNumber: - description: The Unique IngramMicro part number for the product. + specialBidNumer: + description: Pre-approved special pricing/bid number provided to the reseller + by the vendor for special pricing and discounts. Used to track the bid + number where different line items have different bid numbers. Line-level + bid numbers take precedence over header-level bid numbers. type: string - vendorPartNumber: - description: The vendors part number for the product. + specialPricingDiscount: + description: Special pricing discount amount given to the customer. + format: decimal + type: number + specialPricingEffectiveDate: + description: The effective date of the special pricing available to the + customer. + format: date type: string - vendorName: - description: The name of the vendor/manufacturer of the product. + specialPricingExpirationDate: + description: The expiration date of the special pricing available to the + customer. + format: date type: string - upcCode: - description: The UPC code for the product. Consists of 12 numeric digits - that are uniquly assigned to each trade item. + specialPricingAvailableQuantity: + description: The available quantity of products with discounts. + type: integer + specialPricingMinQuantity: + description: The minimum quantity of products that have to be purchased + to ensure the discount is applied. + type: integer + governmentDiscountType: + description: "Type of Government Discount. *Currently, this discount is\ + \ only available in the USA." type: string - skuStatus: - description: Status returned saying whether sku is active. + governmentDiscountedCustomerPrice: + description: "Government Discounted Customer Price. *Currently, this discount\ + \ is only available in the USA." + format: decimal + type: number + type: object + PriceAndAvailabilityResponse_inner_discounts_inner_quantityDiscounts_inner: + example: + currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + properties: + conditionType: + description: Indicates when the discount is applied after ordering the product. + example: Total fee type: string - backOrderFlag: - description: Backordered Flag. + currencyCode: + description: The country-specific three digit ISO 4217 currency code for + the order. type: string - totalAvailability: - description: totalAvailability. + currencyType: + description: Type of currency. type: string - links: - description: Link to Order Details for the order(s). + quantity: + description: The total discounted quantity of the product. + type: integer + amount: + description: The total price of all the discounts applied. + format: decimal + type: number + type: object + PriceAndAvailabilityResponse_inner_discounts_inner: + example: + specialPricing: + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + quantityDiscounts: + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + properties: + specialPricing: items: - $ref: '#/components/schemas/AvailabilityAsyncNotificationRequest_resource_inner_links_inner' + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner_specialPricing_inner' + type: array + quantityDiscounts: + items: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner_quantityDiscounts_inner' type: array type: object - OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner_packageDetails_inner: - example: - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - properties: - cartonNumber: - description: The shipment carton number that contains the line item. - type: string - quantityInbox: - description: The quantity of line items in the box. - type: string - trackingNumber: - description: The tracking number for the shipment containing the line item. - type: string - type: object - OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner: + PriceAndAvailabilityResponse_inner_serviceFees_inner: example: - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId + amount: 6.84685269835264 + endDate: endDate + description: description + conditionType: conditionType + currencyCode: currencyCode properties: - shipmentDate: - description: The date the line item was shipped. - type: string - shipFromWarehouseId: - description: The ID of the warehouse the product will ship from. - type: string - warehouseName: - description: '""' + conditionType: + description: Condition Type of the service fees. type: string - carrierCode: - description: |- - The carrier code for the shipment containing the - line item. + description: + description: Description of the service fees. type: string - carrierName: - description: |- - The name of the carrier of the shipment containing - the line item. + amount: + description: Amount of the service fees. + format: decimal + type: number + endDate: + description: End Date of the service fees. type: string - packageDetails: - items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner_packageDetails_inner' - type: array - type: object - OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_serialNumberDetails_inner: - example: - serialNumber: serialNumber - properties: - serialNumber: - description: 'The serial number for the line item. ' + currencyCode: + description: Currency Code of the service fees. type: string type: object - OrderStatusAsyncNotificationRequest_resource_inner_lines_inner: + PriceAndAvailabilityResponse_inner: example: - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity + productStatusMessage: productStatusMessage + customerPartNumber: customerPartNumber + description: description + productAuthorized: true + serviceFees: + - amount: 6.84685269835264 + endDate: endDate + description: description + conditionType: conditionType + currencyCode: currencyCode + - amount: 6.84685269835264 + endDate: endDate + description: description + conditionType: conditionType + currencyCode: currencyCode + availability: + totalAvailability: 0 + availabilityByWarehouse: + - quantityAvailable: 6 + backOrderInfo: + - quantity: 5 + etaDate: etaDate + - quantity: 5 + etaDate: etaDate + warehouseId: warehouseId + location: location + quantityBackordered: 1 + quantityBackorderedEta: quantityBackorderedEta + - quantityAvailable: 6 + backOrderInfo: + - quantity: 5 + etaDate: etaDate + - quantity: 5 + etaDate: etaDate + warehouseId: warehouseId + location: location + quantityBackordered: 1 + quantityBackorderedEta: quantityBackorderedEta + available: true + uom: uom + discounts: + - specialPricing: + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + quantityDiscounts: + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + - specialPricing: + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + - specialBidNumer: specialBidNumer + specialPricingAvailableQuantity: 4 + specialPricingExpirationDate: 2000-01-23 + specialPricingMinQuantity: 7 + governmentDiscountedCustomerPrice: 1.2315135367772556 + specialPricingEffectiveDate: 2000-01-23 + governmentDiscountType: governmentDiscountType + discountType: "Special Bid, Promo Discount" + specialPricingDiscount: 2.027123023002322 + quantityDiscounts: + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + - currencyType: currencyType + amount: 1.4894159098541704 + quantity: 1 + conditionType: Total fee + currencyCode: currencyCode + productStatusCode: productStatusCode vendorPartNumber: vendorPartNumber - LineNumber: LineNumber + acceptBackOrder: true + ingramPartNumber: ingramPartNumber + productClass: productClass + govtProgramType: govtProgramType + govtEndUserType: govtEndUserType + upc: upc + productStatus: productStatus + partNumberType: partNumberType + bundlePartIndicator: true + vendorName: vendorName + returnableProduct: true + govtSpecialPriceAvailable: true + extendedVendorPartNumber: extendedVendorPartNumber + endUserInfoRequired: true + vendorNumber: vendorNumber + reserveInventoryDetails: + - expirydate: expirydate + quantityAvailable: 2 + quantityReserved: 5 + effectivedate: effectivedate + - expirydate: expirydate + quantityAvailable: 2 + quantityReserved: 5 + effectivedate: effectivedate + pricing: + mapPrice: 9.301444243932576 + webDiscountsAvailable: true + specialBidPricingAvailable: true + currencyCode: currencyCode + retailPrice: 7.061401241503109 + customerPrice: 3.616076749251911 properties: - LineNumber: - description: The Ingram Micro line number for the product - type: string - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + productStatusCode: + description: Codes signifying whether the sku is active or not. type: string - lineStatus: - description: "The status for the line item in the order. One of: Backordered,\ - \ Open, Shipped" + productStatusMessage: + description: Message returned saying whether sku is active. type: string ingramPartNumber: - description: The Ingram Micro part number for the line item. + description: Ingram Micro unique part number for the product. type: string vendorPartNumber: - description: The vendor part number for the line item. + description: Vendor’s part number for the product. type: string - requestedQuantity: - description: The quantity of the line item requested. + extendedVendorPartNumber: + description: "Extended Vendor Part Number. *Currently, this feature is not\ + \ available in these countries (Mexico, Turkey, New Zealand, Colombia,\ + \ Chile, Brazil, Peru, Western Sahara)." type: string - shippedQuantity: - description: The quantity of the line item that has been shipped. + customerPartNumber: + description: Reseller / end-user’s part number for the product. type: string - backorderedQuantity: - description: The quantity of the line item that is backordered. + upc: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquely assigned to each trade item. type: string - shipmentDetails: + partNumberType: + description: Number type of the part. + type: string + vendorNumber: + description: Vendor number that identifies the product. + type: string + vendorName: + description: Vendor name for the order. + type: string + description: + description: The description given for the product. + type: string + productClass: + description: |- + Indicates whether the product is directly shipped from the vendor’s warehouse or if the product ships from Ingram Micro’s warehouse. Class Codes are Ingram classifications on how skus are stocked + A = Product that is stocked usually in all IM warehouses and replenished on a regular basis. + B = Product that is stocked in limited IM warehouses and replenished on a regular basis + C = Product that is stocked in fewer IM warehouses and replenished on a regular basis. + D = Product that Ingram Micro has elected to discontinue. + E = Product that will be phased out later, according to the vendor. You may not want to replenish this product, but instead sell down what is in stock. + F = Product that we carry for a specific customer or supplier under a contractual agreement. + N = New Sku. Classification before first receipt + O = Discontinued product to be liquidated + S= Order for Specialized Demand (Order to backorder) + X= direct ship from Vendor + V = product that vendor has elected to discontinue. + type: string + uom: + description: The description given for the product. + type: string + productStatus: + description: Status that gives whether the product is Active. + type: string + acceptBackOrder: + description: Boolean that indicates if the product accepts backorder. + type: boolean + productAuthorized: + description: Boolean that indicates whether a product is authorized. + type: boolean + returnableProduct: + description: Boolean that indicates if the product can be returned. + type: boolean + endUserInfoRequired: + description: Boolean that indicates if end user information is required. + type: boolean + govtSpecialPriceAvailable: + description: Boolean that indicates if special pricing is available for + the product. + type: boolean + govtProgramType: + description: "Program type, “PA” for government orders, “ED” for education\ + \ order." + type: string + govtEndUserType: + description: "Type of end user of the program. F = Federal, S = State, E\ + \ = Local, K = K-12 school, and H = Higher Education." + type: string + availability: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_availability' + reserveInventoryDetails: items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner' + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_reserveInventoryDetails_inner' type: array - serialNumberDetails: + pricing: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_pricing' + discounts: items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_serialNumberDetails_inner' + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_discounts_inner' + type: array + bundlePartIndicator: + description: "True of false value to indicate whether it’s bundle part.\ + \ *Currently, this feature is not available in these countries (Mexico,\ + \ Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western Sahara)." + type: boolean + serviceFees: + description: "*Currently, this feature is not available in these countries\ + \ (Mexico, Turkey, New Zealand, Colombia, Chile, Brazil, Peru, Western\ + \ Sahara)." + items: + $ref: '#/components/schemas/PriceAndAvailabilityResponse_inner_serviceFees_inner' type: array type: object - OrderStatusAsyncNotificationRequest_resource_inner_links_inner: + ProductSearch_Response_catalog_inner_links_inner: + description: HATEOAS links for the price and availability of the sku. example: topic: topic href: href type: type properties: topic: - description: Provides the details of the orders. + description: Provides the details of the product. type: string href: - description: The URL endpoint for accessing the relevant data. + description: The URL endpoint for accessing the relevant data.. type: string type: - description: "The type of call that can be made to the href link (GET, POST,\ - \ Etc.). " + description: The type of call that can be made to the href link(GET) type: string type: object - OrderStatusAsyncNotificationRequest_resource_inner: + ProductSearch_Response_catalog_inner: example: - orderNumber: orderNumber + ingramPartNumber: ingramPartNumber + extraDescription: extraDescription + subCategory: subCategory + replacementSku: replacementSku + endUserRequired: endUserRequired + authorizedToPurchase: authorizedToPurchase + description: description + discontinued: discontinued + vendorName: vendorName + type: type + newProduct: newProduct + hasWarranty: hasWarranty + hasDiscounts: hasDiscounts + directShip: directShip + vendorPartNumber: vendorPartNumber links: - topic: topic href: href @@ -21326,2480 +15855,2327 @@ components: - topic: topic href: href type: type - eventType: eventType - lines: - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - - lineStatus: lineStatus - ingramPartNumber: ingramPartNumber - backorderedQuantity: backorderedQuantity - shipmentDetails: - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - - packageDetails: - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInbox: quantityInbox - cartonNumber: cartonNumber - trackingNumber: trackingNumber - carrierName: carrierName - carrierCode: carrierCode - shipmentDate: shipmentDate - warehouseName: warehouseName - shipFromWarehouseId: shipFromWarehouseId - serialNumberDetails: - - serialNumber: serialNumber - - serialNumber: serialNumber - subOrderNumber: subOrderNumber - shippedQuantity: shippedQuantity - requestedQuantity: requestedQuantity - vendorPartNumber: vendorPartNumber - LineNumber: LineNumber - customerOrderNumber: customerOrderNumber - orderEntryTimeStamp: orderEntryTimeStamp - properties: - eventType: - description: The event name sent in the event request. - type: string - orderNumber: - description: The Ingram Micro order number. - type: string - customerOrderNumber: - description: The reseller's unique PO/Order number. - type: string - orderEntryTimeStamp: - description: The timestamp at which the order was created. - type: string - lines: - description: The line-level details for the order. - items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner' - type: array - links: - description: Link to Order Details for the order(s). - items: - $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_links_inner' - type: array - type: object - InvoiceSearchResponse_invoices_inner: - example: - orderCreateDate: orderCreateDate - paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue - endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax - invoiceNumber: invoiceNumber - erpOrderNumber: erpOrderNumber - invoiceStatus: invoiceStatus - invoiceDate: invoiceDate - customerOrderNumber: customerOrderNumber - invoiceDueDate: invoiceDueDate + category: category + productType: productType + upcCode: upcCode properties: - paymentTermsDueDate: - description: Payment Terms Due date. - type: string - erpOrderNumber: - description: Order number + description: + description: The description of the product. type: string - invoiceNumber: - description: Invoice no. + category: + description: "The category of the product. Example: Displays." type: string - invoiceStatus: - description: Invoice Status. + subCategory: + description: "The sub category for the product. Example: ComputernMonitors." type: string - invoiceDate: - description: Invoice Date. + productType: + description: "The product type of the product. Example: LCD Monitors." type: string - invoiceDueDate: - description: Invoice Due Date. + ingramPartNumber: + description: The Unique IngramMicro part number for the product. type: string - invoicedAmountDue: - description: Invoice Amount. + vendorPartNumber: + description: The vendor part number for the product. type: string - customerOrderNumber: - description: Customer Order No. + upcCode: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquly assigned to each trade item. type: string - orderCreateDate: - description: Order Create Date. + vendorName: + description: The name of the vendor/manufacturer of the product. type: string - endCustomerOrderNumber: - description: End Customer Order number. + endUserRequired: + description: "Indicates whether the contact information for the end user/customer\ + \ is required, which determines pricing and discounts." type: string - invoiceAmountInclTax: - description: Invoice Amount Inclusive of Taxes + hasDiscounts: + description: Specifies if there are discounts available for the product. type: string - InvoiceDetailResponse_serviceresponse_responsepreamble: - example: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - responsestatus: + type: + description: "The SKU type of product. One of Physical, Digital, or Any." type: string - statuscode: + discontinued: + description: Indicates if the product has been discontinued. type: string - responsemessage: + newProduct: + description: "Indicates if the product is new. For digital products, newer\ + \ than 10 days. For physical products, newer than 150 days." type: string - type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner: - example: - attributevalue: attributevalue - attributename: attributename - properties: - attributename: + directShip: + description: Indicates if the product will be shipped directly to the reseller + or end user from the vendor/manufacturer. type: string - attributevalue: + hasWarranty: + description: Indicates if the product has a warranty. type: string - type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner: - example: - code: code - description: description - chargeamount: chargeamount - properties: - code: + links: + items: + $ref: '#/components/schemas/ProductSearch_Response_catalog_inner_links_inner' + type: array + extraDescription: + description: The extended description of the product. type: string - description: + replacementSku: + description: Identifies a SKU that is a comparable subsititution of the + current SKU if available. type: string - chargeamount: + authorizedToPurchase: + description: It is true when it exists in matched queries field of ealstic + search API. type: string type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse: + ProductDetailResponse_indicators: + description: Indicators of the Product example: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype + isHeavyWeight: true + isEnduserRequired: true + hasStdWebDiscount: true + hasStdSpecialPrice: true + isPreorderProduct: true + hasWarranty: true + isDirectshipOrderable: true + isNewProduct: true + isDownloadable: true + isClearanceProduct: true + isOversizeProduct: true + isShippedFromPartner: true + isIngramShip: true + hasAcopQuantityBreak: true + IsBackOrderAllowed: true + isReplacementProduct: true + hasSpecialBid: true + isReturnableProduct: true + isConfigurable: true + isExportableToCountry: true + isDigitalType: true + hasAcopSpecialPrice: true + isRefurbishedProduct: true + isLicenseProduct: true + HasReturnLimits: true + skuType: skuType + isDiscontinuedProduct: true + hasLtl: true + isServiceSku: true + hasBundle: true + isDirectship: true properties: - customernumber: - type: string - invoicenumber: - type: string - invoicedate: - format: date - type: string - invoicetype: + hasWarranty: + description: Boolean that indicates whether product has a warranty. + type: boolean + isNewProduct: + description: 'Boolean that indicates whether it’s a new product. ' + type: boolean + HasReturnLimits: + description: Boolean that indicates whether there is any limit to return + the product. + type: boolean + IsBackOrderAllowed: + description: Boolean that indicates whether back order is allowed for the + product. + type: boolean + isShippedFromPartner: + description: Boolean that indicates whether product is shipped from the + partner. + type: boolean + isReplacementProduct: + description: Boolean that indicates whether product is a replacement product. + type: boolean + isDirectship: + description: Boolean that indicates whether it’s a direct ship product. + type: boolean + isDownloadable: + description: Boolean that indicates whether product is downloadable. + type: boolean + isDigitalType: + description: 'Boolean that indicates whether it’s a digital product. ' + type: boolean + skuType: + description: skutype type: string - customerordernumber: + hasStdSpecialPrice: + description: Boolean that indicates whether product has any standard special + price. + type: boolean + hasAcopSpecialPrice: + description: Boolean that indicates whether product has any ACOP special + price. + type: boolean + hasAcopQuantityBreak: + description: Boolean that indicates whether product has any ACOP quantity + break. + type: boolean + hasStdWebDiscount: + description: Boolean that indicates whether product has any standard web + discount. + type: boolean + hasSpecialBid: + description: Boolean that indicates whether product has any special bid. + type: boolean + isExportableToCountry: + description: Boolean that indicates whether product is exportable. + type: boolean + isDiscontinuedProduct: + description: Boolean that indicates whether it’s a discontinued product. + type: boolean + isRefurbishedProduct: + description: Boolean that indicates whether product is refurbished. + type: boolean + isReturnableProduct: + description: Boolean that indicates if the product can be returned. + type: boolean + isIngramShip: + description: Boolean that indicates whether it’s a Ingram shipped product. + type: boolean + isEnduserRequired: + description: Do vendor requires Enduser name required to create an order. + type: boolean + isHeavyWeight: + description: Boolean that indicates whether it’s heavy weight product. + type: boolean + hasLtl: + description: Boolean that indicates whether it hasLtl or not. + type: boolean + isClearanceProduct: + description: Boolean that indicates whether it’s clearnce product. + type: boolean + hasBundle: + description: Boolean that indicates whether it’s a bundled product. + type: boolean + isOversizeProduct: + description: Boolean that indicates whether it’s oversized product. + type: boolean + isPreorderProduct: + description: Boolean that indicates whether it’s a preorder product. + type: boolean + isLicenseProduct: + description: Boolean that indicates whether it’s a licened product. + type: boolean + isDirectshipOrderable: + description: Boolean that indicates whether product is directship orderable. + type: boolean + isServiceSku: + description: Boolean that indicates whether product is service SKU. + type: boolean + isConfigurable: + description: Boolean that indicates whether product is configurable. + type: boolean + type: object + ProductDetailResponse_ciscoFields: + description: Cisco product related information. + example: + itemType: itemType + productSubGroup: productSubGroup + configurationIndicator: configurationIndicator + internalBusinessEntity: internalBusinessEntity + serviceProgramName: serviceProgramName + globalListPrice: globalListPrice + itemCatalogCategory: itemCatalogCategory + properties: + productSubGroup: + description: Cisco product sub-group type: string - customerfreightamount: - format: double + serviceProgramName: + description: Cisco service program name type: string - customerforeignfrightamt: - format: float + itemCatalogCategory: + description: Cisco item catalog category type: string - totaltaxamount: - format: double + configurationIndicator: + description: Cisco configuration indicator type: string - totalamount: - format: double + internalBusinessEntity: + description: Cisco internal business entity type: string - shiptosuffix: + itemType: + description: Cisco item type type: string - billtosuffix: + globalListPrice: + description: Cisco global list price type: string - freightamount: - description: May not be available in all countries - format: double + type: object + ProductDetailResponse_technicalSpecifications_inner: + example: + headername: headername + attributevalue: attributevalue + attributedisplay: attributedisplay + attributename: attributename + properties: + headername: + description: "Example : 'Basic'" type: string - paymentterms: + attributevalue: + description: "Example : 'LCD Monitor'" type: string - orderdate: - format: date + attributedisplay: + description: "Example : 'Basic|Product Type|LCD Monitor'" type: string - carrier: + attributename: + description: "Example : 'Product Type'" type: string - carrierdescription: + type: object + ProductDetailResponse_additionalInformation_productWeight_inner: + example: + plantId: plantId + weight: 0.8008281904610115 + weightUnit: weightUnit + properties: + plantId: + description: "ID of the plant. \nExample : 'US01'" type: string - discountamount: - format: double + weight: + description: "Weight of the product. \n Example : 2" type: number - taxtype: - type: string - enduserponumber: - type: string - freightforwardercode: + weightUnit: + description: "Weight unit of the product. \n Example : 'LB'" type: string - creditmemoreasoncode: + type: object + ProductDetailResponse_additionalInformation: + description: Additional Information related to the product. + example: + netWeight: netWeight + width: width + length: length + dimensionUnit: dimensionUnit + productWeight: + - plantId: plantId + weight: 0.8008281904610115 + weightUnit: weightUnit + - plantId: plantId + weight: 0.8008281904610115 + weightUnit: weightUnit + isBulkFreight: true + height: height + properties: + productWeight: + description: Weight information related to the product. + items: + $ref: '#/components/schemas/ProductDetailResponse_additionalInformation_productWeight_inner' + type: array + isBulkFreight: + description: "Example : true or false" + type: boolean + height: + description: "Example : '5.2 Inches'" type: string - fulfillmentflag: + width: + description: "Example : '13 inches'" type: string - holdreason: + length: + description: "Example : '20.4 inches'" type: string - shipcomplete: + netWeight: + description: "Example : '10 lb'" type: string - shipdate: - format: date + dimensionUnit: + description: "Example : 'Unit value'" type: string - companycurrency: + type: object + renewalsSearchRequest_status_OpporutinyStatus: + properties: + value: + description: "The value of opportunity status, it can be either Open or\ + \ Closed." type: string - currencycode: + subStatus: + description: "The sub-status of Opportunity status. Possible sub-status\ + \ values for Open opportunity status are Ready to order, Quote pending,\ + \ Notification sent, Future, and Quote requested. Possible sub-status\ + \ values for Closed opportunity status are All, Ordered, Quote closed-contract\ + \ sales desk, Expired, Transition to new/upsell, Lost to competitior,\ + \ Consolidated, Transitioned to cloud, Renewal went direct, EOL, End user\ + \ out of business, Void, Other, and Cancelled." type: string - currencyrate: + type: object + renewalsSearchRequest_status: + properties: + OpporutinyStatus: + $ref: '#/components/schemas/renewalsSearchRequest_status_OpporutinyStatus' + type: object + renewalsSearchRequest_dataType_startDate: + properties: + customStartDate: + description: Custom from date for Renewal Start date. type: string - globalorderid: + customEndDate: + description: Custom to date for Renewal Start date. type: string - originalshipcode: + type: object + renewalsSearchRequest_dataType_endDate: + properties: + customStartDate: + description: Custom from date for Renewal end date. type: string - ordertype: + customEndDate: + description: Custom to date for Renewal end date. type: string - orderstatus: + type: object + renewalsSearchRequest_dataType_invoiceDate: + properties: + customStartDate: + description: Custom start date for invoice date. type: string - totalotherfees: - type: number - totalsales: + customEndDate: + description: Custom end date for invoice date. type: string - weight: + type: object + renewalsSearchRequest_dataType_expirationDate: + properties: + customStartDate: + description: Custom start date for expiration date. type: string - shippableswitch: + customEndDate: + description: Custom end date for expiration date. type: string - soldto: - $ref: '#/components/schemas/addressType' - billto: - $ref: '#/components/schemas/addressType' - shoptoaddress: - $ref: '#/components/schemas/addressType' - lines: - items: - $ref: '#/components/schemas/productLineType' - type: array - extendedspecs: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' - type: array - miscfeeline: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner' - type: array type: object - InvoiceDetailResponse_serviceresponse: - example: - invoicedetailresponse: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus + renewalsSearchRequest_dataType: properties: - responsepreamble: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' - invoicedetailresponse: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse' + startDate: + $ref: '#/components/schemas/renewalsSearchRequest_dataType_startDate' + endDate: + $ref: '#/components/schemas/renewalsSearchRequest_dataType_endDate' + invoiceDate: + $ref: '#/components/schemas/renewalsSearchRequest_dataType_invoiceDate' + expirationDate: + $ref: '#/components/schemas/renewalsSearchRequest_dataType_expirationDate' type: object - InvoiceDetailsv6_1Response_paymentTermsInfo: - additionalProperties: false - description: Payment terms is the agreement between Ingram and the customer - by what period they should pay the invoice by + renewalsSearchResponse_renewals_inner_links_inner: + example: + topic: topic + href: href + type: type + properties: + topic: + description: The topic of the link. + type: string + href: + description: The URL of the topic. + type: string + type: + description: Type of a call. + type: string + type: object + renewalsSearchResponse_renewals_inner: example: - paymentTermsDescription: paymentTermsDescription - paymentTermsDueDate: paymentTermsDueDate - paymentTermsCode: paymentTermsCode + renewalId: renewalId + endUser: endUser + referenceNumber: referenceNumber + vendor: vendor + renewalValue: renewalValue + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + customerOrderNumber: customerOrderNumber + expirationDate: expirationDate + status: status properties: - paymentTermsCode: - description: Code of the payment terms. + renewalId: + description: Unique renewal ID. type: string - paymentTermsDescription: - description: Description of the payment terms. + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - paymentTermsDueDate: - description: Due date of the payment terms. + referenceNumber: + description: Renewal reference number. It could be notification id or quote + number. + type: string + endUser: + description: The company name for the end user/customer. + type: string + vendor: + description: The name of the vendor. + type: string + expirationDate: + description: Renewal expiration date. + type: string + renewalValue: + description: The value of the renewal. + type: string + status: + description: The status of the renewal. type: string + links: + items: + $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner_links_inner' + type: array type: object - InvoiceDetailsv6_1Response_billToInfo: - additionalProperties: false + renewalsDetailsResponse_endUserInfo_inner: example: - phoneNumber: phoneNumber city: city - countryCode: countryCode - contact: contact companyName: companyName postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email properties: contact: - description: Bill to Name. + description: The contact name for the end user/customer. + type: string + name1: + description: The name1 for the end user/customer. + type: string + name2: + description: The name2 for the end user/customer. type: string companyName: - description: Bill to company. + description: The company name for the end user/customer. type: string addressLine1: - description: Bill to Address Line1. + description: The address line 1 for the end user/customer. type: string addressLine2: - description: Bill to Address Line2. + description: The address line 2 for the end user/customer. type: string addressLine3: - description: Bill to Address Line3. + description: The address line 3 for the end user/customer. + type: string + addressLine4: + description: The address line 4 for the end user/customer. type: string city: - description: Bill to City. + description: The end user/customer's city. type: string state: - description: Bill to State code + description: The end user/customer's state. type: string postalCode: - description: Bill to Postalcode code. + description: The end user/customer's zip or postal code. type: string countryCode: - description: Bill to Country code. + description: The end user/customer's two character ISO country code. type: string phoneNumber: - description: Phone number of the bill to company. + description: The end user/customer's phone number. type: string email: - description: Email address of the bill to company. + description: The end user/customer's email. type: string type: object - InvoiceDetailsv6_1Response_shipToInfo: - additionalProperties: false + renewalsDetailsResponse_referenceNumber_inner: example: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email + notificationId: notificationId + quoteNumber: quoteNumber properties: - contact: - description: Ship to Name. + notificationId: + description: Notification id of the communication sent from Ingram. type: string - companyName: - description: Ship to company. + quoteNumber: + description: Quote number for the renewal. type: string - addressLine1: - description: Ship to Address Line1. + type: object + renewalsDetailsResponse_products_inner: + example: + ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + manufacturerPartNumber: manufacturerPartNumber + isConsolidated: isConsolidated + quantity: quantity + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + productDescription: productDescription + properties: + ingramLineNumber: + description: Unique Ingram Micro line number. type: string - addressLine2: - description: Ship to Address Line2. + productDescription: + description: The description of the product. type: string - addressLine3: - description: Ship to Address Line3. + vendorPartNumber: + description: The vendor's part number for the line item. type: string - city: - description: Ship to City. + ingramPartNumber: + description: Unique IngramMicro part number. type: string - state: - description: Ship to State code + manufacturerPartNumber: + description: The manufacturer's part number for the line item. type: string - postalCode: - description: Ship to Postalcode code. + quantity: + description: The quantity of the line item. + type: string + unitPrice: + description: The unit price of the line item. + format: decimal + type: number + isConsolidated: + description: Is the line item consolidated? Yes or No. + type: string + type: object + renewalsDetailsResponse_additionalAttributes_inner: + example: + isConsolidated: isConsolidated + attributeValue: attributeValue + attributeDescription: attributeDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 + properties: + attributeDescription: + description: The description of the additional attribute. + type: string + attributeValue: + description: The value of the additional attribute. + type: string + startDate: + description: The attribute start date. + format: date + type: string + expirationDate: + description: The attribute expiration date. + format: date + type: string + isConsolidated: + description: Is the line item consolidated? Yes or No. + type: string + type: object + dealsSearchResponse_deals_inner: + example: + endUser: endUser + dealId: dealId + vendor: vendor + links: + topic: topic + href: href + type: type + version: version + dealExpiryDate: dealExpiryDate + properties: + dealId: + description: Deal/Special bid number. + type: string + version: + description: Most recent version number of the deal. + type: string + endUser: + description: The end user/customer's name. + type: string + vendor: + description: The vendor's name. + type: string + dealExpiryDate: + description: Expiration date of the deal/Special bid. + type: string + links: + $ref: '#/components/schemas/renewalsSearchResponse_renewals_inner_links_inner' + type: object + dealsDetailsResponse_products_inner: + example: + ingramPartNumber: ingramPartNumber + remainingQuantity: 2 + daysRemaining: 7 + comments: comments + specialConditions: specialConditions + upc: upc + standardPrice: 5.962133916683182 + approvedQuantity: 5 + msrp: 6.027456183070403 + vendorPartNumber: vendorPartNumber + extendedMSRP: 1.4658129805029452 + productDescription: productDescription + startDate: 2000-01-23 + expirationDate: 2000-01-23 + properties: + ingramPartNumber: + description: Unique Ingram part number. + type: string + vendorPartNumber: + description: Vendor Part number for the product. + type: string + upc: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquely assigned to each trade item. + type: string + productDescription: + description: Description of the product. + type: string + msrp: + description: Manufacturer Suggested Retail Price. + format: decimal + type: number + extendedMSRP: + description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity. + format: decimal + type: number + standardPrice: + description: Standard price of the line item. + format: decimal + type: number + approvedQuantity: + description: Total quantity approved for the deal. + type: integer + remainingQuantity: + description: The quantity remaining as part of the deal for the customer + to order. + type: integer + comments: + description: Comments of the deal. type: string - countryCode: - description: Ship to Country code. + specialConditions: + description: Special conditions of the deal. type: string - phoneNumber: - description: Phone number of the Ship to company. + startDate: + description: Start Date. + format: date type: string - email: - description: Email address of the Ship to company. + expirationDate: + description: Expiration date. + format: date type: string + daysRemaining: + description: Number of days remaining before the deal expires. + type: integer type: object - InvoiceDetailsv6_1Response_lines_inner_serialNumbers_inner: - additionalProperties: false + returnsSearchResponse_returnsClaims_inner_links_inner: example: - serialNumber: serialNumber + topic: topic + href: href + type: type properties: - serialNumber: - description: Serial number of the product. - nullable: true + topic: + description: Provides the details of the return. + type: string + href: + description: The URL endpoint for accessing the relevant data. + type: string + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.)." type: string type: object - InvoiceDetailsv6_1Response_lines_inner: - additionalProperties: false + returnsSearchResponse_returnsClaims_inner: example: - ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 - customerPartNumber: customerPartNumber - quantity: 0 - unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 - serialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - ingramLineNumber: ingramLineNumber - quantityOrdered: 7 - vendorName: vendorName - customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 - vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 - currencyCode: currencyCode - productDescription: productDescription + modifiedOn: modifiedOn + estimatedTotalValue: 5.962133916683182 + referenceNumber: referenceNumber + returnReason: returnReason + returnClaimId: returnClaimId + caseRequestNumber: caseRequestNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + type: type + credit: 5.637376656633329 + createdOn: createdOn + status: status properties: - ingramLineNumber: - description: Unique line number from Ingram. - type: string - customerLineNumber: - default: "0" - description: Line number passes by customer while creating an order. - type: string - ingramPartNumber: - description: "Ingram Micro SKU (stock keeping unit). An identification,\ - \ usually alphanumeric, of a particular product that allows it to be tracked\ - \ for inventory purposes." + returnClaimId: + description: A unique return claim Id. type: string - vendorPartNumber: - description: Vendor Part Number. + caseRequestNumber: + description: A unique return request number. type: string - customerPartNumber: - description: Part number from customer's system. + createdOn: + description: 'The date on which the return request was created. ' type: string - vendorName: - description: Name of the vendor. + type: + description: Type of request. type: string - productDescription: - description: Description of the product. + returnReason: + description: The reason for the return. type: string - unitWeight: - description: Weight of the product. + referenceNumber: + description: The reference number for the return. type: string - quantity: - description: Quantity of the product. - format: int32 - type: integer - unitPrice: - description: Unit price of the product. + estimatedTotalValue: + description: The estimated total value of the return. format: double type: number - unitOfMeasure: - description: Unit of measure of the product. + credit: + description: The amount of credit. + format: decimal + type: number + modifiedOn: + description: The date on which the return request was last updated. type: string - currencyCode: - description: Currency code. + status: + description: The status of the request. type: string - extendedPrice: - description: Extended price of the product. - format: double - type: number - taxPercentage: - description: Tax percentage - format: double - type: number - taxRate: - description: Tax rate - format: double - type: number - taxAmount: - description: Line level tax amount. - format: double - type: number - serialNumbers: + links: items: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_lines_inner_serialNumbers_inner' - nullable: true + $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner_links_inner' type: array - quantityOrdered: - description: Quantity ordered by the customer. - format: int32 - type: integer - quantityShipped: - description: Quantity shipped to the customer. - format: int32 - type: integer type: object - InvoiceDetailsv6_1Response_fxRateInfo: - additionalProperties: false + returnsDetailsResponse_products_inner: example: - companyCurrency: companyCurrency - currencyFxRate: 3.616076749251911 - currencyCode: currencyCode - invoiceCurrency: invoiceCurrency + ingramPartNumber: ingramPartNumber + unitPrice: 6.027456183070403 + quantity: 0.8008281904610115 + requestDetails: requestDetails + description: description + upc: upc + ingramLineNumber: ingramLineNumber + invoiceDate: 2000-01-23 + customerOrderNumber: customerOrderNumber + extendedPrice: 1.4658129805029452 + invoiceNumber: invoiceNumber + returnBranch: 5 + vendorPartNumber: vendorPartNumber + shipFromBranch: 5 + status: status properties: - currencyCode: - description: Currency code. + ingramLineNumber: + description: Unique Ingram Micro line number. type: string - companyCurrency: - description: Company currency code. + description: + description: The description of the line item product. type: string - invoiceCurrency: - description: Invoice currency. + ingramPartNumber: + description: Unique IngramMicro part number. type: string - currencyFxRate: - description: Currency FX rate. - format: double - type: number - type: object - InvoiceDetailsv6_1Response_summary_lines: - additionalProperties: false - example: - productLineCount: 2 - productLineTotalQuantity: 4 - properties: - productLineCount: - description: Number of lines in the order. - format: int32 - type: integer - productLineTotalQuantity: - description: Total quantity of the order. - format: int32 - type: integer - type: object - InvoiceDetailsv6_1Response_summary_miscCharges_inner: - additionalProperties: false - example: - chargeLineReference: chargeLineReference - isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 - chargeDescription: chargeDescription - properties: - chargeDescription: - description: Description of the charge. + vendorPartNumber: + description: The vendor's part number for the line item. type: string - miscChargeLineCount: - description: The number of lines for which miscellaneous charges are applicable. - format: int32 - type: integer - miscChargeLineTotal: - description: Miscellaneous charge amount. - format: double - type: number - chargeLineReference: - description: Reference of the chargeLine. + upc: + description: The UPC code of a product. + type: string + invoiceDate: + description: The date of the invoice. + format: date type: string - isNonMisc: - description: Is charge non miscellaneous. + invoiceNumber: + description: Ingram micro Invoice number. type: string - type: object - InvoiceDetailsv6_1Response_summary_totals: - additionalProperties: false - example: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 - discountType: discountType - totalTaxAmount: 6.84685269835264 - properties: - netInvoiceAmount: - description: Net Invoice amount. - format: double - type: number - discountAmount: - description: Discount amount. - format: double - type: number - discountType: - description: Type of discount. + customerOrderNumber: + description: The reseller's order number for reference in their system. type: string - totalTaxAmount: - description: Total Tax amount. - format: double + requestDetails: + description: Request details. + type: string + quantity: + description: The quantity of the line item. + format: decimal type: number - invoicedAmountDue: - description: Total amount due for the invoice. - format: double + unitPrice: + description: The unit price of the line item. + format: decimal type: number - freightAmount: - description: Freight amount - format: double + extendedPrice: + description: Unit price X quantity for the line item. + format: decimal type: number + status: + description: The status of the line item. + type: string + returnBranch: + description: The code of the return branch. + type: integer + shipFromBranch: + description: The code of the ship from branch. + type: integer type: object - InvoiceDetailsv6_1Response_summary_foreignFxTotals: - additionalProperties: false - example: - foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 - foreignInvoiceAmountDue: foreignInvoiceAmountDue - foreignTotalTaxableAmount: foreignTotalTaxableAmount + returnsCreateRequest_list_inner_shipFromInfo_inner: properties: - foreignCurrencyCode: - description: Foreign Currency Code. + companyName: + description: Name of the company from where the product will be shipped. type: string - foreignCurrencyFxRate: - description: Foreign rate. - format: double - type: number - foreignTotalTaxableAmount: - description: Foreign amount. + contact: + description: Contact name of the person from where the product will be shipped. type: string - foreignTotalTaxAmount: - description: Foreign amount. - format: double - type: number - foreignInvoiceAmountDue: - description: Foreign due. + addressLine1: + description: Ship from Address Line1. type: string - type: object - InvoiceDetailsv6_1Response_summary: - additionalProperties: false - example: - miscCharges: - - chargeLineReference: chargeLineReference - isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 - chargeDescription: chargeDescription - totals: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 - discountType: discountType - totalTaxAmount: 6.84685269835264 - foreignFxTotals: - foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 - foreignInvoiceAmountDue: foreignInvoiceAmountDue - foreignTotalTaxableAmount: foreignTotalTaxableAmount - lines: - productLineCount: 2 - productLineTotalQuantity: 4 - properties: - lines: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_lines' - miscCharges: - description: Miscellaneous charges. - items: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_miscCharges_inner' - nullable: true - type: array - totals: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_totals' - foreignFxTotals: - $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_foreignFxTotals' - type: object - productLineType_serialnumberdetails_inner: - example: - deliverynumber: deliverynumber - serialnumber: serialnumber - properties: - serialnumber: + addressLine2: + description: Ship from Address Line2. type: string - deliverynumber: + addressLine3: + description: Ship from Address Line3. type: string - type: object - productLineType_trackingnumberdetails_inner: - example: - trackingnumber: trackingnumber + city: + description: Ship from City. + type: string + state: + description: Ship from state. + type: string + postalCode: + description: Ship from postal code. + type: string + countryCode: + description: ship from country code. + type: string + email: + description: Ship from email. + type: string + phoneNumber: + description: Ship from phone number. + type: string + required: + - addressLine1 + - city + - companyName + - contact + - countryCode + - email + - postalCode + - state + returnsCreateRequest_list_inner: properties: - trackingnumber: + invoiceNumber: + description: The Invoice number of the order. type: string - type: object - ErrorResponse_errors_inner_fields_inner: + invoiceDate: + description: Date of an Invoice. + format: date + type: string + customerOrderNumber: + description: The reseller's order number for reference in their system. + type: string + ingramPartNumber: + description: Unique line number from Ingram. + type: string + vendorPartNumber: + description: Vendor Part Number. + type: string + serialNumber: + description: Serial number of the product. + type: string + quantity: + description: Return quantity of the product. + type: integer + primaryReason: + description: Primary reason to return the product. + type: string + secondaryReason: + description: Secondary reason to return the product. + type: string + notes: + description: Return notes. + type: string + referenceNumber: + description: Reference number to return the product. + type: string + billToAddressId: + description: Suffix used to identify billing address. + type: string + shipFromInfo: + items: + $ref: '#/components/schemas/returnsCreateRequest_list_inner_shipFromInfo_inner' + type: array + numberOfBoxes: + description: Number of boxes to return. + type: integer + required: + - invoiceDate + - invoiceNumber + - numberOfBoxes + - primaryReason + - quantity + - secondaryReason + - shipFromInfo + returnsCreateResponse_returnsClaims_inner: example: - field: field - message: message - value: value + ingramPartNumber: ingramPartNumber + quantity: 0 + notes: notes + estimatedTotalValue: 6.027456183070403 + type: type + createdOn: 2000-01-23 + rmaClaimId: rmaClaimId + referenceNumber: referenceNumber + returnReason: returnReason + caseRequestNumber: caseRequestNumber + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + credit: 1.4658129805029452 + status: status properties: - field: - description: Contains the name of the field. + rmaClaimId: + description: The rmaClaimId claim id. type: string - value: - description: Value sent in the input for the specific field. + caseRequestNumber: + description: A unique return request number. type: string - message: - description: Gives the description of the field message. + referenceNumber: + description: The reference number for the return. type: string - type: object - ErrorResponse_errors_inner: - example: - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - id: - description: Unique Id to identify error. + createdOn: + description: 'The date on which the return request was created. ' + format: date type: string type: - description: Describes the type of the error. + description: Type of request. type: string - message: - description: Describes the error message. + returnReason: + description: The reason for the return. type: string - fields: - items: - $ref: '#/components/schemas/ErrorResponse_errors_inner_fields_inner' - type: array - type: object - orderCreateRequest_ordercreaterequest_requestpreamble: - properties: - isocountrycode: - description: 2 digit ISO country code + ingramPartNumber: + description: Unique line number from Ingram. type: string - customernumber: - description: Your unique Ingram Micro customer number - example: 10-123456 or 123456 + vendorPartNumber: + description: Vendor Part Number. type: string - required: - - customernumber - - isocountrycode + quantity: + description: Return quantity of the product. + type: integer + notes: + description: Return notes. + type: string + estimatedTotalValue: + description: The estimated total value of the return. + format: decimal + type: number + credit: + description: The amount of credit. + format: decimal + type: number + status: + description: The status of the request. + type: string + links: + items: + $ref: '#/components/schemas/returnsSearchResponse_returnsClaims_inner_links_inner' + type: array type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails_shiptoaddress: + freightRequest_shipToAddress_inner: properties: - attention: - description: Customer contact name - example: “Mr. Customer” - maxLength: 35 + companyName: + description: The name of the company the order will be shipped to. type: string - addressline1: - description: |- - Company Name or person to deliver. - *If there isn’t an attention line please add the company name on address line 1. UPS and FedEx will create surcharges if address line 1 contains a physical address. - example: “Ingram Micro” - maxLength: 35 + addressLine1: + description: Line 1 of the address the order will be shipped to. type: string - addressline2: - description: Street address for delivery - example: 3351 Michelson Dr - maxLength: 35 + addressLine2: + description: Line 2 of the address the order will be shipped to. type: string - addressline3: - description: Continuation of address line 2 - example: Ste 100 or ship to phone number - maxLength: 35 + addressLine3: + description: Line 3 of the address the order will be shipped to. type: string city: - description: Ship to city - example: Irvine - maxLength: 21 + description: The city the order will be shipped to. type: string state: - description: Ship to State or Region - example: CA - maxLength: 2 + description: The state the order will be shipped to. type: string - postalcode: - description: Ship to Zip code or Postal code - example: "92712" - maxLength: 9 + postalCode: + description: The zip or postal code the order will be shipped to. type: string - countrycode: - description: Ship to country - example: US - maxLength: 2 + countryCode: + description: The two-character ISO country code the order will be shipped + to. type: string - required: - - addressline1 - - addressline2 - - city - - postalcode - - state type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner_enduser: + freightRequest_lines_inner: properties: - id: + customerLineNumber: + description: The ID references the reseller's address in Ingram Micro's + system for shipping. Provided to resellers during the onboarding process. type: string - addressline1: + ingramPartNumber: + description: The unique IngramMicro part number. type: string - addressline2: + quantity: + description: The requested quantity of the line item. type: string - addressline3: + warehouseId: + description: The ID of the warehouse the line item will ship from. type: string - city: + carrierCode: + description: The code for the shipping carrier for the line item. type: string - state: + type: object + freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner: + example: + daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + properties: + carrierCode: + description: The code for the shipping carrier for the line item. type: string - postalcode: + shipVia: + description: The name of the shipping carrier. type: string - countrycode: + carrierMode: + description: Mode of the carrier. type: string - phonenumber: + estimatedFreightCharge: + description: Estimated freight charge. + format: decimal + type: number + daysInTransit: + description: Number of transit days. + type: integer + type: object + freightResponse_freightEstimateResponse_distribution_inner: + example: + carrierList: + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + freightRate: 2.3021358869347655 + shipVia: shipVia + carrierCode: carrierCode + totalWeight: 7.061401241503109 + shipFromBranchNumber: shipFromBranchNumber + transitDays: 9 + properties: + shipFromBranchNumber: + description: The ID of the warehouse the line item will ship from. type: string - extensionnumber: + carrierCode: + description: The code for the shipping carrier for the line item. type: string - faxnumber: + shipVia: + description: The name of the shipping carrier. type: string - email: - format: email + freightRate: + description: Estimated freight charge. + format: decimal + type: number + totalWeight: + description: Total weight. + format: decimal + type: number + transitDays: + description: Number of transit days. + type: integer + carrierList: + items: + $ref: '#/components/schemas/freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner' + type: array + type: object + freightResponse_freightEstimateResponse_lines_inner: + example: + ingramPartNumber: ingramPartNumber + unitPrice: 7.386281948385884 + quantity: 4 + warehouseId: warehouseId + netAmount: 1.2315135367772556 + vendorPartNumber: vendorPartNumber + properties: + ingramPartNumber: + description: The unique IngramMicro part number. + type: string + vendorPartNumber: + description: The vendor part number for the line item. + type: string + warehouseId: + description: The ID of the warehouse the line item will ship from. type: string + quantity: + description: The requested quantity of the line item. + type: integer + unitPrice: + description: The unit price for the line item. + format: decimal + type: number + netAmount: + description: The net amount (unit price X quantity) for the line item. + format: decimal + type: number type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner_productextendedspecs_inner: + freightResponse_freightEstimateResponse: + example: + totalFees: 1.4658129805029452 + totalNetAmount: 5.962133916683182 + totalFreightAmount: 0.8008281904610115 + grossAmount: 5.637376656633329 + totalTaxAmount: 6.027456183070403 + distribution: + - carrierList: + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + freightRate: 2.3021358869347655 + shipVia: shipVia + carrierCode: carrierCode + totalWeight: 7.061401241503109 + shipFromBranchNumber: shipFromBranchNumber + transitDays: 9 + - carrierList: + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + - daysInTransit: 2 + shipVia: shipVia + carrierCode: carrierCode + estimatedFreightCharge: 3.616076749251911 + carrierMode: carrierMode + freightRate: 2.3021358869347655 + shipVia: shipVia + carrierCode: carrierCode + totalWeight: 7.061401241503109 + shipFromBranchNumber: shipFromBranchNumber + transitDays: 9 + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: 7.386281948385884 + quantity: 4 + warehouseId: warehouseId + netAmount: 1.2315135367772556 + vendorPartNumber: vendorPartNumber + - ingramPartNumber: ingramPartNumber + unitPrice: 7.386281948385884 + quantity: 4 + warehouseId: warehouseId + netAmount: 1.2315135367772556 + vendorPartNumber: vendorPartNumber + currencyCode: currencyCode properties: - attributename: - enum: - - shipfrom - - specialprice - - authbidnumber - - commenttext - - serialnumber - - contactnumber - - shipnotestxt - type: string - attributevalue: + currencyCode: + description: The country-specific three-character ISO 4217 currency code + used for the order. type: string + totalFreightAmount: + description: Total freight amount. + format: decimal + type: number + totalTaxAmount: + description: Total tax amount. + format: decimal + type: number + totalFees: + description: Total fees. + format: decimal + type: number + totalNetAmount: + description: Total net amount. + format: decimal + type: number + grossAmount: + description: Gross amount. + format: decimal + type: number + distribution: + items: + $ref: '#/components/schemas/freightResponse_freightEstimateResponse_distribution_inner' + type: array + lines: + items: + $ref: '#/components/schemas/freightResponse_freightEstimateResponse_lines_inner' + type: array type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner: + QuoteSearchResponse_quotes_inner: + example: + specialBidNumber: specialBidNumber + lastModifiedDate: lastModifiedDate + createdBy: createdBy + vendor: vendor + ingramQuoteExpiryDate: ingramQuoteExpiryDate + quoteTotal: 5.962133916683182 + quoteNumber: quoteNumber + endUserContact: endUserContact + quoteStatus: quoteStatus + quoteName: quoteName + revision: revision + ingramQuoteDate: ingramQuoteDate properties: - linetype: - description: "Values are “P” for product or “C” for comments. This can be\ - \ left blank when ordering product and a “P” will be assumed. If you\ - \ are adding a COMMENT, then this value must be “C”.\n\nExtended spec\ - \ for comments: \nAttribute Name: “commenttext”\nAttribute Value: “thank\ - \ you for the order” \nTo make the comment invisible to the packing slip\ - \ place “///” in front of the comment in the Attribute Value field. This\ - \ will allow the Ingram sales rep to see the comment on the order but\ - \ will not forward on to shipping documents." - enum: - - P - - C + quoteName: + description: Quote Name given to quote by sales team or system generated. Generally + used as a reference to identify the quote. type: string - linenumber: - description: This is used when a partner wants to use their own line number. - Can be left blank. + quoteNumber: + description: "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." type: string - ingrampartnumber: - description: This is the Ingram sku number to be used for placing an order. + 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\ + \ number is updated for each revision of the quote. The revision numbers\ + \ is associated with the Unique Quote Number." type: string - quantity: - description: The quantity that is to be ordered. + endUserContact: + description: End User Name is the end customer name that is associated with + a quote in Ingram Micros CRM. type: string - vendorpartnumber: - description: The Manufacturer part number. Can be used to place an order - instead of the Ingram sku. If there are multiple Ingram part numbers - to one vendor part number. The order will be rejected. + specialBidNumber: + description: "Special Pricing Bid Number, also refers to as Dart Number\ + \ relates to a unique pricing deal associated with a vendor for the quote." type: string - customerpartnumber: - description: This is the Customers unique part numbers that must be crossed - referenced to the Ingram Micro Sku before it can be used. Please contact - your sales rep for additional information on how to set this up. + quoteTotal: + description: Total amount of quoted price for all products in the quote. + format: decimal + type: number + quoteStatus: + description: This refers to the primary status of the quote. type: string - UPCCode: + ingramQuoteDate: + description: Date the Quote was initially Created. type: string - warehouseid: + lastModifiedDate: + description: Date the Quote was last updated or modified. type: string - unitprice: - description: |- - This is a requested price from the customer. Pre-approval is necessary before using this feature. A methodology called price variance to manage requested pricing needs to be setup in advance by your sales rep. - - If unit price is provided without this advanced setup the unit price will be ignored and standard Ingram Micro pricing will apply. + ingramQuoteExpiryDate: + description: Date when the Quote Expires. type: string - enduser: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner_enduser' - productextendedspecs: - items: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner_productextendedspecs_inner' - type: array - required: - - quantity - type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails_extendedspecs_inner: - description: "Attribute Name and Value: This field identifies if your order\ - \ is a DIRECT SHIP order (license / warranty) or how you want your Backorders\ - \ managed as well as other process options like placing your order on hold\ - \ or adding a comment. " - properties: - attributename: - enum: - - Isdirectshiporder - - emailaddress - - Isbackorderflagallowed - - placeoncustomerhold - - signaturerequired - - commenttext - - resellerctacemail - - duplicatecustomerordernumbervalidate - - quotenumber - - shipctacphone - - vendauthnumber - - continueonerror + vendor: + description: Name of the vendor. type: string - attributevalue: + createdBy: + description: Name of the end user/customer who created a quote. type: string - type: object - orderCreateRequest_ordercreaterequest_ordercreatedetails: + QuoteDetailsResponse_resellerInfo: + example: + phoneNumber: phoneNumber + contact: contact + companyName: companyName + customerNumber: customerNumber + email: email properties: - customerponumber: - description: The customers unique Purchase Order number. Keep it unique - to retrieve order information - maxLength: 18 - minLength: 1 - type: string - ordertype: - description: "Order Type - Standard orders, Direct ship orders" - enum: - - Standard - - Direct Ship - type: string - enduserordernumber: - description: Customers End-user PO number - maxLength: 18 - minLength: 0 - type: string - billtosuffix: - description: Designates flooring acct to be used - maxLength: 3 + contact: + description: Contact Name type: string - shiptosuffix: - description: Applies to customers with multiple ship to locations (store - locations) - maxLength: 3 + companyName: + description: Ingram Micro Customer's Account Name type: string - shiptoaddress: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails_shiptoaddress' - carriercode: - description: A customer can dictate what carrier to use for their shipment - (Ingram 2-digit carrier code is required). Our recommendation is leave - this field blank which will allow Ingram Micro to choose the best carrier - to gain the best freight rates. - maxLength: 2 + email: + description: Account Contact Email Address type: string - thirdpartyfreightaccountnumber: - description: "Refers to a third-party freight account number for charging\ - \ freight against. The account number should be passed within this field\ - \ and the appropriate carrier code should be supplied within the carrier\ - \ code tags. Prior to sending your request containing the third-party\ - \ account number, it must be first entered into our system. Your Ingram\ - \ Micro Sales Representative can action this for you. If submitted within\ - \ an order without this preapproval the third-party account number will\ - \ be ignored.\n\nNote: USA partners- For FedEx Air only (carrier codes\ - \ F1, FO, F2, FG.), please send three leading zeros before your third-party\ - \ freight account number (i.e.: 000999999999.) " + phoneNumber: + description: Account Phone Number type: string - specialbidnumber: - description: This is the special quote number given to a customer either - by a vendor for special pricing or by Ingram Micro. To receive the special - pricing assigned to this number it must be included on the order. + customerNumber: + description: Reseller account number type: string - lines: - items: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails_lines_inner' - type: array - extendedspecs: - items: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails_extendedspecs_inner' - type: array - required: - - customerponumber - - lines - - ordertype - - shiptoaddress - type: object - orderCreateRequest_ordercreaterequest: - properties: - requestpreamble: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_requestpreamble' - ordercreatedetails: - $ref: '#/components/schemas/orderCreateRequest_ordercreaterequest_ordercreatedetails' - required: - - requestpreamble type: object - orderCreateResponse_serviceresponse_ordersummary_shiptoaddress: + QuoteDetailsResponse_endUserInfo: example: + phoneNumber: phoneNumber city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 state: state + email: email + marketSegment: marketSegment properties: - attention: + contact: + description: End User Name type: string - name: + companyName: + description: Contact name of end user associated with the quote. type: string - addressline1: + addressLine1: + description: Address line 1 for end user associated with the quote type: string - addressline2: + addressLine2: + description: Address line 2 for end user associated with the quote. type: string - addressline3: + addressLine3: + description: Address line 3 for end user associated with the quote. type: string city: + description: City for end user associated with the quote type: string state: + description: Two letter state abreviation for end user associated with the + quote type: string - postalcode: - type: string - countrycode: + email: + description: Email of end user the quote associated with the quote. type: string - type: object - orderCreateResponse_serviceresponse_ordersummary: - example: - totalorderamount: totalorderamount - totalordercreated: totalordercreated - customerponumber: customerponumber - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - properties: - customerponumber: + phoneNumber: + description: Phone number of end user associated with the quote. type: string - totalorderamount: - description: Total of all the orders including taxes and fees + postalCode: + description: Zip code of end user associated with the quote. type: string - totalordercreated: - description: "Number of orders created, in some cases we may create more\ - \ than one order." + marketSegment: + description: "Market Segment of end user associated with the quote. End\ + \ user market segment is included when end user is included in specific\ + \ market segments like Educational, Government, Military, Medical - that\ + \ may receive special pricing due to their segmentation." type: string - shiptoaddress: - $ref: '#/components/schemas/orderCreateResponse_serviceresponse_ordersummary_shiptoaddress' type: object - orderCreateResponse_serviceresponse_ordercreateresponse_inner_Lines_inner: + QuoteDetailsResponse_products_inner_price: example: - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 + quotePrice: 1 + msrp: 5 + extendedQuotePrice: 2 + extendedMsrp: 5 + discountOffList: 7.061401241503109 properties: - linetype: - description: “P”-Line or SKU Number “C”-Comment Line - type: string - globallinenumber: - description: Ingram generated line number - type: string - partnumber: - description: Ingram Micro Sku Number - type: string - globalskuid: - type: string - linenumber: - type: string - carriercode: - description: Transportation 2 digit codes - type: string - carrierdescription: - description: Transportation Carrier Name - type: string - requestedunitprice: - description: Price requested by reseller. Price Variance can be set up by - Ingram Micro Sales Rep - type: number - requestedquantity: - description: Quanity Requested + quotePrice: + description: Ingram Micro quoted price specific to the reseller and quote. + type: integer + msrp: + description: Manufacturer Suggested Retail Price type: integer - confirmedquantity: - description: Quanity Shipped + extendedMsrp: + description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity type: integer - backorderedquantity: - description: Quanity of units that didn’t ship + extendedQuotePrice: + description: Extended reseller quoted price (cost to reseller) X Quantity type: integer - unitproductprice: - description: Price Per Unit - type: number - netamount: - description: Total amount. Quantity X Unit Price + discountOffList: + description: Discount off list percentage + format: decimal type: number - warehouseid: - type: string - ordersuffix: - description: Use order suffix with the globalorderid for this line item. - type: string type: object - orderCreateResponse_serviceresponse_ordercreateresponse_inner: + QuoteDetailsResponse_products_inner: example: - freightamount: 6.027456183070403 - numberoflineswitherror: numberoflineswitherror - numberoflineswithwarning: numberoflineswithwarning - orderamount: 1.4658129805029452 - ordertimestamp: ordertimestamp - taxamount: 0.8008281904610115 - globalorderid: globalorderid - invoicingsystemorderid: invoicingsystemorderid - numberoflineswithsuccess: numberoflineswithsuccess - ordertype: S - Lines: - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 + ingramPartNumber: ingramPartNumber + CoO: CoO + vpnCategory: vpnCategory + quantity: 0 + notes: notes + description: description + weight: 6 + vendorName: vendorName + EAN: EAN + terms: terms + price: + quotePrice: 1 + msrp: 5 + extendedQuotePrice: 2 + extendedMsrp: 5 + discountOffList: 7.061401241503109 + quoteProductGuid: quoteProductGuid + vendorPartNumber: vendorPartNumber + lineNumber: lineNumber + weightUom: weightUom + quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId + isSuggestionProduct: true properties: - numberoflineswithsuccess: - description: Number of line items that were successful - type: string - numberoflineswitherror: - description: Number of line items with error - type: string - numberoflineswithwarning: - description: Number of line items with warnings + quoteProductGuid: + description: Quote Product GUID is the primary quote key in Ingram Micro's + CRM - needed to retrieve quote details. type: string - globalorderid: - description: Ingram sales order number + lineNumber: + description: Line number which the product will appear in the quote. Line + number is manditory when unique configurations are included in a quote + and mainting the item line order is required. type: string - ordertype: - description: S=Stocked PO D=Direct Ship PO - enum: - - S - - D + quantity: + description: Quantity of product line item quoted. + type: integer + notes: + description: Product line item comments. type: string - ordertimestamp: - description: Time order received + EAN: + description: EANUPC type: string - invoicingsystemorderid: - description: Ingram Micro generated order number + CoO: + description: Country of Origin. type: string - taxamount: - type: number - freightamount: - description: Freight amount customer pays for freight - type: number - orderamount: - description: Total amount of order with freight and taxes - type: number - Lines: - description: Collection of lines - items: - $ref: '#/components/schemas/orderCreateResponse_serviceresponse_ordercreateresponse_inner_Lines_inner' - type: array - type: object - orderCreateResponse_serviceresponse: - example: - ordersummary: - totalorderamount: totalorderamount - totalordercreated: totalordercreated - customerponumber: customerponumber - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - ordercreateresponse: - - freightamount: 6.027456183070403 - numberoflineswitherror: numberoflineswitherror - numberoflineswithwarning: numberoflineswithwarning - orderamount: 1.4658129805029452 - ordertimestamp: ordertimestamp - taxamount: 0.8008281904610115 - globalorderid: globalorderid - invoicingsystemorderid: invoicingsystemorderid - numberoflineswithsuccess: numberoflineswithsuccess - ordertype: S - Lines: - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - freightamount: 6.027456183070403 - numberoflineswitherror: numberoflineswitherror - numberoflineswithwarning: numberoflineswithwarning - orderamount: 1.4658129805029452 - ordertimestamp: ordertimestamp - taxamount: 0.8008281904610115 - globalorderid: globalorderid - invoicingsystemorderid: invoicingsystemorderid - numberoflineswithsuccess: numberoflineswithsuccess - ordertype: S - Lines: - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - - linenumber: linenumber - requestedunitprice: 5.962133916683182 - carriercode: carriercode - linetype: linetype - confirmedquantity: 2 - carrierdescription: carrierdescription - ordersuffix: ordersuffix - unitproductprice: 9.301444243932576 - warehouseid: warehouseid - globalskuid: globalskuid - backorderedquantity: 7 - globallinenumber: globallinenumber - requestedquantity: 5 - partnumber: partnumber - netamount: 3.616076749251911 - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - responsepreamble: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' - ordersummary: - $ref: '#/components/schemas/orderCreateResponse_serviceresponse_ordersummary' - ordercreateresponse: - description: Collection of orders - items: - $ref: '#/components/schemas/orderCreateResponse_serviceresponse_ordercreateresponse_inner' - type: array - type: object - orderDetailResponse_serviceresponse_orderdetailresponse_billtoaddress: - example: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix - properties: - suffix: + ingramPartNumber: + description: "Ingram Micro SKU (stock keeping unit). An identification,\ + \ usually alphanumeric, of a particular product that allows it to be tracked\ + \ for inventory purposes" type: string - name: + vendorPartNumber: + description: Vendor Part Number type: string - attention: + description: + description: "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." type: string - addressline1: + weight: + description: "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." + type: integer + weightUom: + description: Unit of measure type: string - addressline2: + isSuggestionProduct: + description: 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. + type: boolean + vpnCategory: + description: Vendor product category specific to Cisco. HWDW (hardware) + or service. type: string - addressline3: + quoteProductsSupplierPartAuxiliaryId: + description: Vendor product configuration ID specific to Cisco. type: string - city: + vendorName: + description: Vendor name of the product type: string - state: + terms: + description: Terms of the quote type: string - postalcode: + price: + $ref: '#/components/schemas/QuoteDetailsResponse_products_inner_price' + type: object + QuoteDetailsResponse_additionalAttributes_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + properties: + attributeName: + description: |- + estimateId - is the identification number for an estimate provided by Cisco for a quote. + + dealId - is the identification number for the specific deal pricing related to a Cisco quote + + vendorName - Name of Vendor associated with the quote. + + vendorMessage - Vendor Message is associated with primary vendor in the quote. In cases where a vendor requires a message be presented in the quote, the vendor name and message will be retreived and must be included in the quote vendor message fields. type: string - countrycode: + attributeValue: + description: The attribute field data. type: string type: object - orderDetailResponse_serviceresponse_orderdetailresponse_shiptoaddress: + AvailabilityAsyncNotificationRequest_resource_inner_links_inner: example: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix + topic: topic + href: href + type: type properties: - suffix: + topic: + description: Provides the details of the orders. type: string - attention: + href: + description: The URL endpoint for accessing the relevant data. type: string - name: + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.). " type: string - addressline1: + type: object + AvailabilityAsyncNotificationRequest_resource_inner: + example: + ingramPartNumber: ingramPartNumber + totalAvailability: totalAvailability + backOrderFlag: backOrderFlag + skuStatus: skuStatus + vendorPartNumber: vendorPartNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + vendorName: vendorName + upcCode: upcCode + properties: + eventType: + description: The event name sent in the event request. type: string - addressline2: + ingramPartNumber: + description: The Unique IngramMicro part number for the product. type: string - addressline3: + vendorPartNumber: + description: The vendors part number for the product. type: string - city: + vendorName: + description: The name of the vendor/manufacturer of the product. type: string - state: + upcCode: + description: The UPC code for the product. Consists of 12 numeric digits + that are uniquly assigned to each trade item. type: string - postalcode: + skuStatus: + description: Status returned saying whether sku is active. type: string - countrycode: + backOrderFlag: + description: Backordered Flag. + type: string + totalAvailability: + description: totalAvailability. type: string + links: + description: Link to Order Details for the order(s). + items: + $ref: '#/components/schemas/AvailabilityAsyncNotificationRequest_resource_inner_links_inner' + type: array type: object - orderDetailResponse_serviceresponse_orderdetailresponse_enduserinfo: + OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner_packageDetails_inner: example: - enduserid: enduserid + quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber properties: - enduserid: + cartonNumber: + description: The shipment carton number that contains the line item. type: string - type: object - orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_serialnumberdetails_inner: - example: - serialnumber: serialnumber - properties: - serialnumber: - description: serial number of the ordered SKU + quantityInbox: + description: The quantity of line items in the box. + type: string + trackingNumber: + description: The tracking number for the shipment containing the line item. type: string type: object - orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_shipmentdetails_inner_packagedetails: + OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner: example: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight + packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId properties: - trackingnumber: + shipmentDate: + description: The date the line item was shipped. + type: string + shipFromWarehouseId: + description: The ID of the warehouse the product will ship from. type: string - packageweight: + warehouseName: + description: '""' type: string - cartonnumber: + carrierCode: + description: |- + The carrier code for the shipment containing the + line item. type: string - quantityinbox: + carrierName: + description: |- + The name of the carrier of the shipment containing + the line item. type: string + packageDetails: + items: + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner_packageDetails_inner' + type: array type: object - orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_shipmentdetails_inner: + OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_serialNumberDetails_inner: example: - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight + serialNumber: serialNumber properties: - quantity: - description: quantity shipped - type: number - shipmentdate: - description: date of shipment - type: string - shipfromwarehouseid: - description: Warehouse product was shipped from - type: string - warehousename: - description: name of the warehouse + serialNumber: + description: 'The serial number for the line item. ' type: string - invoicenumber: - description: Invoice Number + type: object + OrderStatusAsyncNotificationRequest_resource_inner_lines_inner: + example: + lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + properties: + LineNumber: + description: The Ingram Micro line number for the product type: string - invoicedate: - description: date on the invoice generated + subOrderNumber: + description: The sub order number. The two-digit prefix is the warehouse + code of the warehouse nearest the reseller. The middle number is the order + number. The two-digit suffix is the sub order number. type: string - status: - description: code for current Status of the order + lineStatus: + description: "The status for the line item in the order. One of: Backordered,\ + \ Open, Shipped" type: string - statusdescription: - description: Description of status + ingramPartNumber: + description: The Ingram Micro part number for the line item. type: string - shippeddate: - description: date of shipment + vendorPartNumber: + description: The vendor part number for the line item. type: string - holdreasoncodedescription: - description: Description of the code if the order is on hold + requestedQuantity: + description: The quantity of the line item requested. type: string - ponumber: - description: Ingram PO Number to vendors for direct ship orders + shippedQuantity: + description: The quantity of the line item that has been shipped. type: string - carriertype: - description: Helps to determine shipment type. for e.g. LTL is used for - heavy shipment. SML is used for light shipment + backorderedQuantity: + description: The quantity of the line item that is backordered. type: string - carriercode: - description: "" + shipmentDetails: + items: + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_shipmentDetails_inner' + type: array + serialNumberDetails: + items: + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner_serialNumberDetails_inner' + type: array + type: object + OrderStatusAsyncNotificationRequest_resource_inner_links_inner: + example: + topic: topic + href: href + type: type + properties: + topic: + description: Provides the details of the orders. type: string - carriername: - description: Name of the carrier. If carriername is LTL then the tracking - info is in the "pronumber" data field + href: + description: The URL endpoint for accessing the relevant data. type: string - pronumber: - description: "" + type: + description: "The type of call that can be made to the href link (GET, POST,\ + \ Etc.). " type: string - packagedetails: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_shipmentdetails_inner_packagedetails' type: object - orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner: + OrderStatusAsyncNotificationRequest_resource_inner: example: - linenumber: linenumber - backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber - ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 - serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity - partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate + orderNumber: orderNumber + links: + - topic: topic + href: href + type: type + - topic: topic + href: href + type: type + eventType: eventType + lines: + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + - lineStatus: lineStatus + ingramPartNumber: ingramPartNumber + backorderedQuantity: backorderedQuantity + shipmentDetails: + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + - packageDetails: + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + - quantityInbox: quantityInbox + cartonNumber: cartonNumber + trackingNumber: trackingNumber + carrierName: carrierName + carrierCode: carrierCode + shipmentDate: shipmentDate + warehouseName: warehouseName + shipFromWarehouseId: shipFromWarehouseId + serialNumberDetails: + - serialNumber: serialNumber + - serialNumber: serialNumber + subOrderNumber: subOrderNumber + shippedQuantity: shippedQuantity + requestedQuantity: requestedQuantity + vendorPartNumber: vendorPartNumber + LineNumber: LineNumber + customerOrderNumber: customerOrderNumber + orderEntryTimeStamp: orderEntryTimeStamp properties: - linenumber: - description: Impulse line number + eventType: + description: The event name sent in the event request. + type: string + orderNumber: + description: The Ingram Micro order number. type: string - globallinenumber: - description: Line of the Globel Sku / Customer Line Number + customerOrderNumber: + description: The reseller's unique PO/Order number. + type: string + orderEntryTimeStamp: + description: The timestamp at which the order was created. type: string - ordersuffix: - description: Order Suffix + lines: + description: The line-level details for the order. + items: + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_lines_inner' + type: array + links: + description: Link to Order Details for the order(s). + items: + $ref: '#/components/schemas/OrderStatusAsyncNotificationRequest_resource_inner_links_inner' + type: array + type: object + InvoiceSearchResponse_invoices_inner: + example: + orderCreateDate: orderCreateDate + paymentTermsDueDate: paymentTermsDueDate + invoicedAmountDue: invoicedAmountDue + endCustomerOrderNumber: endCustomerOrderNumber + invoiceAmountInclTax: invoiceAmountInclTax + invoiceNumber: invoiceNumber + erpOrderNumber: erpOrderNumber + invoiceStatus: invoiceStatus + invoiceDate: invoiceDate + customerOrderNumber: customerOrderNumber + invoiceDueDate: invoiceDueDate + properties: + paymentTermsDueDate: + description: Payment Terms Due date. type: string - erpordernumber: - description: Sales order number + erpOrderNumber: + description: Order number type: string - linestatus: - description: Status of the line + invoiceNumber: + description: Invoice no. type: string - partnumber: - description: Ingram part number + invoiceStatus: + description: Invoice Status. type: string - manufacturerpartnumber: - description: manufacture number of the product + invoiceDate: + description: Invoice Date. type: string - vendorname: - description: name of the vendor + invoiceDueDate: + description: Invoice Due Date. type: string - vendorcode: - description: Ingram Micro assigned code for the vendor + invoicedAmountDue: + description: Invoice Amount. type: string - partdescription1: + customerOrderNumber: + description: Customer Order No. type: string - partdescription2: + orderCreateDate: + description: Order Create Date. type: string - unitweight: - description: weight of the product unit + endCustomerOrderNumber: + description: End Customer Order number. type: string - unitprice: - description: Customer price of the unit - type: number - extendedprice: - description: extended price of the order - type: number - taxamount: - description: tax amount for the order - type: number - requestedquantity: - description: no. of units requested + invoiceAmountInclTax: + description: Invoice Amount Inclusive of Taxes type: string - confirmedquantity: - description: no. of units confirmed available + InvoiceDetailResponse_serviceresponse_responsepreamble: + example: + statuscode: statuscode + responsemessage: responsemessage + responsestatus: responsestatus + properties: + responsestatus: type: string - backorderquantity: - description: quantity of back order + statuscode: type: string - serialnumberdetails: - items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_serialnumberdetails_inner' - type: array - trackingnumber: - items: - description: Tracking number of the order. If carriername is LTL then - the tracking info is in the "pronumber" data field - type: string - type: array - shipmentdetails: - items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner_shipmentdetails_inner' - type: array - productextendedspecs: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' - type: array - backorderetadate: - description: estimated date of back order + responsemessage: type: string type: object - orderDetailResponse_serviceresponse_orderdetailresponse_commentlines_inner: + InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner: example: - commenttext1: commenttext1 - commenttext2: commenttext2 + attributevalue: attributevalue + attributename: attributename properties: - commenttext1: + attributename: type: string - commenttext2: + attributevalue: type: string type: object - orderDetailResponse_serviceresponse_orderdetailresponse_miscfeeline_inner: + InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner: example: + code: code description: description chargeamount: chargeamount properties: + code: + type: string description: - description: Handling charges/Miscellaneous Fee description type: string chargeamount: - description: Handling charges/ Miscelaneous fee amount - type: string - type: object - orderDetailResponse_serviceresponse_orderdetailresponse_extendedspecs_inner: - example: - attributevalue: attributevalue - attributename: attributename - properties: - attributename: - description: termscode' | 'termsdescription' | 'commenttext' are the atrribute - name - type: string - attributevalue: - description: values of these fields are send . termscode' | 'termsdescription' - | 'commenttext' are the atrribute name type: string type: object - orderDetailResponse_serviceresponse_orderdetailresponse: + InvoiceDetailResponse_serviceresponse_invoicedetailresponse: example: - freightamount: freightamount - totalweight: totalweight - orderstatus: orderstatus - miscfeeline: - - description: description - chargeamount: chargeamount - - description: description - chargeamount: chargeamount - entrytimestamp: entrytimestamp - ordertotalvalue: 0.8008281904610115 - billtoaddress: + creditmemoreasoncode: creditmemoreasoncode + paymentterms: paymentterms + soldto: city: city - postalcode: postalcode countrycode: countrycode - name: name + phonenumber: phonenumber + postalcode: postalcode addressline3: addressline3 attention: attention addressline2: addressline2 addressline1: addressline1 state: state - suffix: suffix + name2: name2 + fax: fax + name1: name1 + email: email + orderstatus: orderstatus + totalotherfees: 6.027456183070403 + shippableswitch: shippableswitch + currencyrate: currencyrate + invoicetype: invoicetype + orderdate: 2000-01-23 currencycode: currencycode + globalorderid: globalorderid + totalsales: totalsales extendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix - totaltax: totaltax - enduserponumber: enduserponumber - ordersubtotal: 6.027456183070403 - ordernumber: ordernumber + taxtype: taxtype + totaltaxamount: totaltaxamount + discountamount: 0.8008281904610115 + originalshipcode: originalshipcode customerordernumber: customerordernumber lines: - linenumber: linenumber + vendorpartnumber: vendorpartnumber backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 + unitprice: unitprice productextendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure - linenumber: linenumber + vendorpartnumber: vendorpartnumber backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 + unitprice: unitprice productextendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate - entrymethoddescription: entrymethoddescription - commentlines: - - commenttext1: commenttext1 - commenttext2: commenttext2 - - commenttext1: commenttext1 - commenttext2: commenttext2 + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure + invoicenumber: invoicenumber + shipdate: 2000-01-23 + customernumber: customernumber + freightamount: freightamount + miscfeeline: + - code: code + description: description + chargeamount: chargeamount + - code: code + description: description + chargeamount: chargeamount + carrierdescription: carrierdescription + weight: weight + freightforwardercode: freightforwardercode + shoptoaddress: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + customerfreightamount: customerfreightamount + companycurrency: companycurrency + billtosuffix: billtosuffix + carrier: carrier + enduserponumber: enduserponumber + totalamount: totalamount + holdreason: holdreason + shiptosuffix: shiptosuffix + fulfillmentflag: fulfillmentflag + billto: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + invoicedate: 2000-01-23 + shipcomplete: shipcomplete + customerforeignfrightamt: customerforeignfrightamt ordertype: ordertype - enduserinfo: - enduserid: enduserid properties: - ordernumber: + customernumber: + type: string + invoicenumber: + type: string + invoicedate: + format: date + type: string + invoicetype: + type: string + customerordernumber: + type: string + customerfreightamount: + format: double + type: string + customerforeignfrightamt: + format: float + type: string + totaltaxamount: + format: double + type: string + totalamount: + format: double type: string - ordertype: - description: "Order Type\t\t\nB - BRANCH TRANSFER\nC - CASH ORDER\nD - DIRECT\ - \ ORDER\nF - FUTURE ORDER\nP - SPECIAL ORDER\nQ - QUOTE ORDER\nS - STOCK\ - \ ORDER\nM - MEMO ORDER" + shiptosuffix: type: string - customerordernumber: - description: Customer PO number + billtosuffix: type: string - enduserponumber: - description: End User PO number + freightamount: + description: May not be available in all countries + format: double type: string - orderstatus: - description: |- - Status of order within Ingram system - S - SALES HOLD - H - TAG HOLD - I - INVOICED - P - PENDING - E - BILLING ERROR - F - FORCE BILLING - V - VOIDED - T - TRANSFERRED - D - HOLD SHIPMENT - R - RELEASED - O - IM ONLINE HOLD - U - BILL FOR HISTORY ONLY - W - ORDER NOT PRINTED - A - DROP SHIP HOLD - B - INTERNET CUST ORIG HOLD - 1 - PICKED - 2 - INSPECTED - 3 - PACKED - 4 - SHIPPED - C - CREDIT HOLD - 9 - CISCO 3A6 - Q - RMA HOLD - G - CREDIT HOLD - N - CREDIT HOLD - type: string - entrytimestamp: - description: Time stamp of the order placed - type: string - entrymethoddescription: - description: "Description of the entry method\t" - type: string - ordertotalvalue: - description: Total order value - type: number - ordersubtotal: - description: Subtotal order value + paymentterms: + type: string + orderdate: + format: date + type: string + carrier: + type: string + carrierdescription: + type: string + discountamount: + format: double type: number - freightamount: - description: Freight charges + taxtype: + type: string + enduserponumber: + type: string + freightforwardercode: + type: string + creditmemoreasoncode: + type: string + fulfillmentflag: + type: string + holdreason: + type: string + shipcomplete: + type: string + shipdate: + format: date + type: string + companycurrency: type: string currencycode: - description: Country specific currency code type: string - totalweight: - description: "Total order weight. unit -- North america - Pounds , other\ - \ countries will be KG" + currencyrate: + type: string + globalorderid: + type: string + originalshipcode: + type: string + ordertype: + type: string + orderstatus: + type: string + totalotherfees: + type: number + totalsales: + type: string + weight: type: string - totaltax: - description: total tax on the orders placed + shippableswitch: type: string - billtoaddress: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_billtoaddress' - shiptoaddress: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_shiptoaddress' - enduserinfo: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_enduserinfo' + soldto: + $ref: '#/components/schemas/addressType' + billto: + $ref: '#/components/schemas/addressType' + shoptoaddress: + $ref: '#/components/schemas/addressType' lines: items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_lines_inner' + $ref: '#/components/schemas/productLineType' type: array - commentlines: + extendedspecs: items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_commentlines_inner' + $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' type: array miscfeeline: items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_miscfeeline_inner' - type: array - extendedspecs: - items: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse_extendedspecs_inner' + $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner' type: array type: object - orderDetailResponse_serviceresponse: + InvoiceDetailResponse_serviceresponse: example: - orderdetailresponse: - freightamount: freightamount - totalweight: totalweight - orderstatus: orderstatus - miscfeeline: - - description: description - chargeamount: chargeamount - - description: description - chargeamount: chargeamount - entrytimestamp: entrytimestamp - ordertotalvalue: 0.8008281904610115 - billtoaddress: + invoicedetailresponse: + creditmemoreasoncode: creditmemoreasoncode + paymentterms: paymentterms + soldto: city: city - postalcode: postalcode countrycode: countrycode - name: name + phonenumber: phonenumber + postalcode: postalcode addressline3: addressline3 attention: attention addressline2: addressline2 addressline1: addressline1 state: state - suffix: suffix + name2: name2 + fax: fax + name1: name1 + email: email + orderstatus: orderstatus + totalotherfees: 6.027456183070403 + shippableswitch: shippableswitch + currencyrate: currencyrate + invoicetype: invoicetype + orderdate: 2000-01-23 currencycode: currencycode + globalorderid: globalorderid + totalsales: totalsales extendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - shiptoaddress: - city: city - postalcode: postalcode - countrycode: countrycode - name: name - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - suffix: suffix - totaltax: totaltax - enduserponumber: enduserponumber - ordersubtotal: 6.027456183070403 - ordernumber: ordernumber + taxtype: taxtype + totaltaxamount: totaltaxamount + discountamount: 0.8008281904610115 + originalshipcode: originalshipcode customerordernumber: customerordernumber lines: - linenumber: linenumber + vendorpartnumber: vendorpartnumber backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 + unitprice: unitprice productextendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure - linenumber: linenumber + vendorpartnumber: vendorpartnumber backorderquantity: backorderquantity - confirmedquantity: confirmedquantity - manufacturerpartnumber: manufacturerpartnumber + linetype: linetype + trackingnumberdetails: + - trackingnumber: trackingnumber + - trackingnumber: trackingnumber + specialbidnumber: specialbidnumber ordersuffix: ordersuffix - unitweight: unitweight - shipmentdetails: - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - - shipfromwarehouseid: shipfromwarehouseid - quantity: 2.3021358869347655 - statusdescription: statusdescription - carriercode: carriercode - carriername: carriername - shipmentdate: shipmentdate - shippeddate: shippeddate - pronumber: pronumber - ponumber: ponumber - holdreasoncodedescription: holdreasoncodedescription - carriertype: carriertype - invoicedate: invoicedate - warehousename: warehousename - invoicenumber: invoicenumber - status: status - packagedetails: - cartonnumber: cartonnumber - trackingnumber: trackingnumber - quantityinbox: quantityinbox - packageweight: packageweight - unitprice: 1.4658129805029452 + unitprice: unitprice productextendedspecs: - attributevalue: attributevalue attributename: attributename - attributevalue: attributevalue attributename: attributename - erpordernumber: erpordernumber - linestatus: linestatus - extendedprice: 5.962133916683182 - trackingnumber: - - trackingnumber - - trackingnumber - taxamount: 5.637376656633329 - partdescription1: partdescription1 - globallinenumber: globallinenumber - partdescription2: partdescription2 + marginpercent: marginpercent + isacopapplied: isacopapplied + shippedquantity: shippedquantity + shipfrombranch: shipfrombranch + orderedquantity: orderedquantity + extendedprice: extendedprice serialnumberdetails: - - serialnumber: serialnumber - - serialnumber: serialnumber - vendorcode: vendorcode - requestedquantity: requestedquantity + - deliverynumber: deliverynumber + serialnumber: serialnumber + - deliverynumber: deliverynumber + serialnumber: serialnumber + partdescription: partdescription partnumber: partnumber - vendorname: vendorname - backorderetadate: backorderetadate - entrymethoddescription: entrymethoddescription - commentlines: - - commenttext1: commenttext1 - commenttext2: commenttext2 - - commenttext1: commenttext1 - commenttext2: commenttext2 + backorderetadate: 2000-01-23 + unitofmeasure: unitofmeasure + invoicenumber: invoicenumber + shipdate: 2000-01-23 + customernumber: customernumber + freightamount: freightamount + miscfeeline: + - code: code + description: description + chargeamount: chargeamount + - code: code + description: description + chargeamount: chargeamount + carrierdescription: carrierdescription + weight: weight + freightforwardercode: freightforwardercode + shoptoaddress: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + customerfreightamount: customerfreightamount + companycurrency: companycurrency + billtosuffix: billtosuffix + carrier: carrier + enduserponumber: enduserponumber + totalamount: totalamount + holdreason: holdreason + shiptosuffix: shiptosuffix + fulfillmentflag: fulfillmentflag + billto: + city: city + countrycode: countrycode + phonenumber: phonenumber + postalcode: postalcode + addressline3: addressline3 + attention: attention + addressline2: addressline2 + addressline1: addressline1 + state: state + name2: name2 + fax: fax + name1: name1 + email: email + invoicedate: 2000-01-23 + shipcomplete: shipcomplete + customerforeignfrightamt: customerforeignfrightamt ordertype: ordertype - enduserinfo: - enduserid: enduserid responsepreamble: statuscode: statuscode responsemessage: responsemessage @@ -23807,949 +18183,462 @@ components: properties: responsepreamble: $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' - orderdetailresponse: - $ref: '#/components/schemas/orderDetailResponse_serviceresponse_orderdetailresponse' - type: object - orderCancelResponse_serviceresponse_responsepreamble: - example: - returnCode: returnCode - returnMessage: returnMessage - requestStatus: requestStatus - properties: - requestStatus: - type: string - returnCode: - type: string - returnMessage: - type: string - type: object - orderCancelResponse_serviceresponse: - example: - responsepreamble: - returnCode: returnCode - returnMessage: returnMessage - requestStatus: requestStatus - properties: - responsepreamble: - $ref: '#/components/schemas/orderCancelResponse_serviceresponse_responsepreamble' - type: object - orderSearchResponse_serviceResponse_responsepreamble: - example: - returnmessage: returnmessage - requeststatus: requeststatus - properties: - requeststatus: - type: string - returnmessage: - type: string - required: - - requeststatus - - returnmessage - type: object - orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_suborders_inner_links_inner: - example: - topic: orders - href: https://openapi-generator.tech - type: GET - properties: - topic: - description: "topic being orders or invoices, if it is orders then the link\ - \ will provide details of the order. If its invoices then the link provides\ - \ details of the invoice" - enum: - - orders - - invoices - type: string - href: - description: The API endpoint for accessing the relevant data - format: uri - type: string - type: - description: The type of call that can be made to the href link - enum: - - GET - - POST - - PUT - type: string + invoicedetailresponse: + $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse' type: object - orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_suborders_inner: + InvoiceDetailsv6_1Response_paymentTermsInfo: + additionalProperties: false + description: Payment terms is the agreement between Ingram and the customer + by what period they should pay the invoice by example: - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status + paymentTermsDescription: paymentTermsDescription + paymentTermsDueDate: paymentTermsDueDate + paymentTermsCode: paymentTermsCode properties: - subordernumber: - description: A sub order number - type: string - statuscode: - description: Order status code - type: string - status: - description: Details of the order statuscode - i.e. statuscode = 4 then - status = SHIPPED + paymentTermsCode: + description: Code of the payment terms. type: string - holdreasoncode: - description: Will be returned in case of order on hold + paymentTermsDescription: + description: Description of the payment terms. type: string - holdreason: - description: Reason for order hold - will be returned if the order is on - hold + paymentTermsDueDate: + description: Due date of the payment terms. type: string - links: - description: HATEOAS links for the details and invoices of the sub-orders - if available - items: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_suborders_inner_links_inner' - type: array type: object - orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_links: - description: HATEOAS links for the main order + InvoiceDetailsv6_1Response_billToInfo: + additionalProperties: false example: - topic: orders - href: https://openapi-generator.tech - type: GET + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email properties: - topic: - description: "Topic being orders in this case, if it is orders then the\ - \ link will provide details of the order." - enum: - - orders - - invoices + contact: + description: Bill to Name. type: string - href: - description: The API endpoint for accessing the relevant data - format: uri + companyName: + description: Bill to company. type: string - type: - description: The type of call that can be made to the href link - enum: - - GET - - POST - - PUT + addressLine1: + description: Bill to Address Line1. type: string - type: object - orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner: - example: - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - properties: - ordernumber: - description: Ingram micro sales order number + addressLine2: + description: Bill to Address Line2. type: string - entrytimestamp: - description: The order creation date-time in UTC format + addressLine3: + description: Bill to Address Line3. type: string - customerordernumber: - description: PO/Order number submitted while creating the order + city: + description: Bill to City. type: string - suborders: - description: "An order MAY get divided into various sub orders, for example\ - \ if the SKUs are being shipped from different warehouse." - items: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_suborders_inner' - type: array - links: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner_links' - required: - - entrytimestamp - - ordernumber - type: object - orderSearchResponse_serviceResponse_ordersearchresponse: - example: - ordersfound: ordersfound - pagesize: pagesize - orders: - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - pagenumber: pagenumber - properties: - ordersfound: - description: Number of records found in the search result + state: + description: Bill to State code type: string - pagesize: - description: "The submitted pagesize, default is 25" + postalCode: + description: Bill to Postalcode code. type: string - pagenumber: - description: "The submitted pager number, default is 1" + countryCode: + description: Bill to Country code. + type: string + phoneNumber: + description: Phone number of the bill to company. + type: string + email: + description: Email address of the bill to company. type: string - orders: - description: An array of orders in the search result - items: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_ordersearchresponse_orders_inner' - type: array - required: - - ordersfound - type: object - orderSearchResponse_serviceResponse: - example: - responsepreamble: - returnmessage: returnmessage - requeststatus: requeststatus - ordersearchresponse: - ordersfound: ordersfound - pagesize: pagesize - orders: - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - entrytimestamp: entrytimestamp - ordernumber: ordernumber - links: - topic: orders - href: https://openapi-generator.tech - type: GET - customerordernumber: customerordernumber - suborders: - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - - statuscode: statuscode - subordernumber: subordernumber - holdreason: holdreason - holdreasoncode: holdreasoncode - links: - - topic: orders - href: https://openapi-generator.tech - type: GET - - topic: orders - href: https://openapi-generator.tech - type: GET - status: status - pagenumber: pagenumber - properties: - responsepreamble: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_responsepreamble' - ordersearchresponse: - $ref: '#/components/schemas/orderSearchResponse_serviceResponse_ordersearchresponse' type: object - productSearchResponse_serviceresponse_responsepreamble: + InvoiceDetailsv6_1Response_shipToInfo: + additionalProperties: false example: - returnmessage: returnmessage - returncode: returncode - requeststatus: requeststatus + phoneNumber: phoneNumber + city: city + countryCode: countryCode + contact: contact + companyName: companyName + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email properties: - requeststatus: + contact: + description: Ship to Name. + type: string + companyName: + description: Ship to company. type: string - returncode: + addressLine1: + description: Ship to Address Line1. type: string - returnmessage: + addressLine2: + description: Ship to Address Line2. type: string - type: object - productSearchResponse_serviceresponse_productsearchresponse_inner_partnumbers_inner: - example: - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - properties: - ingrampartnumber: - description: Ingram Part Number + addressLine3: + description: Ship to Address Line3. type: string - manufacturerpartnumber: - description: Vendor or Manufacturer Part Number + city: + description: Ship to City. + type: string + state: + description: Ship to State code type: string - upccode: - description: UPC + postalCode: + description: Ship to Postalcode code. type: string - productdescription: - description: Product description + countryCode: + description: Ship to Country code. type: string - currency: + phoneNumber: + description: Phone number of the Ship to company. type: string - haswarranty: + email: + description: Email address of the Ship to company. type: string type: object - productSearchResponse_serviceresponse_productsearchresponse_inner: + InvoiceDetailsv6_1Response_lines_inner_serialNumbers_inner: + additionalProperties: false example: - partnumbers: - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - responseflag: responseflag + serialNumber: serialNumber properties: - responseflag: - description: Number of records in the search result. + serialNumber: + description: Serial number of the product. + nullable: true type: string - partnumbers: - items: - $ref: '#/components/schemas/productSearchResponse_serviceresponse_productsearchresponse_inner_partnumbers_inner' - type: array type: object - productSearchResponse_serviceresponse: + InvoiceDetailsv6_1Response_lines_inner: + additionalProperties: false example: - responsepreamble: - returnmessage: returnmessage - returncode: returncode - requeststatus: requeststatus - productsearchresponse: - - partnumbers: - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - responseflag: responseflag - - partnumbers: - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - - productdescription: productdescription - manufacturerpartnumber: manufacturerpartnumber - ingrampartnumber: ingrampartnumber - haswarranty: haswarranty - currency: currency - upccode: upccode - responseflag: responseflag - properties: - responsepreamble: - $ref: '#/components/schemas/productSearchResponse_serviceresponse_responsepreamble' - productsearchresponse: - items: - $ref: '#/components/schemas/productSearchResponse_serviceresponse_productsearchresponse_inner' - type: array - type: object - priceAndAvailabilityRequest_servicerequest_requestpreamble: + ingramPartNumber: ingramPartNumber + unitWeight: unitWeight + unitPrice: 6.027456183070403 + customerPartNumber: customerPartNumber + quantity: 0 + unitOfMeasure: unitOfMeasure + taxPercentage: 5.962133916683182 + serialNumbers: + - serialNumber: serialNumber + - serialNumber: serialNumber + ingramLineNumber: ingramLineNumber + quantityOrdered: 7 + vendorName: vendorName + customerLineNumber: "0" + taxRate: 5.637376656633329 + quantityShipped: 9 + extendedPrice: 1.4658129805029452 + vendorPartNumber: vendorPartNumber + taxAmount: 2.3021358869347655 + currencyCode: currencyCode + productDescription: productDescription properties: - isocountrycode: - description: 2 Digit ISO country code - example: US - maxLength: 2 - minLength: 2 + ingramLineNumber: + description: Unique line number from Ingram. type: string - customernumber: - description: Your Ingram Micro customer number - example: '12-34567 or 12-345678 or 123456 ' + customerLineNumber: + default: "0" + description: Line number passes by customer while creating an order. type: string - required: - - customernumber - - isocountrycode - type: object - priceAndAvailabilityRequest_servicerequest_priceandstockrequest_item_inner: - properties: - index: - type: integer - ingrampartnumber: - description: Ingram Micro SKU number + ingramPartNumber: + description: "Ingram Micro SKU (stock keeping unit). An identification,\ + \ usually alphanumeric, of a particular product that allows it to be tracked\ + \ for inventory purposes." type: string - vendorpartnumber: - description: Vendor/Manufacture Part Number + vendorPartNumber: + description: Vendor Part Number. type: string - upc: - description: Universal Product code + customerPartNumber: + description: Part number from customer's system. type: string - customerpartnumber: - description: "Unique identoifier for the customer, needs custom setup." + vendorName: + description: Name of the vendor. type: string - warehouseidlist: - description: Unique identity for Ingram Micro warehouses against which stock - details are returned. - items: - type: string - type: array - extendedvendorpartnumber: + productDescription: + description: Description of the product. + type: string + unitWeight: + description: Weight of the product. type: string quantity: + description: Quantity of the product. + format: int32 + type: integer + unitPrice: + description: Unit price of the product. + format: double type: number - enduserid: - type: string - govtprogramtype: - type: string - govtendusertype: + unitOfMeasure: + description: Unit of measure of the product. type: string - specialbidnumber: + currencyCode: + description: Currency code. type: string + extendedPrice: + description: Extended price of the product. + format: double + type: number + taxPercentage: + description: Tax percentage + format: double + type: number + taxRate: + description: Tax rate + format: double + type: number + taxAmount: + description: Line level tax amount. + format: double + type: number + serialNumbers: + items: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_lines_inner_serialNumbers_inner' + nullable: true + type: array + quantityOrdered: + description: Quantity ordered by the customer. + format: int32 + type: integer + quantityShipped: + description: Quantity shipped to the customer. + format: int32 + type: integer type: object - priceAndAvailabilityRequest_servicerequest_priceandstockrequest: + InvoiceDetailsv6_1Response_fxRateInfo: + additionalProperties: false + example: + companyCurrency: companyCurrency + currencyFxRate: 3.616076749251911 + currencyCode: currencyCode + invoiceCurrency: invoiceCurrency properties: - showwarehouseavailability: - description: True/false to show the availability of individual warehouses + currencyCode: + description: Currency code. type: string - extravailabilityflag: - description: Y/N to show extra availability flag + companyCurrency: + description: Company currency code. type: string - includeallsystems: - description: Flag to indicate if the price and stock information is required - for all Ingram Micro systems. - type: boolean - item: - items: - $ref: '#/components/schemas/priceAndAvailabilityRequest_servicerequest_priceandstockrequest_item_inner' - type: array + invoiceCurrency: + description: Invoice currency. + type: string + currencyFxRate: + description: Currency FX rate. + format: double + type: number type: object - priceAndAvailabilityRequest_servicerequest: + InvoiceDetailsv6_1Response_summary_lines: + additionalProperties: false + example: + productLineCount: 2 + productLineTotalQuantity: 4 properties: - requestpreamble: - $ref: '#/components/schemas/priceAndAvailabilityRequest_servicerequest_requestpreamble' - priceandstockrequest: - $ref: '#/components/schemas/priceAndAvailabilityRequest_servicerequest_priceandstockrequest' + productLineCount: + description: Number of lines in the order. + format: int32 + type: integer + productLineTotalQuantity: + description: Total quantity of the order. + format: int32 + type: integer type: object - priceAndAvailabilityResponse_serviceresponse_responsepreamble: + InvoiceDetailsv6_1Response_summary_miscCharges_inner: + additionalProperties: false example: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus + chargeLineReference: chargeLineReference + isNonMisc: isNonMisc + miscChargeLineTotal: 1.2315135367772556 + miscChargeLineCount: 7 + chargeDescription: chargeDescription properties: - responsestatus: - description: "SUCCESS or FAILED, sometimes PARTIAL SUCCESS if connection\ - \ to 1 of the systems fails" + chargeDescription: + description: Description of the charge. type: string - responsemessage: - description: Overall status message including error message + miscChargeLineCount: + description: The number of lines for which miscellaneous charges are applicable. + format: int32 + type: integer + miscChargeLineTotal: + description: Miscellaneous charge amount. + format: double + type: number + chargeLineReference: + description: Reference of the chargeLine. type: string - statuscode: - description: Statuscode Message + isNonMisc: + description: Is charge non miscellaneous. type: string type: object - priceAndAvailabilityResponse_serviceresponse_priceandstockresponse_details_inner: + InvoiceDetailsv6_1Response_summary_totals: + additionalProperties: false example: - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" + netInvoiceAmount: 1.0246457001441578 + freightAmount: 1.1730742509559433 + invoicedAmountDue: 7.457744773683766 + discountAmount: 1.4894159098541704 + discountType: discountType + totalTaxAmount: 6.84685269835264 properties: - itemstatus: - description: SUCCESS or FAILED - enum: - - SUCCESS - - FAILED - type: string - statusmessage: - description: Description of itemstatus - type: string - ingrampartnumber: - description: Ingram Micro part number - type: string - vendorpartnumber: - description: Manufacturer/Vendor part number - type: string - globalskuid: - type: string - customerprice: - description: "Customer specific price for the product, excluding taxes" + netInvoiceAmount: + description: Net Invoice amount. + format: double type: number - partdescription1: - description: Product description part 1 - type: string - partdescription2: - description: Product description part 2 - type: string - vendornumber: - type: string - vendorname: - description: Name of the vendor - type: string - cpucode: - type: string - class: - description: "Ingram Micro assigned product classification - \nA-Stocked\ - \ product in all IM warehouses, B-Limited stock in IM warehouses, C-Stocked\ - \ in fewer wareshouses, D-Ingram discontinued, E-Planned to be phased\ - \ out as per the vendor, F-Carried for specific customer as per the contract,\ - \ N-New SKU, O-Discontinued to be liquidated, S-Order for specialized\ - \ demand, V-Discontinued by vendor, X-Direct Ship products from vendor" - enum: - - A - - B - - C - - D - - E - - F - - "N" - - O - - S - - V - - X - type: string - skustatus: - description: Identifies if the SKU has been discontinued. - enum: - - ACTIVE - type: string - mediacpu: - type: string - categorysubcategory: - type: string - retailprice: + discountAmount: + description: Discount amount. + format: double type: number - newmedia: - type: string - enduserrequired: - description: Y - End user required N - Not required End user - enum: - - "Y" - - "N" + discountType: + description: Type of discount. type: string - backorderflag: - description: Y- Allow Backorder Flag N- Not allowed - enum: - - "Y" - - "N" + totalTaxAmount: + description: Total Tax amount. + format: double + type: number + invoicedAmountDue: + description: Total amount due for the invoice. + format: double + type: number + freightAmount: + description: Freight amount + format: double + type: number + type: object + InvoiceDetailsv6_1Response_summary_foreignFxTotals: + additionalProperties: false + example: + foreignCurrencyCode: foreignCurrencyCode + foreignCurrencyFxRate: 4.965218492984954 + foreignTotalTaxAmount: 5.025004791520295 + foreignInvoiceAmountDue: foreignInvoiceAmountDue + foreignTotalTaxableAmount: foreignTotalTaxableAmount + properties: + foreignCurrencyCode: + description: Foreign Currency Code. type: string - skuauthorized: + foreignCurrencyFxRate: + description: Foreign rate. + format: double + type: number + foreignTotalTaxableAmount: + description: Foreign amount. type: string - extendedvendorpartnumber: + foreignTotalTaxAmount: + description: Foreign amount. + format: double + type: number + foreignInvoiceAmountDue: + description: Foreign due. type: string - warehousedetails: - items: - $ref: '#/components/schemas/warehouseListType' - type: array type: object - priceAndAvailabilityResponse_serviceresponse_priceandstockresponse: + InvoiceDetailsv6_1Response_summary: + additionalProperties: false example: - details: - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" + miscCharges: + - chargeLineReference: chargeLineReference + isNonMisc: isNonMisc + miscChargeLineTotal: 1.2315135367772556 + miscChargeLineCount: 7 + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + isNonMisc: isNonMisc + miscChargeLineTotal: 1.2315135367772556 + miscChargeLineCount: 7 + chargeDescription: chargeDescription + totals: + netInvoiceAmount: 1.0246457001441578 + freightAmount: 1.1730742509559433 + invoicedAmountDue: 7.457744773683766 + discountAmount: 1.4894159098541704 + discountType: discountType + totalTaxAmount: 6.84685269835264 + foreignFxTotals: + foreignCurrencyCode: foreignCurrencyCode + foreignCurrencyFxRate: 4.965218492984954 + foreignTotalTaxAmount: 5.025004791520295 + foreignInvoiceAmountDue: foreignInvoiceAmountDue + foreignTotalTaxableAmount: foreignTotalTaxableAmount + lines: + productLineCount: 2 + productLineTotalQuantity: 4 properties: - details: + lines: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_lines' + miscCharges: + description: Miscellaneous charges. items: - $ref: '#/components/schemas/priceAndAvailabilityResponse_serviceresponse_priceandstockresponse_details_inner' + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_miscCharges_inner' + nullable: true type: array + totals: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_totals' + foreignFxTotals: + $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_foreignFxTotals' type: object - priceAndAvailabilityResponse_serviceresponse: + productLineType_serialnumberdetails_inner: example: - priceandstockresponse: - details: - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" - - customerprice: 0.8008281904610115 - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - - onholdquantity: 5 - warehouseid: warehouseid - warehousedescription: warehousedescription - onorderquantity: 5 - etadate: etadate - availablequantity: 1 - itemstatus: SUCCESS - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: ACTIVE - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 6.027456183070403 - enduserrequired: "Y" - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A - backorderflag: "Y" - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - responsepreamble: - $ref: '#/components/schemas/priceAndAvailabilityResponse_serviceresponse_responsepreamble' - priceandstockresponse: - $ref: '#/components/schemas/priceAndAvailabilityResponse_serviceresponse_priceandstockresponse' - type: object - quoteListRequest_quoteSearchRequest_requestPreamble: + deliverynumber: deliverynumber + serialnumber: serialnumber properties: - customerNumber: - description: Reseller Number (referred to as the account BCN) is the unique - identifier for an Ingram Micro customer account. - maxLength: 10 + serialnumber: type: string - customerContact: - description: Logged in User's email address. - format: email + deliverynumber: type: string - isoCountryCode: - description: The ISO country codes are internationally recognized codes - designated for each country represented by a two-letter combination (alpha-2). - maxLength: 3 + type: object + productLineType_trackingnumberdetails_inner: + example: + trackingnumber: trackingnumber + properties: + trackingnumber: type: string - required: - - customerNumber - - isoCountryCode type: object - quoteListRequest_quoteSearchRequest_retrieveQuoteRequest: + ErrorResponse_errors_inner_fields_inner: + example: + field: field + message: message + value: value properties: - quoteNumber: - description: "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." - maxLength: 100 + field: + description: Contains the name of the field. type: string - bidNumber: - description: "Special Pricing Bid Number, also referred to as a Dart Number\ - \ by some vendors, is a unique identifier associated with vendor specific\ - \ products and discounts." - maxLength: 100 + value: + description: Value sent in the input for the specific field. type: string - endUserName: - description: End User Name is the end customer name that is associated with - a quote in Ingram Micro's CRM - maxLength: 300 - type: string - fromDate: - description: "Filter to select the beginning date of a desired date range.\ - \ The default filter is set to the date the user is logged-in to request\ - \ quotes. Date format: YYYY-MM-DD - An incorrect date input will result\ - \ in a message \"Date must be entered as YYYY-MM-DD\"" - example: 2019-08-01 - format: date + message: + description: Gives the description of the field message. type: string - toDate: - description: "Filter to select the end date of a desired date range. The\ - \ default number of days to request is the previous 30 days from the date\ - \ user has logged in. Date format: YYYY-MM-DD - An incorrect date input\ - \ will result in a message \"Date must be entered as YYYY-MM-DD\"" - example: 2019-11-01 - format: date + type: object + ErrorResponse_errors_inner: + example: + id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + properties: + id: + description: Unique Id to identify error. type: string - pageIndex: - description: "Page index or page number for the list of quotes being returned.\ - \ When less than 25 quotes are returned, the page number will be \"1\"\ - . In cases where more than 25 quotes are returned, and the default quotes\ - \ per page are 25 (see recordPerPage), then the list will continue on\ - \ subsequent pages." - type: string - recordsPerPage: - description: "Number of records (quotes) to display per page in the quote\ - \ list. The default is 25, but may be increased using the filter by up\ - \ to 100 records per page. If more than 100 records are requested a message\ - \ will be returned \"The number of records requested exceeds the 100 record\ - \ limit.\"\t" - type: string - sorting: - description: Sort applies to the selected column (sortingColumnName) and - may be specified in Ascending (asc) or Descending (desc) order. The default - sort is Descending (desc) - most recent first. - enum: - - asc - - desc - type: string - sortingColumnName: - description: "Refers to the column selected to apply the sorting criteria.\ - \ The default column is dateCreated and will sort by the most recently\ - \ created quote first with the following in descending order. The default\ - \ filter retrieves quotes created within the last 30 days. Filtering allows\ - \ user to select a specific column to sort: quoteNumber, createdDate,\ - \ lastModifiedDate, expiryDate, and endUserName." - example: toDate - maxLength: 100 + type: + description: Describes the type of the error. type: string - thirdPartySource: - description: Unique identifier used to identify the third party source accessing - the services. - maxLength: 100 + message: + description: Describes the error message. type: string - type: object - quoteListRequest_quoteSearchRequest: - properties: - requestPreamble: - $ref: '#/components/schemas/quoteListRequest_quoteSearchRequest_requestPreamble' - retrieveQuoteRequest: - $ref: '#/components/schemas/quoteListRequest_quoteSearchRequest_retrieveQuoteRequest' + fields: + items: + $ref: '#/components/schemas/ErrorResponse_errors_inner_fields_inner' + type: array type: object quoteListResponse_quoteSearchResponse_responsePreamble: - example: - responseStatusCode: responseStatusCode - responseStatus: responseStatus - responseMessage: responseMessage properties: responseStatus: description: "Status of the Request - \"Passed\", \"Failed\"" @@ -24767,17 +18656,6 @@ components: type: string type: object quoteListResponse_quoteSearchResponse_quoteList_inner: - example: - totalAmount: totalAmount - createdDate: 2019-10-08 - revisionNumber: 0 - lastModifiedDate: 2019-10-08 - endUserName: endUserName - bidNumber: bidNumber - quoteNumber: quoteNumber - quoteStatus: quoteStatus - quoteExpiryDate: 2019-10-08 - quoteName: quoteName properties: quoteName: description: Quote Name given to quote by sales team or system generated. @@ -24828,33 +18706,6 @@ components: type: string type: object quoteListResponse_quoteSearchResponse: - example: - responsePreamble: - responseStatusCode: responseStatusCode - responseStatus: responseStatus - responseMessage: responseMessage - totalCount: 6 - quoteList: - - totalAmount: totalAmount - createdDate: 2019-10-08 - revisionNumber: 0 - lastModifiedDate: 2019-10-08 - endUserName: endUserName - bidNumber: bidNumber - quoteNumber: quoteNumber - quoteStatus: quoteStatus - quoteExpiryDate: 2019-10-08 - quoteName: quoteName - - totalAmount: totalAmount - createdDate: 2019-10-08 - revisionNumber: 0 - lastModifiedDate: 2019-10-08 - endUserName: endUserName - bidNumber: bidNumber - quoteNumber: quoteNumber - quoteStatus: quoteStatus - quoteExpiryDate: 2019-10-08 - quoteName: quoteName properties: responsePreamble: $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse_responsePreamble' @@ -24902,10 +18753,6 @@ components: $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest_retrieveQuoteProductsRequest' type: object quoteDetails_quoteDetailResponse_responsePreamble: - example: - responseStatus: responseStatus - responseMessage: responseMessage - statusCode: statusCode properties: responseStatus: type: string @@ -24915,10 +18762,6 @@ components: type: string type: object quoteDetails_quoteDetailResponse_retrieveQuoteResponse_accountInfo: - example: - accountName: accountName - phone: phone - bcn: bcn properties: accountName: type: string @@ -24928,9 +18771,6 @@ components: type: string type: object quoteDetails_quoteDetailResponse_retrieveQuoteResponse_contactInfo: - example: - contactEmail: contactEmail - contactName: contactName properties: contactEmail: type: string @@ -24938,11 +18778,6 @@ components: type: string type: object quoteDetails_quoteDetailResponse_retrieveQuoteResponse_vendorAttributes: - example: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName properties: estimateId: type: string @@ -24954,18 +18789,6 @@ components: type: string type: object quoteDetails_quoteDetailResponse_retrieveQuoteResponse_endUser: - example: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail properties: endUserName: type: string @@ -24991,50 +18814,6 @@ components: type: string type: object quoteDetails_quoteDetailResponse_retrieveQuoteResponse: - example: - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - introPreamble: introPreamble - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - legalTerms: legalTerms - created: 2019-10-04 - priceDeviationExpiryDate: 2000-01-23 - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - priceDeviationStartDate: 2000-01-23 - leasingCalculations: leasingCalculations - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - modified: 2019-10-04 - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - leasingInstructions: leasingInstructions - currencyCode: currencyCode - quoteExpiryDate: 2020-01-01 - quoteName: quoteName - status: status properties: quoteGuid: type: string @@ -25092,98 +18871,6 @@ components: $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_endUser' type: object quoteDetails_quoteDetailResponse: - example: - totalExtendedMsrp: totalExtendedMsrp - totalQuantity: 5 - totalExtendedQuotePrice: totalExtendedQuotePrice - retrieveQuoteResponse: - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - introPreamble: introPreamble - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - legalTerms: legalTerms - created: 2019-10-04 - priceDeviationExpiryDate: 2000-01-23 - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - priceDeviationStartDate: 2000-01-23 - leasingCalculations: leasingCalculations - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - modified: 2019-10-04 - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - leasingInstructions: leasingInstructions - currencyCode: currencyCode - quoteExpiryDate: 2020-01-01 - quoteName: quoteName - status: status - responsePreamble: - responseStatus: responseStatus - responseMessage: responseMessage - statusCode: statusCode - quoteProductList: - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - totalQuoteProductCount: totalQuoteProductCount properties: responsePreamble: $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_responsePreamble' @@ -25203,11 +18890,6 @@ components: type: string type: object quoteProductList_price: - example: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 properties: quotePrice: type: number @@ -25263,14 +18945,20 @@ components: productsearchrequest: $ref: '#/components/schemas/productSearchRequest_servicerequest_productsearchrequest' type: object + multiSKUPriceAndStockResponse_serviceresponse_responsepreamble: + properties: + responsestatus: + description: "SUCCESS or FAILED, sometimes PARTIAL SUCCESS if connection\ + \ to 1 of the systems fails" + type: string + responsemessage: + description: Overall status message including error message + type: string + statuscode: + description: Statuscode Message + type: string + type: object multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner_warehousedetails_inner: - example: - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 properties: warehouseid: description: Unique 2-digit code of the Ingram Micro warehouse @@ -25296,41 +18984,6 @@ components: type: string type: object multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner: - example: - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered properties: itemstatus: type: string @@ -25427,76 +19080,6 @@ components: - retailprice type: object multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse: - example: - details: - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered properties: details: items: @@ -25504,84 +19087,9 @@ components: type: array type: object multiSKUPriceAndStockResponse_serviceresponse: - example: - priceandstockresponse: - details: - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered - - customerprice: customerprice - vendorpartnumber: vendorpartnumber - warehousedetails: - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - - onholdquantity: onholdquantity - warehouseid: 10-Mira Loma CA - warehousedescription: warehousedescription - onorderquantity: 1 - etadate: etadate - availablequantity: 6 - itemstatus: itemstatus - extendedvendorpartnumber: extendedvendorpartnumber - mediacpu: mediacpu - skustatus: skustatus - cpucode: cpucode - newmedia: newmedia - categorysubcategory: categorysubcategory - skuauthorized: skuauthorized - statusmessage: statusmessage - globalskuid: globalskuid - retailprice: 0.8008281904610115 - enduserrequired: Y-End user data required - ingrampartnumber: ingrampartnumber - vendornumber: vendornumber - partdescription1: partdescription1 - partdescription2: partdescription2 - vendorname: vendorname - class: A-Stocked product in all IM warehouses - backorderflag: Y- Can be backordered - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus properties: responsepreamble: - $ref: '#/components/schemas/priceAndAvailabilityResponse_serviceresponse_responsepreamble' + $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_responsepreamble' priceandstockresponse: $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse' type: object @@ -25681,28 +19189,6 @@ components: $ref: '#/components/schemas/invoiceDetailRequest_servicerequest_invoicedetailrequest' type: object invoiceDetailResponse_serviceresponse_invoicedetailresponse: - example: - customernumber: customernumber - freightamount: 5.637376656633329 - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - carrierdescription: carrierdescription - invoicetype: invoicetype - orderdate: orderdate - freightforwardercode: freightforwardercode - customerfreightamount: 0.8008281904610115 - taxtype: taxtype - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totaltaxamount: 1.4658129805029452 - totalamount: 5.962133916683182 - discountamount: 2.3021358869347655 - shiptosuffix: shiptosuffix - customerordernumber: customerordernumber - invoicedate: 2000-01-23 - invoicenumber: invoicenumber - customerforeignfrightamt: 6.0274563 properties: customernumber: type: string @@ -25755,33 +19241,6 @@ components: type: string type: object invoiceDetailResponse_serviceresponse: - example: - invoicedetailresponse: - customernumber: customernumber - freightamount: 5.637376656633329 - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - carrierdescription: carrierdescription - invoicetype: invoicetype - orderdate: orderdate - freightforwardercode: freightforwardercode - customerfreightamount: 0.8008281904610115 - taxtype: taxtype - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totaltaxamount: 1.4658129805029452 - totalamount: 5.962133916683182 - discountamount: 2.3021358869347655 - shiptosuffix: shiptosuffix - customerordernumber: customerordernumber - invoicedate: 2000-01-23 - invoicenumber: invoicenumber - customerforeignfrightamt: 6.0274563 - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus properties: responsepreamble: $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' @@ -25789,9 +19248,6 @@ components: $ref: '#/components/schemas/invoiceDetailResponse_serviceresponse_invoicedetailresponse' type: object orderModifyResponse_serviceresponse_responsepreamble: - example: - responsemessage: responsemessage - responsestatus: responsestatus properties: responsestatus: type: string @@ -25799,12 +19255,6 @@ components: type: string type: object orderModifyResponse_serviceresponse_ordermodifyresponse: - example: - errortype: errortype - headerresponse: headerresponse - acktriggered: acktriggered - responseflag: responseflag - warncode: warncode properties: responseflag: type: string @@ -25818,16 +19268,6 @@ components: type: string type: object orderModifyResponse_serviceresponse: - example: - responsepreamble: - responsemessage: responsemessage - responsestatus: responsestatus - ordermodifyresponse: - errortype: errortype - headerresponse: headerresponse - acktriggered: acktriggered - responseflag: responseflag - warncode: warncode properties: responsepreamble: $ref: '#/components/schemas/orderModifyResponse_serviceresponse_responsepreamble' @@ -25957,6 +19397,20 @@ components: required: - requestpreamble type: object + orderDeleteResponse_serviceresponse_responsepreamble: + properties: + requestStatus: + type: string + returnCode: + type: string + returnMessage: + type: string + type: object + orderDeleteResponse_serviceresponse: + properties: + responsepreamble: + $ref: '#/components/schemas/orderDeleteResponse_serviceresponse_responsepreamble' + type: object orderDeleteRequest_servicerequest_requestpreamble: properties: isocountrycode: @@ -26032,93 +19486,6 @@ components: - requestpreamble type: object quoteDetailsResponse_quoteDetailResponse_retrieveQuoteResponse: - example: - totalExtendedQuotePrice: totalExtendedQuotePrice - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - priceDeviationExpiryDate: priceDeviationExpiryDate - priceDeviationStartDate: priceDeviationStartDate - leasingCalculations: leasingCalculations - totalQuantity: totalQuantity - quoteProductList: - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - totalQuoteProductCount: totalQuoteProductCount - modified: modified - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - leasingInstructions: leasingInstructions - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - totalExtendedMsrp: totalExtendedMsrp - introPreamble: introPreamble - legalTerms: legalTerms - created: created - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - currencyCode: currencyCode - quoteExpiryDate: quoteExpiryDate - quoteName: quoteName - status: status properties: quoteGuid: type: string @@ -26180,98 +19547,6 @@ components: type: string type: object quoteDetailsResponse_quoteDetailResponse: - example: - retrieveQuoteResponse: - totalExtendedQuotePrice: totalExtendedQuotePrice - contactInfo: - contactEmail: contactEmail - contactName: contactName - revisionNumber: revisionNumber - priceDeviationExpiryDate: priceDeviationExpiryDate - priceDeviationStartDate: priceDeviationStartDate - leasingCalculations: leasingCalculations - totalQuantity: totalQuantity - quoteProductList: - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - - bidExpiryDate: bidExpiryDate - vpnCategory: vpnCategory - quantity: quantity - comments: comments - description: description - weight: weight - bidStartDate: bidStartDate - price: - quotePrice: 0.8008281904610115 - msrp: 6.027456183070403 - extendedQuotePrice: 5.962133916683182 - extendedMsrp: 1.4658129805029452 - quoteProductGuid: quoteProductGuid - vendorPartNumber: vendorPartNumber - sku: sku - lineNumber: lineNumber - quoteProductsSupplierPartAuxiliaryId: quoteProductsSupplierPartAuxiliaryId - quoteProductsVendor: quoteProductsVendor - isSuggestionProduct: isSuggestionProduct - totalQuoteProductCount: totalQuoteProductCount - modified: modified - vendorAttributes: - vendorSettingMessage: vendorSettingMessage - dealId: dealId - estimateId: estimateId - vendorName: vendorName - leasingInstructions: leasingInstructions - accountInfo: - accountName: accountName - phone: phone - bcn: bcn - totalExtendedMsrp: totalExtendedMsrp - introPreamble: introPreamble - legalTerms: legalTerms - created: created - solutionProposed: solutionProposed - quoteNumber: quoteNumber - quoteGuid: quoteGuid - endUser: - endUserContactName: endUserContactName - endUserZipCode: endUserZipCode - endUserMarketSegment: endUserMarketSegment - endUserCity: endUserCity - endUserName: endUserName - endUserAddress3: endUserAddress3 - endUserAddress2: endUserAddress2 - endUserPhone: endUserPhone - endUserAddress: endUserAddress - endUserState: endUserState - endUserEmail: endUserEmail - customerNeed: customerNeed - purchaseInstructions: purchaseInstructions - priceDeviationId: priceDeviationId - currencyCode: currencyCode - quoteExpiryDate: quoteExpiryDate - quoteName: quoteName - status: status - responsePreamble: - responseStatus: responseStatus - responseMessage: responseMessage - statusCode: statusCode properties: responsePreamble: $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_responsePreamble' diff --git a/docs/InvoiceDetails.md b/docs/InvoiceDetails.md deleted file mode 100644 index da57dd31..00000000 --- a/docs/InvoiceDetails.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InvoiceDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**InvoiceDetailResponseServiceresponse**](InvoiceDetailResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/InvoicesV4Api.md b/docs/InvoicesV4Api.md deleted file mode 100644 index 43b430df..00000000 --- a/docs/InvoicesV4Api.md +++ /dev/null @@ -1,76 +0,0 @@ -# InvoicesV4Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**postV4Invoicedetails**](InvoicesV4Api.md#postV4Invoicedetails) | **POST** /invoices/v4/invoicedetails | Get Invoice Details | - - - -# **postV4Invoicedetails** -> InvoiceDetailResponse postV4Invoicedetails(invoiceDetailRequest) - -Get Invoice Details - -A real-time request that allows the customer to query Ingram Micro for Invoice information for a specific open or shipped order (in the past 9 months). Orders are searched using Ingram Micro Sales Order Number. - -### 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.InvoicesV4Api; - -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"); - - InvoicesV4Api apiInstance = new InvoicesV4Api(defaultClient); - InvoiceDetailRequest invoiceDetailRequest = new InvoiceDetailRequest(); // InvoiceDetailRequest | - try { - InvoiceDetailResponse result = apiInstance.postV4Invoicedetails(invoiceDetailRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InvoicesV4Api#postV4Invoicedetails"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **invoiceDetailRequest** | [**InvoiceDetailRequest**](InvoiceDetailRequest.md)| | [optional] | - -### Return type - -[**InvoiceDetailResponse**](InvoiceDetailResponse.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** | OK | - | - diff --git a/docs/InvoicesV5Api.md b/docs/InvoicesV5Api.md deleted file mode 100644 index b4cbec1a..00000000 --- a/docs/InvoicesV5Api.md +++ /dev/null @@ -1,80 +0,0 @@ -# InvoicesV5Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getInvoices**](InvoicesV5Api.md#getInvoices) | **GET** /resellers/v5/invoices/{invoiceNumber} | Get Invoice Details | - - - -# **getInvoices** -> InvoiceDetails getInvoices(invoiceNumber, customerNumber, isoCountryCode) - -Get Invoice Details - -View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. <strong>invoiceNumber</strong>, <strong>isoCountryCode</strong> and <strong>customerNumber</strong> parameters are required. - -### 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.InvoicesV5Api; - -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"); - - InvoicesV5Api apiInstance = new InvoicesV5Api(defaultClient); - String invoiceNumber = "20-RCW67-11"; // String | Ingram Micro Invoice Number - String customerNumber = "20-222222"; // String | Your unique Ingram Micro customer number - String isoCountryCode = "US"; // String | ISO 2 char country code - try { - InvoiceDetails result = apiInstance.getInvoices(invoiceNumber, customerNumber, isoCountryCode); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InvoicesV5Api#getInvoices"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **invoiceNumber** | **String**| Ingram Micro Invoice Number | [default to 20-RCW67-11] | -| **customerNumber** | **String**| Your unique Ingram Micro customer number | [default to 20-222222] | -| **isoCountryCode** | **String**| ISO 2 char country code | [default to US] | - -### Return type - -[**InvoiceDetails**](InvoiceDetails.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponse.md b/docs/MultiSKUPriceAndStockResponseServiceresponse.md index 8355ac4b..9626f141 100644 --- a/docs/MultiSKUPriceAndStockResponseServiceresponse.md +++ b/docs/MultiSKUPriceAndStockResponseServiceresponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**PriceAndAvailabilityResponseServiceresponseResponsepreamble**](PriceAndAvailabilityResponseServiceresponseResponsepreamble.md) | | [optional] | +|**responsepreamble** | [**MultiSKUPriceAndStockResponseServiceresponseResponsepreamble**](MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md) | | [optional] | |**priceandstockresponse** | [**MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse**](MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md) | | [optional] | diff --git a/docs/PriceAndAvailabilityResponseServiceresponseResponsepreamble.md b/docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md similarity index 87% rename from docs/PriceAndAvailabilityResponseServiceresponseResponsepreamble.md rename to docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md index 98de8361..5b8604ac 100644 --- a/docs/PriceAndAvailabilityResponseServiceresponseResponsepreamble.md +++ b/docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md @@ -1,6 +1,6 @@ -# PriceAndAvailabilityResponseServiceresponseResponsepreamble +# MultiSKUPriceAndStockResponseServiceresponseResponsepreamble ## Properties diff --git a/docs/OrderCancelResponse.md b/docs/OrderCancelResponse.md deleted file mode 100644 index a4535564..00000000 --- a/docs/OrderCancelResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderCancelResponse - -Response schema for order delete endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderCancelResponseServiceresponse**](OrderCancelResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/OrderCancelResponseServiceresponse.md b/docs/OrderCancelResponseServiceresponse.md deleted file mode 100644 index 9ea19836..00000000 --- a/docs/OrderCancelResponseServiceresponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# OrderCancelResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**OrderCancelResponseServiceresponseResponsepreamble**](OrderCancelResponseServiceresponseResponsepreamble.md) | | [optional] | - - - diff --git a/docs/OrderCreateRequest.md b/docs/OrderCreateRequest.md index 201dbdb0..c1c3dbaf 100644 --- a/docs/OrderCreateRequest.md +++ b/docs/OrderCreateRequest.md @@ -2,13 +2,24 @@ # OrderCreateRequest -Request schema for order create endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**ordercreaterequest** | [**OrderCreateRequestOrdercreaterequest**](OrderCreateRequestOrdercreaterequest.md) | | [optional] | +|**customerOrderNumber** | **String** | The reseller's unique PO/Order number. | | +|**endCustomerOrderNumber** | **String** | The end user/customer's Purchase Order number. | [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 provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. | [optional] | +|**notes** | **String** | Order level notes. | [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] | +|**resellerInfo** | [**OrderCreateRequestResellerInfo**](OrderCreateRequestResellerInfo.md) | | [optional] | +|**vmf** | [**OrderCreateRequestVmf**](OrderCreateRequestVmf.md) | | [optional] | +|**shipToInfo** | [**OrderCreateRequestShipToInfo**](OrderCreateRequestShipToInfo.md) | | [optional] | +|**endUserInfo** | [**OrderCreateRequestEndUserInfo**](OrderCreateRequestEndUserInfo.md) | | [optional] | +|**lines** | [**List<OrderCreateRequestLinesInner>**](OrderCreateRequestLinesInner.md) | The line-level details of the order. | [optional] | +|**shipmentDetails** | [**OrderCreateRequestShipmentDetails**](OrderCreateRequestShipmentDetails.md) | | [optional] | +|**additionalAttributes** | [**List<OrderCreateRequestAdditionalAttributesInner>**](OrderCreateRequestAdditionalAttributesInner.md) | Shipment-level additional attributes. | [optional] | diff --git a/docs/OrderCreateRequestOrdercreaterequest.md b/docs/OrderCreateRequestOrdercreaterequest.md deleted file mode 100644 index a30c31f8..00000000 --- a/docs/OrderCreateRequestOrdercreaterequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**OrderCreateRequestOrdercreaterequestRequestpreamble**](OrderCreateRequestOrdercreaterequestRequestpreamble.md) | | | -|**ordercreatedetails** | [**OrderCreateRequestOrdercreaterequestOrdercreatedetails**](OrderCreateRequestOrdercreaterequestOrdercreatedetails.md) | | [optional] | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md deleted file mode 100644 index cc12d50c..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetails.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerponumber** | **String** | The customers unique Purchase Order number. Keep it unique to retrieve order information | | -|**ordertype** | [**OrdertypeEnum**](#OrdertypeEnum) | Order Type - Standard orders, Direct ship orders | | -|**enduserordernumber** | **String** | Customers End-user PO number | [optional] | -|**billtosuffix** | **String** | Designates flooring acct to be used | [optional] | -|**shiptosuffix** | **String** | Applies to customers with multiple ship to locations (store locations) | [optional] | -|**shiptoaddress** | [**OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress**](OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md) | | | -|**carriercode** | **String** | A customer can dictate what carrier to use for their shipment (Ingram 2-digit carrier code is required). Our recommendation is leave this field blank which will allow Ingram Micro to choose the best carrier to gain the best freight rates. | [optional] | -|**thirdpartyfreightaccountnumber** | **String** | Refers to a third-party freight account number for charging freight against. The account number should be passed within this field and the appropriate carrier code should be supplied within the carrier code tags. Prior to sending your request containing the third-party account number, it must be first entered into our system. Your Ingram Micro Sales Representative can action this for you. If submitted within an order without this preapproval the third-party account number will be ignored. Note: USA partners- For FedEx Air only (carrier codes F1, FO, F2, FG.), please send three leading zeros before your third-party freight account number (i.e.: 000999999999.) | [optional] | -|**specialbidnumber** | **String** | This is the special quote number given to a customer either by a vendor for special pricing or by Ingram Micro. To receive the special pricing assigned to this number it must be included on the order. | [optional] | -|**lines** | [**List<OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner>**](OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md) | | | -|**extendedspecs** | [**List<OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner>**](OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md) | | [optional] | - - - -## Enum: OrdertypeEnum - -| Name | Value | -|---- | -----| -| STANDARD | "Standard" | -| DIRECT_SHIP | "Direct Ship" | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md deleted file mode 100644 index 55d1b413..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.md +++ /dev/null @@ -1,34 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - -Attribute Name and Value: This field identifies if your order is a DIRECT SHIP order (license / warranty) or how you want your Backorders managed as well as other process options like placing your order on hold or adding a comment. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attributename** | [**AttributenameEnum**](#AttributenameEnum) | | [optional] | -|**attributevalue** | **String** | | [optional] | - - - -## Enum: AttributenameEnum - -| Name | Value | -|---- | -----| -| ISDIRECTSHIPORDER | "Isdirectshiporder" | -| EMAILADDRESS | "emailaddress" | -| ISBACKORDERFLAGALLOWED | "Isbackorderflagallowed" | -| PLACEONCUSTOMERHOLD | "placeoncustomerhold" | -| SIGNATUREREQUIRED | "signaturerequired" | -| COMMENTTEXT | "commenttext" | -| RESELLERCTACEMAIL | "resellerctacemail" | -| DUPLICATECUSTOMERORDERNUMBERVALIDATE | "duplicatecustomerordernumbervalidate" | -| QUOTENUMBER | "quotenumber" | -| SHIPCTACPHONE | "shipctacphone" | -| VENDAUTHNUMBER | "vendauthnumber" | -| CONTINUEONERROR | "continueonerror" | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md deleted file mode 100644 index 28474cc3..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**linetype** | [**LinetypeEnum**](#LinetypeEnum) | Values are “P” for product or “C” for comments. This can be left blank when ordering product and a “P” will be assumed. If you are adding a COMMENT, then this value must be “C”. Extended spec for comments: Attribute Name: “commenttext” Attribute Value: “thank you for the order” To make the comment invisible to the packing slip place “///” in front of the comment in the Attribute Value field. This will allow the Ingram sales rep to see the comment on the order but will not forward on to shipping documents. | [optional] | -|**linenumber** | **String** | This is used when a partner wants to use their own line number. Can be left blank. | [optional] | -|**ingrampartnumber** | **String** | This is the Ingram sku number to be used for placing an order. | [optional] | -|**quantity** | **String** | The quantity that is to be ordered. | | -|**vendorpartnumber** | **String** | The Manufacturer part number. Can be used to place an order instead of the Ingram sku. If there are multiple Ingram part numbers to one vendor part number. The order will be rejected. | [optional] | -|**customerpartnumber** | **String** | This is the Customers unique part numbers that must be crossed referenced to the Ingram Micro Sku before it can be used. Please contact your sales rep for additional information on how to set this up. | [optional] | -|**upCCode** | **String** | | [optional] | -|**warehouseid** | **String** | | [optional] | -|**unitprice** | **String** | This is a requested price from the customer. Pre-approval is necessary before using this feature. A methodology called price variance to manage requested pricing needs to be setup in advance by your sales rep. If unit price is provided without this advanced setup the unit price will be ignored and standard Ingram Micro pricing will apply. | [optional] | -|**enduser** | [**OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser**](OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md) | | [optional] | -|**productextendedspecs** | [**List<OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner>**](OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md) | | [optional] | - - - -## Enum: LinetypeEnum - -| Name | Value | -|---- | -----| -| P | "P" | -| C | "C" | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md deleted file mode 100644 index 3a9f89ca..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**addressline1** | **String** | | [optional] | -|**addressline2** | **String** | | [optional] | -|**addressline3** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | -|**phonenumber** | **String** | | [optional] | -|**extensionnumber** | **String** | | [optional] | -|**faxnumber** | **String** | | [optional] | -|**email** | **String** | | [optional] | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md deleted file mode 100644 index 4ef59a40..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attributename** | [**AttributenameEnum**](#AttributenameEnum) | | [optional] | -|**attributevalue** | **String** | | [optional] | - - - -## Enum: AttributenameEnum - -| Name | Value | -|---- | -----| -| SHIPFROM | "shipfrom" | -| SPECIALPRICE | "specialprice" | -| AUTHBIDNUMBER | "authbidnumber" | -| COMMENTTEXT | "commenttext" | -| SERIALNUMBER | "serialnumber" | -| CONTACTNUMBER | "contactnumber" | -| SHIPNOTESTXT | "shipnotestxt" | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md b/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md deleted file mode 100644 index d7f289aa..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attention** | **String** | Customer contact name | [optional] | -|**addressline1** | **String** | Company Name or person to deliver. *If there isn’t an attention line please add the company name on address line 1. UPS and FedEx will create surcharges if address line 1 contains a physical address. | | -|**addressline2** | **String** | Street address for delivery | | -|**addressline3** | **String** | Continuation of address line 2 | [optional] | -|**city** | **String** | Ship to city | | -|**state** | **String** | Ship to State or Region | | -|**postalcode** | **String** | Ship to Zip code or Postal code | | -|**countrycode** | **String** | Ship to country | [optional] | - - - diff --git a/docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md b/docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md deleted file mode 100644 index e9dcc122..00000000 --- a/docs/OrderCreateRequestOrdercreaterequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderCreateRequestOrdercreaterequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | 2 digit ISO country code | | -|**customernumber** | **String** | Your unique Ingram Micro customer number | | - - - diff --git a/docs/OrderCreateResponse.md b/docs/OrderCreateResponse.md index b90376e4..40ac55f3 100644 --- a/docs/OrderCreateResponse.md +++ b/docs/OrderCreateResponse.md @@ -2,13 +2,21 @@ # OrderCreateResponse -Response schema for order create endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderCreateResponseServiceresponse**](OrderCreateResponseServiceresponse.md) | | [optional] | +|**customerOrderNumber** | **String** | The reseller's unique PO/Order number. | [optional] | +|**endCustomerOrderNumber** | **String** | The end user/customer's Purchase Order number. | [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 provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. | [optional] | +|**orderSplit** | **Boolean** | true for multiple orders | [optional] | +|**processedPartially** | **Boolean** | true for partial order succesfully placed | [optional] | +|**purchaseOrderTotal** | **BigDecimal** | Total of all the orders including taxes and fees. | [optional] | +|**shipToInfo** | [**OrderCreateResponseShipToInfo**](OrderCreateResponseShipToInfo.md) | | [optional] | +|**endUserInfo** | [**OrderCreateResponseEndUserInfo**](OrderCreateResponseEndUserInfo.md) | | [optional] | +|**orders** | [**List<OrderCreateResponseOrdersInner>**](OrderCreateResponseOrdersInner.md) | Order-level details. | [optional] | diff --git a/docs/OrderCreateResponseServiceresponse.md b/docs/OrderCreateResponseServiceresponse.md deleted file mode 100644 index e61b7950..00000000 --- a/docs/OrderCreateResponseServiceresponse.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# OrderCreateResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**InvoiceDetailResponseServiceresponseResponsepreamble**](InvoiceDetailResponseServiceresponseResponsepreamble.md) | | [optional] | -|**ordersummary** | [**OrderCreateResponseServiceresponseOrdersummary**](OrderCreateResponseServiceresponseOrdersummary.md) | | [optional] | -|**ordercreateresponse** | [**List<OrderCreateResponseServiceresponseOrdercreateresponseInner>**](OrderCreateResponseServiceresponseOrdercreateresponseInner.md) | Collection of orders | [optional] | - - - diff --git a/docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md b/docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md deleted file mode 100644 index 45bbd4ff..00000000 --- a/docs/OrderCreateResponseServiceresponseOrdercreateresponseInner.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# OrderCreateResponseServiceresponseOrdercreateresponseInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**numberoflineswithsuccess** | **String** | Number of line items that were successful | [optional] | -|**numberoflineswitherror** | **String** | Number of line items with error | [optional] | -|**numberoflineswithwarning** | **String** | Number of line items with warnings | [optional] | -|**globalorderid** | **String** | Ingram sales order number | [optional] | -|**ordertype** | [**OrdertypeEnum**](#OrdertypeEnum) | S=Stocked PO D=Direct Ship PO | [optional] | -|**ordertimestamp** | **String** | Time order received | [optional] | -|**invoicingsystemorderid** | **String** | Ingram Micro generated order number | [optional] | -|**taxamount** | **BigDecimal** | | [optional] | -|**freightamount** | **BigDecimal** | Freight amount customer pays for freight | [optional] | -|**orderamount** | **BigDecimal** | Total amount of order with freight and taxes | [optional] | -|**lines** | [**List<OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner>**](OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md) | Collection of lines | [optional] | - - - -## Enum: OrdertypeEnum - -| Name | Value | -|---- | -----| -| S | "S" | -| D | "D" | - - - diff --git a/docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md b/docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md deleted file mode 100644 index 7515e937..00000000 --- a/docs/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**linetype** | **String** | “P”-Line or SKU Number “C”-Comment Line | [optional] | -|**globallinenumber** | **String** | Ingram generated line number | [optional] | -|**partnumber** | **String** | Ingram Micro Sku Number | [optional] | -|**globalskuid** | **String** | | [optional] | -|**linenumber** | **String** | | [optional] | -|**carriercode** | **String** | Transportation 2 digit codes | [optional] | -|**carrierdescription** | **String** | Transportation Carrier Name | [optional] | -|**requestedunitprice** | **BigDecimal** | Price requested by reseller. Price Variance can be set up by Ingram Micro Sales Rep | [optional] | -|**requestedquantity** | **Integer** | Quanity Requested | [optional] | -|**confirmedquantity** | **Integer** | Quanity Shipped | [optional] | -|**backorderedquantity** | **Integer** | Quanity of units that didn’t ship | [optional] | -|**unitproductprice** | **BigDecimal** | Price Per Unit | [optional] | -|**netamount** | **BigDecimal** | Total amount. Quantity X Unit Price | [optional] | -|**warehouseid** | **String** | | [optional] | -|**ordersuffix** | **String** | Use order suffix with the globalorderid for this line item. | [optional] | - - - diff --git a/docs/OrderCreateResponseServiceresponseOrdersummary.md b/docs/OrderCreateResponseServiceresponseOrdersummary.md deleted file mode 100644 index b9a475e0..00000000 --- a/docs/OrderCreateResponseServiceresponseOrdersummary.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderCreateResponseServiceresponseOrdersummary - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerponumber** | **String** | | [optional] | -|**totalorderamount** | **String** | Total of all the orders including taxes and fees | [optional] | -|**totalordercreated** | **String** | Number of orders created, in some cases we may create more than one order. | [optional] | -|**shiptoaddress** | [**OrderCreateResponseServiceresponseOrdersummaryShiptoaddress**](OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md) | | [optional] | - - - diff --git a/docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md b/docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md deleted file mode 100644 index 74c6b997..00000000 --- a/docs/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attention** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**addressline1** | **String** | | [optional] | -|**addressline2** | **String** | | [optional] | -|**addressline3** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | - - - diff --git a/docs/OrderDeleteResponse.md b/docs/OrderDeleteResponse.md index 92ec9801..178d66e4 100644 --- a/docs/OrderDeleteResponse.md +++ b/docs/OrderDeleteResponse.md @@ -8,7 +8,7 @@ Response schema for order delete endpoint | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderCancelResponseServiceresponse**](OrderCancelResponseServiceresponse.md) | | [optional] | +|**serviceresponse** | [**OrderDeleteResponseServiceresponse**](OrderDeleteResponseServiceresponse.md) | | [optional] | diff --git a/docs/OrderDeleteResponseServiceresponse.md b/docs/OrderDeleteResponseServiceresponse.md new file mode 100644 index 00000000..fbc143d8 --- /dev/null +++ b/docs/OrderDeleteResponseServiceresponse.md @@ -0,0 +1,13 @@ + + +# OrderDeleteResponseServiceresponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**responsepreamble** | [**OrderDeleteResponseServiceresponseResponsepreamble**](OrderDeleteResponseServiceresponseResponsepreamble.md) | | [optional] | + + + diff --git a/docs/OrderCancelResponseServiceresponseResponsepreamble.md b/docs/OrderDeleteResponseServiceresponseResponsepreamble.md similarity index 83% rename from docs/OrderCancelResponseServiceresponseResponsepreamble.md rename to docs/OrderDeleteResponseServiceresponseResponsepreamble.md index 36c616ba..f92fb22a 100644 --- a/docs/OrderCancelResponseServiceresponseResponsepreamble.md +++ b/docs/OrderDeleteResponseServiceresponseResponsepreamble.md @@ -1,6 +1,6 @@ -# OrderCancelResponseServiceresponseResponsepreamble +# OrderDeleteResponseServiceresponseResponsepreamble ## Properties diff --git a/docs/OrderDetailResponse.md b/docs/OrderDetailResponse.md index d1bbfa46..62a2e5df 100644 --- a/docs/OrderDetailResponse.md +++ b/docs/OrderDetailResponse.md @@ -2,13 +2,32 @@ # OrderDetailResponse -Response schema for order details endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderDetailResponseServiceresponse**](OrderDetailResponseServiceresponse.md) | | [optional] | +|**ingramOrderNumber** | **String** | The IngramMicro sales order number. | [optional] | +|**ingramOrderDate** | **String** | The date and time in UTC format that the order was created. | [optional] | +|**orderType** | **String** | The order type. One of B = Branch Transfer, C = COD, D = Direct Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S = Sales Order. | [optional] | +|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] | +|**endCustomerOrderNumber** | **String** | The end user/customer's order number for reference in their system. | [optional] | +|**vendorSalesOrderNumber** | **String** | The vendor's order number for reference in their system. | [optional] | +|**orderStatus** | **String** | The header-level status of the order. One of- Shipped, Canceled, Backordered, Processing, On Hold, Delivered. | [optional] | +|**orderTotal** | **BigDecimal** | The total cost for the order, includes subtotal, freight charges, and tax. | [optional] | +|**orderSubTotal** | **BigDecimal** | The sub total cost for the order, not including tax and freight. | [optional] | +|**freightCharges** | **BigDecimal** | The freight charges for the order. | [optional] | +|**currencyCode** | **String** | The country-specific three digit ISO 4217 currency code for the order. | [optional] | +|**totalWeight** | **BigDecimal** | The total weight of the order. Pounds in North America, KG in all other countries. | [optional] | +|**totalTax** | **BigDecimal** | The total tax for the order. | [optional] | +|**paymentTerms** | **String** | The payment terms of the order. (Ex- Net 30 days). | [optional] | +|**notes** | **String** | The header-level notes for the order. | [optional] | +|**billToInfo** | [**OrderDetailResponseBillToInfo**](OrderDetailResponseBillToInfo.md) | | [optional] | +|**shipToInfo** | [**OrderDetailResponseShipToInfo**](OrderDetailResponseShipToInfo.md) | | [optional] | +|**endUserInfo** | [**OrderDetailResponseEndUserInfo**](OrderDetailResponseEndUserInfo.md) | | [optional] | +|**lines** | [**List<OrderDetailResponseLinesInner>**](OrderDetailResponseLinesInner.md) | | [optional] | +|**miscellaneousCharges** | [**List<OrderDetailResponseMiscellaneousChargesInner>**](OrderDetailResponseMiscellaneousChargesInner.md) | | [optional] | +|**additionalAttributes** | [**List<OrderDetailResponseLinesInnerAdditionalAttributesInner>**](OrderDetailResponseLinesInnerAdditionalAttributesInner.md) | | [optional] | diff --git a/docs/OrderDetailResponseServiceresponse.md b/docs/OrderDetailResponseServiceresponse.md deleted file mode 100644 index 3a798777..00000000 --- a/docs/OrderDetailResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**InvoiceDetailResponseServiceresponseResponsepreamble**](InvoiceDetailResponseServiceresponseResponsepreamble.md) | | [optional] | -|**orderdetailresponse** | [**OrderDetailResponseServiceresponseOrderdetailresponse**](OrderDetailResponseServiceresponseOrderdetailresponse.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponse.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponse.md deleted file mode 100644 index 8f8ebc24..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponse.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ordernumber** | **String** | | [optional] | -|**ordertype** | **String** | Order Type B - BRANCH TRANSFER C - CASH ORDER D - DIRECT ORDER F - FUTURE ORDER P - SPECIAL ORDER Q - QUOTE ORDER S - STOCK ORDER M - MEMO ORDER | [optional] | -|**customerordernumber** | **String** | Customer PO number | [optional] | -|**enduserponumber** | **String** | End User PO number | [optional] | -|**orderstatus** | **String** | Status of order within Ingram system S - SALES HOLD H - TAG HOLD I - INVOICED P - PENDING E - BILLING ERROR F - FORCE BILLING V - VOIDED T - TRANSFERRED D - HOLD SHIPMENT R - RELEASED O - IM ONLINE HOLD U - BILL FOR HISTORY ONLY W - ORDER NOT PRINTED A - DROP SHIP HOLD B - INTERNET CUST ORIG HOLD 1 - PICKED 2 - INSPECTED 3 - PACKED 4 - SHIPPED C - CREDIT HOLD 9 - CISCO 3A6 Q - RMA HOLD G - CREDIT HOLD N - CREDIT HOLD | [optional] | -|**entrytimestamp** | **String** | Time stamp of the order placed | [optional] | -|**entrymethoddescription** | **String** | Description of the entry method | [optional] | -|**ordertotalvalue** | **BigDecimal** | Total order value | [optional] | -|**ordersubtotal** | **BigDecimal** | Subtotal order value | [optional] | -|**freightamount** | **String** | Freight charges | [optional] | -|**currencycode** | **String** | Country specific currency code | [optional] | -|**totalweight** | **String** | Total order weight. unit -- North america - Pounds , other countries will be KG | [optional] | -|**totaltax** | **String** | total tax on the orders placed | [optional] | -|**billtoaddress** | [**OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress**](OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md) | | [optional] | -|**shiptoaddress** | [**OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress**](OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md) | | [optional] | -|**enduserinfo** | [**OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo**](OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md) | | [optional] | -|**lines** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseLinesInner>**](OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md) | | [optional] | -|**commentlines** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner>**](OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md) | | [optional] | -|**miscfeeline** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner>**](OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md) | | [optional] | -|**extendedspecs** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner>**](OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md deleted file mode 100644 index 13c55248..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**suffix** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**attention** | **String** | | [optional] | -|**addressline1** | **String** | | [optional] | -|**addressline2** | **String** | | [optional] | -|**addressline3** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md deleted file mode 100644 index 773a798a..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**commenttext1** | **String** | | [optional] | -|**commenttext2** | **String** | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md deleted file mode 100644 index 0fd0ce94..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**enduserid** | **String** | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md deleted file mode 100644 index 86c2fb2d..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attributename** | **String** | termscode' | 'termsdescription' | 'commenttext' are the atrribute name | [optional] | -|**attributevalue** | **String** | values of these fields are send . termscode' | 'termsdescription' | 'commenttext' are the atrribute name | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md deleted file mode 100644 index 7eb24b6d..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**linenumber** | **String** | Impulse line number | [optional] | -|**globallinenumber** | **String** | Line of the Globel Sku / Customer Line Number | [optional] | -|**ordersuffix** | **String** | Order Suffix | [optional] | -|**erpordernumber** | **String** | Sales order number | [optional] | -|**linestatus** | **String** | Status of the line | [optional] | -|**partnumber** | **String** | Ingram part number | [optional] | -|**manufacturerpartnumber** | **String** | manufacture number of the product | [optional] | -|**vendorname** | **String** | name of the vendor | [optional] | -|**vendorcode** | **String** | Ingram Micro assigned code for the vendor | [optional] | -|**partdescription1** | **String** | | [optional] | -|**partdescription2** | **String** | | [optional] | -|**unitweight** | **String** | weight of the product unit | [optional] | -|**unitprice** | **BigDecimal** | Customer price of the unit | [optional] | -|**extendedprice** | **BigDecimal** | extended price of the order | [optional] | -|**taxamount** | **BigDecimal** | tax amount for the order | [optional] | -|**requestedquantity** | **String** | no. of units requested | [optional] | -|**confirmedquantity** | **String** | no. of units confirmed available | [optional] | -|**backorderquantity** | **String** | quantity of back order | [optional] | -|**serialnumberdetails** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner>**](OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md) | | [optional] | -|**trackingnumber** | **List<String>** | | [optional] | -|**shipmentdetails** | [**List<OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner>**](OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md) | | [optional] | -|**productextendedspecs** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) | | [optional] | -|**backorderetadate** | **String** | estimated date of back order | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md deleted file mode 100644 index eda63769..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serialnumber** | **String** | serial number of the ordered SKU | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md deleted file mode 100644 index 1321b43e..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quantity** | **BigDecimal** | quantity shipped | [optional] | -|**shipmentdate** | **String** | date of shipment | [optional] | -|**shipfromwarehouseid** | **String** | Warehouse product was shipped from | [optional] | -|**warehousename** | **String** | name of the warehouse | [optional] | -|**invoicenumber** | **String** | Invoice Number | [optional] | -|**invoicedate** | **String** | date on the invoice generated | [optional] | -|**status** | **String** | code for current Status of the order | [optional] | -|**statusdescription** | **String** | Description of status | [optional] | -|**shippeddate** | **String** | date of shipment | [optional] | -|**holdreasoncodedescription** | **String** | Description of the code if the order is on hold | [optional] | -|**ponumber** | **String** | Ingram PO Number to vendors for direct ship orders | [optional] | -|**carriertype** | **String** | Helps to determine shipment type. for e.g. LTL is used for heavy shipment. SML is used for light shipment | [optional] | -|**carriercode** | **String** | | [optional] | -|**carriername** | **String** | Name of the carrier. If carriername is LTL then the tracking info is in the \"pronumber\" data field | [optional] | -|**pronumber** | **String** | | [optional] | -|**packagedetails** | [**OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails**](OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md deleted file mode 100644 index dd859dd7..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**trackingnumber** | **String** | | [optional] | -|**packageweight** | **String** | | [optional] | -|**cartonnumber** | **String** | | [optional] | -|**quantityinbox** | **String** | | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md deleted file mode 100644 index 2281fc8c..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**description** | **String** | Handling charges/Miscellaneous Fee description | [optional] | -|**chargeamount** | **String** | Handling charges/ Miscelaneous fee amount | [optional] | - - - diff --git a/docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md b/docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md deleted file mode 100644 index a06832fa..00000000 --- a/docs/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**suffix** | **String** | | [optional] | -|**attention** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**addressline1** | **String** | | [optional] | -|**addressline2** | **String** | | [optional] | -|**addressline3** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | - - - diff --git a/docs/OrderSearchResponse.md b/docs/OrderSearchResponse.md index 214655b0..239bc730 100644 --- a/docs/OrderSearchResponse.md +++ b/docs/OrderSearchResponse.md @@ -2,13 +2,17 @@ # OrderSearchResponse -Response schema for order search endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceResponse** | [**OrderSearchResponseServiceResponse**](OrderSearchResponseServiceResponse.md) | | [optional] | +|**recordsFound** | **Integer** | No of recourds found for the search. | [optional] | +|**pageSize** | **Integer** | No of results per page.(default is 25) | [optional] | +|**pageNumber** | **Integer** | Current page number.(default is 1) | [optional] | +|**orders** | [**List<OrderSearchResponseOrdersInner>**](OrderSearchResponseOrdersInner.md) | The details for the order. | [optional] | +|**nextPage** | **String** | link/URL for accessing next page. | [optional] | +|**previousPage** | **String** | link/URL for accessing previous page. | [optional] | diff --git a/docs/OrderSearchResponseServiceResponse.md b/docs/OrderSearchResponseServiceResponse.md deleted file mode 100644 index c781f833..00000000 --- a/docs/OrderSearchResponseServiceResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchResponseServiceResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**OrderSearchResponseServiceResponseResponsepreamble**](OrderSearchResponseServiceResponseResponsepreamble.md) | | [optional] | -|**ordersearchresponse** | [**OrderSearchResponseServiceResponseOrdersearchresponse**](OrderSearchResponseServiceResponseOrdersearchresponse.md) | | [optional] | - - - diff --git a/docs/OrderSearchResponseServiceResponseOrdersearchresponse.md b/docs/OrderSearchResponseServiceResponseOrdersearchresponse.md deleted file mode 100644 index 84e5c843..00000000 --- a/docs/OrderSearchResponseServiceResponseOrdersearchresponse.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderSearchResponseServiceResponseOrdersearchresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ordersfound** | **String** | Number of records found in the search result | | -|**pagesize** | **String** | The submitted pagesize, default is 25 | [optional] | -|**pagenumber** | **String** | The submitted pager number, default is 1 | [optional] | -|**orders** | [**List<OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner>**](OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md) | An array of orders in the search result | [optional] | - - - diff --git a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md b/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md deleted file mode 100644 index 80487261..00000000 --- a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ordernumber** | **String** | Ingram micro sales order number | | -|**entrytimestamp** | **String** | The order creation date-time in UTC format | | -|**customerordernumber** | **String** | PO/Order number submitted while creating the order | [optional] | -|**suborders** | [**List<OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner>**](OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md) | An order MAY get divided into various sub orders, for example if the SKUs are being shipped from different warehouse. | [optional] | -|**links** | [**OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks**](OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md) | | [optional] | - - - diff --git a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md b/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md deleted file mode 100644 index eb01745c..00000000 --- a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - -HATEOAS links for the main order - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**topic** | [**TopicEnum**](#TopicEnum) | Topic being orders in this case, if it is orders then the link will provide details of the order. | [optional] | -|**href** | **URI** | The API endpoint for accessing the relevant data | [optional] | -|**type** | [**TypeEnum**](#TypeEnum) | The type of call that can be made to the href link | [optional] | - - - -## Enum: TopicEnum - -| Name | Value | -|---- | -----| -| ORDERS | "orders" | -| INVOICES | "invoices" | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| GET | "GET" | -| POST | "POST" | -| PUT | "PUT" | - - - diff --git a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md b/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md deleted file mode 100644 index 83721381..00000000 --- a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**subordernumber** | **String** | A sub order number | [optional] | -|**statuscode** | **String** | Order status code | [optional] | -|**status** | **String** | Details of the order statuscode - i.e. statuscode = 4 then status = SHIPPED | [optional] | -|**holdreasoncode** | **String** | Will be returned in case of order on hold | [optional] | -|**holdreason** | **String** | Reason for order hold - will be returned if the order is on hold | [optional] | -|**links** | [**List<OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner>**](OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md) | HATEOAS links for the details and invoices of the sub-orders if available | [optional] | - - - diff --git a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md b/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md deleted file mode 100644 index d898372e..00000000 --- a/docs/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.md +++ /dev/null @@ -1,34 +0,0 @@ - - -# OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**topic** | [**TopicEnum**](#TopicEnum) | topic being orders or invoices, if it is orders then the link will provide details of the order. If its invoices then the link provides details of the invoice | [optional] | -|**href** | **URI** | The API endpoint for accessing the relevant data | [optional] | -|**type** | [**TypeEnum**](#TypeEnum) | The type of call that can be made to the href link | [optional] | - - - -## Enum: TopicEnum - -| Name | Value | -|---- | -----| -| ORDERS | "orders" | -| INVOICES | "invoices" | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| GET | "GET" | -| POST | "POST" | -| PUT | "PUT" | - - - diff --git a/docs/OrderSearchResponseServiceResponseResponsepreamble.md b/docs/OrderSearchResponseServiceResponseResponsepreamble.md deleted file mode 100644 index f7024fad..00000000 --- a/docs/OrderSearchResponseServiceResponseResponsepreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchResponseServiceResponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requeststatus** | **String** | | | -|**returnmessage** | **String** | | | - - - diff --git a/docs/OrdersV4Api.md b/docs/OrdersV4Api.md deleted file mode 100644 index 8cb0f426..00000000 --- a/docs/OrdersV4Api.md +++ /dev/null @@ -1,348 +0,0 @@ -# OrdersV4Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**postV4Ordercreate**](OrdersV4Api.md#postV4Ordercreate) | **POST** /orders/v4/ordercreate | Create a new Order | -| [**postV4Orderdelete**](OrdersV4Api.md#postV4Orderdelete) | **POST** /orders/v4/orderdelete | Delete an Order | -| [**postV4Orderdetails**](OrdersV4Api.md#postV4Orderdetails) | **POST** /orders/v4/orderdetails | Get Order Details | -| [**postV4Ordermodify**](OrdersV4Api.md#postV4Ordermodify) | **POST** /orders/v4/ordermodify | Modify an Existing Order | -| [**postV4Ordersearch**](OrdersV4Api.md#postV4Ordersearch) | **POST** /orders/v4/orderlookup | Order Search | - - - -# **postV4Ordercreate** -> OrderCreateResponse postV4Ordercreate(orderCreateRequest) - -Create a new Order - -The order create transaction is a real-time transaction that allows customers to place standard product and direct ship (licensing and warranties) orders with Ingram Micro using API. - -### 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.OrdersV4Api; - -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"); - - OrdersV4Api apiInstance = new OrdersV4Api(defaultClient); - OrderCreateRequest orderCreateRequest = new OrderCreateRequest(); // OrderCreateRequest | - try { - OrderCreateResponse result = apiInstance.postV4Ordercreate(orderCreateRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV4Api#postV4Ordercreate"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderCreateRequest** | [**OrderCreateRequest**](OrderCreateRequest.md)| | [optional] | - -### Return type - -[**OrderCreateResponse**](OrderCreateResponse.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** | OK | - | - - -# **postV4Orderdelete** -> OrderDeleteResponse postV4Orderdelete(orderDeleteRequest) - -Delete an Order - -A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - -### 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.OrdersV4Api; - -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"); - - OrdersV4Api apiInstance = new OrdersV4Api(defaultClient); - OrderDeleteRequest orderDeleteRequest = new OrderDeleteRequest(); // OrderDeleteRequest | - try { - OrderDeleteResponse result = apiInstance.postV4Orderdelete(orderDeleteRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV4Api#postV4Orderdelete"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderDeleteRequest** | [**OrderDeleteRequest**](OrderDeleteRequest.md)| | [optional] | - -### Return type - -[**OrderDeleteResponse**](OrderDeleteResponse.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** | OK | - | - - -# **postV4Orderdetails** -> OrderDetailResponse postV4Orderdetails(orderDetailRequest) - -Get Order Details - -A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - -### 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.OrdersV4Api; - -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"); - - OrdersV4Api apiInstance = new OrdersV4Api(defaultClient); - OrderDetailRequest orderDetailRequest = new OrderDetailRequest(); // OrderDetailRequest | - try { - OrderDetailResponse result = apiInstance.postV4Orderdetails(orderDetailRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV4Api#postV4Orderdetails"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderDetailRequest** | [**OrderDetailRequest**](OrderDetailRequest.md)| | [optional] | - -### Return type - -[**OrderDetailResponse**](OrderDetailResponse.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** | OK | - | - - -# **postV4Ordermodify** -> OrderModifyResponse postV4Ordermodify(orderModifyRequest) - -Modify an Existing Order - -The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. Types of modifications allowable: Order release, add comment, and carrier change. NOTE - Direct Ship orders cannot be modified. - -### 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.OrdersV4Api; - -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"); - - OrdersV4Api apiInstance = new OrdersV4Api(defaultClient); - OrderModifyRequest orderModifyRequest = new OrderModifyRequest(); // OrderModifyRequest | - try { - OrderModifyResponse result = apiInstance.postV4Ordermodify(orderModifyRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV4Api#postV4Ordermodify"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderModifyRequest** | [**OrderModifyRequest**](OrderModifyRequest.md)| | [optional] | - -### Return type - -[**OrderModifyResponse**](OrderModifyResponse.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** | OK | - | - - -# **postV4Ordersearch** -> OrderSearchResponse postV4Ordersearch(orderSearchRequest) - -Order Search - -Search your orders using various search parameters - -### 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.OrdersV4Api; - -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"); - - OrdersV4Api apiInstance = new OrdersV4Api(defaultClient); - OrderSearchRequest orderSearchRequest = new OrderSearchRequest(); // OrderSearchRequest | - try { - OrderSearchResponse result = apiInstance.postV4Ordersearch(orderSearchRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV4Api#postV4Ordersearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderSearchRequest** | [**OrderSearchRequest**](OrderSearchRequest.md)| | [optional] | - -### Return type - -[**OrderSearchResponse**](OrderSearchResponse.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** | OK | - | - diff --git a/docs/OrdersV5Api.md b/docs/OrdersV5Api.md deleted file mode 100644 index 957e081e..00000000 --- a/docs/OrdersV5Api.md +++ /dev/null @@ -1,314 +0,0 @@ -# OrdersV5Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**deleteOrdersOrderNumber**](OrdersV5Api.md#deleteOrdersOrderNumber) | **DELETE** /resellers/v5/Orders/{ordernumber} | Cancel an Existing Order | -| [**getOrdersSearch**](OrdersV5Api.md#getOrdersSearch) | **GET** /resellers/v5/Orders/search | Search your Orders | -| [**getV5OrdersDetails**](OrdersV5Api.md#getV5OrdersDetails) | **GET** /resellers/v5/Orders/{ordernumber} | Get Order Details | -| [**postV5OrdersCreate**](OrdersV5Api.md#postV5OrdersCreate) | **POST** /resellers/v5/Orders | Create a New Order | - - - -# **deleteOrdersOrderNumber** -> OrderCancelResponse deleteOrdersOrderNumber(ordernumber, customerNumber, isoCountryCode, entryDate) - -Cancel an Existing Order - -This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. The <strong>orderNumber, isoCountryCode, customerNumber</strong> and <strong>entryDate</strong> parameters are required. This call must be submitted <strong>before</strong> the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - -### 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.OrdersV5Api; - -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"); - - OrdersV5Api apiInstance = new OrdersV5Api(defaultClient); - String ordernumber = "20-RD128"; // String | Ingram Micro sales order number - String customerNumber = "customerNumber_example"; // String | Your unique Ingram Micro customer number - String isoCountryCode = "isoCountryCode_example"; // String | 2 chars ISO country code - String entryDate = "2020-04-03"; // String | Order entry date (yyyy-mm-dd) - try { - OrderCancelResponse result = apiInstance.deleteOrdersOrderNumber(ordernumber, customerNumber, isoCountryCode, entryDate); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV5Api#deleteOrdersOrderNumber"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **ordernumber** | **String**| Ingram Micro sales order number | | -| **customerNumber** | **String**| Your unique Ingram Micro customer number | | -| **isoCountryCode** | **String**| 2 chars ISO country code | | -| **entryDate** | **String**| Order entry date (yyyy-mm-dd) | [default to 2020-04-03] | - -### Return type - -[**OrderCancelResponse**](OrderCancelResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - - -# **getOrdersSearch** -> OrderSearchResponse getOrdersSearch(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber) - -Search your Orders - -Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: <ul><li>ordernumber — Ingram Micro sales order number</li><li>customerordernumber — The PO or order number provided by you when creating an order</li><li>orderstatus — user order status codes for the search, default is set to \"any\"</li><li>startcreatetimestamp and endcreatetimestamp — Order create date range</li></ul> For pagination, please use these parameters: <ul><li>pagesize — default 25, max 100</li><li>pagenumber — default 1</li></ul> Order Status Values: <ul><li>P – PENDING</li><li>R – RELEASED</li><li>4 – SHIPPED</li><li>I – INVOICED</li><li>V – VOIDED</li></ul> The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - -### 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.OrdersV5Api; - -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"); - - OrdersV5Api apiInstance = new OrdersV5Api(defaultClient); - String customerNumber = "20-222222"; // String | Your unique Ingram Micro customer number - String isocountrycode = "US"; // String | 2 char iso country code - String ordernumber = "ordernumber_example"; // String | Ingram sales order number - String customerordernumber = "ZENPO1"; // String | Search using your PO/Order number - String orderstatus = "P"; // String | Ingram Micro order status - OffsetDateTime startcreatetimestamp = OffsetDateTime.now(); // OffsetDateTime | Search start date/time in UTC format - OffsetDateTime endcreatetimestamp = OffsetDateTime.now(); // OffsetDateTime | Search end date/time in UTC format - Integer pagesize = 56; // Integer | Number of records required in the call - Integer pagenumber = 1; // Integer | the page number reference - try { - OrderSearchResponse result = apiInstance.getOrdersSearch(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV5Api#getOrdersSearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **customerNumber** | **String**| Your unique Ingram Micro customer number | | -| **isocountrycode** | **String**| 2 char iso country code | | -| **ordernumber** | **String**| Ingram sales order number | [optional] | -| **customerordernumber** | **String**| Search using your PO/Order number | [optional] | -| **orderstatus** | **String**| Ingram Micro order status | [optional] [default to any] [enum: P, R, 4, I, V, any] | -| **startcreatetimestamp** | **OffsetDateTime**| Search start date/time in UTC format | [optional] | -| **endcreatetimestamp** | **OffsetDateTime**| Search end date/time in UTC format | [optional] | -| **pagesize** | **Integer**| Number of records required in the call | [optional] | -| **pagenumber** | **Integer**| the page number reference | [optional] [default to 1] | - -### Return type - -[**OrderSearchResponse**](OrderSearchResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - - -# **getV5OrdersDetails** -> OrderDetailResponse getV5OrdersDetails(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate) - -Get Order Details - -Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. <b>The sales order number, customer number and isoCountryCode are required parameters.</b> The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. Use the \"simulate\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - -### 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.OrdersV5Api; - -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"); - - OrdersV5Api apiInstance = new OrdersV5Api(defaultClient); - String ordernumber = "20-RD128"; // String | Ingram Micro sales order number - String customernumber = "20-222222"; // String | Your unique Ingram Micro customer number - String isocountrycode = "US"; // String | 2 chars ISO country code - String customerordernumber = "customerordernumber_example"; // String | Your PO/Order Number provide at the time of order creation - LocalDate startcreatetimestamp = LocalDate.parse("Sun Mar 15 00:00:00 UTC 2020"); // LocalDate | Filter start date - format YYYY-MM-DD - String endcreatetimestamp = "2020-04-20"; // String | Filter end date - format YYYY-MM-DD - String simulate = "IM::shipped"; // String | Order response for various order statuses. Not for use in production. - try { - OrderDetailResponse result = apiInstance.getV5OrdersDetails(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV5Api#getV5OrdersDetails"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **ordernumber** | **String**| Ingram Micro sales order number | | -| **customernumber** | **String**| Your unique Ingram Micro customer number | [default to 20-222222] | -| **isocountrycode** | **String**| 2 chars ISO country code | [default to US] | -| **customerordernumber** | **String**| Your PO/Order Number provide at the time of order creation | [optional] | -| **startcreatetimestamp** | **LocalDate**| Filter start date - format YYYY-MM-DD | [optional] | -| **endcreatetimestamp** | **String**| Filter end date - format YYYY-MM-DD | [optional] | -| **simulate** | **String**| Order response for various order statuses. Not for use in production. | [optional] [enum: IM::shipped, IM::invoiced, IM::hold, IM::partially_shipped] | - -### Return type - -[**OrderDetailResponse**](OrderDetailResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - - -# **postV5OrdersCreate** -> OrderCreateResponse postV5OrdersCreate(orderCreateRequest) - -Create a New Order - -Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. Every order to be created with this API must complete these validations to be placed and processed:<ul><li>SKU, shipping address, product authorization and stock allocations must clear validation.</li><li>Ingram Micro Sales validates pricing, stock or other processing parameters. Ingram Micro sales may place an order a hold if revision is necessary.</li><li>Credit validation confirms available credit prior to processing an order. If an order does not clear credit validation, the Ingram Micro sales rep or accounts receivable manager will contact you for next steps.</li><li>Warehouse validation selects the location closest to the destination zip code. If the stock is not available in any of the warehouses, Ingram Micro places a backorder in the warehouse closest to the destination zip code.</li></ul> Ingram Micro recommends that you provide the <strong>ingrampartnumber</strong> for each SKU contained in each order. When using <strong>vendorpartnumber</strong> to place an order, please use the product search endpoint to find the <strong>ingrampartnumber</strong> for a specific <strong>vendorpartnumber</strong>, and then supply the <strong>ingrampartnumber</strong> to place an order. <strong>NOTE:</strong> You must have net terms to use the <strong>Ingram Micro Order Create API</strong>. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - -### 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.OrdersV5Api; - -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"); - - OrdersV5Api apiInstance = new OrdersV5Api(defaultClient); - OrderCreateRequest orderCreateRequest = new OrderCreateRequest(); // OrderCreateRequest | - try { - OrderCreateResponse result = apiInstance.postV5OrdersCreate(orderCreateRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV5Api#postV5OrdersCreate"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **orderCreateRequest** | [**OrderCreateRequest**](OrderCreateRequest.md)| | [optional] | - -### Return type - -[**OrderCreateResponse**](OrderCreateResponse.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** | OK | - | - diff --git a/docs/PriceAndAvailabilityRequest.md b/docs/PriceAndAvailabilityRequest.md index 95451222..2c3debc2 100644 --- a/docs/PriceAndAvailabilityRequest.md +++ b/docs/PriceAndAvailabilityRequest.md @@ -2,13 +2,17 @@ # PriceAndAvailabilityRequest -Request object model for the multi sku price and stock API endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**PriceAndAvailabilityRequestServicerequest**](PriceAndAvailabilityRequestServicerequest.md) | | [optional] | +|**showAvailableDiscounts** | **Boolean** | Boolean value that will display Discount details in the response when true. | [optional] | +|**showReserveInventoryDetails** | **Boolean** | Boolean value that will display reserve inventory details in the response when true. | [optional] | +|**specialBidNumber** | **String** | Pre-approved special pricing/bid number provided to the reseller by the vendor for special pricing and discounts. Used to track the bid number where different line items have different bid numbers. | [optional] | +|**availabilityByWarehouse** | [**List<PriceAndAvailabilityRequestAvailabilityByWarehouseInner>**](PriceAndAvailabilityRequestAvailabilityByWarehouseInner.md) | | [optional] | +|**products** | [**List<PriceAndAvailabilityRequestProductsInner>**](PriceAndAvailabilityRequestProductsInner.md) | | [optional] | +|**additionalAttributes** | [**List<PriceAndAvailabilityRequestAdditionalAttributesInner>**](PriceAndAvailabilityRequestAdditionalAttributesInner.md) | | [optional] | diff --git a/docs/PriceAndAvailabilityRequestServicerequest.md b/docs/PriceAndAvailabilityRequestServicerequest.md deleted file mode 100644 index 84f6b740..00000000 --- a/docs/PriceAndAvailabilityRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PriceAndAvailabilityRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**PriceAndAvailabilityRequestServicerequestRequestpreamble**](PriceAndAvailabilityRequestServicerequestRequestpreamble.md) | | [optional] | -|**priceandstockrequest** | [**PriceAndAvailabilityRequestServicerequestPriceandstockrequest**](PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md) | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md b/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md deleted file mode 100644 index 851c4aae..00000000 --- a/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# PriceAndAvailabilityRequestServicerequestPriceandstockrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**showwarehouseavailability** | **String** | True/false to show the availability of individual warehouses | [optional] | -|**extravailabilityflag** | **String** | Y/N to show extra availability flag | [optional] | -|**includeallsystems** | **Boolean** | Flag to indicate if the price and stock information is required for all Ingram Micro systems. | [optional] | -|**item** | [**List<PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner>**](PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md) | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md b/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md deleted file mode 100644 index 79ee9a46..00000000 --- a/docs/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**index** | **Integer** | | [optional] | -|**ingrampartnumber** | **String** | Ingram Micro SKU number | [optional] | -|**vendorpartnumber** | **String** | Vendor/Manufacture Part Number | [optional] | -|**upc** | **String** | Universal Product code | [optional] | -|**customerpartnumber** | **String** | Unique identoifier for the customer, needs custom setup. | [optional] | -|**warehouseidlist** | **List<String>** | Unique identity for Ingram Micro warehouses against which stock details are returned. | [optional] | -|**extendedvendorpartnumber** | **String** | | [optional] | -|**quantity** | **BigDecimal** | | [optional] | -|**enduserid** | **String** | | [optional] | -|**govtprogramtype** | **String** | | [optional] | -|**govtendusertype** | **String** | | [optional] | -|**specialbidnumber** | **String** | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md b/docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md deleted file mode 100644 index 9a35e02f..00000000 --- a/docs/PriceAndAvailabilityRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PriceAndAvailabilityRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | 2 Digit ISO country code | | -|**customernumber** | **String** | Your Ingram Micro customer number | | - - - diff --git a/docs/PriceAndAvailabilityResponse.md b/docs/PriceAndAvailabilityResponse.md deleted file mode 100644 index eaddcd46..00000000 --- a/docs/PriceAndAvailabilityResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PriceAndAvailabilityResponse - -Response object model for the multi sku price and stock API endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**PriceAndAvailabilityResponseServiceresponse**](PriceAndAvailabilityResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityResponseServiceresponse.md b/docs/PriceAndAvailabilityResponseServiceresponse.md deleted file mode 100644 index b52caf9d..00000000 --- a/docs/PriceAndAvailabilityResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PriceAndAvailabilityResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**PriceAndAvailabilityResponseServiceresponseResponsepreamble**](PriceAndAvailabilityResponseServiceresponseResponsepreamble.md) | | [optional] | -|**priceandstockresponse** | [**PriceAndAvailabilityResponseServiceresponsePriceandstockresponse**](PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md) | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md b/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md deleted file mode 100644 index 11b7a5e3..00000000 --- a/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**details** | [**List<PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner>**](PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md) | | [optional] | - - - diff --git a/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md b/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md deleted file mode 100644 index ac5a1667..00000000 --- a/docs/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.md +++ /dev/null @@ -1,87 +0,0 @@ - - -# PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**itemstatus** | [**ItemstatusEnum**](#ItemstatusEnum) | SUCCESS or FAILED | [optional] | -|**statusmessage** | **String** | Description of itemstatus | [optional] | -|**ingrampartnumber** | **String** | Ingram Micro part number | [optional] | -|**vendorpartnumber** | **String** | Manufacturer/Vendor part number | [optional] | -|**globalskuid** | **String** | | [optional] | -|**customerprice** | **BigDecimal** | Customer specific price for the product, excluding taxes | [optional] | -|**partdescription1** | **String** | Product description part 1 | [optional] | -|**partdescription2** | **String** | Product description part 2 | [optional] | -|**vendornumber** | **String** | | [optional] | -|**vendorname** | **String** | Name of the vendor | [optional] | -|**cpucode** | **String** | | [optional] | -|**propertyClass** | [**PropertyClassEnum**](#PropertyClassEnum) | Ingram Micro assigned product classification - A-Stocked product in all IM warehouses, B-Limited stock in IM warehouses, C-Stocked in fewer wareshouses, D-Ingram discontinued, E-Planned to be phased out as per the vendor, F-Carried for specific customer as per the contract, N-New SKU, O-Discontinued to be liquidated, S-Order for specialized demand, V-Discontinued by vendor, X-Direct Ship products from vendor | [optional] | -|**skustatus** | [**SkustatusEnum**](#SkustatusEnum) | Identifies if the SKU has been discontinued. | [optional] | -|**mediacpu** | **String** | | [optional] | -|**categorysubcategory** | **String** | | [optional] | -|**retailprice** | **BigDecimal** | | [optional] | -|**newmedia** | **String** | | [optional] | -|**enduserrequired** | [**EnduserrequiredEnum**](#EnduserrequiredEnum) | Y - End user required N - Not required End user | [optional] | -|**backorderflag** | [**BackorderflagEnum**](#BackorderflagEnum) | Y- Allow Backorder Flag N- Not allowed | [optional] | -|**skuauthorized** | **String** | | [optional] | -|**extendedvendorpartnumber** | **String** | | [optional] | -|**warehousedetails** | [**List<WarehouseListType>**](WarehouseListType.md) | | [optional] | - - - -## Enum: ItemstatusEnum - -| Name | Value | -|---- | -----| -| SUCCESS | "SUCCESS" | -| FAILED | "FAILED" | - - - -## Enum: PropertyClassEnum - -| Name | Value | -|---- | -----| -| A | "A" | -| B | "B" | -| C | "C" | -| D | "D" | -| E | "E" | -| F | "F" | -| N | "N" | -| O | "O" | -| S | "S" | -| V | "V" | -| X | "X" | - - - -## Enum: SkustatusEnum - -| Name | Value | -|---- | -----| -| ACTIVE | "ACTIVE" | - - - -## Enum: EnduserrequiredEnum - -| Name | Value | -|---- | -----| -| Y | "Y" | -| N | "N" | - - - -## Enum: BackorderflagEnum - -| Name | Value | -|---- | -----| -| Y | "Y" | -| N | "N" | - - - diff --git a/docs/ProductCatalogV4Api.md b/docs/ProductCatalogV4Api.md deleted file mode 100644 index f8387872..00000000 --- a/docs/ProductCatalogV4Api.md +++ /dev/null @@ -1,144 +0,0 @@ -# ProductCatalogV4Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**postV4Multiskupriceandstock**](ProductCatalogV4Api.md#postV4Multiskupriceandstock) | **POST** /products/v4/multiskupriceandstock | Product availability for upto 50 SKUs | -| [**postV4Productsearch**](ProductCatalogV4Api.md#postV4Productsearch) | **POST** /products/v4/productsearch | Real-time Product Search | - - - -# **postV4Multiskupriceandstock** -> MultiSKUPriceAndStockResponse postV4Multiskupriceandstock(multiSKUPriceAndStockRequest) - -Product availability for upto 50 SKUs - -Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - -### 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.ProductCatalogV4Api; - -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"); - - ProductCatalogV4Api apiInstance = new ProductCatalogV4Api(defaultClient); - MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest = new MultiSKUPriceAndStockRequest(); // MultiSKUPriceAndStockRequest | - try { - MultiSKUPriceAndStockResponse result = apiInstance.postV4Multiskupriceandstock(multiSKUPriceAndStockRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ProductCatalogV4Api#postV4Multiskupriceandstock"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **multiSKUPriceAndStockRequest** | [**MultiSKUPriceAndStockRequest**](MultiSKUPriceAndStockRequest.md)| | [optional] | - -### Return type - -[**MultiSKUPriceAndStockResponse**](MultiSKUPriceAndStockResponse.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 | - | - - -# **postV4Productsearch** -> ProductSearchResponse postV4Productsearch(productSearchRequest) - -Real-time Product Search - -A real time search that provides the Ingram Micro part number using the manufacturer part number. This API is helpful to eliminate any errors when a manufactuer has the same part number and Ingram Micro has had to create multiple sku numbers - -### 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.ProductCatalogV4Api; - -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"); - - ProductCatalogV4Api apiInstance = new ProductCatalogV4Api(defaultClient); - ProductSearchRequest productSearchRequest = new ProductSearchRequest(); // ProductSearchRequest | - try { - ProductSearchResponse result = apiInstance.postV4Productsearch(productSearchRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ProductCatalogV4Api#postV4Productsearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **productSearchRequest** | [**ProductSearchRequest**](ProductSearchRequest.md)| | [optional] | - -### Return type - -[**ProductSearchResponse**](ProductSearchResponse.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 | - | - diff --git a/docs/ProductCatalogV5Api.md b/docs/ProductCatalogV5Api.md deleted file mode 100644 index 0c5976ac..00000000 --- a/docs/ProductCatalogV5Api.md +++ /dev/null @@ -1,148 +0,0 @@ -# ProductCatalogV5Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getV5CatalogProductsearch**](ProductCatalogV5Api.md#getV5CatalogProductsearch) | **GET** /resellers/v5/Catalog | Search Product Catalog | -| [**multiSKUPriceAndStock**](ProductCatalogV5Api.md#multiSKUPriceAndStock) | **POST** /resellers/v5/Catalog/priceandavailability | Find availability of upto 50 SKUs | - - - -# **getV5CatalogProductsearch** -> ProductSearchResponse getV5CatalogProductsearch(customerNumber, isoCountryCode, partNumber) - -Search Product Catalog - -Search the Ingram Micro product catalog using customerNumber, isoCountryCode and partNumber.<ul><li>customerNumber and isoCountryCode fields are required.</li><li>The PartNumber field accepts the following:<ul><li>Ingram part number</li><li>Vendor part number</li><li>Customer part number</li><li>UPC (Universal Product Code)</li></ul></li></ul> - -### 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.ProductCatalogV5Api; - -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"); - - ProductCatalogV5Api apiInstance = new ProductCatalogV5Api(defaultClient); - String customerNumber = "20-222222"; // String | Your unique Ingram Micro customer number - String isoCountryCode = "US"; // String | 2 chars country code - String partNumber = "1AQ821"; // String | Part Number can be ingram part number or vendor part number or customer part number or UPC - try { - ProductSearchResponse result = apiInstance.getV5CatalogProductsearch(customerNumber, isoCountryCode, partNumber); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ProductCatalogV5Api#getV5CatalogProductsearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **customerNumber** | **String**| Your unique Ingram Micro customer number | [default to 20-222222] | -| **isoCountryCode** | **String**| 2 chars country code | [default to US] | -| **partNumber** | **String**| Part Number can be ingram part number or vendor part number or customer part number or UPC | [default to 1AQ821] | - -### Return type - -[**ProductSearchResponse**](ProductSearchResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - - -# **multiSKUPriceAndStock** -> PriceAndAvailabilityResponse multiSKUPriceAndStock(priceAndAvailabilityRequest) - -Find availability of upto 50 SKUs - -Search the product catalog for the price and availability for up to 50 SKUs at one time. This endpoint helps to confirm the details just prior to placing a real-time call.<ul><li>You may request visibility for reserve stock if you participate in reserved inventory, in addition to the stock that is open to all the partners. Please see the details in the endpoint model below.</li><li>Follow these guidelines when using this endpoint:<ul><li>This endpoint is not for refreshing the full catalog with availability and pricing information. Ingram Micro applies rate limits on this endpoint. Continuous cyclical calls will error out. Customers that perform this activity may lose access to the endpoint.</li><li>For the full catalog refresh, Ingram Micro can provide a Price and Inventory file in flat file format, made available through FTP download. Please contact your Ingram Micro sales rep for details.</li></ul></li></ul> - -### 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.ProductCatalogV5Api; - -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"); - - ProductCatalogV5Api apiInstance = new ProductCatalogV5Api(defaultClient); - PriceAndAvailabilityRequest priceAndAvailabilityRequest = new PriceAndAvailabilityRequest(); // PriceAndAvailabilityRequest | - try { - PriceAndAvailabilityResponse result = apiInstance.multiSKUPriceAndStock(priceAndAvailabilityRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ProductCatalogV5Api#multiSKUPriceAndStock"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **priceAndAvailabilityRequest** | [**PriceAndAvailabilityRequest**](PriceAndAvailabilityRequest.md)| | [optional] | - -### Return type - -[**PriceAndAvailabilityResponse**](PriceAndAvailabilityResponse.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 | - | - diff --git a/docs/ProductSearchResponse.md b/docs/ProductSearchResponse.md index 3c978216..4ea3929e 100644 --- a/docs/ProductSearchResponse.md +++ b/docs/ProductSearchResponse.md @@ -2,13 +2,17 @@ # ProductSearchResponse -Response object model for the product search endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**ProductSearchResponseServiceresponse**](ProductSearchResponseServiceresponse.md) | | [optional] | +|**recordsFound** | **Integer** | The number of recourds found for the search. | [optional] | +|**pageSize** | **Integer** | The number of results per page. Default is 25. | [optional] | +|**pageNumber** | **Integer** | current page number default is 1 | [optional] | +|**catalog** | [**List<ProductSearchResponseCatalogInner>**](ProductSearchResponseCatalogInner.md) | | [optional] | +|**nextPage** | **String** | link/URL for accessing next page. | [optional] | +|**previousPage** | **String** | link/URL for accessing previous page. | [optional] | diff --git a/docs/ProductSearchResponseServiceresponse.md b/docs/ProductSearchResponseServiceresponse.md deleted file mode 100644 index 969b0713..00000000 --- a/docs/ProductSearchResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ProductSearchResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**ProductSearchResponseServiceresponseResponsepreamble**](ProductSearchResponseServiceresponseResponsepreamble.md) | | [optional] | -|**productsearchresponse** | [**List<ProductSearchResponseServiceresponseProductsearchresponseInner>**](ProductSearchResponseServiceresponseProductsearchresponseInner.md) | | [optional] | - - - diff --git a/docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md b/docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md deleted file mode 100644 index 652687be..00000000 --- a/docs/ProductSearchResponseServiceresponseProductsearchresponseInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ProductSearchResponseServiceresponseProductsearchresponseInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responseflag** | **String** | Number of records in the search result. | [optional] | -|**partnumbers** | [**List<ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner>**](ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md) | | [optional] | - - - diff --git a/docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md b/docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md deleted file mode 100644 index 5c846c7b..00000000 --- a/docs/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ingrampartnumber** | **String** | Ingram Part Number | [optional] | -|**manufacturerpartnumber** | **String** | Vendor or Manufacturer Part Number | [optional] | -|**upccode** | **String** | UPC | [optional] | -|**productdescription** | **String** | Product description | [optional] | -|**currency** | **String** | | [optional] | -|**haswarranty** | **String** | | [optional] | - - - diff --git a/docs/ProductSearchResponseServiceresponseResponsepreamble.md b/docs/ProductSearchResponseServiceresponseResponsepreamble.md deleted file mode 100644 index 9c5f3f7f..00000000 --- a/docs/ProductSearchResponseServiceresponseResponsepreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ProductSearchResponseServiceresponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requeststatus** | **String** | | [optional] | -|**returncode** | **String** | | [optional] | -|**returnmessage** | **String** | | [optional] | - - - diff --git a/docs/QuoteListRequest.md b/docs/QuoteListRequest.md deleted file mode 100644 index e732596f..00000000 --- a/docs/QuoteListRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteListRequest - -Request schema for get quote list endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteSearchRequest** | [**QuoteListRequestQuoteSearchRequest**](QuoteListRequestQuoteSearchRequest.md) | | [optional] | - - - diff --git a/docs/QuoteListRequestQuoteSearchRequest.md b/docs/QuoteListRequestQuoteSearchRequest.md deleted file mode 100644 index 6916c354..00000000 --- a/docs/QuoteListRequestQuoteSearchRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteListRequestQuoteSearchRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestPreamble** | [**QuoteListRequestQuoteSearchRequestRequestPreamble**](QuoteListRequestQuoteSearchRequestRequestPreamble.md) | | [optional] | -|**retrieveQuoteRequest** | [**QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest**](QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md) | | [optional] | - - - diff --git a/docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md b/docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md deleted file mode 100644 index b012af9b..00000000 --- a/docs/QuoteListRequestQuoteSearchRequestRequestPreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# QuoteListRequestQuoteSearchRequestRequestPreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerNumber** | **String** | Reseller Number (referred to as the account BCN) is the unique identifier for an Ingram Micro customer account. | | -|**customerContact** | **String** | Logged in User's email address. | [optional] | -|**isoCountryCode** | **String** | The ISO country codes are internationally recognized codes designated for each country represented by a two-letter combination (alpha-2). | | - - - diff --git a/docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md b/docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md deleted file mode 100644 index f25a8284..00000000 --- a/docs/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.md +++ /dev/null @@ -1,31 +0,0 @@ - - -# QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**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] | -|**bidNumber** | **String** | Special Pricing Bid Number, also referred to as a Dart Number by some vendors, is a unique identifier associated with vendor specific products and discounts. | [optional] | -|**endUserName** | **String** | End User Name is the end customer name that is associated with a quote in Ingram Micro's CRM | [optional] | -|**fromDate** | **LocalDate** | Filter to select the beginning date of a desired date range. The default filter is set to the date the user is logged-in to request quotes. Date format: YYYY-MM-DD - An incorrect date input will result in a message \"Date must be entered as YYYY-MM-DD\" | [optional] | -|**toDate** | **LocalDate** | Filter to select the end date of a desired date range. The default number of days to request is the previous 30 days from the date user has logged in. Date format: YYYY-MM-DD - An incorrect date input will result in a message \"Date must be entered as YYYY-MM-DD\" | [optional] | -|**pageIndex** | **String** | Page index or page number for the list of quotes being returned. When less than 25 quotes are returned, the page number will be \"1\". In cases where more than 25 quotes are returned, and the default quotes per page are 25 (see recordPerPage), then the list will continue on subsequent pages. | [optional] | -|**recordsPerPage** | **String** | Number of records (quotes) to display per page in the quote list. The default is 25, but may be increased using the filter by up to 100 records per page. If more than 100 records are requested a message will be returned \"The number of records requested exceeds the 100 record limit.\" | [optional] | -|**sorting** | [**SortingEnum**](#SortingEnum) | Sort applies to the selected column (sortingColumnName) and may be specified in Ascending (asc) or Descending (desc) order. The default sort is Descending (desc) - most recent first. | [optional] | -|**sortingColumnName** | **String** | Refers to the column selected to apply the sorting criteria. The default column is dateCreated and will sort by the most recently created quote first with the following in descending order. The default filter retrieves quotes created within the last 30 days. Filtering allows user to select a specific column to sort: quoteNumber, createdDate, lastModifiedDate, expiryDate, and endUserName. | [optional] | -|**thirdPartySource** | **String** | Unique identifier used to identify the third party source accessing the services. | [optional] | - - - -## Enum: SortingEnum - -| Name | Value | -|---- | -----| -| ASC | "asc" | -| DESC | "desc" | - - - diff --git a/docs/QuotesV4Api.md b/docs/QuotesV4Api.md deleted file mode 100644 index 7d4cda23..00000000 --- a/docs/QuotesV4Api.md +++ /dev/null @@ -1,144 +0,0 @@ -# QuotesV4Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**postV4Quotedetails**](QuotesV4Api.md#postV4Quotedetails) | **POST** /quotes/v1/quotedetails | Get Quote Details | -| [**postV4Quotesearch**](QuotesV4Api.md#postV4Quotesearch) | **POST** /quotes/v1/quotes | Get Quote List | - - - -# **postV4Quotedetails** -> QuoteDetailsResponse postV4Quotedetails(quoteDetailsRequest) - -Get Quote Details - -A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - -### 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.QuotesV4Api; - -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"); - - QuotesV4Api apiInstance = new QuotesV4Api(defaultClient); - QuoteDetailsRequest quoteDetailsRequest = new QuoteDetailsRequest(); // QuoteDetailsRequest | - try { - QuoteDetailsResponse result = apiInstance.postV4Quotedetails(quoteDetailsRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuotesV4Api#postV4Quotedetails"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **quoteDetailsRequest** | [**QuoteDetailsRequest**](QuoteDetailsRequest.md)| | [optional] | - -### Return type - -[**QuoteDetailsResponse**](QuoteDetailsResponse.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** | OK | - | - - -# **postV4Quotesearch** -> QuoteListResponse postV4Quotesearch(quoteListRequest) - -Get Quote List - -A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - -### 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.QuotesV4Api; - -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"); - - QuotesV4Api apiInstance = new QuotesV4Api(defaultClient); - QuoteListRequest quoteListRequest = new QuoteListRequest(); // QuoteListRequest | - try { - QuoteListResponse result = apiInstance.postV4Quotesearch(quoteListRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuotesV4Api#postV4Quotesearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **quoteListRequest** | [**QuoteListRequest**](QuoteListRequest.md)| | [optional] | - -### Return type - -[**QuoteListResponse**](QuoteListResponse.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** | OK | - | - diff --git a/docs/QuotesV5Api.md b/docs/QuotesV5Api.md deleted file mode 100644 index 545197a0..00000000 --- a/docs/QuotesV5Api.md +++ /dev/null @@ -1,150 +0,0 @@ -# QuotesV5Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getV5QuotesDetails**](QuotesV5Api.md#getV5QuotesDetails) | **GET** /resellers/v5/quote/{quoteNumber} | Get Quote Details | -| [**postV5QuotesSearch**](QuotesV5Api.md#postV5QuotesSearch) | **POST** /resellers/v5/quote/search | Search Quotes | - - - -# **getV5QuotesDetails** -> QuoteDetails getV5QuotesDetails(quoteNumber, customerNumber, isoCountryCode, thirdPartySource) - -Get Quote Details - -The quote details API provides all quote details associated with the quote number provided. The “<strong>quoteNumber</strong>”, “<strong>isoCountryCode</strong>” and “<strong>customerNumber</strong>” parameters are required. - -### 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.QuotesV5Api; - -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"); - - QuotesV5Api apiInstance = new QuotesV5Api(defaultClient); - String quoteNumber = "QUO-25576-C8S2W7"; // String | Ingram Micro Quote Number - String customerNumber = "20-222222"; // String | Your Ingram Micro unique customer number - String isoCountryCode = "US"; // String | - String thirdPartySource = "customer"; // String | Unique identifier used to identify the third party source accessing the services - try { - QuoteDetails result = apiInstance.getV5QuotesDetails(quoteNumber, customerNumber, isoCountryCode, thirdPartySource); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuotesV5Api#getV5QuotesDetails"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **quoteNumber** | **String**| Ingram Micro Quote Number | [default to QUO-25576-C8S2W7] | -| **customerNumber** | **String**| Your Ingram Micro unique customer number | [default to 20-222222] | -| **isoCountryCode** | **String**| | [default to US] | -| **thirdPartySource** | **String**| Unique identifier used to identify the third party source accessing the services | [optional] [default to customer] | - -### Return type - -[**QuoteDetails**](QuoteDetails.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - - -# **postV5QuotesSearch** -> QuoteListResponse postV5QuotesSearch(quoteListRequest) - -Search Quotes - -This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. Observe these additional parameters:<ul><li>Only active quotes are available through this API.</li><li>Quotes older than 365 days are excluded by default.</li><li>You can use date range filters to retrieve quotes older than 30 days and up to 365 days.</li><li>Quotes that are in draft and closed states are excluded, and are not accessible through this API.</li></ul> - -### 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.QuotesV5Api; - -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"); - - QuotesV5Api apiInstance = new QuotesV5Api(defaultClient); - QuoteListRequest quoteListRequest = new QuoteListRequest(); // QuoteListRequest | - try { - QuoteListResponse result = apiInstance.postV5QuotesSearch(quoteListRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuotesV5Api#postV5QuotesSearch"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **quoteListRequest** | [**QuoteListRequest**](QuoteListRequest.md)| | [optional] | - -### Return type - -[**QuoteListResponse**](QuoteListResponse.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** | OK | - | - diff --git a/docs/WarehouseListType.md b/docs/WarehouseListType.md deleted file mode 100644 index fa0c6208..00000000 --- a/docs/WarehouseListType.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# WarehouseListType - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**warehouseid** | **String** | | [optional] | -|**warehousedescription** | **String** | City of the Ingram Micro warehouse location | [optional] | -|**availablequantity** | **Integer** | On hand available quantity | [optional] | -|**onorderquantity** | **Integer** | On Order quantity | [optional] | -|**onholdquantity** | **Integer** | On hold quantity | [optional] | -|**etadate** | **String** | | [optional] | - - - diff --git a/src/main/java/xiresellers/client/ApiCallback.java b/src/main/java/xiresellers/client/ApiCallback.java index 2a27fc34..28eef8d0 100644 --- a/src/main/java/xiresellers/client/ApiCallback.java +++ b/src/main/java/xiresellers/client/ApiCallback.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ApiClient.java b/src/main/java/xiresellers/client/ApiClient.java index 9fca53e5..e83d3ef3 100644 --- a/src/main/java/xiresellers/client/ApiClient.java +++ b/src/main/java/xiresellers/client/ApiClient.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index 94a2c92d..3981f6c5 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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..c40eeb07 100644 --- a/src/main/java/xiresellers/client/ApiResponse.java +++ b/src/main/java/xiresellers/client/ApiResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 4e048862..6b79d0e8 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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..b2a143a5 100644 --- a/src/main/java/xiresellers/client/GzipRequestInterceptor.java +++ b/src/main/java/xiresellers/client/GzipRequestInterceptor.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/JSON.java b/src/main/java/xiresellers/client/JSON.java index 1843e4e4..012948fa 100644 --- a/src/main/java/xiresellers/client/JSON.java +++ b/src/main/java/xiresellers/client/JSON.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -135,7 +135,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetails.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()); @@ -160,9 +159,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCancelResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCancelResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCancelResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestEndUserInfo.CustomTypeAdapterFactory()); @@ -171,14 +168,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestLinesInnerEndUserInfoInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestLinesInnerWarrantyInfoInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetails.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestOrdercreaterequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestResellerInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestShipToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestShipmentDetails.CustomTypeAdapterFactory()); @@ -193,17 +182,14 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseOrdersInnerLinksInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseOrdersInnerMiscellaneousChargesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseOrdersInnerRejectedLineItemsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummary.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseShipToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequestOrderDeleteRequestDetails.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponseServiceresponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2B.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BBillToInfo.CustomTypeAdapterFactory()); @@ -242,18 +228,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseShipToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); @@ -285,13 +259,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseOrdersInnerLinks.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseOrdersInnerSubOrdersInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseServiceResponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequestResourceInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderStatusAsyncNotificationRequestResourceInnerLinesInner.CustomTypeAdapterFactory()); @@ -307,11 +274,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestAvailabilityByWarehouseInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestProductsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestServicerequestPriceandstockrequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInnerAvailability.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.CustomTypeAdapterFactory()); @@ -322,10 +284,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInnerPricing.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseInnerServiceFeesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.PriceAndAvailabilityResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponseAdditionalInformation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponseAdditionalInformationProductWeightInner.CustomTypeAdapterFactory()); @@ -343,10 +301,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseServiceresponseProductsearchresponseInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetails.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseResponsePreamble.CustomTypeAdapterFactory()); @@ -367,10 +321,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseResellerInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListRequestQuoteSearchRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListRequestQuoteSearchRequestRequestPreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponseQuoteSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponseQuoteSearchResponseQuoteListInner.CustomTypeAdapterFactory()); @@ -416,7 +366,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseLinesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ValidateQuoteResponseVmfAdditionalAttributesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.WarehouseListType.CustomTypeAdapterFactory()); gson = gsonBuilder.create(); } diff --git a/src/main/java/xiresellers/client/Pair.java b/src/main/java/xiresellers/client/Pair.java index c3dfe246..1a37d1b3 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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..2e622ff3 100644 --- a/src/main/java/xiresellers/client/ProgressRequestBody.java +++ b/src/main/java/xiresellers/client/ProgressRequestBody.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ProgressResponseBody.java b/src/main/java/xiresellers/client/ProgressResponseBody.java index 1d8fab3b..23404241 100644 --- a/src/main/java/xiresellers/client/ProgressResponseBody.java +++ b/src/main/java/xiresellers/client/ProgressResponseBody.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index c5aa820d..0630d299 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/DealsApi.java b/src/main/java/xiresellers/client/api/DealsApi.java index 40ac41dd..3a6e83c7 100644 --- a/src/main/java/xiresellers/client/api/DealsApi.java +++ b/src/main/java/xiresellers/client/api/DealsApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/FreightEstimateApi.java b/src/main/java/xiresellers/client/api/FreightEstimateApi.java index b386dcca..669d3507 100644 --- a/src/main/java/xiresellers/client/api/FreightEstimateApi.java +++ b/src/main/java/xiresellers/client/api/FreightEstimateApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/InvoicesApi.java b/src/main/java/xiresellers/client/api/InvoicesApi.java index ab22af29..6334889a 100644 --- a/src/main/java/xiresellers/client/api/InvoicesApi.java +++ b/src/main/java/xiresellers/client/api/InvoicesApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/InvoicesV4Api.java b/src/main/java/xiresellers/client/api/InvoicesV4Api.java deleted file mode 100644 index 9a45bb78..00000000 --- a/src/main/java/xiresellers/client/api/InvoicesV4Api.java +++ /dev/null @@ -1,194 +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.InvoiceDetailRequest; -import xiresellers.client.model.InvoiceDetailResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class InvoicesV4Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public InvoicesV4Api() { - this(Configuration.getDefaultApiClient()); - } - - public InvoicesV4Api(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 postV4Invoicedetails - * @param invoiceDetailRequest (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 OK -
- */ - public okhttp3.Call postV4InvoicedetailsCall(InvoiceDetailRequest invoiceDetailRequest, 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 = invoiceDetailRequest; - - // create path and map variables - String localVarPath = "/invoices/v4/invoicedetails"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4InvoicedetailsValidateBeforeCall(InvoiceDetailRequest invoiceDetailRequest, final ApiCallback _callback) throws ApiException { - return postV4InvoicedetailsCall(invoiceDetailRequest, _callback); - - } - - /** - * Get Invoice Details - * A real-time request that allows the customer to query Ingram Micro for Invoice information for a specific open or shipped order (in the past 9 months). Orders are searched using Ingram Micro Sales Order Number. - * @param invoiceDetailRequest (optional) - * @return InvoiceDetailResponse - * @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 OK -
- */ - public InvoiceDetailResponse postV4Invoicedetails(InvoiceDetailRequest invoiceDetailRequest) throws ApiException { - ApiResponse localVarResp = postV4InvoicedetailsWithHttpInfo(invoiceDetailRequest); - return localVarResp.getData(); - } - - /** - * Get Invoice Details - * A real-time request that allows the customer to query Ingram Micro for Invoice information for a specific open or shipped order (in the past 9 months). Orders are searched using Ingram Micro Sales Order Number. - * @param invoiceDetailRequest (optional) - * @return ApiResponse<InvoiceDetailResponse> - * @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 OK -
- */ - public ApiResponse postV4InvoicedetailsWithHttpInfo(InvoiceDetailRequest invoiceDetailRequest) throws ApiException { - okhttp3.Call localVarCall = postV4InvoicedetailsValidateBeforeCall(invoiceDetailRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Invoice Details (asynchronously) - * A real-time request that allows the customer to query Ingram Micro for Invoice information for a specific open or shipped order (in the past 9 months). Orders are searched using Ingram Micro Sales Order Number. - * @param invoiceDetailRequest (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 OK -
- */ - public okhttp3.Call postV4InvoicedetailsAsync(InvoiceDetailRequest invoiceDetailRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4InvoicedetailsValidateBeforeCall(invoiceDetailRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/InvoicesV5Api.java b/src/main/java/xiresellers/client/api/InvoicesV5Api.java deleted file mode 100644 index d7a24a44..00000000 --- a/src/main/java/xiresellers/client/api/InvoicesV5Api.java +++ /dev/null @@ -1,224 +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.InvoiceDetails; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class InvoicesV5Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public InvoicesV5Api() { - this(Configuration.getDefaultApiClient()); - } - - public InvoicesV5Api(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 getInvoices - * @param invoiceNumber Ingram Micro Invoice Number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode ISO 2 char country code (required) - * @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 OK -
- */ - public okhttp3.Call getInvoicesCall(String invoiceNumber, String customerNumber, String isoCountryCode, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/invoices/{invoiceNumber}" - .replace("{" + "invoiceNumber" + "}", localVarApiClient.escapeString(invoiceNumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerNumber", customerNumber)); - } - - if (isoCountryCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isoCountryCode", isoCountryCode)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getInvoicesValidateBeforeCall(String invoiceNumber, String customerNumber, String isoCountryCode, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'invoiceNumber' is set - if (invoiceNumber == null) { - throw new ApiException("Missing the required parameter 'invoiceNumber' when calling getInvoices(Async)"); - } - - // verify the required parameter 'customerNumber' is set - if (customerNumber == null) { - throw new ApiException("Missing the required parameter 'customerNumber' when calling getInvoices(Async)"); - } - - // verify the required parameter 'isoCountryCode' is set - if (isoCountryCode == null) { - throw new ApiException("Missing the required parameter 'isoCountryCode' when calling getInvoices(Async)"); - } - - return getInvoicesCall(invoiceNumber, customerNumber, isoCountryCode, _callback); - - } - - /** - * Get Invoice Details - * View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. <strong>invoiceNumber</strong>, <strong>isoCountryCode</strong> and <strong>customerNumber</strong> parameters are required. - * @param invoiceNumber Ingram Micro Invoice Number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode ISO 2 char country code (required) - * @return InvoiceDetails - * @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 OK -
- */ - public InvoiceDetails getInvoices(String invoiceNumber, String customerNumber, String isoCountryCode) throws ApiException { - ApiResponse localVarResp = getInvoicesWithHttpInfo(invoiceNumber, customerNumber, isoCountryCode); - return localVarResp.getData(); - } - - /** - * Get Invoice Details - * View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. <strong>invoiceNumber</strong>, <strong>isoCountryCode</strong> and <strong>customerNumber</strong> parameters are required. - * @param invoiceNumber Ingram Micro Invoice Number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode ISO 2 char country code (required) - * @return ApiResponse<InvoiceDetails> - * @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 OK -
- */ - public ApiResponse getInvoicesWithHttpInfo(String invoiceNumber, String customerNumber, String isoCountryCode) throws ApiException { - okhttp3.Call localVarCall = getInvoicesValidateBeforeCall(invoiceNumber, customerNumber, isoCountryCode, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Invoice Details (asynchronously) - * View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. <strong>invoiceNumber</strong>, <strong>isoCountryCode</strong> and <strong>customerNumber</strong> parameters are required. - * @param invoiceNumber Ingram Micro Invoice Number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode ISO 2 char country code (required) - * @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 OK -
- */ - public okhttp3.Call getInvoicesAsync(String invoiceNumber, String customerNumber, String isoCountryCode, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getInvoicesValidateBeforeCall(invoiceNumber, customerNumber, isoCountryCode, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/InvoicesV6Api.java b/src/main/java/xiresellers/client/api/InvoicesV6Api.java index 02e6537e..9125d736 100644 --- a/src/main/java/xiresellers/client/api/InvoicesV6Api.java +++ b/src/main/java/xiresellers/client/api/InvoicesV6Api.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrderStatusApi.java b/src/main/java/xiresellers/client/api/OrderStatusApi.java index f1685555..c979cbe5 100644 --- a/src/main/java/xiresellers/client/api/OrderStatusApi.java +++ b/src/main/java/xiresellers/client/api/OrderStatusApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrdersApi.java b/src/main/java/xiresellers/client/api/OrdersApi.java index 4406831b..d7875864 100644 --- a/src/main/java/xiresellers/client/api/OrdersApi.java +++ b/src/main/java/xiresellers/client/api/OrdersApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrdersV4Api.java b/src/main/java/xiresellers/client/api/OrdersV4Api.java deleted file mode 100644 index 7dcdcffc..00000000 --- a/src/main/java/xiresellers/client/api/OrdersV4Api.java +++ /dev/null @@ -1,674 +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.OrderCreateRequest; -import xiresellers.client.model.OrderCreateResponse; -import xiresellers.client.model.OrderDeleteRequest; -import xiresellers.client.model.OrderDeleteResponse; -import xiresellers.client.model.OrderDetailRequest; -import xiresellers.client.model.OrderDetailResponse; -import xiresellers.client.model.OrderModifyRequest; -import xiresellers.client.model.OrderModifyResponse; -import xiresellers.client.model.OrderSearchRequest; -import xiresellers.client.model.OrderSearchResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class OrdersV4Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public OrdersV4Api() { - this(Configuration.getDefaultApiClient()); - } - - public OrdersV4Api(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 postV4Ordercreate - * @param orderCreateRequest (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 OK -
- */ - public okhttp3.Call postV4OrdercreateCall(OrderCreateRequest orderCreateRequest, 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 = orderCreateRequest; - - // create path and map variables - String localVarPath = "/orders/v4/ordercreate"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4OrdercreateValidateBeforeCall(OrderCreateRequest orderCreateRequest, final ApiCallback _callback) throws ApiException { - return postV4OrdercreateCall(orderCreateRequest, _callback); - - } - - /** - * Create a new Order - * The order create transaction is a real-time transaction that allows customers to place standard product and direct ship (licensing and warranties) orders with Ingram Micro using API. - * @param orderCreateRequest (optional) - * @return OrderCreateResponse - * @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 OK -
- */ - public OrderCreateResponse postV4Ordercreate(OrderCreateRequest orderCreateRequest) throws ApiException { - ApiResponse localVarResp = postV4OrdercreateWithHttpInfo(orderCreateRequest); - return localVarResp.getData(); - } - - /** - * Create a new Order - * The order create transaction is a real-time transaction that allows customers to place standard product and direct ship (licensing and warranties) orders with Ingram Micro using API. - * @param orderCreateRequest (optional) - * @return ApiResponse<OrderCreateResponse> - * @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 OK -
- */ - public ApiResponse postV4OrdercreateWithHttpInfo(OrderCreateRequest orderCreateRequest) throws ApiException { - okhttp3.Call localVarCall = postV4OrdercreateValidateBeforeCall(orderCreateRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Create a new Order (asynchronously) - * The order create transaction is a real-time transaction that allows customers to place standard product and direct ship (licensing and warranties) orders with Ingram Micro using API. - * @param orderCreateRequest (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 OK -
- */ - public okhttp3.Call postV4OrdercreateAsync(OrderCreateRequest orderCreateRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4OrdercreateValidateBeforeCall(orderCreateRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Orderdelete - * @param orderDeleteRequest (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 OK -
- */ - public okhttp3.Call postV4OrderdeleteCall(OrderDeleteRequest orderDeleteRequest, 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 = orderDeleteRequest; - - // create path and map variables - String localVarPath = "/orders/v4/orderdelete"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4OrderdeleteValidateBeforeCall(OrderDeleteRequest orderDeleteRequest, final ApiCallback _callback) throws ApiException { - return postV4OrderdeleteCall(orderDeleteRequest, _callback); - - } - - /** - * Delete an Order - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param orderDeleteRequest (optional) - * @return OrderDeleteResponse - * @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 OK -
- */ - public OrderDeleteResponse postV4Orderdelete(OrderDeleteRequest orderDeleteRequest) throws ApiException { - ApiResponse localVarResp = postV4OrderdeleteWithHttpInfo(orderDeleteRequest); - return localVarResp.getData(); - } - - /** - * Delete an Order - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param orderDeleteRequest (optional) - * @return ApiResponse<OrderDeleteResponse> - * @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 OK -
- */ - public ApiResponse postV4OrderdeleteWithHttpInfo(OrderDeleteRequest orderDeleteRequest) throws ApiException { - okhttp3.Call localVarCall = postV4OrderdeleteValidateBeforeCall(orderDeleteRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Delete an Order (asynchronously) - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param orderDeleteRequest (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 OK -
- */ - public okhttp3.Call postV4OrderdeleteAsync(OrderDeleteRequest orderDeleteRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4OrderdeleteValidateBeforeCall(orderDeleteRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Orderdetails - * @param orderDetailRequest (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 OK -
- */ - public okhttp3.Call postV4OrderdetailsCall(OrderDetailRequest orderDetailRequest, 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 = orderDetailRequest; - - // create path and map variables - String localVarPath = "/orders/v4/orderdetails"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4OrderdetailsValidateBeforeCall(OrderDetailRequest orderDetailRequest, final ApiCallback _callback) throws ApiException { - return postV4OrderdetailsCall(orderDetailRequest, _callback); - - } - - /** - * Get Order Details - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param orderDetailRequest (optional) - * @return OrderDetailResponse - * @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 OK -
- */ - public OrderDetailResponse postV4Orderdetails(OrderDetailRequest orderDetailRequest) throws ApiException { - ApiResponse localVarResp = postV4OrderdetailsWithHttpInfo(orderDetailRequest); - return localVarResp.getData(); - } - - /** - * Get Order Details - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param orderDetailRequest (optional) - * @return ApiResponse<OrderDetailResponse> - * @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 OK -
- */ - public ApiResponse postV4OrderdetailsWithHttpInfo(OrderDetailRequest orderDetailRequest) throws ApiException { - okhttp3.Call localVarCall = postV4OrderdetailsValidateBeforeCall(orderDetailRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Order Details (asynchronously) - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param orderDetailRequest (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 OK -
- */ - public okhttp3.Call postV4OrderdetailsAsync(OrderDetailRequest orderDetailRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4OrderdetailsValidateBeforeCall(orderDetailRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Ordermodify - * @param orderModifyRequest (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 OK -
- */ - public okhttp3.Call postV4OrdermodifyCall(OrderModifyRequest orderModifyRequest, 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 = orderModifyRequest; - - // create path and map variables - String localVarPath = "/orders/v4/ordermodify"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4OrdermodifyValidateBeforeCall(OrderModifyRequest orderModifyRequest, final ApiCallback _callback) throws ApiException { - return postV4OrdermodifyCall(orderModifyRequest, _callback); - - } - - /** - * Modify an Existing Order - * The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. Types of modifications allowable: Order release, add comment, and carrier change. NOTE - Direct Ship orders cannot be modified. - * @param orderModifyRequest (optional) - * @return OrderModifyResponse - * @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 OK -
- */ - public OrderModifyResponse postV4Ordermodify(OrderModifyRequest orderModifyRequest) throws ApiException { - ApiResponse localVarResp = postV4OrdermodifyWithHttpInfo(orderModifyRequest); - return localVarResp.getData(); - } - - /** - * Modify an Existing Order - * The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. Types of modifications allowable: Order release, add comment, and carrier change. NOTE - Direct Ship orders cannot be modified. - * @param orderModifyRequest (optional) - * @return ApiResponse<OrderModifyResponse> - * @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 OK -
- */ - public ApiResponse postV4OrdermodifyWithHttpInfo(OrderModifyRequest orderModifyRequest) throws ApiException { - okhttp3.Call localVarCall = postV4OrdermodifyValidateBeforeCall(orderModifyRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Modify an Existing Order (asynchronously) - * The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. Types of modifications allowable: Order release, add comment, and carrier change. NOTE - Direct Ship orders cannot be modified. - * @param orderModifyRequest (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 OK -
- */ - public okhttp3.Call postV4OrdermodifyAsync(OrderModifyRequest orderModifyRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4OrdermodifyValidateBeforeCall(orderModifyRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Ordersearch - * @param orderSearchRequest (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 OK -
- */ - public okhttp3.Call postV4OrdersearchCall(OrderSearchRequest orderSearchRequest, 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 = orderSearchRequest; - - // create path and map variables - String localVarPath = "/orders/v4/orderlookup"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4OrdersearchValidateBeforeCall(OrderSearchRequest orderSearchRequest, final ApiCallback _callback) throws ApiException { - return postV4OrdersearchCall(orderSearchRequest, _callback); - - } - - /** - * Order Search - * Search your orders using various search parameters - * @param orderSearchRequest (optional) - * @return OrderSearchResponse - * @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 OK -
- */ - public OrderSearchResponse postV4Ordersearch(OrderSearchRequest orderSearchRequest) throws ApiException { - ApiResponse localVarResp = postV4OrdersearchWithHttpInfo(orderSearchRequest); - return localVarResp.getData(); - } - - /** - * Order Search - * Search your orders using various search parameters - * @param orderSearchRequest (optional) - * @return ApiResponse<OrderSearchResponse> - * @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 OK -
- */ - public ApiResponse postV4OrdersearchWithHttpInfo(OrderSearchRequest orderSearchRequest) throws ApiException { - okhttp3.Call localVarCall = postV4OrdersearchValidateBeforeCall(orderSearchRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Order Search (asynchronously) - * Search your orders using various search parameters - * @param orderSearchRequest (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 OK -
- */ - public okhttp3.Call postV4OrdersearchAsync(OrderSearchRequest orderSearchRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4OrdersearchValidateBeforeCall(orderSearchRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/OrdersV5Api.java b/src/main/java/xiresellers/client/api/OrdersV5Api.java deleted file mode 100644 index 07357784..00000000 --- a/src/main/java/xiresellers/client/api/OrdersV5Api.java +++ /dev/null @@ -1,737 +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 java.time.LocalDate; -import java.time.OffsetDateTime; -import xiresellers.client.model.OrderCancelResponse; -import xiresellers.client.model.OrderCreateRequest; -import xiresellers.client.model.OrderCreateResponse; -import xiresellers.client.model.OrderDetailResponse; -import xiresellers.client.model.OrderSearchResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class OrdersV5Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public OrdersV5Api() { - this(Configuration.getDefaultApiClient()); - } - - public OrdersV5Api(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 deleteOrdersOrderNumber - * @param ordernumber Ingram Micro sales order number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars ISO country code (required) - * @param entryDate Order entry date (yyyy-mm-dd) (required) - * @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 OK -
- */ - public okhttp3.Call deleteOrdersOrderNumberCall(String ordernumber, String customerNumber, String isoCountryCode, String entryDate, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/Orders/{ordernumber}" - .replace("{" + "ordernumber" + "}", localVarApiClient.escapeString(ordernumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerNumber", customerNumber)); - } - - if (isoCountryCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isoCountryCode", isoCountryCode)); - } - - if (entryDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("entryDate", entryDate)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteOrdersOrderNumberValidateBeforeCall(String ordernumber, String customerNumber, String isoCountryCode, String entryDate, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'ordernumber' is set - if (ordernumber == null) { - throw new ApiException("Missing the required parameter 'ordernumber' when calling deleteOrdersOrderNumber(Async)"); - } - - // verify the required parameter 'customerNumber' is set - if (customerNumber == null) { - throw new ApiException("Missing the required parameter 'customerNumber' when calling deleteOrdersOrderNumber(Async)"); - } - - // verify the required parameter 'isoCountryCode' is set - if (isoCountryCode == null) { - throw new ApiException("Missing the required parameter 'isoCountryCode' when calling deleteOrdersOrderNumber(Async)"); - } - - // verify the required parameter 'entryDate' is set - if (entryDate == null) { - throw new ApiException("Missing the required parameter 'entryDate' when calling deleteOrdersOrderNumber(Async)"); - } - - return deleteOrdersOrderNumberCall(ordernumber, customerNumber, isoCountryCode, entryDate, _callback); - - } - - /** - * Cancel an Existing Order - * This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. The <strong>orderNumber, isoCountryCode, customerNumber</strong> and <strong>entryDate</strong> parameters are required. This call must be submitted <strong>before</strong> the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - * @param ordernumber Ingram Micro sales order number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars ISO country code (required) - * @param entryDate Order entry date (yyyy-mm-dd) (required) - * @return OrderCancelResponse - * @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 OK -
- */ - public OrderCancelResponse deleteOrdersOrderNumber(String ordernumber, String customerNumber, String isoCountryCode, String entryDate) throws ApiException { - ApiResponse localVarResp = deleteOrdersOrderNumberWithHttpInfo(ordernumber, customerNumber, isoCountryCode, entryDate); - return localVarResp.getData(); - } - - /** - * Cancel an Existing Order - * This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. The <strong>orderNumber, isoCountryCode, customerNumber</strong> and <strong>entryDate</strong> parameters are required. This call must be submitted <strong>before</strong> the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - * @param ordernumber Ingram Micro sales order number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars ISO country code (required) - * @param entryDate Order entry date (yyyy-mm-dd) (required) - * @return ApiResponse<OrderCancelResponse> - * @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 OK -
- */ - public ApiResponse deleteOrdersOrderNumberWithHttpInfo(String ordernumber, String customerNumber, String isoCountryCode, String entryDate) throws ApiException { - okhttp3.Call localVarCall = deleteOrdersOrderNumberValidateBeforeCall(ordernumber, customerNumber, isoCountryCode, entryDate, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Cancel an Existing Order (asynchronously) - * This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. The <strong>orderNumber, isoCountryCode, customerNumber</strong> and <strong>entryDate</strong> parameters are required. This call must be submitted <strong>before</strong> the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - * @param ordernumber Ingram Micro sales order number (required) - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars ISO country code (required) - * @param entryDate Order entry date (yyyy-mm-dd) (required) - * @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 OK -
- */ - public okhttp3.Call deleteOrdersOrderNumberAsync(String ordernumber, String customerNumber, String isoCountryCode, String entryDate, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteOrdersOrderNumberValidateBeforeCall(ordernumber, customerNumber, isoCountryCode, entryDate, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getOrdersSearch - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 char iso country code (required) - * @param ordernumber Ingram sales order number (optional) - * @param customerordernumber Search using your PO/Order number (optional) - * @param orderstatus Ingram Micro order status (optional, default to any) - * @param startcreatetimestamp Search start date/time in UTC format (optional) - * @param endcreatetimestamp Search end date/time in UTC format (optional) - * @param pagesize Number of records required in the call (optional) - * @param pagenumber the page number reference (optional, default to 1) - * @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 OK -
- */ - public okhttp3.Call getOrdersSearchCall(String customerNumber, String isocountrycode, String ordernumber, String customerordernumber, String orderstatus, OffsetDateTime startcreatetimestamp, OffsetDateTime endcreatetimestamp, Integer pagesize, Integer pagenumber, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/Orders/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerNumber", customerNumber)); - } - - if (isocountrycode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isocountrycode", isocountrycode)); - } - - if (ordernumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ordernumber", ordernumber)); - } - - if (customerordernumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerordernumber", customerordernumber)); - } - - if (orderstatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orderstatus", orderstatus)); - } - - if (startcreatetimestamp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startcreatetimestamp", startcreatetimestamp)); - } - - if (endcreatetimestamp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endcreatetimestamp", endcreatetimestamp)); - } - - if (pagesize != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pagesize", pagesize)); - } - - if (pagenumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pagenumber", pagenumber)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getOrdersSearchValidateBeforeCall(String customerNumber, String isocountrycode, String ordernumber, String customerordernumber, String orderstatus, OffsetDateTime startcreatetimestamp, OffsetDateTime endcreatetimestamp, Integer pagesize, Integer pagenumber, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'customerNumber' is set - if (customerNumber == null) { - throw new ApiException("Missing the required parameter 'customerNumber' when calling getOrdersSearch(Async)"); - } - - // verify the required parameter 'isocountrycode' is set - if (isocountrycode == null) { - throw new ApiException("Missing the required parameter 'isocountrycode' when calling getOrdersSearch(Async)"); - } - - return getOrdersSearchCall(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber, _callback); - - } - - /** - * Search your Orders - * Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: <ul><li>ordernumber — Ingram Micro sales order number</li><li>customerordernumber — The PO or order number provided by you when creating an order</li><li>orderstatus — user order status codes for the search, default is set to \"any\"</li><li>startcreatetimestamp and endcreatetimestamp — Order create date range</li></ul> For pagination, please use these parameters: <ul><li>pagesize — default 25, max 100</li><li>pagenumber — default 1</li></ul> Order Status Values: <ul><li>P – PENDING</li><li>R – RELEASED</li><li>4 – SHIPPED</li><li>I – INVOICED</li><li>V – VOIDED</li></ul> The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 char iso country code (required) - * @param ordernumber Ingram sales order number (optional) - * @param customerordernumber Search using your PO/Order number (optional) - * @param orderstatus Ingram Micro order status (optional, default to any) - * @param startcreatetimestamp Search start date/time in UTC format (optional) - * @param endcreatetimestamp Search end date/time in UTC format (optional) - * @param pagesize Number of records required in the call (optional) - * @param pagenumber the page number reference (optional, default to 1) - * @return OrderSearchResponse - * @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 OK -
- */ - public OrderSearchResponse getOrdersSearch(String customerNumber, String isocountrycode, String ordernumber, String customerordernumber, String orderstatus, OffsetDateTime startcreatetimestamp, OffsetDateTime endcreatetimestamp, Integer pagesize, Integer pagenumber) throws ApiException { - ApiResponse localVarResp = getOrdersSearchWithHttpInfo(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber); - return localVarResp.getData(); - } - - /** - * Search your Orders - * Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: <ul><li>ordernumber — Ingram Micro sales order number</li><li>customerordernumber — The PO or order number provided by you when creating an order</li><li>orderstatus — user order status codes for the search, default is set to \"any\"</li><li>startcreatetimestamp and endcreatetimestamp — Order create date range</li></ul> For pagination, please use these parameters: <ul><li>pagesize — default 25, max 100</li><li>pagenumber — default 1</li></ul> Order Status Values: <ul><li>P – PENDING</li><li>R – RELEASED</li><li>4 – SHIPPED</li><li>I – INVOICED</li><li>V – VOIDED</li></ul> The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 char iso country code (required) - * @param ordernumber Ingram sales order number (optional) - * @param customerordernumber Search using your PO/Order number (optional) - * @param orderstatus Ingram Micro order status (optional, default to any) - * @param startcreatetimestamp Search start date/time in UTC format (optional) - * @param endcreatetimestamp Search end date/time in UTC format (optional) - * @param pagesize Number of records required in the call (optional) - * @param pagenumber the page number reference (optional, default to 1) - * @return ApiResponse<OrderSearchResponse> - * @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 OK -
- */ - public ApiResponse getOrdersSearchWithHttpInfo(String customerNumber, String isocountrycode, String ordernumber, String customerordernumber, String orderstatus, OffsetDateTime startcreatetimestamp, OffsetDateTime endcreatetimestamp, Integer pagesize, Integer pagenumber) throws ApiException { - okhttp3.Call localVarCall = getOrdersSearchValidateBeforeCall(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search your Orders (asynchronously) - * Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: <ul><li>ordernumber — Ingram Micro sales order number</li><li>customerordernumber — The PO or order number provided by you when creating an order</li><li>orderstatus — user order status codes for the search, default is set to \"any\"</li><li>startcreatetimestamp and endcreatetimestamp — Order create date range</li></ul> For pagination, please use these parameters: <ul><li>pagesize — default 25, max 100</li><li>pagenumber — default 1</li></ul> Order Status Values: <ul><li>P – PENDING</li><li>R – RELEASED</li><li>4 – SHIPPED</li><li>I – INVOICED</li><li>V – VOIDED</li></ul> The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 char iso country code (required) - * @param ordernumber Ingram sales order number (optional) - * @param customerordernumber Search using your PO/Order number (optional) - * @param orderstatus Ingram Micro order status (optional, default to any) - * @param startcreatetimestamp Search start date/time in UTC format (optional) - * @param endcreatetimestamp Search end date/time in UTC format (optional) - * @param pagesize Number of records required in the call (optional) - * @param pagenumber the page number reference (optional, default to 1) - * @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 OK -
- */ - public okhttp3.Call getOrdersSearchAsync(String customerNumber, String isocountrycode, String ordernumber, String customerordernumber, String orderstatus, OffsetDateTime startcreatetimestamp, OffsetDateTime endcreatetimestamp, Integer pagesize, Integer pagenumber, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getOrdersSearchValidateBeforeCall(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getV5OrdersDetails - * @param ordernumber Ingram Micro sales order number (required) - * @param customernumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 chars ISO country code (required) - * @param customerordernumber Your PO/Order Number provide at the time of order creation (optional) - * @param startcreatetimestamp Filter start date - format YYYY-MM-DD (optional) - * @param endcreatetimestamp Filter end date - format YYYY-MM-DD (optional) - * @param simulate Order response for various order statuses. Not for use in production. (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 OK -
- */ - public okhttp3.Call getV5OrdersDetailsCall(String ordernumber, String customernumber, String isocountrycode, String customerordernumber, LocalDate startcreatetimestamp, String endcreatetimestamp, String simulate, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/Orders/{ordernumber}" - .replace("{" + "ordernumber" + "}", localVarApiClient.escapeString(ordernumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customernumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customernumber", customernumber)); - } - - if (isocountrycode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isocountrycode", isocountrycode)); - } - - if (customerordernumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerordernumber", customerordernumber)); - } - - if (startcreatetimestamp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startcreatetimestamp", startcreatetimestamp)); - } - - if (endcreatetimestamp != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endcreatetimestamp", endcreatetimestamp)); - } - - if (simulate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("simulate", simulate)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getV5OrdersDetailsValidateBeforeCall(String ordernumber, String customernumber, String isocountrycode, String customerordernumber, LocalDate startcreatetimestamp, String endcreatetimestamp, String simulate, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'ordernumber' is set - if (ordernumber == null) { - throw new ApiException("Missing the required parameter 'ordernumber' when calling getV5OrdersDetails(Async)"); - } - - // verify the required parameter 'customernumber' is set - if (customernumber == null) { - throw new ApiException("Missing the required parameter 'customernumber' when calling getV5OrdersDetails(Async)"); - } - - // verify the required parameter 'isocountrycode' is set - if (isocountrycode == null) { - throw new ApiException("Missing the required parameter 'isocountrycode' when calling getV5OrdersDetails(Async)"); - } - - return getV5OrdersDetailsCall(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate, _callback); - - } - - /** - * Get Order Details - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. <b>The sales order number, customer number and isoCountryCode are required parameters.</b> The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. Use the \"simulate\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber Ingram Micro sales order number (required) - * @param customernumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 chars ISO country code (required) - * @param customerordernumber Your PO/Order Number provide at the time of order creation (optional) - * @param startcreatetimestamp Filter start date - format YYYY-MM-DD (optional) - * @param endcreatetimestamp Filter end date - format YYYY-MM-DD (optional) - * @param simulate Order response for various order statuses. Not for use in production. (optional) - * @return OrderDetailResponse - * @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 OK -
- */ - public OrderDetailResponse getV5OrdersDetails(String ordernumber, String customernumber, String isocountrycode, String customerordernumber, LocalDate startcreatetimestamp, String endcreatetimestamp, String simulate) throws ApiException { - ApiResponse localVarResp = getV5OrdersDetailsWithHttpInfo(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate); - return localVarResp.getData(); - } - - /** - * Get Order Details - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. <b>The sales order number, customer number and isoCountryCode are required parameters.</b> The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. Use the \"simulate\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber Ingram Micro sales order number (required) - * @param customernumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 chars ISO country code (required) - * @param customerordernumber Your PO/Order Number provide at the time of order creation (optional) - * @param startcreatetimestamp Filter start date - format YYYY-MM-DD (optional) - * @param endcreatetimestamp Filter end date - format YYYY-MM-DD (optional) - * @param simulate Order response for various order statuses. Not for use in production. (optional) - * @return ApiResponse<OrderDetailResponse> - * @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 OK -
- */ - public ApiResponse getV5OrdersDetailsWithHttpInfo(String ordernumber, String customernumber, String isocountrycode, String customerordernumber, LocalDate startcreatetimestamp, String endcreatetimestamp, String simulate) throws ApiException { - okhttp3.Call localVarCall = getV5OrdersDetailsValidateBeforeCall(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Order Details (asynchronously) - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. <b>The sales order number, customer number and isoCountryCode are required parameters.</b> The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. Use the \"simulate\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber Ingram Micro sales order number (required) - * @param customernumber Your unique Ingram Micro customer number (required) - * @param isocountrycode 2 chars ISO country code (required) - * @param customerordernumber Your PO/Order Number provide at the time of order creation (optional) - * @param startcreatetimestamp Filter start date - format YYYY-MM-DD (optional) - * @param endcreatetimestamp Filter end date - format YYYY-MM-DD (optional) - * @param simulate Order response for various order statuses. Not for use in production. (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 OK -
- */ - public okhttp3.Call getV5OrdersDetailsAsync(String ordernumber, String customernumber, String isocountrycode, String customerordernumber, LocalDate startcreatetimestamp, String endcreatetimestamp, String simulate, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getV5OrdersDetailsValidateBeforeCall(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV5OrdersCreate - * @param orderCreateRequest (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 OK -
- */ - public okhttp3.Call postV5OrdersCreateCall(OrderCreateRequest orderCreateRequest, 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 = orderCreateRequest; - - // create path and map variables - String localVarPath = "/resellers/v5/Orders"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV5OrdersCreateValidateBeforeCall(OrderCreateRequest orderCreateRequest, final ApiCallback _callback) throws ApiException { - return postV5OrdersCreateCall(orderCreateRequest, _callback); - - } - - /** - * Create a New Order - * Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. Every order to be created with this API must complete these validations to be placed and processed:<ul><li>SKU, shipping address, product authorization and stock allocations must clear validation.</li><li>Ingram Micro Sales validates pricing, stock or other processing parameters. Ingram Micro sales may place an order a hold if revision is necessary.</li><li>Credit validation confirms available credit prior to processing an order. If an order does not clear credit validation, the Ingram Micro sales rep or accounts receivable manager will contact you for next steps.</li><li>Warehouse validation selects the location closest to the destination zip code. If the stock is not available in any of the warehouses, Ingram Micro places a backorder in the warehouse closest to the destination zip code.</li></ul> Ingram Micro recommends that you provide the <strong>ingrampartnumber</strong> for each SKU contained in each order. When using <strong>vendorpartnumber</strong> to place an order, please use the product search endpoint to find the <strong>ingrampartnumber</strong> for a specific <strong>vendorpartnumber</strong>, and then supply the <strong>ingrampartnumber</strong> to place an order. <strong>NOTE:</strong> You must have net terms to use the <strong>Ingram Micro Order Create API</strong>. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - * @param orderCreateRequest (optional) - * @return OrderCreateResponse - * @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 OK -
- */ - public OrderCreateResponse postV5OrdersCreate(OrderCreateRequest orderCreateRequest) throws ApiException { - ApiResponse localVarResp = postV5OrdersCreateWithHttpInfo(orderCreateRequest); - return localVarResp.getData(); - } - - /** - * Create a New Order - * Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. Every order to be created with this API must complete these validations to be placed and processed:<ul><li>SKU, shipping address, product authorization and stock allocations must clear validation.</li><li>Ingram Micro Sales validates pricing, stock or other processing parameters. Ingram Micro sales may place an order a hold if revision is necessary.</li><li>Credit validation confirms available credit prior to processing an order. If an order does not clear credit validation, the Ingram Micro sales rep or accounts receivable manager will contact you for next steps.</li><li>Warehouse validation selects the location closest to the destination zip code. If the stock is not available in any of the warehouses, Ingram Micro places a backorder in the warehouse closest to the destination zip code.</li></ul> Ingram Micro recommends that you provide the <strong>ingrampartnumber</strong> for each SKU contained in each order. When using <strong>vendorpartnumber</strong> to place an order, please use the product search endpoint to find the <strong>ingrampartnumber</strong> for a specific <strong>vendorpartnumber</strong>, and then supply the <strong>ingrampartnumber</strong> to place an order. <strong>NOTE:</strong> You must have net terms to use the <strong>Ingram Micro Order Create API</strong>. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - * @param orderCreateRequest (optional) - * @return ApiResponse<OrderCreateResponse> - * @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 OK -
- */ - public ApiResponse postV5OrdersCreateWithHttpInfo(OrderCreateRequest orderCreateRequest) throws ApiException { - okhttp3.Call localVarCall = postV5OrdersCreateValidateBeforeCall(orderCreateRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Create a New Order (asynchronously) - * Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. Every order to be created with this API must complete these validations to be placed and processed:<ul><li>SKU, shipping address, product authorization and stock allocations must clear validation.</li><li>Ingram Micro Sales validates pricing, stock or other processing parameters. Ingram Micro sales may place an order a hold if revision is necessary.</li><li>Credit validation confirms available credit prior to processing an order. If an order does not clear credit validation, the Ingram Micro sales rep or accounts receivable manager will contact you for next steps.</li><li>Warehouse validation selects the location closest to the destination zip code. If the stock is not available in any of the warehouses, Ingram Micro places a backorder in the warehouse closest to the destination zip code.</li></ul> Ingram Micro recommends that you provide the <strong>ingrampartnumber</strong> for each SKU contained in each order. When using <strong>vendorpartnumber</strong> to place an order, please use the product search endpoint to find the <strong>ingrampartnumber</strong> for a specific <strong>vendorpartnumber</strong>, and then supply the <strong>ingrampartnumber</strong> to place an order. <strong>NOTE:</strong> You must have net terms to use the <strong>Ingram Micro Order Create API</strong>. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - * @param orderCreateRequest (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 OK -
- */ - public okhttp3.Call postV5OrdersCreateAsync(OrderCreateRequest orderCreateRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV5OrdersCreateValidateBeforeCall(orderCreateRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/OrdersV6Api.java b/src/main/java/xiresellers/client/api/OrdersV6Api.java index 24af2878..af3ee585 100644 --- a/src/main/java/xiresellers/client/api/OrdersV6Api.java +++ b/src/main/java/xiresellers/client/api/OrdersV6Api.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/ProductCatalogApi.java b/src/main/java/xiresellers/client/api/ProductCatalogApi.java index 020acf01..41c45c5a 100644 --- a/src/main/java/xiresellers/client/api/ProductCatalogApi.java +++ b/src/main/java/xiresellers/client/api/ProductCatalogApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/ProductCatalogV4Api.java b/src/main/java/xiresellers/client/api/ProductCatalogV4Api.java deleted file mode 100644 index fa59c80d..00000000 --- a/src/main/java/xiresellers/client/api/ProductCatalogV4Api.java +++ /dev/null @@ -1,314 +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.MultiSKUPriceAndStockRequest; -import xiresellers.client.model.MultiSKUPriceAndStockResponse; -import xiresellers.client.model.ProductSearchRequest; -import xiresellers.client.model.ProductSearchResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ProductCatalogV4Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ProductCatalogV4Api() { - this(Configuration.getDefaultApiClient()); - } - - public ProductCatalogV4Api(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 postV4Multiskupriceandstock - * @param multiSKUPriceAndStockRequest (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 -
- */ - public okhttp3.Call postV4MultiskupriceandstockCall(MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest, 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 = multiSKUPriceAndStockRequest; - - // create path and map variables - String localVarPath = "/products/v4/multiskupriceandstock"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4MultiskupriceandstockValidateBeforeCall(MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest, final ApiCallback _callback) throws ApiException { - return postV4MultiskupriceandstockCall(multiSKUPriceAndStockRequest, _callback); - - } - - /** - * Product availability for upto 50 SKUs - * Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - * @param multiSKUPriceAndStockRequest (optional) - * @return MultiSKUPriceAndStockResponse - * @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 -
- */ - public MultiSKUPriceAndStockResponse postV4Multiskupriceandstock(MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest) throws ApiException { - ApiResponse localVarResp = postV4MultiskupriceandstockWithHttpInfo(multiSKUPriceAndStockRequest); - return localVarResp.getData(); - } - - /** - * Product availability for upto 50 SKUs - * Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - * @param multiSKUPriceAndStockRequest (optional) - * @return ApiResponse<MultiSKUPriceAndStockResponse> - * @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 -
- */ - public ApiResponse postV4MultiskupriceandstockWithHttpInfo(MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest) throws ApiException { - okhttp3.Call localVarCall = postV4MultiskupriceandstockValidateBeforeCall(multiSKUPriceAndStockRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Product availability for upto 50 SKUs (asynchronously) - * Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - * @param multiSKUPriceAndStockRequest (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 -
- */ - public okhttp3.Call postV4MultiskupriceandstockAsync(MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4MultiskupriceandstockValidateBeforeCall(multiSKUPriceAndStockRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Productsearch - * @param productSearchRequest (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 -
- */ - public okhttp3.Call postV4ProductsearchCall(ProductSearchRequest productSearchRequest, 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 = productSearchRequest; - - // create path and map variables - String localVarPath = "/products/v4/productsearch"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4ProductsearchValidateBeforeCall(ProductSearchRequest productSearchRequest, final ApiCallback _callback) throws ApiException { - return postV4ProductsearchCall(productSearchRequest, _callback); - - } - - /** - * Real-time Product Search - * A real time search that provides the Ingram Micro part number using the manufacturer part number. This API is helpful to eliminate any errors when a manufactuer has the same part number and Ingram Micro has had to create multiple sku numbers - * @param productSearchRequest (optional) - * @return ProductSearchResponse - * @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 -
- */ - public ProductSearchResponse postV4Productsearch(ProductSearchRequest productSearchRequest) throws ApiException { - ApiResponse localVarResp = postV4ProductsearchWithHttpInfo(productSearchRequest); - return localVarResp.getData(); - } - - /** - * Real-time Product Search - * A real time search that provides the Ingram Micro part number using the manufacturer part number. This API is helpful to eliminate any errors when a manufactuer has the same part number and Ingram Micro has had to create multiple sku numbers - * @param productSearchRequest (optional) - * @return ApiResponse<ProductSearchResponse> - * @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 -
- */ - public ApiResponse postV4ProductsearchWithHttpInfo(ProductSearchRequest productSearchRequest) throws ApiException { - okhttp3.Call localVarCall = postV4ProductsearchValidateBeforeCall(productSearchRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Real-time Product Search (asynchronously) - * A real time search that provides the Ingram Micro part number using the manufacturer part number. This API is helpful to eliminate any errors when a manufactuer has the same part number and Ingram Micro has had to create multiple sku numbers - * @param productSearchRequest (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 -
- */ - public okhttp3.Call postV4ProductsearchAsync(ProductSearchRequest productSearchRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4ProductsearchValidateBeforeCall(productSearchRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/ProductCatalogV5Api.java b/src/main/java/xiresellers/client/api/ProductCatalogV5Api.java deleted file mode 100644 index e4ba261c..00000000 --- a/src/main/java/xiresellers/client/api/ProductCatalogV5Api.java +++ /dev/null @@ -1,347 +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.PriceAndAvailabilityRequest; -import xiresellers.client.model.PriceAndAvailabilityResponse; -import xiresellers.client.model.ProductSearchResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ProductCatalogV5Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ProductCatalogV5Api() { - this(Configuration.getDefaultApiClient()); - } - - public ProductCatalogV5Api(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 getV5CatalogProductsearch - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars country code (required) - * @param partNumber Part Number can be ingram part number or vendor part number or customer part number or UPC (required) - * @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 OK -
- */ - public okhttp3.Call getV5CatalogProductsearchCall(String customerNumber, String isoCountryCode, String partNumber, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/Catalog"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerNumber", customerNumber)); - } - - if (isoCountryCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isoCountryCode", isoCountryCode)); - } - - if (partNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("partNumber", partNumber)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getV5CatalogProductsearchValidateBeforeCall(String customerNumber, String isoCountryCode, String partNumber, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'customerNumber' is set - if (customerNumber == null) { - throw new ApiException("Missing the required parameter 'customerNumber' when calling getV5CatalogProductsearch(Async)"); - } - - // verify the required parameter 'isoCountryCode' is set - if (isoCountryCode == null) { - throw new ApiException("Missing the required parameter 'isoCountryCode' when calling getV5CatalogProductsearch(Async)"); - } - - // verify the required parameter 'partNumber' is set - if (partNumber == null) { - throw new ApiException("Missing the required parameter 'partNumber' when calling getV5CatalogProductsearch(Async)"); - } - - return getV5CatalogProductsearchCall(customerNumber, isoCountryCode, partNumber, _callback); - - } - - /** - * Search Product Catalog - * Search the Ingram Micro product catalog using customerNumber, isoCountryCode and partNumber.<ul><li>customerNumber and isoCountryCode fields are required.</li><li>The PartNumber field accepts the following:<ul><li>Ingram part number</li><li>Vendor part number</li><li>Customer part number</li><li>UPC (Universal Product Code)</li></ul></li></ul> - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars country code (required) - * @param partNumber Part Number can be ingram part number or vendor part number or customer part number or UPC (required) - * @return ProductSearchResponse - * @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 OK -
- */ - public ProductSearchResponse getV5CatalogProductsearch(String customerNumber, String isoCountryCode, String partNumber) throws ApiException { - ApiResponse localVarResp = getV5CatalogProductsearchWithHttpInfo(customerNumber, isoCountryCode, partNumber); - return localVarResp.getData(); - } - - /** - * Search Product Catalog - * Search the Ingram Micro product catalog using customerNumber, isoCountryCode and partNumber.<ul><li>customerNumber and isoCountryCode fields are required.</li><li>The PartNumber field accepts the following:<ul><li>Ingram part number</li><li>Vendor part number</li><li>Customer part number</li><li>UPC (Universal Product Code)</li></ul></li></ul> - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars country code (required) - * @param partNumber Part Number can be ingram part number or vendor part number or customer part number or UPC (required) - * @return ApiResponse<ProductSearchResponse> - * @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 OK -
- */ - public ApiResponse getV5CatalogProductsearchWithHttpInfo(String customerNumber, String isoCountryCode, String partNumber) throws ApiException { - okhttp3.Call localVarCall = getV5CatalogProductsearchValidateBeforeCall(customerNumber, isoCountryCode, partNumber, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search Product Catalog (asynchronously) - * Search the Ingram Micro product catalog using customerNumber, isoCountryCode and partNumber.<ul><li>customerNumber and isoCountryCode fields are required.</li><li>The PartNumber field accepts the following:<ul><li>Ingram part number</li><li>Vendor part number</li><li>Customer part number</li><li>UPC (Universal Product Code)</li></ul></li></ul> - * @param customerNumber Your unique Ingram Micro customer number (required) - * @param isoCountryCode 2 chars country code (required) - * @param partNumber Part Number can be ingram part number or vendor part number or customer part number or UPC (required) - * @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 OK -
- */ - public okhttp3.Call getV5CatalogProductsearchAsync(String customerNumber, String isoCountryCode, String partNumber, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getV5CatalogProductsearchValidateBeforeCall(customerNumber, isoCountryCode, partNumber, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for multiSKUPriceAndStock - * @param priceAndAvailabilityRequest (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 -
- */ - public okhttp3.Call multiSKUPriceAndStockCall(PriceAndAvailabilityRequest priceAndAvailabilityRequest, 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 = priceAndAvailabilityRequest; - - // create path and map variables - String localVarPath = "/resellers/v5/Catalog/priceandavailability"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 multiSKUPriceAndStockValidateBeforeCall(PriceAndAvailabilityRequest priceAndAvailabilityRequest, final ApiCallback _callback) throws ApiException { - return multiSKUPriceAndStockCall(priceAndAvailabilityRequest, _callback); - - } - - /** - * Find availability of upto 50 SKUs - * Search the product catalog for the price and availability for up to 50 SKUs at one time. This endpoint helps to confirm the details just prior to placing a real-time call.<ul><li>You may request visibility for reserve stock if you participate in reserved inventory, in addition to the stock that is open to all the partners. Please see the details in the endpoint model below.</li><li>Follow these guidelines when using this endpoint:<ul><li>This endpoint is not for refreshing the full catalog with availability and pricing information. Ingram Micro applies rate limits on this endpoint. Continuous cyclical calls will error out. Customers that perform this activity may lose access to the endpoint.</li><li>For the full catalog refresh, Ingram Micro can provide a Price and Inventory file in flat file format, made available through FTP download. Please contact your Ingram Micro sales rep for details.</li></ul></li></ul> - * @param priceAndAvailabilityRequest (optional) - * @return PriceAndAvailabilityResponse - * @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 -
- */ - public PriceAndAvailabilityResponse multiSKUPriceAndStock(PriceAndAvailabilityRequest priceAndAvailabilityRequest) throws ApiException { - ApiResponse localVarResp = multiSKUPriceAndStockWithHttpInfo(priceAndAvailabilityRequest); - return localVarResp.getData(); - } - - /** - * Find availability of upto 50 SKUs - * Search the product catalog for the price and availability for up to 50 SKUs at one time. This endpoint helps to confirm the details just prior to placing a real-time call.<ul><li>You may request visibility for reserve stock if you participate in reserved inventory, in addition to the stock that is open to all the partners. Please see the details in the endpoint model below.</li><li>Follow these guidelines when using this endpoint:<ul><li>This endpoint is not for refreshing the full catalog with availability and pricing information. Ingram Micro applies rate limits on this endpoint. Continuous cyclical calls will error out. Customers that perform this activity may lose access to the endpoint.</li><li>For the full catalog refresh, Ingram Micro can provide a Price and Inventory file in flat file format, made available through FTP download. Please contact your Ingram Micro sales rep for details.</li></ul></li></ul> - * @param priceAndAvailabilityRequest (optional) - * @return ApiResponse<PriceAndAvailabilityResponse> - * @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 -
- */ - public ApiResponse multiSKUPriceAndStockWithHttpInfo(PriceAndAvailabilityRequest priceAndAvailabilityRequest) throws ApiException { - okhttp3.Call localVarCall = multiSKUPriceAndStockValidateBeforeCall(priceAndAvailabilityRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Find availability of upto 50 SKUs (asynchronously) - * Search the product catalog for the price and availability for up to 50 SKUs at one time. This endpoint helps to confirm the details just prior to placing a real-time call.<ul><li>You may request visibility for reserve stock if you participate in reserved inventory, in addition to the stock that is open to all the partners. Please see the details in the endpoint model below.</li><li>Follow these guidelines when using this endpoint:<ul><li>This endpoint is not for refreshing the full catalog with availability and pricing information. Ingram Micro applies rate limits on this endpoint. Continuous cyclical calls will error out. Customers that perform this activity may lose access to the endpoint.</li><li>For the full catalog refresh, Ingram Micro can provide a Price and Inventory file in flat file format, made available through FTP download. Please contact your Ingram Micro sales rep for details.</li></ul></li></ul> - * @param priceAndAvailabilityRequest (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 -
- */ - public okhttp3.Call multiSKUPriceAndStockAsync(PriceAndAvailabilityRequest priceAndAvailabilityRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = multiSKUPriceAndStockValidateBeforeCall(priceAndAvailabilityRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java b/src/main/java/xiresellers/client/api/QuoteToOrderApi.java index 25db6fa8..8a35a239 100644 --- a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java +++ b/src/main/java/xiresellers/client/api/QuoteToOrderApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/QuotesApi.java b/src/main/java/xiresellers/client/api/QuotesApi.java index e7451780..6158cc15 100644 --- a/src/main/java/xiresellers/client/api/QuotesApi.java +++ b/src/main/java/xiresellers/client/api/QuotesApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/QuotesV4Api.java b/src/main/java/xiresellers/client/api/QuotesV4Api.java deleted file mode 100644 index b04ff6c2..00000000 --- a/src/main/java/xiresellers/client/api/QuotesV4Api.java +++ /dev/null @@ -1,314 +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.QuoteDetailsRequest; -import xiresellers.client.model.QuoteDetailsResponse; -import xiresellers.client.model.QuoteListRequest; -import xiresellers.client.model.QuoteListResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class QuotesV4Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public QuotesV4Api() { - this(Configuration.getDefaultApiClient()); - } - - public QuotesV4Api(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 postV4Quotedetails - * @param quoteDetailsRequest (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 OK -
- */ - public okhttp3.Call postV4QuotedetailsCall(QuoteDetailsRequest quoteDetailsRequest, 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 = quoteDetailsRequest; - - // create path and map variables - String localVarPath = "/quotes/v1/quotedetails"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4QuotedetailsValidateBeforeCall(QuoteDetailsRequest quoteDetailsRequest, final ApiCallback _callback) throws ApiException { - return postV4QuotedetailsCall(quoteDetailsRequest, _callback); - - } - - /** - * Get Quote Details - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param quoteDetailsRequest (optional) - * @return QuoteDetailsResponse - * @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 OK -
- */ - public QuoteDetailsResponse postV4Quotedetails(QuoteDetailsRequest quoteDetailsRequest) throws ApiException { - ApiResponse localVarResp = postV4QuotedetailsWithHttpInfo(quoteDetailsRequest); - return localVarResp.getData(); - } - - /** - * Get Quote Details - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param quoteDetailsRequest (optional) - * @return ApiResponse<QuoteDetailsResponse> - * @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 OK -
- */ - public ApiResponse postV4QuotedetailsWithHttpInfo(QuoteDetailsRequest quoteDetailsRequest) throws ApiException { - okhttp3.Call localVarCall = postV4QuotedetailsValidateBeforeCall(quoteDetailsRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Quote Details (asynchronously) - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * @param quoteDetailsRequest (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 OK -
- */ - public okhttp3.Call postV4QuotedetailsAsync(QuoteDetailsRequest quoteDetailsRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4QuotedetailsValidateBeforeCall(quoteDetailsRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV4Quotesearch - * @param quoteListRequest (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 OK -
- */ - public okhttp3.Call postV4QuotesearchCall(QuoteListRequest quoteListRequest, 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 = quoteListRequest; - - // create path and map variables - String localVarPath = "/quotes/v1/quotes"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV4QuotesearchValidateBeforeCall(QuoteListRequest quoteListRequest, final ApiCallback _callback) throws ApiException { - return postV4QuotesearchCall(quoteListRequest, _callback); - - } - - /** - * Get Quote List - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param quoteListRequest (optional) - * @return QuoteListResponse - * @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 OK -
- */ - public QuoteListResponse postV4Quotesearch(QuoteListRequest quoteListRequest) throws ApiException { - ApiResponse localVarResp = postV4QuotesearchWithHttpInfo(quoteListRequest); - return localVarResp.getData(); - } - - /** - * Get Quote List - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param quoteListRequest (optional) - * @return ApiResponse<QuoteListResponse> - * @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 OK -
- */ - public ApiResponse postV4QuotesearchWithHttpInfo(QuoteListRequest quoteListRequest) throws ApiException { - okhttp3.Call localVarCall = postV4QuotesearchValidateBeforeCall(quoteListRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Quote List (asynchronously) - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * @param quoteListRequest (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 OK -
- */ - public okhttp3.Call postV4QuotesearchAsync(QuoteListRequest quoteListRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV4QuotesearchValidateBeforeCall(quoteListRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/QuotesV5Api.java b/src/main/java/xiresellers/client/api/QuotesV5Api.java deleted file mode 100644 index b7de8975..00000000 --- a/src/main/java/xiresellers/client/api/QuotesV5Api.java +++ /dev/null @@ -1,352 +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.QuoteDetails; -import xiresellers.client.model.QuoteListRequest; -import xiresellers.client.model.QuoteListResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class QuotesV5Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public QuotesV5Api() { - this(Configuration.getDefaultApiClient()); - } - - public QuotesV5Api(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 getV5QuotesDetails - * @param quoteNumber Ingram Micro Quote Number (required) - * @param customerNumber Your Ingram Micro unique customer number (required) - * @param isoCountryCode (required) - * @param thirdPartySource Unique identifier used to identify the third party source accessing the services (optional, default to customer) - * @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 OK -
- */ - public okhttp3.Call getV5QuotesDetailsCall(String quoteNumber, String customerNumber, String isoCountryCode, String thirdPartySource, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v5/quote/{quoteNumber}" - .replace("{" + "quoteNumber" + "}", localVarApiClient.escapeString(quoteNumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerNumber", customerNumber)); - } - - if (isoCountryCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isoCountryCode", isoCountryCode)); - } - - if (thirdPartySource != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("thirdPartySource", thirdPartySource)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getV5QuotesDetailsValidateBeforeCall(String quoteNumber, String customerNumber, String isoCountryCode, String thirdPartySource, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'quoteNumber' is set - if (quoteNumber == null) { - throw new ApiException("Missing the required parameter 'quoteNumber' when calling getV5QuotesDetails(Async)"); - } - - // verify the required parameter 'customerNumber' is set - if (customerNumber == null) { - throw new ApiException("Missing the required parameter 'customerNumber' when calling getV5QuotesDetails(Async)"); - } - - // verify the required parameter 'isoCountryCode' is set - if (isoCountryCode == null) { - throw new ApiException("Missing the required parameter 'isoCountryCode' when calling getV5QuotesDetails(Async)"); - } - - return getV5QuotesDetailsCall(quoteNumber, customerNumber, isoCountryCode, thirdPartySource, _callback); - - } - - /** - * Get Quote Details - * The quote details API provides all quote details associated with the quote number provided. The “<strong>quoteNumber</strong>”, “<strong>isoCountryCode</strong>” and “<strong>customerNumber</strong>” parameters are required. - * @param quoteNumber Ingram Micro Quote Number (required) - * @param customerNumber Your Ingram Micro unique customer number (required) - * @param isoCountryCode (required) - * @param thirdPartySource Unique identifier used to identify the third party source accessing the services (optional, default to customer) - * @return QuoteDetails - * @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 OK -
- */ - public QuoteDetails getV5QuotesDetails(String quoteNumber, String customerNumber, String isoCountryCode, String thirdPartySource) throws ApiException { - ApiResponse localVarResp = getV5QuotesDetailsWithHttpInfo(quoteNumber, customerNumber, isoCountryCode, thirdPartySource); - return localVarResp.getData(); - } - - /** - * Get Quote Details - * The quote details API provides all quote details associated with the quote number provided. The “<strong>quoteNumber</strong>”, “<strong>isoCountryCode</strong>” and “<strong>customerNumber</strong>” parameters are required. - * @param quoteNumber Ingram Micro Quote Number (required) - * @param customerNumber Your Ingram Micro unique customer number (required) - * @param isoCountryCode (required) - * @param thirdPartySource Unique identifier used to identify the third party source accessing the services (optional, default to customer) - * @return ApiResponse<QuoteDetails> - * @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 OK -
- */ - public ApiResponse getV5QuotesDetailsWithHttpInfo(String quoteNumber, String customerNumber, String isoCountryCode, String thirdPartySource) throws ApiException { - okhttp3.Call localVarCall = getV5QuotesDetailsValidateBeforeCall(quoteNumber, customerNumber, isoCountryCode, thirdPartySource, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Quote Details (asynchronously) - * The quote details API provides all quote details associated with the quote number provided. The “<strong>quoteNumber</strong>”, “<strong>isoCountryCode</strong>” and “<strong>customerNumber</strong>” parameters are required. - * @param quoteNumber Ingram Micro Quote Number (required) - * @param customerNumber Your Ingram Micro unique customer number (required) - * @param isoCountryCode (required) - * @param thirdPartySource Unique identifier used to identify the third party source accessing the services (optional, default to customer) - * @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 OK -
- */ - public okhttp3.Call getV5QuotesDetailsAsync(String quoteNumber, String customerNumber, String isoCountryCode, String thirdPartySource, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getV5QuotesDetailsValidateBeforeCall(quoteNumber, customerNumber, isoCountryCode, thirdPartySource, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for postV5QuotesSearch - * @param quoteListRequest (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 OK -
- */ - public okhttp3.Call postV5QuotesSearchCall(QuoteListRequest quoteListRequest, 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 = quoteListRequest; - - // create path and map variables - String localVarPath = "/resellers/v5/quote/search"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - 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 postV5QuotesSearchValidateBeforeCall(QuoteListRequest quoteListRequest, final ApiCallback _callback) throws ApiException { - return postV5QuotesSearchCall(quoteListRequest, _callback); - - } - - /** - * Search Quotes - * This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. Observe these additional parameters:<ul><li>Only active quotes are available through this API.</li><li>Quotes older than 365 days are excluded by default.</li><li>You can use date range filters to retrieve quotes older than 30 days and up to 365 days.</li><li>Quotes that are in draft and closed states are excluded, and are not accessible through this API.</li></ul> - * @param quoteListRequest (optional) - * @return QuoteListResponse - * @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 OK -
- */ - public QuoteListResponse postV5QuotesSearch(QuoteListRequest quoteListRequest) throws ApiException { - ApiResponse localVarResp = postV5QuotesSearchWithHttpInfo(quoteListRequest); - return localVarResp.getData(); - } - - /** - * Search Quotes - * This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. Observe these additional parameters:<ul><li>Only active quotes are available through this API.</li><li>Quotes older than 365 days are excluded by default.</li><li>You can use date range filters to retrieve quotes older than 30 days and up to 365 days.</li><li>Quotes that are in draft and closed states are excluded, and are not accessible through this API.</li></ul> - * @param quoteListRequest (optional) - * @return ApiResponse<QuoteListResponse> - * @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 OK -
- */ - public ApiResponse postV5QuotesSearchWithHttpInfo(QuoteListRequest quoteListRequest) throws ApiException { - okhttp3.Call localVarCall = postV5QuotesSearchValidateBeforeCall(quoteListRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Search Quotes (asynchronously) - * This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. Observe these additional parameters:<ul><li>Only active quotes are available through this API.</li><li>Quotes older than 365 days are excluded by default.</li><li>You can use date range filters to retrieve quotes older than 30 days and up to 365 days.</li><li>Quotes that are in draft and closed states are excluded, and are not accessible through this API.</li></ul> - * @param quoteListRequest (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 OK -
- */ - public okhttp3.Call postV5QuotesSearchAsync(QuoteListRequest quoteListRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postV5QuotesSearchValidateBeforeCall(quoteListRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/RenewalsApi.java b/src/main/java/xiresellers/client/api/RenewalsApi.java index 009fa310..85091d38 100644 --- a/src/main/java/xiresellers/client/api/RenewalsApi.java +++ b/src/main/java/xiresellers/client/api/RenewalsApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/ReturnsApi.java b/src/main/java/xiresellers/client/api/ReturnsApi.java index 9f46cb7e..b73f5a8f 100644 --- a/src/main/java/xiresellers/client/api/ReturnsApi.java +++ b/src/main/java/xiresellers/client/api/ReturnsApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/StockUpdateApi.java b/src/main/java/xiresellers/client/api/StockUpdateApi.java index 79aaa612..f904e4d3 100644 --- a/src/main/java/xiresellers/client/api/StockUpdateApi.java +++ b/src/main/java/xiresellers/client/api/StockUpdateApi.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index 8d836528..885c1957 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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..29e2ca37 100644 --- a/src/main/java/xiresellers/client/auth/Authentication.java +++ b/src/main/java/xiresellers/client/auth/Authentication.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java index 096c9f24..07b8dd10 100644 --- a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index c60894f6..f03e20e9 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 0c1e4fe1..6a2f1739 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 22355e34..45523af0 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 57d4636e..13da9299 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AddressType.java b/src/main/java/xiresellers/client/model/AddressType.java index 95ccef5f..6e06aff5 100644 --- a/src/main/java/xiresellers/client/model/AddressType.java +++ b/src/main/java/xiresellers/client/model/AddressType.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Address type object */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class AddressType { public static final String SERIALIZED_NAME_ATTENTION = "attention"; @SerializedName(SERIALIZED_NAME_ATTENTION) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index 199d663b..103ae120 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index 4c4d3621..6b77664f 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 06659f02..443cfd42 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 7a344a41..d4043e2f 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index b07461f3..ca089f09 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 fe0e32a5..ffeec5a0 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index ba6ffb11..5fb4727a 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 ae36a43a..c8d5a775 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 3795f928..e993b423 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index 9ff83df2..9eb958dc 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 5ef41374..57094cd7 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index 72fb9c2a..7aa33750 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 75cfae06..75ebd81f 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 10b05f98..66704633 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index fdeea154..61e99e28 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 7a431f66..2c250862 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 197a1121..622e8257 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 0831ac06..23a6d4df 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index c251ff9e..af8ceac1 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index f391f290..6db96f81 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index 633fc89f..37050795 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index f9c5ac00..23b3210a 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index 1874271b..2bc6cf7c 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java index 5327123c..560e6929 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * GetResellerV6ValidateQuote500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java index 3f57bc06..300e4854 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java index 3a1c4ebe..45fd59bb 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * InvoiceDetailRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java index f534410b..0205158b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailRequestServicerequestInvoicedetailrequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailRequestServicerequestInvoicedetailrequest { public static final String SERIALIZED_NAME_INVOICENUMBER = "invoicenumber"; @SerializedName(SERIALIZED_NAME_INVOICENUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java index 197fe95f..c9a5a12d 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java index 1e50c120..58288ba3 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java index ca6f9c04..559a4b27 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * InvoiceDetailResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java index 9abf396c..4b4f0b9c 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java index 87983831..2e841421 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner { public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java index e92090bc..1edbcff2 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java index 86bc751c..cda3fb3f 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetails.java b/src/main/java/xiresellers/client/model/InvoiceDetails.java deleted file mode 100644 index 543ea64d..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetails.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponse; - -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; - -/** - * InvoiceDetails - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class InvoiceDetails { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private InvoiceDetailResponseServiceresponse serviceresponse; - - public InvoiceDetails() { - } - - public InvoiceDetails serviceresponse(InvoiceDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(InvoiceDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetails invoiceDetails = (InvoiceDetails) o; - return Objects.equals(this.serviceresponse, invoiceDetails.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetails {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 InvoiceDetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetails is not found in the empty JSON string", InvoiceDetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - InvoiceDetailResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetails - * @throws IOException if the JSON string is invalid with respect to InvoiceDetails - */ - public static InvoiceDetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetails.class); - } - - /** - * Convert an instance of InvoiceDetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index dca11000..f3acb076 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -58,7 +58,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index 509f9886..f823ca85 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 08520a05..f36b8615 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 fd24972e..40d72c50 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 443b3cc6..1f4e0abb 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 138a0e3a..0fc685ae 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 cd132702..a8709a20 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 6e89380b..d4e8065f 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 ba583f4e..1bd43930 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 ad8223c9..0a97a26b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b613cc4f..d5270e3a 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 57ddc5f8..52017a7f 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index eb90cd54..ac952f49 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index dc92b1bc..37a32470 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java index ff9e36d7..4cf01857 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request object model for the multi sku price and stock API endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java index 526e4898..fdf5d07a 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * MultiSKUPriceAndStockRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java index 87f8e85b..4448bb2f 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest { public static final String SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY = "showwarehouseavailability"; @SerializedName(SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java index d546e50e..e5d5ea66 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem { public static final String SERIALIZED_NAME_INDEX = "index"; @SerializedName(SERIALIZED_NAME_INDEX) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java index f527af96..3ab71551 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * MultiSKUPriceAndStockRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java index e098a418..f1b48728 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Response object model for the multi sku price and stock API endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java index 01c7a5d9..1365d07d 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -22,7 +22,7 @@ import java.io.IOException; import java.util.Arrays; import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponseResponsepreamble; +import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -51,11 +51,11 @@ /** * MultiSKUPriceAndStockResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble; + private MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble; public static final String SERIALIZED_NAME_PRICEANDSTOCKRESPONSE = "priceandstockresponse"; @SerializedName(SERIALIZED_NAME_PRICEANDSTOCKRESPONSE) @@ -64,7 +64,7 @@ public class MultiSKUPriceAndStockResponseServiceresponse { public MultiSKUPriceAndStockResponseServiceresponse() { } - public MultiSKUPriceAndStockResponseServiceresponse responsepreamble(PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble) { + public MultiSKUPriceAndStockResponseServiceresponse responsepreamble(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble) { this.responsepreamble = responsepreamble; return this; } @@ -74,11 +74,11 @@ public MultiSKUPriceAndStockResponseServiceresponse responsepreamble(PriceAndAva * @return responsepreamble **/ @javax.annotation.Nullable - public PriceAndAvailabilityResponseServiceresponseResponsepreamble getResponsepreamble() { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble getResponsepreamble() { return responsepreamble; } - public void setResponsepreamble(PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble) { + public void setResponsepreamble(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble) { this.responsepreamble = responsepreamble; } @@ -179,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `responsepreamble` if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - PriceAndAvailabilityResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); + MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); } // validate the optional field `priceandstockresponse` if (jsonObj.get("priceandstockresponse") != null && !jsonObj.get("priceandstockresponse").isJsonNull()) { diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java index eab19922..bf45beb0 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse { public static final String SERIALIZED_NAME_DETAILS = "details"; @SerializedName(SERIALIZED_NAME_DETAILS) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java index da44f866..b1a9cbcd 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner { public static final String SERIALIZED_NAME_ITEMSTATUS = "itemstatus"; @SerializedName(SERIALIZED_NAME_ITEMSTATUS) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java index d4ad445a..cd3a1541 100644 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner { /** * Unique 2-digit code of the Ingram Micro warehouse diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java similarity index 68% rename from src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreamble.java rename to src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java index 790588cc..4d193f2f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * PriceAndAvailabilityResponseServiceresponseResponsepreamble + * MultiSKUPriceAndStockResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityResponseServiceresponseResponsepreamble { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +public class MultiSKUPriceAndStockResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) private String responsestatus; @@ -63,10 +63,10 @@ public class PriceAndAvailabilityResponseServiceresponseResponsepreamble { @SerializedName(SERIALIZED_NAME_STATUSCODE) private String statuscode; - public PriceAndAvailabilityResponseServiceresponseResponsepreamble() { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble() { } - public PriceAndAvailabilityResponseServiceresponseResponsepreamble responsestatus(String responsestatus) { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsestatus(String responsestatus) { this.responsestatus = responsestatus; return this; } @@ -85,7 +85,7 @@ public void setResponsestatus(String responsestatus) { } - public PriceAndAvailabilityResponseServiceresponseResponsepreamble responsemessage(String responsemessage) { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsemessage(String responsemessage) { this.responsemessage = responsemessage; return this; } @@ -104,7 +104,7 @@ public void setResponsemessage(String responsemessage) { } - public PriceAndAvailabilityResponseServiceresponseResponsepreamble statuscode(String statuscode) { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble statuscode(String statuscode) { this.statuscode = statuscode; return this; } @@ -132,10 +132,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PriceAndAvailabilityResponseServiceresponseResponsepreamble priceAndAvailabilityResponseServiceresponseResponsepreamble = (PriceAndAvailabilityResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.responsestatus, priceAndAvailabilityResponseServiceresponseResponsepreamble.responsestatus) && - Objects.equals(this.responsemessage, priceAndAvailabilityResponseServiceresponseResponsepreamble.responsemessage) && - Objects.equals(this.statuscode, priceAndAvailabilityResponseServiceresponseResponsepreamble.statuscode); + MultiSKUPriceAndStockResponseServiceresponseResponsepreamble multiSKUPriceAndStockResponseServiceresponseResponsepreamble = (MultiSKUPriceAndStockResponseServiceresponseResponsepreamble) o; + return Objects.equals(this.responsestatus, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.responsestatus) && + Objects.equals(this.responsemessage, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.responsemessage) && + Objects.equals(this.statuscode, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.statuscode); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityResponseServiceresponseResponsepreamble {\n"); + sb.append("class MultiSKUPriceAndStockResponseServiceresponseResponsepreamble {\n"); sb.append(" responsestatus: ").append(toIndentedString(responsestatus)).append("\n"); sb.append(" responsemessage: ").append(toIndentedString(responsemessage)).append("\n"); sb.append(" statuscode: ").append(toIndentedString(statuscode)).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 PriceAndAvailabilityResponseServiceresponseResponsepreamble + * @throws IOException if the JSON Element is invalid with respect to MultiSKUPriceAndStockResponseServiceresponseResponsepreamble */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!PriceAndAvailabilityResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityResponseServiceresponseResponsepreamble is not found in the empty JSON string", PriceAndAvailabilityResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); + if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponseResponsepreamble is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponseResponsepreamble` 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 (!PriceAndAvailabilityResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityResponseServiceresponseResponsepreamble' and its subtypes + if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponseResponsepreamble' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityResponseServiceresponseResponsepreamble.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, PriceAndAvailabilityResponseServiceresponseResponsepreamble value) throws IOException { + public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponseResponsepreamble value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public PriceAndAvailabilityResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { + public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public PriceAndAvailabilityResponseServiceresponseResponsepreamble read(JsonRead } /** - * Create an instance of PriceAndAvailabilityResponseServiceresponseResponsepreamble given an JSON string + * Create an instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble given an JSON string * * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityResponseServiceresponseResponsepreamble + * @return An instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble + * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponseResponsepreamble */ - public static PriceAndAvailabilityResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityResponseServiceresponseResponsepreamble.class); + public static MultiSKUPriceAndStockResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class); } /** - * Convert an instance of PriceAndAvailabilityResponseServiceresponseResponsepreamble to an JSON string + * Convert an instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/OrderCancelResponse.java b/src/main/java/xiresellers/client/model/OrderCancelResponse.java deleted file mode 100644 index 813494c2..00000000 --- a/src/main/java/xiresellers/client/model/OrderCancelResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponse; - -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; - -/** - * Response schema for order delete endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCancelResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderCancelResponseServiceresponse serviceresponse; - - public OrderCancelResponse() { - } - - public OrderCancelResponse serviceresponse(OrderCancelResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public OrderCancelResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(OrderCancelResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCancelResponse orderCancelResponse = (OrderCancelResponse) o; - return Objects.equals(this.serviceresponse, orderCancelResponse.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCancelResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 OrderCancelResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCancelResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCancelResponse is not found in the empty JSON string", OrderCancelResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCancelResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCancelResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderCancelResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCancelResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCancelResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCancelResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCancelResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCancelResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCancelResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCancelResponse - * @throws IOException if the JSON string is invalid with respect to OrderCancelResponse - */ - public static OrderCancelResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCancelResponse.class); - } - - /** - * Convert an instance of OrderCancelResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index b06caaa4..7acf1eb6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,16 @@ 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 xiresellers.client.model.OrderCreateRequestOrdercreaterequest; +import java.util.List; +import xiresellers.client.model.OrderCreateRequestAdditionalAttributesInner; +import xiresellers.client.model.OrderCreateRequestEndUserInfo; +import xiresellers.client.model.OrderCreateRequestLinesInner; +import xiresellers.client.model.OrderCreateRequestResellerInfo; +import xiresellers.client.model.OrderCreateRequestShipToInfo; +import xiresellers.client.model.OrderCreateRequestShipmentDetails; +import xiresellers.client.model.OrderCreateRequestVmf; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +56,325 @@ import xiresellers.client.JSON; /** - * Request schema for order create endpoint + * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateRequest { - public static final String SERIALIZED_NAME_ORDERCREATEREQUEST = "ordercreaterequest"; - @SerializedName(SERIALIZED_NAME_ORDERCREATEREQUEST) - private OrderCreateRequestOrdercreaterequest ordercreaterequest; + 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_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_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + 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_RESELLER_INFO = "resellerInfo"; + @SerializedName(SERIALIZED_NAME_RESELLER_INFO) + private OrderCreateRequestResellerInfo resellerInfo; + + public static final String SERIALIZED_NAME_VMF = "vmf"; + @SerializedName(SERIALIZED_NAME_VMF) + private OrderCreateRequestVmf vmf; + + public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private OrderCreateRequestShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private OrderCreateRequestEndUserInfo endUserInfo; + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines; + + public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; + @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) + private OrderCreateRequestShipmentDetails shipmentDetails; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public OrderCreateRequest() { } - public OrderCreateRequest ordercreaterequest(OrderCreateRequestOrdercreaterequest ordercreaterequest) { - this.ordercreaterequest = ordercreaterequest; + public OrderCreateRequest customerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; + return this; + } + + /** + * The reseller's unique PO/Order number. + * @return customerOrderNumber + **/ + @javax.annotation.Nonnull + public String getCustomerOrderNumber() { + return customerOrderNumber; + } + + public void setCustomerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; + } + + + public OrderCreateRequest endCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + return this; + } + + /** + * The end user/customer's Purchase Order number. + * @return endCustomerOrderNumber + **/ + @javax.annotation.Nullable + public String getEndCustomerOrderNumber() { + return endCustomerOrderNumber; + } + + public void setEndCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + } + + + public OrderCreateRequest 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 OrderCreateRequest specialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + return this; + } + + /** + * The bid number 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 OrderCreateRequest notes(String notes) { + this.notes = notes; + return this; + } + + /** + * Order level notes. + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public OrderCreateRequest 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 OrderCreateRequest resellerInfo(OrderCreateRequestResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + return this; + } + + /** + * Get resellerInfo + * @return resellerInfo + **/ + @javax.annotation.Nullable + public OrderCreateRequestResellerInfo getResellerInfo() { + return resellerInfo; + } + + public void setResellerInfo(OrderCreateRequestResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + } + + + public OrderCreateRequest vmf(OrderCreateRequestVmf vmf) { + this.vmf = vmf; + return this; + } + + /** + * Get vmf + * @return vmf + **/ + @javax.annotation.Nullable + public OrderCreateRequestVmf getVmf() { + return vmf; + } + + public void setVmf(OrderCreateRequestVmf vmf) { + this.vmf = vmf; + } + + + public OrderCreateRequest shipToInfo(OrderCreateRequestShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; return this; } /** - * Get ordercreaterequest - * @return ordercreaterequest + * Get shipToInfo + * @return shipToInfo **/ @javax.annotation.Nullable - public OrderCreateRequestOrdercreaterequest getOrdercreaterequest() { - return ordercreaterequest; + public OrderCreateRequestShipToInfo getShipToInfo() { + return shipToInfo; } - public void setOrdercreaterequest(OrderCreateRequestOrdercreaterequest ordercreaterequest) { - this.ordercreaterequest = ordercreaterequest; + public void setShipToInfo(OrderCreateRequestShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public OrderCreateRequest endUserInfo(OrderCreateRequestEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + return this; + } + + /** + * Get endUserInfo + * @return endUserInfo + **/ + @javax.annotation.Nullable + public OrderCreateRequestEndUserInfo getEndUserInfo() { + return endUserInfo; + } + + public void setEndUserInfo(OrderCreateRequestEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + public OrderCreateRequest lines(List lines) { + this.lines = lines; + return this; + } + + public OrderCreateRequest addLinesItem(OrderCreateRequestLinesInner linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * The line-level details of the order. + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public OrderCreateRequest shipmentDetails(OrderCreateRequestShipmentDetails shipmentDetails) { + this.shipmentDetails = shipmentDetails; + return this; + } + + /** + * Get shipmentDetails + * @return shipmentDetails + **/ + @javax.annotation.Nullable + public OrderCreateRequestShipmentDetails getShipmentDetails() { + return shipmentDetails; + } + + public void setShipmentDetails(OrderCreateRequestShipmentDetails shipmentDetails) { + this.shipmentDetails = shipmentDetails; + } + + + public OrderCreateRequest additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public OrderCreateRequest addAdditionalAttributesItem(OrderCreateRequestAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Shipment-level additional attributes. + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +388,43 @@ public boolean equals(Object o) { return false; } OrderCreateRequest orderCreateRequest = (OrderCreateRequest) o; - return Objects.equals(this.ordercreaterequest, orderCreateRequest.ordercreaterequest); + return Objects.equals(this.customerOrderNumber, orderCreateRequest.customerOrderNumber) && + Objects.equals(this.endCustomerOrderNumber, orderCreateRequest.endCustomerOrderNumber) && + Objects.equals(this.billToAddressId, orderCreateRequest.billToAddressId) && + Objects.equals(this.specialBidNumber, orderCreateRequest.specialBidNumber) && + Objects.equals(this.notes, orderCreateRequest.notes) && + Objects.equals(this.acceptBackOrder, orderCreateRequest.acceptBackOrder) && + Objects.equals(this.resellerInfo, orderCreateRequest.resellerInfo) && + Objects.equals(this.vmf, orderCreateRequest.vmf) && + Objects.equals(this.shipToInfo, orderCreateRequest.shipToInfo) && + Objects.equals(this.endUserInfo, orderCreateRequest.endUserInfo) && + Objects.equals(this.lines, orderCreateRequest.lines) && + Objects.equals(this.shipmentDetails, orderCreateRequest.shipmentDetails) && + Objects.equals(this.additionalAttributes, orderCreateRequest.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(ordercreaterequest); + return Objects.hash(customerOrderNumber, endCustomerOrderNumber, billToAddressId, specialBidNumber, notes, acceptBackOrder, resellerInfo, vmf, shipToInfo, endUserInfo, lines, shipmentDetails, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderCreateRequest {\n"); - sb.append(" ordercreaterequest: ").append(toIndentedString(ordercreaterequest)).append("\n"); + sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); + sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); + sb.append(" billToAddressId: ").append(toIndentedString(billToAddressId)).append("\n"); + sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" acceptBackOrder: ").append(toIndentedString(acceptBackOrder)).append("\n"); + sb.append(" resellerInfo: ").append(toIndentedString(resellerInfo)).append("\n"); + sb.append(" vmf: ").append(toIndentedString(vmf)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" shipmentDetails: ").append(toIndentedString(shipmentDetails)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,10 +447,23 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("ordercreaterequest"); + openapiFields.add("customerOrderNumber"); + openapiFields.add("endCustomerOrderNumber"); + openapiFields.add("billToAddressId"); + openapiFields.add("specialBidNumber"); + openapiFields.add("notes"); + openapiFields.add("acceptBackOrder"); + openapiFields.add("resellerInfo"); + openapiFields.add("vmf"); + openapiFields.add("shipToInfo"); + openapiFields.add("endUserInfo"); + openapiFields.add("lines"); + openapiFields.add("shipmentDetails"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("customerOrderNumber"); } /** @@ -149,10 +486,76 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : OrderCreateRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `ordercreaterequest` - if (jsonObj.get("ordercreaterequest") != null && !jsonObj.get("ordercreaterequest").isJsonNull()) { - OrderCreateRequestOrdercreaterequest.validateJsonElement(jsonObj.get("ordercreaterequest")); + if (!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("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("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())); + } + // validate the optional field `resellerInfo` + if (jsonObj.get("resellerInfo") != null && !jsonObj.get("resellerInfo").isJsonNull()) { + OrderCreateRequestResellerInfo.validateJsonElement(jsonObj.get("resellerInfo")); + } + // validate the optional field `vmf` + if (jsonObj.get("vmf") != null && !jsonObj.get("vmf").isJsonNull()) { + OrderCreateRequestVmf.validateJsonElement(jsonObj.get("vmf")); + } + // validate the optional field `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + OrderCreateRequestShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + // validate the optional field `endUserInfo` + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + OrderCreateRequestEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); + } + 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++) { + OrderCreateRequestLinesInner.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + // validate the optional field `shipmentDetails` + if (jsonObj.get("shipmentDetails") != null && !jsonObj.get("shipmentDetails").isJsonNull()) { + OrderCreateRequestShipmentDetails.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++) { + OrderCreateRequestAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index 0b191824..bd0f9095 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 fad06245..914d04a1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateRequestEndUserInfo { 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/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index a74d2a2d..50e502af 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateRequestLinesInner { 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/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index 5b7b7217..abb336e1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 4ad93114..a96f149f 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 220ad184..34d9b503 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index 7bb350af..eba9b1c0 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderCreateRequestOrdercreaterequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequest.java deleted file mode 100644 index 3c527a32..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequest.java +++ /dev/null @@ -1,245 +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.Arrays; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetails; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestRequestpreamble; - -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; - -/** - * OrderCreateRequestOrdercreaterequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private OrderCreateRequestOrdercreaterequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_ORDERCREATEDETAILS = "ordercreatedetails"; - @SerializedName(SERIALIZED_NAME_ORDERCREATEDETAILS) - private OrderCreateRequestOrdercreaterequestOrdercreatedetails ordercreatedetails; - - public OrderCreateRequestOrdercreaterequest() { - } - - public OrderCreateRequestOrdercreaterequest requestpreamble(OrderCreateRequestOrdercreaterequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nonnull - public OrderCreateRequestOrdercreaterequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(OrderCreateRequestOrdercreaterequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public OrderCreateRequestOrdercreaterequest ordercreatedetails(OrderCreateRequestOrdercreaterequestOrdercreatedetails ordercreatedetails) { - this.ordercreatedetails = ordercreatedetails; - return this; - } - - /** - * Get ordercreatedetails - * @return ordercreatedetails - **/ - @javax.annotation.Nullable - public OrderCreateRequestOrdercreaterequestOrdercreatedetails getOrdercreatedetails() { - return ordercreatedetails; - } - - public void setOrdercreatedetails(OrderCreateRequestOrdercreaterequestOrdercreatedetails ordercreatedetails) { - this.ordercreatedetails = ordercreatedetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateRequestOrdercreaterequest orderCreateRequestOrdercreaterequest = (OrderCreateRequestOrdercreaterequest) o; - return Objects.equals(this.requestpreamble, orderCreateRequestOrdercreaterequest.requestpreamble) && - Objects.equals(this.ordercreatedetails, orderCreateRequestOrdercreaterequest.ordercreatedetails); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, ordercreatedetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" ordercreatedetails: ").append(toIndentedString(ordercreatedetails)).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("requestpreamble"); - openapiFields.add("ordercreatedetails"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("requestpreamble"); - } - - /** - * 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 OrderCreateRequestOrdercreaterequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequest is not found in the empty JSON string", OrderCreateRequestOrdercreaterequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderCreateRequestOrdercreaterequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the required field `requestpreamble` - OrderCreateRequestOrdercreaterequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - // validate the optional field `ordercreatedetails` - if (jsonObj.get("ordercreatedetails") != null && !jsonObj.get("ordercreatedetails").isJsonNull()) { - OrderCreateRequestOrdercreaterequestOrdercreatedetails.validateJsonElement(jsonObj.get("ordercreatedetails")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateRequestOrdercreaterequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequest - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequest - */ - public static OrderCreateRequestOrdercreaterequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequest.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetails.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetails.java deleted file mode 100644 index 698b598f..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetails.java +++ /dev/null @@ -1,599 +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.OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress; - -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; - -/** - * OrderCreateRequestOrdercreaterequestOrdercreatedetails - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetails { - public static final String SERIALIZED_NAME_CUSTOMERPONUMBER = "customerponumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPONUMBER) - private String customerponumber; - - /** - * Order Type - Standard orders, Direct ship orders - */ - @JsonAdapter(OrdertypeEnum.Adapter.class) - public enum OrdertypeEnum { - STANDARD("Standard"), - - DIRECT_SHIP("Direct Ship"); - - private String value; - - OrdertypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static OrdertypeEnum fromValue(String value) { - for (OrdertypeEnum b : OrdertypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final OrdertypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public OrdertypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return OrdertypeEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - OrdertypeEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ORDERTYPE = "ordertype"; - @SerializedName(SERIALIZED_NAME_ORDERTYPE) - private OrdertypeEnum ordertype; - - public static final String SERIALIZED_NAME_ENDUSERORDERNUMBER = "enduserordernumber"; - @SerializedName(SERIALIZED_NAME_ENDUSERORDERNUMBER) - private String enduserordernumber; - - public static final String SERIALIZED_NAME_BILLTOSUFFIX = "billtosuffix"; - @SerializedName(SERIALIZED_NAME_BILLTOSUFFIX) - private String billtosuffix; - - public static final String SERIALIZED_NAME_SHIPTOSUFFIX = "shiptosuffix"; - @SerializedName(SERIALIZED_NAME_SHIPTOSUFFIX) - private String shiptosuffix; - - public static final String SERIALIZED_NAME_SHIPTOADDRESS = "shiptoaddress"; - @SerializedName(SERIALIZED_NAME_SHIPTOADDRESS) - private OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress shiptoaddress; - - public static final String SERIALIZED_NAME_CARRIERCODE = "carriercode"; - @SerializedName(SERIALIZED_NAME_CARRIERCODE) - private String carriercode; - - public static final String SERIALIZED_NAME_THIRDPARTYFREIGHTACCOUNTNUMBER = "thirdpartyfreightaccountnumber"; - @SerializedName(SERIALIZED_NAME_THIRDPARTYFREIGHTACCOUNTNUMBER) - private String thirdpartyfreightaccountnumber; - - public static final String SERIALIZED_NAME_SPECIALBIDNUMBER = "specialbidnumber"; - @SerializedName(SERIALIZED_NAME_SPECIALBIDNUMBER) - private String specialbidnumber; - - public static final String SERIALIZED_NAME_LINES = "lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines = new ArrayList<>(); - - public static final String SERIALIZED_NAME_EXTENDEDSPECS = "extendedspecs"; - @SerializedName(SERIALIZED_NAME_EXTENDEDSPECS) - private List extendedspecs; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails customerponumber(String customerponumber) { - this.customerponumber = customerponumber; - return this; - } - - /** - * The customers unique Purchase Order number. Keep it unique to retrieve order information - * @return customerponumber - **/ - @javax.annotation.Nonnull - public String getCustomerponumber() { - return customerponumber; - } - - public void setCustomerponumber(String customerponumber) { - this.customerponumber = customerponumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails ordertype(OrdertypeEnum ordertype) { - this.ordertype = ordertype; - return this; - } - - /** - * Order Type - Standard orders, Direct ship orders - * @return ordertype - **/ - @javax.annotation.Nonnull - public OrdertypeEnum getOrdertype() { - return ordertype; - } - - public void setOrdertype(OrdertypeEnum ordertype) { - this.ordertype = ordertype; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails enduserordernumber(String enduserordernumber) { - this.enduserordernumber = enduserordernumber; - return this; - } - - /** - * Customers End-user PO number - * @return enduserordernumber - **/ - @javax.annotation.Nullable - public String getEnduserordernumber() { - return enduserordernumber; - } - - public void setEnduserordernumber(String enduserordernumber) { - this.enduserordernumber = enduserordernumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails billtosuffix(String billtosuffix) { - this.billtosuffix = billtosuffix; - return this; - } - - /** - * Designates flooring acct to be used - * @return billtosuffix - **/ - @javax.annotation.Nullable - public String getBilltosuffix() { - return billtosuffix; - } - - public void setBilltosuffix(String billtosuffix) { - this.billtosuffix = billtosuffix; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails shiptosuffix(String shiptosuffix) { - this.shiptosuffix = shiptosuffix; - return this; - } - - /** - * Applies to customers with multiple ship to locations (store locations) - * @return shiptosuffix - **/ - @javax.annotation.Nullable - public String getShiptosuffix() { - return shiptosuffix; - } - - public void setShiptosuffix(String shiptosuffix) { - this.shiptosuffix = shiptosuffix; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails shiptoaddress(OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - return this; - } - - /** - * Get shiptoaddress - * @return shiptoaddress - **/ - @javax.annotation.Nonnull - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress getShiptoaddress() { - return shiptoaddress; - } - - public void setShiptoaddress(OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails carriercode(String carriercode) { - this.carriercode = carriercode; - return this; - } - - /** - * A customer can dictate what carrier to use for their shipment (Ingram 2-digit carrier code is required). Our recommendation is leave this field blank which will allow Ingram Micro to choose the best carrier to gain the best freight rates. - * @return carriercode - **/ - @javax.annotation.Nullable - public String getCarriercode() { - return carriercode; - } - - public void setCarriercode(String carriercode) { - this.carriercode = carriercode; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails thirdpartyfreightaccountnumber(String thirdpartyfreightaccountnumber) { - this.thirdpartyfreightaccountnumber = thirdpartyfreightaccountnumber; - return this; - } - - /** - * Refers to a third-party freight account number for charging freight against. The account number should be passed within this field and the appropriate carrier code should be supplied within the carrier code tags. Prior to sending your request containing the third-party account number, it must be first entered into our system. Your Ingram Micro Sales Representative can action this for you. If submitted within an order without this preapproval the third-party account number will be ignored. Note: USA partners- For FedEx Air only (carrier codes F1, FO, F2, FG.), please send three leading zeros before your third-party freight account number (i.e.: 000999999999.) - * @return thirdpartyfreightaccountnumber - **/ - @javax.annotation.Nullable - public String getThirdpartyfreightaccountnumber() { - return thirdpartyfreightaccountnumber; - } - - public void setThirdpartyfreightaccountnumber(String thirdpartyfreightaccountnumber) { - this.thirdpartyfreightaccountnumber = thirdpartyfreightaccountnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails specialbidnumber(String specialbidnumber) { - this.specialbidnumber = specialbidnumber; - return this; - } - - /** - * This is the special quote number given to a customer either by a vendor for special pricing or by Ingram Micro. To receive the special pricing assigned to this number it must be included on the order. - * @return specialbidnumber - **/ - @javax.annotation.Nullable - public String getSpecialbidnumber() { - return specialbidnumber; - } - - public void setSpecialbidnumber(String specialbidnumber) { - this.specialbidnumber = specialbidnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails lines(List lines) { - this.lines = lines; - return this; - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails addLinesItem(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * Get lines - * @return lines - **/ - @javax.annotation.Nonnull - public List getLines() { - return lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails extendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - return this; - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetails addExtendedspecsItem(OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner extendedspecsItem) { - if (this.extendedspecs == null) { - this.extendedspecs = new ArrayList<>(); - } - this.extendedspecs.add(extendedspecsItem); - return this; - } - - /** - * Get extendedspecs - * @return extendedspecs - **/ - @javax.annotation.Nullable - public List getExtendedspecs() { - return extendedspecs; - } - - public void setExtendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetails orderCreateRequestOrdercreaterequestOrdercreatedetails = (OrderCreateRequestOrdercreaterequestOrdercreatedetails) o; - return Objects.equals(this.customerponumber, orderCreateRequestOrdercreaterequestOrdercreatedetails.customerponumber) && - Objects.equals(this.ordertype, orderCreateRequestOrdercreaterequestOrdercreatedetails.ordertype) && - Objects.equals(this.enduserordernumber, orderCreateRequestOrdercreaterequestOrdercreatedetails.enduserordernumber) && - Objects.equals(this.billtosuffix, orderCreateRequestOrdercreaterequestOrdercreatedetails.billtosuffix) && - Objects.equals(this.shiptosuffix, orderCreateRequestOrdercreaterequestOrdercreatedetails.shiptosuffix) && - Objects.equals(this.shiptoaddress, orderCreateRequestOrdercreaterequestOrdercreatedetails.shiptoaddress) && - Objects.equals(this.carriercode, orderCreateRequestOrdercreaterequestOrdercreatedetails.carriercode) && - Objects.equals(this.thirdpartyfreightaccountnumber, orderCreateRequestOrdercreaterequestOrdercreatedetails.thirdpartyfreightaccountnumber) && - Objects.equals(this.specialbidnumber, orderCreateRequestOrdercreaterequestOrdercreatedetails.specialbidnumber) && - Objects.equals(this.lines, orderCreateRequestOrdercreaterequestOrdercreatedetails.lines) && - Objects.equals(this.extendedspecs, orderCreateRequestOrdercreaterequestOrdercreatedetails.extendedspecs); - } - - @Override - public int hashCode() { - return Objects.hash(customerponumber, ordertype, enduserordernumber, billtosuffix, shiptosuffix, shiptoaddress, carriercode, thirdpartyfreightaccountnumber, specialbidnumber, lines, extendedspecs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetails {\n"); - sb.append(" customerponumber: ").append(toIndentedString(customerponumber)).append("\n"); - sb.append(" ordertype: ").append(toIndentedString(ordertype)).append("\n"); - sb.append(" enduserordernumber: ").append(toIndentedString(enduserordernumber)).append("\n"); - sb.append(" billtosuffix: ").append(toIndentedString(billtosuffix)).append("\n"); - sb.append(" shiptosuffix: ").append(toIndentedString(shiptosuffix)).append("\n"); - sb.append(" shiptoaddress: ").append(toIndentedString(shiptoaddress)).append("\n"); - sb.append(" carriercode: ").append(toIndentedString(carriercode)).append("\n"); - sb.append(" thirdpartyfreightaccountnumber: ").append(toIndentedString(thirdpartyfreightaccountnumber)).append("\n"); - sb.append(" specialbidnumber: ").append(toIndentedString(specialbidnumber)).append("\n"); - sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); - sb.append(" extendedspecs: ").append(toIndentedString(extendedspecs)).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("customerponumber"); - openapiFields.add("ordertype"); - openapiFields.add("enduserordernumber"); - openapiFields.add("billtosuffix"); - openapiFields.add("shiptosuffix"); - openapiFields.add("shiptoaddress"); - openapiFields.add("carriercode"); - openapiFields.add("thirdpartyfreightaccountnumber"); - openapiFields.add("specialbidnumber"); - openapiFields.add("lines"); - openapiFields.add("extendedspecs"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("customerponumber"); - openapiRequiredFields.add("ordertype"); - openapiRequiredFields.add("shiptoaddress"); - openapiRequiredFields.add("lines"); - } - - /** - * 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 OrderCreateRequestOrdercreaterequestOrdercreatedetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetails is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderCreateRequestOrdercreaterequestOrdercreatedetails.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("customerponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerponumber").toString())); - } - if (!jsonObj.get("ordertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertype").toString())); - } - // validate the required field `ordertype` - OrdertypeEnum.validateJsonElement(jsonObj.get("ordertype")); - 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("billtosuffix") != null && !jsonObj.get("billtosuffix").isJsonNull()) && !jsonObj.get("billtosuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `billtosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("billtosuffix").toString())); - } - if ((jsonObj.get("shiptosuffix") != null && !jsonObj.get("shiptosuffix").isJsonNull()) && !jsonObj.get("shiptosuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shiptosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shiptosuffix").toString())); - } - // validate the required field `shiptoaddress` - OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.validateJsonElement(jsonObj.get("shiptoaddress")); - 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("thirdpartyfreightaccountnumber") != null && !jsonObj.get("thirdpartyfreightaccountnumber").isJsonNull()) && !jsonObj.get("thirdpartyfreightaccountnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `thirdpartyfreightaccountnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("thirdpartyfreightaccountnumber").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())); - } - // 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())); - } - - JsonArray jsonArraylines = jsonObj.getAsJsonArray("lines"); - // validate the required field `lines` (array) - for (int i = 0; i < jsonArraylines.size(); i++) { - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.validateJsonElement(jsonArraylines.get(i)); - }; - if (jsonObj.get("extendedspecs") != null && !jsonObj.get("extendedspecs").isJsonNull()) { - JsonArray jsonArrayextendedspecs = jsonObj.getAsJsonArray("extendedspecs"); - if (jsonArrayextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("extendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("extendedspecs").toString())); - } - - // validate the optional field `extendedspecs` (array) - for (int i = 0; i < jsonArrayextendedspecs.size(); i++) { - OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.validateJsonElement(jsonArrayextendedspecs.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetails - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetails - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetails.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.java deleted file mode 100644 index 2d749a9d..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.java +++ /dev/null @@ -1,311 +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.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; - -/** - * Attribute Name and Value: This field identifies if your order is a DIRECT SHIP order (license / warranty) or how you want your Backorders managed as well as other process options like placing your order on hold or adding a comment. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner { - /** - * Gets or Sets attributename - */ - @JsonAdapter(AttributenameEnum.Adapter.class) - public enum AttributenameEnum { - ISDIRECTSHIPORDER("Isdirectshiporder"), - - EMAILADDRESS("emailaddress"), - - ISBACKORDERFLAGALLOWED("Isbackorderflagallowed"), - - PLACEONCUSTOMERHOLD("placeoncustomerhold"), - - SIGNATUREREQUIRED("signaturerequired"), - - COMMENTTEXT("commenttext"), - - RESELLERCTACEMAIL("resellerctacemail"), - - DUPLICATECUSTOMERORDERNUMBERVALIDATE("duplicatecustomerordernumbervalidate"), - - QUOTENUMBER("quotenumber"), - - SHIPCTACPHONE("shipctacphone"), - - VENDAUTHNUMBER("vendauthnumber"), - - CONTINUEONERROR("continueonerror"); - - private String value; - - AttributenameEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static AttributenameEnum fromValue(String value) { - for (AttributenameEnum b : AttributenameEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final AttributenameEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public AttributenameEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return AttributenameEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - AttributenameEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) - private AttributenameEnum attributename; - - public static final String SERIALIZED_NAME_ATTRIBUTEVALUE = "attributevalue"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTEVALUE) - private String attributevalue; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner attributename(AttributenameEnum attributename) { - this.attributename = attributename; - return this; - } - - /** - * Get attributename - * @return attributename - **/ - @javax.annotation.Nullable - public AttributenameEnum getAttributename() { - return attributename; - } - - public void setAttributename(AttributenameEnum attributename) { - this.attributename = attributename; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner attributevalue(String attributevalue) { - this.attributevalue = attributevalue; - return this; - } - - /** - * Get attributevalue - * @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; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner orderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner = (OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner) o; - return Objects.equals(this.attributename, orderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.attributename) && - Objects.equals(this.attributevalue, orderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.attributevalue); - } - - @Override - public int hashCode() { - return Objects.hash(attributename, attributevalue); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner {\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 OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner` 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())); - } - // validate the optional field `attributename` - if (jsonObj.get("attributename") != null && !jsonObj.get("attributename").isJsonNull()) { - AttributenameEnum.validateJsonElement(jsonObj.get("attributename")); - } - 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 (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.java deleted file mode 100644 index 6f57588e..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.java +++ /dev/null @@ -1,584 +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.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner; - -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; - -/** - * OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner { - /** - * Values are “P” for product or “C” for comments. This can be left blank when ordering product and a “P” will be assumed. If you are adding a COMMENT, then this value must be “C”. Extended spec for comments: Attribute Name: “commenttext” Attribute Value: “thank you for the order” To make the comment invisible to the packing slip place “///” in front of the comment in the Attribute Value field. This will allow the Ingram sales rep to see the comment on the order but will not forward on to shipping documents. - */ - @JsonAdapter(LinetypeEnum.Adapter.class) - public enum LinetypeEnum { - P("P"), - - C("C"); - - private String value; - - LinetypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static LinetypeEnum fromValue(String value) { - for (LinetypeEnum b : LinetypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final LinetypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public LinetypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return LinetypeEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - LinetypeEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_LINETYPE = "linetype"; - @SerializedName(SERIALIZED_NAME_LINETYPE) - private LinetypeEnum linetype; - - public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; - @SerializedName(SERIALIZED_NAME_LINENUMBER) - private String linenumber; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private String quantity; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_CUSTOMERPARTNUMBER = "customerpartnumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPARTNUMBER) - private String customerpartnumber; - - public static final String SERIALIZED_NAME_UP_C_CODE = "UPCCode"; - @SerializedName(SERIALIZED_NAME_UP_C_CODE) - private String upCCode; - - public static final String SERIALIZED_NAME_WAREHOUSEID = "warehouseid"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEID) - private String warehouseid; - - public static final String SERIALIZED_NAME_UNITPRICE = "unitprice"; - @SerializedName(SERIALIZED_NAME_UNITPRICE) - private String unitprice; - - public static final String SERIALIZED_NAME_ENDUSER = "enduser"; - @SerializedName(SERIALIZED_NAME_ENDUSER) - private OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser enduser; - - public static final String SERIALIZED_NAME_PRODUCTEXTENDEDSPECS = "productextendedspecs"; - @SerializedName(SERIALIZED_NAME_PRODUCTEXTENDEDSPECS) - private List productextendedspecs; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner linetype(LinetypeEnum linetype) { - this.linetype = linetype; - return this; - } - - /** - * Values are “P” for product or “C” for comments. This can be left blank when ordering product and a “P” will be assumed. If you are adding a COMMENT, then this value must be “C”. Extended spec for comments: Attribute Name: “commenttext” Attribute Value: “thank you for the order” To make the comment invisible to the packing slip place “///” in front of the comment in the Attribute Value field. This will allow the Ingram sales rep to see the comment on the order but will not forward on to shipping documents. - * @return linetype - **/ - @javax.annotation.Nullable - public LinetypeEnum getLinetype() { - return linetype; - } - - public void setLinetype(LinetypeEnum linetype) { - this.linetype = linetype; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner linenumber(String linenumber) { - this.linenumber = linenumber; - return this; - } - - /** - * This is used when a partner wants to use their own line number. Can be left blank. - * @return linenumber - **/ - @javax.annotation.Nullable - public String getLinenumber() { - return linenumber; - } - - public void setLinenumber(String linenumber) { - this.linenumber = linenumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * This is the Ingram sku number to be used for placing an order. - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner quantity(String quantity) { - this.quantity = quantity; - return this; - } - - /** - * The quantity that is to be ordered. - * @return quantity - **/ - @javax.annotation.Nonnull - public String getQuantity() { - return quantity; - } - - public void setQuantity(String quantity) { - this.quantity = quantity; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * The Manufacturer part number. Can be used to place an order instead of the Ingram sku. If there are multiple Ingram part numbers to one vendor part number. The order will be rejected. - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner customerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - return this; - } - - /** - * This is the Customers unique part numbers that must be crossed referenced to the Ingram Micro Sku before it can be used. Please contact your sales rep for additional information on how to set this up. - * @return customerpartnumber - **/ - @javax.annotation.Nullable - public String getCustomerpartnumber() { - return customerpartnumber; - } - - public void setCustomerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner upCCode(String upCCode) { - this.upCCode = upCCode; - return this; - } - - /** - * Get upCCode - * @return upCCode - **/ - @javax.annotation.Nullable - public String getUpCCode() { - return upCCode; - } - - public void setUpCCode(String upCCode) { - this.upCCode = upCCode; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner warehouseid(String warehouseid) { - this.warehouseid = warehouseid; - return this; - } - - /** - * Get warehouseid - * @return warehouseid - **/ - @javax.annotation.Nullable - public String getWarehouseid() { - return warehouseid; - } - - public void setWarehouseid(String warehouseid) { - this.warehouseid = warehouseid; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner unitprice(String unitprice) { - this.unitprice = unitprice; - return this; - } - - /** - * This is a requested price from the customer. Pre-approval is necessary before using this feature. A methodology called price variance to manage requested pricing needs to be setup in advance by your sales rep. If unit price is provided without this advanced setup the unit price will be ignored and standard Ingram Micro pricing will apply. - * @return unitprice - **/ - @javax.annotation.Nullable - public String getUnitprice() { - return unitprice; - } - - public void setUnitprice(String unitprice) { - this.unitprice = unitprice; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner enduser(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser enduser) { - this.enduser = enduser; - return this; - } - - /** - * Get enduser - * @return enduser - **/ - @javax.annotation.Nullable - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser getEnduser() { - return enduser; - } - - public void setEnduser(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser enduser) { - this.enduser = enduser; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner productextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - return this; - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner addProductextendedspecsItem(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner productextendedspecsItem) { - if (this.productextendedspecs == null) { - this.productextendedspecs = new ArrayList<>(); - } - this.productextendedspecs.add(productextendedspecsItem); - return this; - } - - /** - * Get productextendedspecs - * @return productextendedspecs - **/ - @javax.annotation.Nullable - public List getProductextendedspecs() { - return productextendedspecs; - } - - public void setProductextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner = (OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner) o; - return Objects.equals(this.linetype, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.linetype) && - Objects.equals(this.linenumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.linenumber) && - Objects.equals(this.ingrampartnumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.ingrampartnumber) && - Objects.equals(this.quantity, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.quantity) && - Objects.equals(this.vendorpartnumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.vendorpartnumber) && - Objects.equals(this.customerpartnumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.customerpartnumber) && - Objects.equals(this.upCCode, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.upCCode) && - Objects.equals(this.warehouseid, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.warehouseid) && - Objects.equals(this.unitprice, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.unitprice) && - Objects.equals(this.enduser, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.enduser) && - Objects.equals(this.productextendedspecs, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.productextendedspecs); - } - - @Override - public int hashCode() { - return Objects.hash(linetype, linenumber, ingrampartnumber, quantity, vendorpartnumber, customerpartnumber, upCCode, warehouseid, unitprice, enduser, productextendedspecs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner {\n"); - sb.append(" linetype: ").append(toIndentedString(linetype)).append("\n"); - sb.append(" linenumber: ").append(toIndentedString(linenumber)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" customerpartnumber: ").append(toIndentedString(customerpartnumber)).append("\n"); - sb.append(" upCCode: ").append(toIndentedString(upCCode)).append("\n"); - sb.append(" warehouseid: ").append(toIndentedString(warehouseid)).append("\n"); - sb.append(" unitprice: ").append(toIndentedString(unitprice)).append("\n"); - sb.append(" enduser: ").append(toIndentedString(enduser)).append("\n"); - sb.append(" productextendedspecs: ").append(toIndentedString(productextendedspecs)).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("linetype"); - openapiFields.add("linenumber"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("quantity"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("customerpartnumber"); - openapiFields.add("UPCCode"); - openapiFields.add("warehouseid"); - openapiFields.add("unitprice"); - openapiFields.add("enduser"); - openapiFields.add("productextendedspecs"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("quantity"); - } - - /** - * 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 OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("linetype") != null && !jsonObj.get("linetype").isJsonNull()) && !jsonObj.get("linetype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linetype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linetype").toString())); - } - // validate the optional field `linetype` - if (jsonObj.get("linetype") != null && !jsonObj.get("linetype").isJsonNull()) { - LinetypeEnum.validateJsonElement(jsonObj.get("linetype")); - } - if ((jsonObj.get("linenumber") != null && !jsonObj.get("linenumber").isJsonNull()) && !jsonObj.get("linenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linenumber").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").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("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("customerpartnumber") != null && !jsonObj.get("customerpartnumber").isJsonNull()) && !jsonObj.get("customerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerpartnumber").toString())); - } - if ((jsonObj.get("UPCCode") != null && !jsonObj.get("UPCCode").isJsonNull()) && !jsonObj.get("UPCCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UPCCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UPCCode").toString())); - } - if ((jsonObj.get("warehouseid") != null && !jsonObj.get("warehouseid").isJsonNull()) && !jsonObj.get("warehouseid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehouseid").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())); - } - // validate the optional field `enduser` - if (jsonObj.get("enduser") != null && !jsonObj.get("enduser").isJsonNull()) { - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.validateJsonElement(jsonObj.get("enduser")); - } - if (jsonObj.get("productextendedspecs") != null && !jsonObj.get("productextendedspecs").isJsonNull()) { - JsonArray jsonArrayproductextendedspecs = jsonObj.getAsJsonArray("productextendedspecs"); - if (jsonArrayproductextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("productextendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productextendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("productextendedspecs").toString())); - } - - // validate the optional field `productextendedspecs` (array) - for (int i = 0; i < jsonArrayproductextendedspecs.size(); i++) { - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.validateJsonElement(jsonArrayproductextendedspecs.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.java deleted file mode 100644 index a591a4b2..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.java +++ /dev/null @@ -1,525 +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.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; - -/** - * OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public static final String SERIALIZED_NAME_PHONENUMBER = "phonenumber"; - @SerializedName(SERIALIZED_NAME_PHONENUMBER) - private String phonenumber; - - public static final String SERIALIZED_NAME_EXTENSIONNUMBER = "extensionnumber"; - @SerializedName(SERIALIZED_NAME_EXTENSIONNUMBER) - private String extensionnumber; - - public static final String SERIALIZED_NAME_FAXNUMBER = "faxnumber"; - @SerializedName(SERIALIZED_NAME_FAXNUMBER) - private String faxnumber; - - public static final String SERIALIZED_NAME_EMAIL = "email"; - @SerializedName(SERIALIZED_NAME_EMAIL) - private String email; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser id(String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Get addressline1 - * @return addressline1 - **/ - @javax.annotation.Nullable - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Get addressline2 - * @return addressline2 - **/ - @javax.annotation.Nullable - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Get addressline3 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser phonenumber(String phonenumber) { - this.phonenumber = phonenumber; - return this; - } - - /** - * Get phonenumber - * @return phonenumber - **/ - @javax.annotation.Nullable - public String getPhonenumber() { - return phonenumber; - } - - public void setPhonenumber(String phonenumber) { - this.phonenumber = phonenumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser extensionnumber(String extensionnumber) { - this.extensionnumber = extensionnumber; - return this; - } - - /** - * Get extensionnumber - * @return extensionnumber - **/ - @javax.annotation.Nullable - public String getExtensionnumber() { - return extensionnumber; - } - - public void setExtensionnumber(String extensionnumber) { - this.extensionnumber = extensionnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser faxnumber(String faxnumber) { - this.faxnumber = faxnumber; - return this; - } - - /** - * Get faxnumber - * @return faxnumber - **/ - @javax.annotation.Nullable - public String getFaxnumber() { - return faxnumber; - } - - public void setFaxnumber(String faxnumber) { - this.faxnumber = faxnumber; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser email(String email) { - this.email = email; - return this; - } - - /** - * Get email - * @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; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser = (OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser) o; - return Objects.equals(this.id, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.id) && - Objects.equals(this.addressline1, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.addressline1) && - Objects.equals(this.addressline2, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.addressline2) && - Objects.equals(this.addressline3, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.addressline3) && - Objects.equals(this.city, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.city) && - Objects.equals(this.state, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.state) && - Objects.equals(this.postalcode, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.postalcode) && - Objects.equals(this.countrycode, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.countrycode) && - Objects.equals(this.phonenumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.phonenumber) && - Objects.equals(this.extensionnumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.extensionnumber) && - Objects.equals(this.faxnumber, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.faxnumber) && - Objects.equals(this.email, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.email); - } - - @Override - public int hashCode() { - return Objects.hash(id, addressline1, addressline2, addressline3, city, state, postalcode, countrycode, phonenumber, extensionnumber, faxnumber, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser {\n"); - sb.append(" id: ").append(toIndentedString(id)).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(" phonenumber: ").append(toIndentedString(phonenumber)).append("\n"); - sb.append(" extensionnumber: ").append(toIndentedString(extensionnumber)).append("\n"); - sb.append(" faxnumber: ").append(toIndentedString(faxnumber)).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("id"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - openapiFields.add("phonenumber"); - openapiFields.add("extensionnumber"); - openapiFields.add("faxnumber"); - 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 OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").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("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("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("extensionnumber") != null && !jsonObj.get("extensionnumber").isJsonNull()) && !jsonObj.get("extensionnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extensionnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extensionnumber").toString())); - } - if ((jsonObj.get("faxnumber") != null && !jsonObj.get("faxnumber").isJsonNull()) && !jsonObj.get("faxnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `faxnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("faxnumber").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 (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.java deleted file mode 100644 index 09cf230d..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.java +++ /dev/null @@ -1,301 +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.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; - -/** - * OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner { - /** - * Gets or Sets attributename - */ - @JsonAdapter(AttributenameEnum.Adapter.class) - public enum AttributenameEnum { - SHIPFROM("shipfrom"), - - SPECIALPRICE("specialprice"), - - AUTHBIDNUMBER("authbidnumber"), - - COMMENTTEXT("commenttext"), - - SERIALNUMBER("serialnumber"), - - CONTACTNUMBER("contactnumber"), - - SHIPNOTESTXT("shipnotestxt"); - - private String value; - - AttributenameEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static AttributenameEnum fromValue(String value) { - for (AttributenameEnum b : AttributenameEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final AttributenameEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public AttributenameEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return AttributenameEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - AttributenameEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) - private AttributenameEnum attributename; - - public static final String SERIALIZED_NAME_ATTRIBUTEVALUE = "attributevalue"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTEVALUE) - private String attributevalue; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner attributename(AttributenameEnum attributename) { - this.attributename = attributename; - return this; - } - - /** - * Get attributename - * @return attributename - **/ - @javax.annotation.Nullable - public AttributenameEnum getAttributename() { - return attributename; - } - - public void setAttributename(AttributenameEnum attributename) { - this.attributename = attributename; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner attributevalue(String attributevalue) { - this.attributevalue = attributevalue; - return this; - } - - /** - * Get attributevalue - * @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; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner = (OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner) o; - return Objects.equals(this.attributename, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.attributename) && - Objects.equals(this.attributevalue, orderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.attributevalue); - } - - @Override - public int hashCode() { - return Objects.hash(attributename, attributevalue); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner {\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 OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner` 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())); - } - // validate the optional field `attributename` - if (jsonObj.get("attributename") != null && !jsonObj.get("attributename").isJsonNull()) { - AttributenameEnum.validateJsonElement(jsonObj.get("attributename")); - } - 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 (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.java deleted file mode 100644 index deb26bc5..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.java +++ /dev/null @@ -1,421 +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.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; - -/** - * OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress { - public static final String SERIALIZED_NAME_ATTENTION = "attention"; - @SerializedName(SERIALIZED_NAME_ATTENTION) - private String attention; - - public static final String SERIALIZED_NAME_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress() { - } - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress attention(String attention) { - this.attention = attention; - return this; - } - - /** - * Customer contact name - * @return attention - **/ - @javax.annotation.Nullable - public String getAttention() { - return attention; - } - - public void setAttention(String attention) { - this.attention = attention; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Company Name or person to deliver. *If there isn’t an attention line please add the company name on address line 1. UPS and FedEx will create surcharges if address line 1 contains a physical address. - * @return addressline1 - **/ - @javax.annotation.Nonnull - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Street address for delivery - * @return addressline2 - **/ - @javax.annotation.Nonnull - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Continuation of address line 2 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress city(String city) { - this.city = city; - return this; - } - - /** - * Ship to city - * @return city - **/ - @javax.annotation.Nonnull - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress state(String state) { - this.state = state; - return this; - } - - /** - * Ship to State or Region - * @return state - **/ - @javax.annotation.Nonnull - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Ship to Zip code or Postal code - * @return postalcode - **/ - @javax.annotation.Nonnull - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Ship to country - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress = (OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress) o; - return Objects.equals(this.attention, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.attention) && - Objects.equals(this.addressline1, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.addressline1) && - Objects.equals(this.addressline2, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.addressline2) && - Objects.equals(this.addressline3, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.addressline3) && - Objects.equals(this.city, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.city) && - Objects.equals(this.state, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.state) && - Objects.equals(this.postalcode, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.postalcode) && - Objects.equals(this.countrycode, orderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.countrycode); - } - - @Override - public int hashCode() { - return Objects.hash(attention, addressline1, addressline2, addressline3, city, state, postalcode, countrycode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress {\n"); - sb.append(" attention: ").append(toIndentedString(attention)).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("}"); - 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("attention"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("addressline1"); - openapiRequiredFields.add("addressline2"); - openapiRequiredFields.add("city"); - openapiRequiredFields.add("state"); - openapiRequiredFields.add("postalcode"); - } - - /** - * 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 OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("attention") != null && !jsonObj.get("attention").isJsonNull()) && !jsonObj.get("attention").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attention` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attention").toString())); - } - if (!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").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("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").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").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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - */ - public static OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreamble.java deleted file mode 100644 index 97d5a140..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * OrderCreateRequestOrdercreaterequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateRequestOrdercreaterequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public OrderCreateRequestOrdercreaterequestRequestpreamble() { - } - - public OrderCreateRequestOrdercreaterequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * 2 digit ISO country code - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public OrderCreateRequestOrdercreaterequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Your unique Ingram Micro customer number - * @return customernumber - **/ - @javax.annotation.Nonnull - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateRequestOrdercreaterequestRequestpreamble orderCreateRequestOrdercreaterequestRequestpreamble = (OrderCreateRequestOrdercreaterequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, orderCreateRequestOrdercreaterequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, orderCreateRequestOrdercreaterequestRequestpreamble.customernumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateRequestOrdercreaterequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customernumber"); - } - - /** - * 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 OrderCreateRequestOrdercreaterequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateRequestOrdercreaterequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateRequestOrdercreaterequestRequestpreamble is not found in the empty JSON string", OrderCreateRequestOrdercreaterequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateRequestOrdercreaterequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateRequestOrdercreaterequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderCreateRequestOrdercreaterequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateRequestOrdercreaterequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateRequestOrdercreaterequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateRequestOrdercreaterequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateRequestOrdercreaterequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateRequestOrdercreaterequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateRequestOrdercreaterequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateRequestOrdercreaterequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to OrderCreateRequestOrdercreaterequestRequestpreamble - */ - public static OrderCreateRequestOrdercreaterequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateRequestOrdercreaterequestRequestpreamble.class); - } - - /** - * Convert an instance of OrderCreateRequestOrdercreaterequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java index 60b5a04f..2df88bd6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 36db6fd4..1b7ef96d 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 bc4142a4..cd06a796 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 f285bfe0..a3f919b7 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 8e7f5afb..90f02740 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,13 @@ 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 xiresellers.client.model.OrderCreateResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderCreateResponseEndUserInfo; +import xiresellers.client.model.OrderCreateResponseOrdersInner; +import xiresellers.client.model.OrderCreateResponseShipToInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +53,248 @@ import xiresellers.client.JSON; /** - * Response schema for order create endpoint + * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderCreateResponseServiceresponse serviceresponse; + 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_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_ORDER_SPLIT = "orderSplit"; + @SerializedName(SERIALIZED_NAME_ORDER_SPLIT) + private Boolean orderSplit; + + public static final String SERIALIZED_NAME_PROCESSED_PARTIALLY = "processedPartially"; + @SerializedName(SERIALIZED_NAME_PROCESSED_PARTIALLY) + private Boolean processedPartially; + + public static final String SERIALIZED_NAME_PURCHASE_ORDER_TOTAL = "purchaseOrderTotal"; + @SerializedName(SERIALIZED_NAME_PURCHASE_ORDER_TOTAL) + private BigDecimal purchaseOrderTotal; + + public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private OrderCreateResponseShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private OrderCreateResponseEndUserInfo endUserInfo; + + public static final String SERIALIZED_NAME_ORDERS = "orders"; + @SerializedName(SERIALIZED_NAME_ORDERS) + private List orders; public OrderCreateResponse() { } - public OrderCreateResponse serviceresponse(OrderCreateResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public OrderCreateResponse customerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; return this; } /** - * Get serviceresponse - * @return serviceresponse + * The reseller's unique PO/Order number. + * @return customerOrderNumber **/ @javax.annotation.Nullable - public OrderCreateResponseServiceresponse getServiceresponse() { - return serviceresponse; + public String getCustomerOrderNumber() { + return customerOrderNumber; + } + + public void setCustomerOrderNumber(String customerOrderNumber) { + this.customerOrderNumber = customerOrderNumber; } - public void setServiceresponse(OrderCreateResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + + public OrderCreateResponse endCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + return this; + } + + /** + * The end user/customer's Purchase Order number. + * @return endCustomerOrderNumber + **/ + @javax.annotation.Nullable + public String getEndCustomerOrderNumber() { + return endCustomerOrderNumber; + } + + public void setEndCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + } + + + public OrderCreateResponse 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 OrderCreateResponse specialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + return this; + } + + /** + * The bid number 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 OrderCreateResponse orderSplit(Boolean orderSplit) { + this.orderSplit = orderSplit; + return this; + } + + /** + * true for multiple orders + * @return orderSplit + **/ + @javax.annotation.Nullable + public Boolean getOrderSplit() { + return orderSplit; + } + + public void setOrderSplit(Boolean orderSplit) { + this.orderSplit = orderSplit; + } + + + public OrderCreateResponse processedPartially(Boolean processedPartially) { + this.processedPartially = processedPartially; + return this; + } + + /** + * true for partial order succesfully placed + * @return processedPartially + **/ + @javax.annotation.Nullable + public Boolean getProcessedPartially() { + return processedPartially; + } + + public void setProcessedPartially(Boolean processedPartially) { + this.processedPartially = processedPartially; + } + + + public OrderCreateResponse purchaseOrderTotal(BigDecimal purchaseOrderTotal) { + this.purchaseOrderTotal = purchaseOrderTotal; + return this; + } + + /** + * Total of all the orders including taxes and fees. + * @return purchaseOrderTotal + **/ + @javax.annotation.Nullable + public BigDecimal getPurchaseOrderTotal() { + return purchaseOrderTotal; + } + + public void setPurchaseOrderTotal(BigDecimal purchaseOrderTotal) { + this.purchaseOrderTotal = purchaseOrderTotal; + } + + + public OrderCreateResponse shipToInfo(OrderCreateResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + return this; + } + + /** + * Get shipToInfo + * @return shipToInfo + **/ + @javax.annotation.Nullable + public OrderCreateResponseShipToInfo getShipToInfo() { + return shipToInfo; + } + + public void setShipToInfo(OrderCreateResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public OrderCreateResponse endUserInfo(OrderCreateResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + return this; + } + + /** + * Get endUserInfo + * @return endUserInfo + **/ + @javax.annotation.Nullable + public OrderCreateResponseEndUserInfo getEndUserInfo() { + return endUserInfo; + } + + public void setEndUserInfo(OrderCreateResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + public OrderCreateResponse orders(List orders) { + this.orders = orders; + return this; + } + + public OrderCreateResponse addOrdersItem(OrderCreateResponseOrdersInner ordersItem) { + if (this.orders == null) { + this.orders = new ArrayList<>(); + } + this.orders.add(ordersItem); + return this; + } + + /** + * Order-level details. + * @return orders + **/ + @javax.annotation.Nullable + public List getOrders() { + return orders; + } + + public void setOrders(List orders) { + this.orders = orders; } @@ -88,19 +308,37 @@ public boolean equals(Object o) { return false; } OrderCreateResponse orderCreateResponse = (OrderCreateResponse) o; - return Objects.equals(this.serviceresponse, orderCreateResponse.serviceresponse); + return Objects.equals(this.customerOrderNumber, orderCreateResponse.customerOrderNumber) && + Objects.equals(this.endCustomerOrderNumber, orderCreateResponse.endCustomerOrderNumber) && + Objects.equals(this.billToAddressId, orderCreateResponse.billToAddressId) && + Objects.equals(this.specialBidNumber, orderCreateResponse.specialBidNumber) && + Objects.equals(this.orderSplit, orderCreateResponse.orderSplit) && + Objects.equals(this.processedPartially, orderCreateResponse.processedPartially) && + Objects.equals(this.purchaseOrderTotal, orderCreateResponse.purchaseOrderTotal) && + Objects.equals(this.shipToInfo, orderCreateResponse.shipToInfo) && + Objects.equals(this.endUserInfo, orderCreateResponse.endUserInfo) && + Objects.equals(this.orders, orderCreateResponse.orders); } @Override public int hashCode() { - return Objects.hash(serviceresponse); + return Objects.hash(customerOrderNumber, endCustomerOrderNumber, billToAddressId, specialBidNumber, orderSplit, processedPartially, purchaseOrderTotal, shipToInfo, endUserInfo, orders); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderCreateResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).append("\n"); + sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); + sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); + sb.append(" billToAddressId: ").append(toIndentedString(billToAddressId)).append("\n"); + sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); + sb.append(" orderSplit: ").append(toIndentedString(orderSplit)).append("\n"); + sb.append(" processedPartially: ").append(toIndentedString(processedPartially)).append("\n"); + sb.append(" purchaseOrderTotal: ").append(toIndentedString(purchaseOrderTotal)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append(" orders: ").append(toIndentedString(orders)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +361,16 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("serviceresponse"); + openapiFields.add("customerOrderNumber"); + openapiFields.add("endCustomerOrderNumber"); + openapiFields.add("billToAddressId"); + openapiFields.add("specialBidNumber"); + openapiFields.add("orderSplit"); + openapiFields.add("processedPartially"); + openapiFields.add("purchaseOrderTotal"); + openapiFields.add("shipToInfo"); + openapiFields.add("endUserInfo"); + openapiFields.add("orders"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +397,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderCreateResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); + 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("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())); + } + // validate the optional field `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + OrderCreateResponseShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + // validate the optional field `endUserInfo` + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + OrderCreateResponseEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); + } + if (jsonObj.get("orders") != null && !jsonObj.get("orders").isJsonNull()) { + JsonArray jsonArrayorders = jsonObj.getAsJsonArray("orders"); + if (jsonArrayorders != null) { + // ensure the json data is an array + if (!jsonObj.get("orders").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `orders` to be an array in the JSON string but got `%s`", jsonObj.get("orders").toString())); + } + + // validate the optional field `orders` (array) + for (int i = 0; i < jsonArrayorders.size(); i++) { + OrderCreateResponseOrdersInner.validateJsonElement(jsonArrayorders.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index 5a9308bd..c3fb206a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 45f3423d..ec463913 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index 48f0545b..a471524b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 cf25f969..5b21ec6b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderCreateResponseOrdersInnerLinesInner { 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/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index 533baeb3..da7b96dc 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 5d51919d..873422ee 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 948f3f8f..07a231df 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 263cab74..2277f14b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 cfa91378..19686f56 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderCreateResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponse.java deleted file mode 100644 index 6ccd8f76..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponse.java +++ /dev/null @@ -1,290 +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.InvoiceDetailResponseServiceresponseResponsepreamble; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInner; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummary; - -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; - -/** - * OrderCreateResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_ORDERSUMMARY = "ordersummary"; - @SerializedName(SERIALIZED_NAME_ORDERSUMMARY) - private OrderCreateResponseServiceresponseOrdersummary ordersummary; - - public static final String SERIALIZED_NAME_ORDERCREATERESPONSE = "ordercreateresponse"; - @SerializedName(SERIALIZED_NAME_ORDERCREATERESPONSE) - private List ordercreateresponse; - - public OrderCreateResponseServiceresponse() { - } - - public OrderCreateResponseServiceresponse responsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public OrderCreateResponseServiceresponse ordersummary(OrderCreateResponseServiceresponseOrdersummary ordersummary) { - this.ordersummary = ordersummary; - return this; - } - - /** - * Get ordersummary - * @return ordersummary - **/ - @javax.annotation.Nullable - public OrderCreateResponseServiceresponseOrdersummary getOrdersummary() { - return ordersummary; - } - - public void setOrdersummary(OrderCreateResponseServiceresponseOrdersummary ordersummary) { - this.ordersummary = ordersummary; - } - - - public OrderCreateResponseServiceresponse ordercreateresponse(List ordercreateresponse) { - this.ordercreateresponse = ordercreateresponse; - return this; - } - - public OrderCreateResponseServiceresponse addOrdercreateresponseItem(OrderCreateResponseServiceresponseOrdercreateresponseInner ordercreateresponseItem) { - if (this.ordercreateresponse == null) { - this.ordercreateresponse = new ArrayList<>(); - } - this.ordercreateresponse.add(ordercreateresponseItem); - return this; - } - - /** - * Collection of orders - * @return ordercreateresponse - **/ - @javax.annotation.Nullable - public List getOrdercreateresponse() { - return ordercreateresponse; - } - - public void setOrdercreateresponse(List ordercreateresponse) { - this.ordercreateresponse = ordercreateresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateResponseServiceresponse orderCreateResponseServiceresponse = (OrderCreateResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, orderCreateResponseServiceresponse.responsepreamble) && - Objects.equals(this.ordersummary, orderCreateResponseServiceresponse.ordersummary) && - Objects.equals(this.ordercreateresponse, orderCreateResponseServiceresponse.ordercreateresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, ordersummary, ordercreateresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" ordersummary: ").append(toIndentedString(ordersummary)).append("\n"); - sb.append(" ordercreateresponse: ").append(toIndentedString(ordercreateresponse)).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("responsepreamble"); - openapiFields.add("ordersummary"); - openapiFields.add("ordercreateresponse"); - - // 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 OrderCreateResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateResponseServiceresponse is not found in the empty JSON string", OrderCreateResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - InvoiceDetailResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `ordersummary` - if (jsonObj.get("ordersummary") != null && !jsonObj.get("ordersummary").isJsonNull()) { - OrderCreateResponseServiceresponseOrdersummary.validateJsonElement(jsonObj.get("ordersummary")); - } - if (jsonObj.get("ordercreateresponse") != null && !jsonObj.get("ordercreateresponse").isJsonNull()) { - JsonArray jsonArrayordercreateresponse = jsonObj.getAsJsonArray("ordercreateresponse"); - if (jsonArrayordercreateresponse != null) { - // ensure the json data is an array - if (!jsonObj.get("ordercreateresponse").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ordercreateresponse` to be an array in the JSON string but got `%s`", jsonObj.get("ordercreateresponse").toString())); - } - - // validate the optional field `ordercreateresponse` (array) - for (int i = 0; i < jsonArrayordercreateresponse.size(); i++) { - OrderCreateResponseServiceresponseOrdercreateresponseInner.validateJsonElement(jsonArrayordercreateresponse.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to OrderCreateResponseServiceresponse - */ - public static OrderCreateResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateResponseServiceresponse.class); - } - - /** - * Convert an instance of OrderCreateResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInner.java deleted file mode 100644 index e071c2bf..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInner.java +++ /dev/null @@ -1,566 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner; - -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; - -/** - * OrderCreateResponseServiceresponseOrdercreateresponseInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateResponseServiceresponseOrdercreateresponseInner { - public static final String SERIALIZED_NAME_NUMBEROFLINESWITHSUCCESS = "numberoflineswithsuccess"; - @SerializedName(SERIALIZED_NAME_NUMBEROFLINESWITHSUCCESS) - private String numberoflineswithsuccess; - - public static final String SERIALIZED_NAME_NUMBEROFLINESWITHERROR = "numberoflineswitherror"; - @SerializedName(SERIALIZED_NAME_NUMBEROFLINESWITHERROR) - private String numberoflineswitherror; - - public static final String SERIALIZED_NAME_NUMBEROFLINESWITHWARNING = "numberoflineswithwarning"; - @SerializedName(SERIALIZED_NAME_NUMBEROFLINESWITHWARNING) - private String numberoflineswithwarning; - - public static final String SERIALIZED_NAME_GLOBALORDERID = "globalorderid"; - @SerializedName(SERIALIZED_NAME_GLOBALORDERID) - private String globalorderid; - - /** - * S=Stocked PO D=Direct Ship PO - */ - @JsonAdapter(OrdertypeEnum.Adapter.class) - public enum OrdertypeEnum { - S("S"), - - D("D"); - - private String value; - - OrdertypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static OrdertypeEnum fromValue(String value) { - for (OrdertypeEnum b : OrdertypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final OrdertypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public OrdertypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return OrdertypeEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - OrdertypeEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ORDERTYPE = "ordertype"; - @SerializedName(SERIALIZED_NAME_ORDERTYPE) - private OrdertypeEnum ordertype; - - public static final String SERIALIZED_NAME_ORDERTIMESTAMP = "ordertimestamp"; - @SerializedName(SERIALIZED_NAME_ORDERTIMESTAMP) - private String ordertimestamp; - - public static final String SERIALIZED_NAME_INVOICINGSYSTEMORDERID = "invoicingsystemorderid"; - @SerializedName(SERIALIZED_NAME_INVOICINGSYSTEMORDERID) - private String invoicingsystemorderid; - - public static final String SERIALIZED_NAME_TAXAMOUNT = "taxamount"; - @SerializedName(SERIALIZED_NAME_TAXAMOUNT) - private BigDecimal taxamount; - - public static final String SERIALIZED_NAME_FREIGHTAMOUNT = "freightamount"; - @SerializedName(SERIALIZED_NAME_FREIGHTAMOUNT) - private BigDecimal freightamount; - - public static final String SERIALIZED_NAME_ORDERAMOUNT = "orderamount"; - @SerializedName(SERIALIZED_NAME_ORDERAMOUNT) - private BigDecimal orderamount; - - public static final String SERIALIZED_NAME_LINES = "Lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines; - - public OrderCreateResponseServiceresponseOrdercreateresponseInner() { - } - - public OrderCreateResponseServiceresponseOrdercreateresponseInner numberoflineswithsuccess(String numberoflineswithsuccess) { - this.numberoflineswithsuccess = numberoflineswithsuccess; - return this; - } - - /** - * Number of line items that were successful - * @return numberoflineswithsuccess - **/ - @javax.annotation.Nullable - public String getNumberoflineswithsuccess() { - return numberoflineswithsuccess; - } - - public void setNumberoflineswithsuccess(String numberoflineswithsuccess) { - this.numberoflineswithsuccess = numberoflineswithsuccess; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner numberoflineswitherror(String numberoflineswitherror) { - this.numberoflineswitherror = numberoflineswitherror; - return this; - } - - /** - * Number of line items with error - * @return numberoflineswitherror - **/ - @javax.annotation.Nullable - public String getNumberoflineswitherror() { - return numberoflineswitherror; - } - - public void setNumberoflineswitherror(String numberoflineswitherror) { - this.numberoflineswitherror = numberoflineswitherror; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner numberoflineswithwarning(String numberoflineswithwarning) { - this.numberoflineswithwarning = numberoflineswithwarning; - return this; - } - - /** - * Number of line items with warnings - * @return numberoflineswithwarning - **/ - @javax.annotation.Nullable - public String getNumberoflineswithwarning() { - return numberoflineswithwarning; - } - - public void setNumberoflineswithwarning(String numberoflineswithwarning) { - this.numberoflineswithwarning = numberoflineswithwarning; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner globalorderid(String globalorderid) { - this.globalorderid = globalorderid; - return this; - } - - /** - * Ingram sales order number - * @return globalorderid - **/ - @javax.annotation.Nullable - public String getGlobalorderid() { - return globalorderid; - } - - public void setGlobalorderid(String globalorderid) { - this.globalorderid = globalorderid; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner ordertype(OrdertypeEnum ordertype) { - this.ordertype = ordertype; - return this; - } - - /** - * S=Stocked PO D=Direct Ship PO - * @return ordertype - **/ - @javax.annotation.Nullable - public OrdertypeEnum getOrdertype() { - return ordertype; - } - - public void setOrdertype(OrdertypeEnum ordertype) { - this.ordertype = ordertype; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner ordertimestamp(String ordertimestamp) { - this.ordertimestamp = ordertimestamp; - return this; - } - - /** - * Time order received - * @return ordertimestamp - **/ - @javax.annotation.Nullable - public String getOrdertimestamp() { - return ordertimestamp; - } - - public void setOrdertimestamp(String ordertimestamp) { - this.ordertimestamp = ordertimestamp; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner invoicingsystemorderid(String invoicingsystemorderid) { - this.invoicingsystemorderid = invoicingsystemorderid; - return this; - } - - /** - * Ingram Micro generated order number - * @return invoicingsystemorderid - **/ - @javax.annotation.Nullable - public String getInvoicingsystemorderid() { - return invoicingsystemorderid; - } - - public void setInvoicingsystemorderid(String invoicingsystemorderid) { - this.invoicingsystemorderid = invoicingsystemorderid; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner taxamount(BigDecimal taxamount) { - this.taxamount = taxamount; - return this; - } - - /** - * Get taxamount - * @return taxamount - **/ - @javax.annotation.Nullable - public BigDecimal getTaxamount() { - return taxamount; - } - - public void setTaxamount(BigDecimal taxamount) { - this.taxamount = taxamount; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner freightamount(BigDecimal freightamount) { - this.freightamount = freightamount; - return this; - } - - /** - * Freight amount customer pays for freight - * @return freightamount - **/ - @javax.annotation.Nullable - public BigDecimal getFreightamount() { - return freightamount; - } - - public void setFreightamount(BigDecimal freightamount) { - this.freightamount = freightamount; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner orderamount(BigDecimal orderamount) { - this.orderamount = orderamount; - return this; - } - - /** - * Total amount of order with freight and taxes - * @return orderamount - **/ - @javax.annotation.Nullable - public BigDecimal getOrderamount() { - return orderamount; - } - - public void setOrderamount(BigDecimal orderamount) { - this.orderamount = orderamount; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInner lines(List lines) { - this.lines = lines; - return this; - } - - public OrderCreateResponseServiceresponseOrdercreateresponseInner addLinesItem(OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * Collection of lines - * @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; - } - OrderCreateResponseServiceresponseOrdercreateresponseInner orderCreateResponseServiceresponseOrdercreateresponseInner = (OrderCreateResponseServiceresponseOrdercreateresponseInner) o; - return Objects.equals(this.numberoflineswithsuccess, orderCreateResponseServiceresponseOrdercreateresponseInner.numberoflineswithsuccess) && - Objects.equals(this.numberoflineswitherror, orderCreateResponseServiceresponseOrdercreateresponseInner.numberoflineswitherror) && - Objects.equals(this.numberoflineswithwarning, orderCreateResponseServiceresponseOrdercreateresponseInner.numberoflineswithwarning) && - Objects.equals(this.globalorderid, orderCreateResponseServiceresponseOrdercreateresponseInner.globalorderid) && - Objects.equals(this.ordertype, orderCreateResponseServiceresponseOrdercreateresponseInner.ordertype) && - Objects.equals(this.ordertimestamp, orderCreateResponseServiceresponseOrdercreateresponseInner.ordertimestamp) && - Objects.equals(this.invoicingsystemorderid, orderCreateResponseServiceresponseOrdercreateresponseInner.invoicingsystemorderid) && - Objects.equals(this.taxamount, orderCreateResponseServiceresponseOrdercreateresponseInner.taxamount) && - Objects.equals(this.freightamount, orderCreateResponseServiceresponseOrdercreateresponseInner.freightamount) && - Objects.equals(this.orderamount, orderCreateResponseServiceresponseOrdercreateresponseInner.orderamount) && - Objects.equals(this.lines, orderCreateResponseServiceresponseOrdercreateresponseInner.lines); - } - - @Override - public int hashCode() { - return Objects.hash(numberoflineswithsuccess, numberoflineswitherror, numberoflineswithwarning, globalorderid, ordertype, ordertimestamp, invoicingsystemorderid, taxamount, freightamount, orderamount, lines); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateResponseServiceresponseOrdercreateresponseInner {\n"); - sb.append(" numberoflineswithsuccess: ").append(toIndentedString(numberoflineswithsuccess)).append("\n"); - sb.append(" numberoflineswitherror: ").append(toIndentedString(numberoflineswitherror)).append("\n"); - sb.append(" numberoflineswithwarning: ").append(toIndentedString(numberoflineswithwarning)).append("\n"); - sb.append(" globalorderid: ").append(toIndentedString(globalorderid)).append("\n"); - sb.append(" ordertype: ").append(toIndentedString(ordertype)).append("\n"); - sb.append(" ordertimestamp: ").append(toIndentedString(ordertimestamp)).append("\n"); - sb.append(" invoicingsystemorderid: ").append(toIndentedString(invoicingsystemorderid)).append("\n"); - sb.append(" taxamount: ").append(toIndentedString(taxamount)).append("\n"); - sb.append(" freightamount: ").append(toIndentedString(freightamount)).append("\n"); - sb.append(" orderamount: ").append(toIndentedString(orderamount)).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("numberoflineswithsuccess"); - openapiFields.add("numberoflineswitherror"); - openapiFields.add("numberoflineswithwarning"); - openapiFields.add("globalorderid"); - openapiFields.add("ordertype"); - openapiFields.add("ordertimestamp"); - openapiFields.add("invoicingsystemorderid"); - openapiFields.add("taxamount"); - openapiFields.add("freightamount"); - openapiFields.add("orderamount"); - 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 OrderCreateResponseServiceresponseOrdercreateresponseInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateResponseServiceresponseOrdercreateresponseInner is not found in the empty JSON string", OrderCreateResponseServiceresponseOrdercreateresponseInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateResponseServiceresponseOrdercreateresponseInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("numberoflineswithsuccess") != null && !jsonObj.get("numberoflineswithsuccess").isJsonNull()) && !jsonObj.get("numberoflineswithsuccess").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `numberoflineswithsuccess` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberoflineswithsuccess").toString())); - } - if ((jsonObj.get("numberoflineswitherror") != null && !jsonObj.get("numberoflineswitherror").isJsonNull()) && !jsonObj.get("numberoflineswitherror").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `numberoflineswitherror` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberoflineswitherror").toString())); - } - if ((jsonObj.get("numberoflineswithwarning") != null && !jsonObj.get("numberoflineswithwarning").isJsonNull()) && !jsonObj.get("numberoflineswithwarning").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `numberoflineswithwarning` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberoflineswithwarning").toString())); - } - if ((jsonObj.get("globalorderid") != null && !jsonObj.get("globalorderid").isJsonNull()) && !jsonObj.get("globalorderid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalorderid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalorderid").toString())); - } - if ((jsonObj.get("ordertype") != null && !jsonObj.get("ordertype").isJsonNull()) && !jsonObj.get("ordertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertype").toString())); - } - // validate the optional field `ordertype` - if (jsonObj.get("ordertype") != null && !jsonObj.get("ordertype").isJsonNull()) { - OrdertypeEnum.validateJsonElement(jsonObj.get("ordertype")); - } - if ((jsonObj.get("ordertimestamp") != null && !jsonObj.get("ordertimestamp").isJsonNull()) && !jsonObj.get("ordertimestamp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordertimestamp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertimestamp").toString())); - } - if ((jsonObj.get("invoicingsystemorderid") != null && !jsonObj.get("invoicingsystemorderid").isJsonNull()) && !jsonObj.get("invoicingsystemorderid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicingsystemorderid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicingsystemorderid").toString())); - } - 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++) { - OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.validateJsonElement(jsonArraylines.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateResponseServiceresponseOrdercreateresponseInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateResponseServiceresponseOrdercreateresponseInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateResponseServiceresponseOrdercreateresponseInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateResponseServiceresponseOrdercreateresponseInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateResponseServiceresponseOrdercreateresponseInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateResponseServiceresponseOrdercreateresponseInner - * @throws IOException if the JSON string is invalid with respect to OrderCreateResponseServiceresponseOrdercreateresponseInner - */ - public static OrderCreateResponseServiceresponseOrdercreateresponseInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateResponseServiceresponseOrdercreateresponseInner.class); - } - - /** - * Convert an instance of OrderCreateResponseServiceresponseOrdercreateresponseInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.java deleted file mode 100644 index bfb61caa..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.java +++ /dev/null @@ -1,595 +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.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; - -/** - * OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner { - public static final String SERIALIZED_NAME_LINETYPE = "linetype"; - @SerializedName(SERIALIZED_NAME_LINETYPE) - private String linetype; - - public static final String SERIALIZED_NAME_GLOBALLINENUMBER = "globallinenumber"; - @SerializedName(SERIALIZED_NAME_GLOBALLINENUMBER) - private String globallinenumber; - - public static final String SERIALIZED_NAME_PARTNUMBER = "partnumber"; - @SerializedName(SERIALIZED_NAME_PARTNUMBER) - private String partnumber; - - public static final String SERIALIZED_NAME_GLOBALSKUID = "globalskuid"; - @SerializedName(SERIALIZED_NAME_GLOBALSKUID) - private String globalskuid; - - public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; - @SerializedName(SERIALIZED_NAME_LINENUMBER) - private String linenumber; - - public static final String SERIALIZED_NAME_CARRIERCODE = "carriercode"; - @SerializedName(SERIALIZED_NAME_CARRIERCODE) - private String carriercode; - - public static final String SERIALIZED_NAME_CARRIERDESCRIPTION = "carrierdescription"; - @SerializedName(SERIALIZED_NAME_CARRIERDESCRIPTION) - private String carrierdescription; - - public static final String SERIALIZED_NAME_REQUESTEDUNITPRICE = "requestedunitprice"; - @SerializedName(SERIALIZED_NAME_REQUESTEDUNITPRICE) - private BigDecimal requestedunitprice; - - public static final String SERIALIZED_NAME_REQUESTEDQUANTITY = "requestedquantity"; - @SerializedName(SERIALIZED_NAME_REQUESTEDQUANTITY) - private Integer requestedquantity; - - public static final String SERIALIZED_NAME_CONFIRMEDQUANTITY = "confirmedquantity"; - @SerializedName(SERIALIZED_NAME_CONFIRMEDQUANTITY) - private Integer confirmedquantity; - - public static final String SERIALIZED_NAME_BACKORDEREDQUANTITY = "backorderedquantity"; - @SerializedName(SERIALIZED_NAME_BACKORDEREDQUANTITY) - private Integer backorderedquantity; - - public static final String SERIALIZED_NAME_UNITPRODUCTPRICE = "unitproductprice"; - @SerializedName(SERIALIZED_NAME_UNITPRODUCTPRICE) - private BigDecimal unitproductprice; - - public static final String SERIALIZED_NAME_NETAMOUNT = "netamount"; - @SerializedName(SERIALIZED_NAME_NETAMOUNT) - private BigDecimal netamount; - - public static final String SERIALIZED_NAME_WAREHOUSEID = "warehouseid"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEID) - private String warehouseid; - - public static final String SERIALIZED_NAME_ORDERSUFFIX = "ordersuffix"; - @SerializedName(SERIALIZED_NAME_ORDERSUFFIX) - private String ordersuffix; - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner() { - } - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner linetype(String linetype) { - this.linetype = linetype; - return this; - } - - /** - * “P”-Line or SKU Number “C”-Comment Line - * @return linetype - **/ - @javax.annotation.Nullable - public String getLinetype() { - return linetype; - } - - public void setLinetype(String linetype) { - this.linetype = linetype; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner globallinenumber(String globallinenumber) { - this.globallinenumber = globallinenumber; - return this; - } - - /** - * Ingram generated line number - * @return globallinenumber - **/ - @javax.annotation.Nullable - public String getGloballinenumber() { - return globallinenumber; - } - - public void setGloballinenumber(String globallinenumber) { - this.globallinenumber = globallinenumber; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner partnumber(String partnumber) { - this.partnumber = partnumber; - return this; - } - - /** - * Ingram Micro Sku Number - * @return partnumber - **/ - @javax.annotation.Nullable - public String getPartnumber() { - return partnumber; - } - - public void setPartnumber(String partnumber) { - this.partnumber = partnumber; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner globalskuid(String globalskuid) { - this.globalskuid = globalskuid; - return this; - } - - /** - * Get globalskuid - * @return globalskuid - **/ - @javax.annotation.Nullable - public String getGlobalskuid() { - return globalskuid; - } - - public void setGlobalskuid(String globalskuid) { - this.globalskuid = globalskuid; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner linenumber(String linenumber) { - this.linenumber = linenumber; - return this; - } - - /** - * Get linenumber - * @return linenumber - **/ - @javax.annotation.Nullable - public String getLinenumber() { - return linenumber; - } - - public void setLinenumber(String linenumber) { - this.linenumber = linenumber; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner carriercode(String carriercode) { - this.carriercode = carriercode; - return this; - } - - /** - * Transportation 2 digit codes - * @return carriercode - **/ - @javax.annotation.Nullable - public String getCarriercode() { - return carriercode; - } - - public void setCarriercode(String carriercode) { - this.carriercode = carriercode; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner carrierdescription(String carrierdescription) { - this.carrierdescription = carrierdescription; - return this; - } - - /** - * Transportation Carrier Name - * @return carrierdescription - **/ - @javax.annotation.Nullable - public String getCarrierdescription() { - return carrierdescription; - } - - public void setCarrierdescription(String carrierdescription) { - this.carrierdescription = carrierdescription; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner requestedunitprice(BigDecimal requestedunitprice) { - this.requestedunitprice = requestedunitprice; - return this; - } - - /** - * Price requested by reseller. Price Variance can be set up by Ingram Micro Sales Rep - * @return requestedunitprice - **/ - @javax.annotation.Nullable - public BigDecimal getRequestedunitprice() { - return requestedunitprice; - } - - public void setRequestedunitprice(BigDecimal requestedunitprice) { - this.requestedunitprice = requestedunitprice; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner requestedquantity(Integer requestedquantity) { - this.requestedquantity = requestedquantity; - return this; - } - - /** - * Quanity Requested - * @return requestedquantity - **/ - @javax.annotation.Nullable - public Integer getRequestedquantity() { - return requestedquantity; - } - - public void setRequestedquantity(Integer requestedquantity) { - this.requestedquantity = requestedquantity; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner confirmedquantity(Integer confirmedquantity) { - this.confirmedquantity = confirmedquantity; - return this; - } - - /** - * Quanity Shipped - * @return confirmedquantity - **/ - @javax.annotation.Nullable - public Integer getConfirmedquantity() { - return confirmedquantity; - } - - public void setConfirmedquantity(Integer confirmedquantity) { - this.confirmedquantity = confirmedquantity; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner backorderedquantity(Integer backorderedquantity) { - this.backorderedquantity = backorderedquantity; - return this; - } - - /** - * Quanity of units that didn’t ship - * @return backorderedquantity - **/ - @javax.annotation.Nullable - public Integer getBackorderedquantity() { - return backorderedquantity; - } - - public void setBackorderedquantity(Integer backorderedquantity) { - this.backorderedquantity = backorderedquantity; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner unitproductprice(BigDecimal unitproductprice) { - this.unitproductprice = unitproductprice; - return this; - } - - /** - * Price Per Unit - * @return unitproductprice - **/ - @javax.annotation.Nullable - public BigDecimal getUnitproductprice() { - return unitproductprice; - } - - public void setUnitproductprice(BigDecimal unitproductprice) { - this.unitproductprice = unitproductprice; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner netamount(BigDecimal netamount) { - this.netamount = netamount; - return this; - } - - /** - * Total amount. Quantity X Unit Price - * @return netamount - **/ - @javax.annotation.Nullable - public BigDecimal getNetamount() { - return netamount; - } - - public void setNetamount(BigDecimal netamount) { - this.netamount = netamount; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner warehouseid(String warehouseid) { - this.warehouseid = warehouseid; - return this; - } - - /** - * Get warehouseid - * @return warehouseid - **/ - @javax.annotation.Nullable - public String getWarehouseid() { - return warehouseid; - } - - public void setWarehouseid(String warehouseid) { - this.warehouseid = warehouseid; - } - - - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner ordersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - return this; - } - - /** - * Use order suffix with the globalorderid for this line item. - * @return ordersuffix - **/ - @javax.annotation.Nullable - public String getOrdersuffix() { - return ordersuffix; - } - - public void setOrdersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner = (OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner) o; - return Objects.equals(this.linetype, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.linetype) && - Objects.equals(this.globallinenumber, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.globallinenumber) && - Objects.equals(this.partnumber, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.partnumber) && - Objects.equals(this.globalskuid, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.globalskuid) && - Objects.equals(this.linenumber, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.linenumber) && - Objects.equals(this.carriercode, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.carriercode) && - Objects.equals(this.carrierdescription, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.carrierdescription) && - Objects.equals(this.requestedunitprice, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.requestedunitprice) && - Objects.equals(this.requestedquantity, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.requestedquantity) && - Objects.equals(this.confirmedquantity, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.confirmedquantity) && - Objects.equals(this.backorderedquantity, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.backorderedquantity) && - Objects.equals(this.unitproductprice, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.unitproductprice) && - Objects.equals(this.netamount, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.netamount) && - Objects.equals(this.warehouseid, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.warehouseid) && - Objects.equals(this.ordersuffix, orderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.ordersuffix); - } - - @Override - public int hashCode() { - return Objects.hash(linetype, globallinenumber, partnumber, globalskuid, linenumber, carriercode, carrierdescription, requestedunitprice, requestedquantity, confirmedquantity, backorderedquantity, unitproductprice, netamount, warehouseid, ordersuffix); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner {\n"); - sb.append(" linetype: ").append(toIndentedString(linetype)).append("\n"); - sb.append(" globallinenumber: ").append(toIndentedString(globallinenumber)).append("\n"); - sb.append(" partnumber: ").append(toIndentedString(partnumber)).append("\n"); - sb.append(" globalskuid: ").append(toIndentedString(globalskuid)).append("\n"); - sb.append(" linenumber: ").append(toIndentedString(linenumber)).append("\n"); - sb.append(" carriercode: ").append(toIndentedString(carriercode)).append("\n"); - sb.append(" carrierdescription: ").append(toIndentedString(carrierdescription)).append("\n"); - sb.append(" requestedunitprice: ").append(toIndentedString(requestedunitprice)).append("\n"); - sb.append(" requestedquantity: ").append(toIndentedString(requestedquantity)).append("\n"); - sb.append(" confirmedquantity: ").append(toIndentedString(confirmedquantity)).append("\n"); - sb.append(" backorderedquantity: ").append(toIndentedString(backorderedquantity)).append("\n"); - sb.append(" unitproductprice: ").append(toIndentedString(unitproductprice)).append("\n"); - sb.append(" netamount: ").append(toIndentedString(netamount)).append("\n"); - sb.append(" warehouseid: ").append(toIndentedString(warehouseid)).append("\n"); - sb.append(" ordersuffix: ").append(toIndentedString(ordersuffix)).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("linetype"); - openapiFields.add("globallinenumber"); - openapiFields.add("partnumber"); - openapiFields.add("globalskuid"); - openapiFields.add("linenumber"); - openapiFields.add("carriercode"); - openapiFields.add("carrierdescription"); - openapiFields.add("requestedunitprice"); - openapiFields.add("requestedquantity"); - openapiFields.add("confirmedquantity"); - openapiFields.add("backorderedquantity"); - openapiFields.add("unitproductprice"); - openapiFields.add("netamount"); - openapiFields.add("warehouseid"); - openapiFields.add("ordersuffix"); - - // 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 OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner is not found in the empty JSON string", OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("linetype") != null && !jsonObj.get("linetype").isJsonNull()) && !jsonObj.get("linetype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linetype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linetype").toString())); - } - if ((jsonObj.get("globallinenumber") != null && !jsonObj.get("globallinenumber").isJsonNull()) && !jsonObj.get("globallinenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globallinenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globallinenumber").toString())); - } - if ((jsonObj.get("partnumber") != null && !jsonObj.get("partnumber").isJsonNull()) && !jsonObj.get("partnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partnumber").toString())); - } - if ((jsonObj.get("globalskuid") != null && !jsonObj.get("globalskuid").isJsonNull()) && !jsonObj.get("globalskuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalskuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalskuid").toString())); - } - if ((jsonObj.get("linenumber") != null && !jsonObj.get("linenumber").isJsonNull()) && !jsonObj.get("linenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linenumber").toString())); - } - 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("carrierdescription") != null && !jsonObj.get("carrierdescription").isJsonNull()) && !jsonObj.get("carrierdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carrierdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrierdescription").toString())); - } - if ((jsonObj.get("warehouseid") != null && !jsonObj.get("warehouseid").isJsonNull()) && !jsonObj.get("warehouseid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehouseid").toString())); - } - if ((jsonObj.get("ordersuffix") != null && !jsonObj.get("ordersuffix").isJsonNull()) && !jsonObj.get("ordersuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordersuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordersuffix").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - * @throws IOException if the JSON string is invalid with respect to OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - */ - public static OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner.class); - } - - /** - * Convert an instance of OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummary.java b/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummary.java deleted file mode 100644 index 7117e21a..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummary.java +++ /dev/null @@ -1,295 +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.Arrays; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummaryShiptoaddress; - -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; - -/** - * OrderCreateResponseServiceresponseOrdersummary - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateResponseServiceresponseOrdersummary { - public static final String SERIALIZED_NAME_CUSTOMERPONUMBER = "customerponumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPONUMBER) - private String customerponumber; - - public static final String SERIALIZED_NAME_TOTALORDERAMOUNT = "totalorderamount"; - @SerializedName(SERIALIZED_NAME_TOTALORDERAMOUNT) - private String totalorderamount; - - public static final String SERIALIZED_NAME_TOTALORDERCREATED = "totalordercreated"; - @SerializedName(SERIALIZED_NAME_TOTALORDERCREATED) - private String totalordercreated; - - public static final String SERIALIZED_NAME_SHIPTOADDRESS = "shiptoaddress"; - @SerializedName(SERIALIZED_NAME_SHIPTOADDRESS) - private OrderCreateResponseServiceresponseOrdersummaryShiptoaddress shiptoaddress; - - public OrderCreateResponseServiceresponseOrdersummary() { - } - - public OrderCreateResponseServiceresponseOrdersummary customerponumber(String customerponumber) { - this.customerponumber = customerponumber; - return this; - } - - /** - * Get customerponumber - * @return customerponumber - **/ - @javax.annotation.Nullable - public String getCustomerponumber() { - return customerponumber; - } - - public void setCustomerponumber(String customerponumber) { - this.customerponumber = customerponumber; - } - - - public OrderCreateResponseServiceresponseOrdersummary totalorderamount(String totalorderamount) { - this.totalorderamount = totalorderamount; - return this; - } - - /** - * Total of all the orders including taxes and fees - * @return totalorderamount - **/ - @javax.annotation.Nullable - public String getTotalorderamount() { - return totalorderamount; - } - - public void setTotalorderamount(String totalorderamount) { - this.totalorderamount = totalorderamount; - } - - - public OrderCreateResponseServiceresponseOrdersummary totalordercreated(String totalordercreated) { - this.totalordercreated = totalordercreated; - return this; - } - - /** - * Number of orders created, in some cases we may create more than one order. - * @return totalordercreated - **/ - @javax.annotation.Nullable - public String getTotalordercreated() { - return totalordercreated; - } - - public void setTotalordercreated(String totalordercreated) { - this.totalordercreated = totalordercreated; - } - - - public OrderCreateResponseServiceresponseOrdersummary shiptoaddress(OrderCreateResponseServiceresponseOrdersummaryShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - return this; - } - - /** - * Get shiptoaddress - * @return shiptoaddress - **/ - @javax.annotation.Nullable - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress getShiptoaddress() { - return shiptoaddress; - } - - public void setShiptoaddress(OrderCreateResponseServiceresponseOrdersummaryShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateResponseServiceresponseOrdersummary orderCreateResponseServiceresponseOrdersummary = (OrderCreateResponseServiceresponseOrdersummary) o; - return Objects.equals(this.customerponumber, orderCreateResponseServiceresponseOrdersummary.customerponumber) && - Objects.equals(this.totalorderamount, orderCreateResponseServiceresponseOrdersummary.totalorderamount) && - Objects.equals(this.totalordercreated, orderCreateResponseServiceresponseOrdersummary.totalordercreated) && - Objects.equals(this.shiptoaddress, orderCreateResponseServiceresponseOrdersummary.shiptoaddress); - } - - @Override - public int hashCode() { - return Objects.hash(customerponumber, totalorderamount, totalordercreated, shiptoaddress); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateResponseServiceresponseOrdersummary {\n"); - sb.append(" customerponumber: ").append(toIndentedString(customerponumber)).append("\n"); - sb.append(" totalorderamount: ").append(toIndentedString(totalorderamount)).append("\n"); - sb.append(" totalordercreated: ").append(toIndentedString(totalordercreated)).append("\n"); - sb.append(" shiptoaddress: ").append(toIndentedString(shiptoaddress)).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("customerponumber"); - openapiFields.add("totalorderamount"); - openapiFields.add("totalordercreated"); - openapiFields.add("shiptoaddress"); - - // 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 OrderCreateResponseServiceresponseOrdersummary - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateResponseServiceresponseOrdersummary.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateResponseServiceresponseOrdersummary is not found in the empty JSON string", OrderCreateResponseServiceresponseOrdersummary.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateResponseServiceresponseOrdersummary.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateResponseServiceresponseOrdersummary` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("customerponumber") != null && !jsonObj.get("customerponumber").isJsonNull()) && !jsonObj.get("customerponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerponumber").toString())); - } - if ((jsonObj.get("totalorderamount") != null && !jsonObj.get("totalorderamount").isJsonNull()) && !jsonObj.get("totalorderamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalorderamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalorderamount").toString())); - } - if ((jsonObj.get("totalordercreated") != null && !jsonObj.get("totalordercreated").isJsonNull()) && !jsonObj.get("totalordercreated").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalordercreated` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalordercreated").toString())); - } - // validate the optional field `shiptoaddress` - if (jsonObj.get("shiptoaddress") != null && !jsonObj.get("shiptoaddress").isJsonNull()) { - OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.validateJsonElement(jsonObj.get("shiptoaddress")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateResponseServiceresponseOrdersummary.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateResponseServiceresponseOrdersummary' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateResponseServiceresponseOrdersummary.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateResponseServiceresponseOrdersummary value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateResponseServiceresponseOrdersummary read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateResponseServiceresponseOrdersummary given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateResponseServiceresponseOrdersummary - * @throws IOException if the JSON string is invalid with respect to OrderCreateResponseServiceresponseOrdersummary - */ - public static OrderCreateResponseServiceresponseOrdersummary fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateResponseServiceresponseOrdersummary.class); - } - - /** - * Convert an instance of OrderCreateResponseServiceresponseOrdersummary to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.java b/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.java deleted file mode 100644 index 2902ac4d..00000000 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.java +++ /dev/null @@ -1,438 +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.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; - -/** - * OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCreateResponseServiceresponseOrdersummaryShiptoaddress { - public static final String SERIALIZED_NAME_ATTENTION = "attention"; - @SerializedName(SERIALIZED_NAME_ATTENTION) - private String attention; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress() { - } - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress attention(String attention) { - this.attention = attention; - return this; - } - - /** - * Get attention - * @return attention - **/ - @javax.annotation.Nullable - public String getAttention() { - return attention; - } - - public void setAttention(String attention) { - this.attention = attention; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Get addressline1 - * @return addressline1 - **/ - @javax.annotation.Nullable - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Get addressline2 - * @return addressline2 - **/ - @javax.annotation.Nullable - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Get addressline3 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderCreateResponseServiceresponseOrdersummaryShiptoaddress orderCreateResponseServiceresponseOrdersummaryShiptoaddress = (OrderCreateResponseServiceresponseOrdersummaryShiptoaddress) o; - return Objects.equals(this.attention, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.attention) && - Objects.equals(this.name, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.name) && - Objects.equals(this.addressline1, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.addressline1) && - Objects.equals(this.addressline2, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.addressline2) && - Objects.equals(this.addressline3, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.addressline3) && - Objects.equals(this.city, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.city) && - Objects.equals(this.state, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.state) && - Objects.equals(this.postalcode, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.postalcode) && - Objects.equals(this.countrycode, orderCreateResponseServiceresponseOrdersummaryShiptoaddress.countrycode); - } - - @Override - public int hashCode() { - return Objects.hash(attention, name, addressline1, addressline2, addressline3, city, state, postalcode, countrycode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderCreateResponseServiceresponseOrdersummaryShiptoaddress {\n"); - sb.append(" attention: ").append(toIndentedString(attention)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).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("}"); - 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("attention"); - openapiFields.add("name"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - - // 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 OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCreateResponseServiceresponseOrdersummaryShiptoaddress is not found in the empty JSON string", OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCreateResponseServiceresponseOrdersummaryShiptoaddress` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("attention") != null && !jsonObj.get("attention").isJsonNull()) && !jsonObj.get("attention").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attention` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attention").toString())); - } - if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").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("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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCreateResponseServiceresponseOrdersummaryShiptoaddress' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderCreateResponseServiceresponseOrdersummaryShiptoaddress value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderCreateResponseServiceresponseOrdersummaryShiptoaddress read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderCreateResponseServiceresponseOrdersummaryShiptoaddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - * @throws IOException if the JSON string is invalid with respect to OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - */ - public static OrderCreateResponseServiceresponseOrdersummaryShiptoaddress fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCreateResponseServiceresponseOrdersummaryShiptoaddress.class); - } - - /** - * Convert an instance of OrderCreateResponseServiceresponseOrdersummaryShiptoaddress to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java index c4682a64..87553831 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderDeleteRequest.java b/src/main/java/xiresellers/client/model/OrderDeleteRequest.java index ead24e66..ad6b88ec 100644 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequest.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request schema for order delete endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDeleteRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java index 3a65d169..477cb032 100644 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderDeleteRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDeleteRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java index 39a57624..bd33e242 100644 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDeleteRequestServicerequestOrderDeleteRequestDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDeleteRequestServicerequestOrderDeleteRequestDetails { public static final String SERIALIZED_NAME_ENTRY_DATE = "entryDate"; @SerializedName(SERIALIZED_NAME_ENTRY_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java index 21cf63c7..0bf337b2 100644 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDeleteRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDeleteRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) diff --git a/src/main/java/xiresellers/client/model/OrderDeleteResponse.java b/src/main/java/xiresellers/client/model/OrderDeleteResponse.java index 866f6862..1a344627 100644 --- a/src/main/java/xiresellers/client/model/OrderDeleteResponse.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -21,7 +21,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponse; +import xiresellers.client.model.OrderDeleteResponseServiceresponse; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,16 +50,16 @@ /** * Response schema for order delete endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDeleteResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderCancelResponseServiceresponse serviceresponse; + private OrderDeleteResponseServiceresponse serviceresponse; public OrderDeleteResponse() { } - public OrderDeleteResponse serviceresponse(OrderCancelResponseServiceresponse serviceresponse) { + public OrderDeleteResponse serviceresponse(OrderDeleteResponseServiceresponse serviceresponse) { this.serviceresponse = serviceresponse; return this; } @@ -69,11 +69,11 @@ public OrderDeleteResponse serviceresponse(OrderCancelResponseServiceresponse se * @return serviceresponse **/ @javax.annotation.Nullable - public OrderCancelResponseServiceresponse getServiceresponse() { + public OrderDeleteResponseServiceresponse getServiceresponse() { return serviceresponse; } - public void setServiceresponse(OrderCancelResponseServiceresponse serviceresponse) { + public void setServiceresponse(OrderDeleteResponseServiceresponse serviceresponse) { this.serviceresponse = serviceresponse; } @@ -152,7 +152,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `serviceresponse` if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderCancelResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); + OrderDeleteResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); } } diff --git a/src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java similarity index 73% rename from src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponse.java rename to src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java index 14cbb7e4..511d6918 100644 --- a/src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -21,7 +21,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponseResponsepreamble; +import xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,18 +48,18 @@ import xiresellers.client.JSON; /** - * OrderCancelResponseServiceresponse + * OrderDeleteResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCancelResponseServiceresponse { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +public class OrderDeleteResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private OrderCancelResponseServiceresponseResponsepreamble responsepreamble; + private OrderDeleteResponseServiceresponseResponsepreamble responsepreamble; - public OrderCancelResponseServiceresponse() { + public OrderDeleteResponseServiceresponse() { } - public OrderCancelResponseServiceresponse responsepreamble(OrderCancelResponseServiceresponseResponsepreamble responsepreamble) { + public OrderDeleteResponseServiceresponse responsepreamble(OrderDeleteResponseServiceresponseResponsepreamble responsepreamble) { this.responsepreamble = responsepreamble; return this; } @@ -69,11 +69,11 @@ public OrderCancelResponseServiceresponse responsepreamble(OrderCancelResponseSe * @return responsepreamble **/ @javax.annotation.Nullable - public OrderCancelResponseServiceresponseResponsepreamble getResponsepreamble() { + public OrderDeleteResponseServiceresponseResponsepreamble getResponsepreamble() { return responsepreamble; } - public void setResponsepreamble(OrderCancelResponseServiceresponseResponsepreamble responsepreamble) { + public void setResponsepreamble(OrderDeleteResponseServiceresponseResponsepreamble responsepreamble) { this.responsepreamble = responsepreamble; } @@ -87,8 +87,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - OrderCancelResponseServiceresponse orderCancelResponseServiceresponse = (OrderCancelResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, orderCancelResponseServiceresponse.responsepreamble); + OrderDeleteResponseServiceresponse orderDeleteResponseServiceresponse = (OrderDeleteResponseServiceresponse) o; + return Objects.equals(this.responsepreamble, orderDeleteResponseServiceresponse.responsepreamble); } @Override @@ -99,7 +99,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class OrderCancelResponseServiceresponse {\n"); + sb.append("class OrderDeleteResponseServiceresponse {\n"); sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); sb.append("}"); return sb.toString(); @@ -133,26 +133,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 OrderCancelResponseServiceresponse + * @throws IOException if the JSON Element is invalid with respect to OrderDeleteResponseServiceresponse */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!OrderCancelResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCancelResponseServiceresponse is not found in the empty JSON string", OrderCancelResponseServiceresponse.openapiRequiredFields.toString())); + if (!OrderDeleteResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteResponseServiceresponse is not found in the empty JSON string", OrderDeleteResponseServiceresponse.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!OrderCancelResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCancelResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!OrderDeleteResponseServiceresponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `responsepreamble` if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - OrderCancelResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); + OrderDeleteResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); } } @@ -160,22 +160,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderCancelResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCancelResponseServiceresponse' and its subtypes + if (!OrderDeleteResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OrderDeleteResponseServiceresponse' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCancelResponseServiceresponse.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteResponseServiceresponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, OrderCancelResponseServiceresponse value) throws IOException { + public void write(JsonWriter out, OrderDeleteResponseServiceresponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public OrderCancelResponseServiceresponse read(JsonReader in) throws IOException { + public OrderDeleteResponseServiceresponse read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -186,18 +186,18 @@ public OrderCancelResponseServiceresponse read(JsonReader in) throws IOException } /** - * Create an instance of OrderCancelResponseServiceresponse given an JSON string + * Create an instance of OrderDeleteResponseServiceresponse given an JSON string * * @param jsonString JSON string - * @return An instance of OrderCancelResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to OrderCancelResponseServiceresponse + * @return An instance of OrderDeleteResponseServiceresponse + * @throws IOException if the JSON string is invalid with respect to OrderDeleteResponseServiceresponse */ - public static OrderCancelResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCancelResponseServiceresponse.class); + public static OrderDeleteResponseServiceresponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OrderDeleteResponseServiceresponse.class); } /** - * Convert an instance of OrderCancelResponseServiceresponse to an JSON string + * Convert an instance of OrderDeleteResponseServiceresponse to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java similarity index 80% rename from src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreamble.java rename to src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java index 8ca70908..8ffe3f6b 100644 --- a/src/main/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * OrderCancelResponseServiceresponseResponsepreamble + * OrderDeleteResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderCancelResponseServiceresponseResponsepreamble { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +public class OrderDeleteResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_REQUEST_STATUS = "requestStatus"; @SerializedName(SERIALIZED_NAME_REQUEST_STATUS) private String requestStatus; @@ -63,10 +63,10 @@ public class OrderCancelResponseServiceresponseResponsepreamble { @SerializedName(SERIALIZED_NAME_RETURN_MESSAGE) private String returnMessage; - public OrderCancelResponseServiceresponseResponsepreamble() { + public OrderDeleteResponseServiceresponseResponsepreamble() { } - public OrderCancelResponseServiceresponseResponsepreamble requestStatus(String requestStatus) { + public OrderDeleteResponseServiceresponseResponsepreamble requestStatus(String requestStatus) { this.requestStatus = requestStatus; return this; } @@ -85,7 +85,7 @@ public void setRequestStatus(String requestStatus) { } - public OrderCancelResponseServiceresponseResponsepreamble returnCode(String returnCode) { + public OrderDeleteResponseServiceresponseResponsepreamble returnCode(String returnCode) { this.returnCode = returnCode; return this; } @@ -104,7 +104,7 @@ public void setReturnCode(String returnCode) { } - public OrderCancelResponseServiceresponseResponsepreamble returnMessage(String returnMessage) { + public OrderDeleteResponseServiceresponseResponsepreamble returnMessage(String returnMessage) { this.returnMessage = returnMessage; return this; } @@ -132,10 +132,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - OrderCancelResponseServiceresponseResponsepreamble orderCancelResponseServiceresponseResponsepreamble = (OrderCancelResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.requestStatus, orderCancelResponseServiceresponseResponsepreamble.requestStatus) && - Objects.equals(this.returnCode, orderCancelResponseServiceresponseResponsepreamble.returnCode) && - Objects.equals(this.returnMessage, orderCancelResponseServiceresponseResponsepreamble.returnMessage); + OrderDeleteResponseServiceresponseResponsepreamble orderDeleteResponseServiceresponseResponsepreamble = (OrderDeleteResponseServiceresponseResponsepreamble) o; + return Objects.equals(this.requestStatus, orderDeleteResponseServiceresponseResponsepreamble.requestStatus) && + Objects.equals(this.returnCode, orderDeleteResponseServiceresponseResponsepreamble.returnCode) && + Objects.equals(this.returnMessage, orderDeleteResponseServiceresponseResponsepreamble.returnMessage); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class OrderCancelResponseServiceresponseResponsepreamble {\n"); + sb.append("class OrderDeleteResponseServiceresponseResponsepreamble {\n"); sb.append(" requestStatus: ").append(toIndentedString(requestStatus)).append("\n"); sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); sb.append(" returnMessage: ").append(toIndentedString(returnMessage)).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 OrderCancelResponseServiceresponseResponsepreamble + * @throws IOException if the JSON Element is invalid with respect to OrderDeleteResponseServiceresponseResponsepreamble */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!OrderCancelResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderCancelResponseServiceresponseResponsepreamble is not found in the empty JSON string", OrderCancelResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); + if (!OrderDeleteResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteResponseServiceresponseResponsepreamble is not found in the empty JSON string", OrderDeleteResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!OrderCancelResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderCancelResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!OrderDeleteResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteResponseServiceresponseResponsepreamble` 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 (!OrderCancelResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderCancelResponseServiceresponseResponsepreamble' and its subtypes + if (!OrderDeleteResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OrderDeleteResponseServiceresponseResponsepreamble' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderCancelResponseServiceresponseResponsepreamble.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteResponseServiceresponseResponsepreamble.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, OrderCancelResponseServiceresponseResponsepreamble value) throws IOException { + public void write(JsonWriter out, OrderDeleteResponseServiceresponseResponsepreamble value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public OrderCancelResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { + public OrderDeleteResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public OrderCancelResponseServiceresponseResponsepreamble read(JsonReader in) th } /** - * Create an instance of OrderCancelResponseServiceresponseResponsepreamble given an JSON string + * Create an instance of OrderDeleteResponseServiceresponseResponsepreamble given an JSON string * * @param jsonString JSON string - * @return An instance of OrderCancelResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to OrderCancelResponseServiceresponseResponsepreamble + * @return An instance of OrderDeleteResponseServiceresponseResponsepreamble + * @throws IOException if the JSON string is invalid with respect to OrderDeleteResponseServiceresponseResponsepreamble */ - public static OrderCancelResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderCancelResponseServiceresponseResponsepreamble.class); + public static OrderDeleteResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OrderDeleteResponseServiceresponseResponsepreamble.class); } /** - * Convert an instance of OrderCancelResponseServiceresponseResponsepreamble to an JSON string + * Convert an instance of OrderDeleteResponseServiceresponseResponsepreamble to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2B.java b/src/main/java/xiresellers/client/model/OrderDetailB2B.java index e8d37a0f..4b848db8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -59,7 +59,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 c4665c43..5d96f4d6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 6441f999..54c5bef8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 3939af04..3f0f9215 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 2a273130..f8d4df1c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailB2BLinesInner { 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/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index 37ae547d..c5bcb4df 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 f3683c94..70dd24d0 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 8c21bf82..8074faa2 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index 53fb1adf..d1ab554a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 8d443601..46b82fc1 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 16f81bae..36c08f56 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 bb432098..f8f3f9a0 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 701d62db..8bdc4726 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b07accfc..4b42682e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 1c947712..3f3f05da 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 2c82dc59..308effe8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 808ce4ab..5c8eceea 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 c00b53ce..7ee32300 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b69d81a6..8b1155cb 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 81ea7d4e..51d822f6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 75e73f75..1f346609 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 6c756550..1eda663b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 074e825f..00942541 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 ea467314..601d328a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailB2BShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequest.java index 1f4fc5b1..e0011eca 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailRequest.java +++ b/src/main/java/xiresellers/client/model/OrderDetailRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request schema for order details endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java index b9e7fa86..5de7c5cf 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderDetailRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java index 8bdf6710..bd8e8cfb 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java +++ b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailRequestServicerequestOrderdetailrequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailRequestServicerequestOrderdetailrequest { public static final String SERIALIZED_NAME_ORDERNUMBER = "ordernumber"; @SerializedName(SERIALIZED_NAME_ORDERNUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponse.java index 66a0b91e..8ccb3abe 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponse.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,16 @@ 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 xiresellers.client.model.OrderDetailResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderDetailResponseBillToInfo; +import xiresellers.client.model.OrderDetailResponseEndUserInfo; +import xiresellers.client.model.OrderDetailResponseLinesInner; +import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; +import xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner; +import xiresellers.client.model.OrderDetailResponseShipToInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +56,517 @@ import xiresellers.client.JSON; /** - * Response schema for order details endpoint + * OrderDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderDetailResponseServiceresponse serviceresponse; + public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; + @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) + private String ingramOrderNumber; + + public static final String SERIALIZED_NAME_INGRAM_ORDER_DATE = "ingramOrderDate"; + @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_DATE) + private String ingramOrderDate; + + public static final String SERIALIZED_NAME_ORDER_TYPE = "orderType"; + @SerializedName(SERIALIZED_NAME_ORDER_TYPE) + private String orderType; + + 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_VENDOR_SALES_ORDER_NUMBER = "vendorSalesOrderNumber"; + @SerializedName(SERIALIZED_NAME_VENDOR_SALES_ORDER_NUMBER) + private String vendorSalesOrderNumber; + + public static final String SERIALIZED_NAME_ORDER_STATUS = "orderStatus"; + @SerializedName(SERIALIZED_NAME_ORDER_STATUS) + private String orderStatus; + + public static final String SERIALIZED_NAME_ORDER_TOTAL = "orderTotal"; + @SerializedName(SERIALIZED_NAME_ORDER_TOTAL) + private BigDecimal orderTotal; + + public static final String SERIALIZED_NAME_ORDER_SUB_TOTAL = "orderSubTotal"; + @SerializedName(SERIALIZED_NAME_ORDER_SUB_TOTAL) + private BigDecimal orderSubTotal; + + public static final String SERIALIZED_NAME_FREIGHT_CHARGES = "freightCharges"; + @SerializedName(SERIALIZED_NAME_FREIGHT_CHARGES) + private BigDecimal freightCharges; + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private String currencyCode; + + public static final String SERIALIZED_NAME_TOTAL_WEIGHT = "totalWeight"; + @SerializedName(SERIALIZED_NAME_TOTAL_WEIGHT) + private BigDecimal totalWeight; + + public static final String SERIALIZED_NAME_TOTAL_TAX = "totalTax"; + @SerializedName(SERIALIZED_NAME_TOTAL_TAX) + private BigDecimal totalTax; + + public static final String SERIALIZED_NAME_PAYMENT_TERMS = "paymentTerms"; + @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS) + private String paymentTerms; + + public static final String SERIALIZED_NAME_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + public static final String SERIALIZED_NAME_BILL_TO_INFO = "billToInfo"; + @SerializedName(SERIALIZED_NAME_BILL_TO_INFO) + private OrderDetailResponseBillToInfo billToInfo; + + public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private OrderDetailResponseShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private OrderDetailResponseEndUserInfo endUserInfo; + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines; + + public static final String SERIALIZED_NAME_MISCELLANEOUS_CHARGES = "miscellaneousCharges"; + @SerializedName(SERIALIZED_NAME_MISCELLANEOUS_CHARGES) + private List miscellaneousCharges; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public OrderDetailResponse() { } - public OrderDetailResponse serviceresponse(OrderDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public OrderDetailResponse ingramOrderNumber(String ingramOrderNumber) { + this.ingramOrderNumber = ingramOrderNumber; + return this; + } + + /** + * The IngramMicro sales order number. + * @return ingramOrderNumber + **/ + @javax.annotation.Nullable + public String getIngramOrderNumber() { + return ingramOrderNumber; + } + + public void setIngramOrderNumber(String ingramOrderNumber) { + this.ingramOrderNumber = ingramOrderNumber; + } + + + public OrderDetailResponse ingramOrderDate(String ingramOrderDate) { + this.ingramOrderDate = ingramOrderDate; + return this; + } + + /** + * The date and time in UTC format that the order was created. + * @return ingramOrderDate + **/ + @javax.annotation.Nullable + public String getIngramOrderDate() { + return ingramOrderDate; + } + + public void setIngramOrderDate(String ingramOrderDate) { + this.ingramOrderDate = ingramOrderDate; + } + + + public OrderDetailResponse orderType(String orderType) { + this.orderType = orderType; + return this; + } + + /** + * The order type. One of B = Branch Transfer, C = COD, D = Direct Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S = Sales Order. + * @return orderType + **/ + @javax.annotation.Nullable + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + + public OrderDetailResponse 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 OrderDetailResponse endCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + return this; + } + + /** + * The end user/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 OrderDetailResponse vendorSalesOrderNumber(String vendorSalesOrderNumber) { + this.vendorSalesOrderNumber = vendorSalesOrderNumber; + return this; + } + + /** + * The vendor's order number for reference in their system. + * @return vendorSalesOrderNumber + **/ + @javax.annotation.Nullable + public String getVendorSalesOrderNumber() { + return vendorSalesOrderNumber; + } + + public void setVendorSalesOrderNumber(String vendorSalesOrderNumber) { + this.vendorSalesOrderNumber = vendorSalesOrderNumber; + } + + + public OrderDetailResponse orderStatus(String orderStatus) { + this.orderStatus = orderStatus; + return this; + } + + /** + * The header-level status of the order. One of- Shipped, Canceled, Backordered, Processing, On Hold, Delivered. + * @return orderStatus + **/ + @javax.annotation.Nullable + public String getOrderStatus() { + return orderStatus; + } + + public void setOrderStatus(String orderStatus) { + this.orderStatus = orderStatus; + } + + + public OrderDetailResponse orderTotal(BigDecimal orderTotal) { + this.orderTotal = orderTotal; + return this; + } + + /** + * The total cost for the order, includes subtotal, freight charges, and tax. + * @return orderTotal + **/ + @javax.annotation.Nullable + public BigDecimal getOrderTotal() { + return orderTotal; + } + + public void setOrderTotal(BigDecimal orderTotal) { + this.orderTotal = orderTotal; + } + + + public OrderDetailResponse orderSubTotal(BigDecimal orderSubTotal) { + this.orderSubTotal = orderSubTotal; + return this; + } + + /** + * The sub total cost for the order, not including tax and freight. + * @return orderSubTotal + **/ + @javax.annotation.Nullable + public BigDecimal getOrderSubTotal() { + return orderSubTotal; + } + + public void setOrderSubTotal(BigDecimal orderSubTotal) { + this.orderSubTotal = orderSubTotal; + } + + + public OrderDetailResponse freightCharges(BigDecimal freightCharges) { + this.freightCharges = freightCharges; + return this; + } + + /** + * The freight charges for the order. + * @return freightCharges + **/ + @javax.annotation.Nullable + public BigDecimal getFreightCharges() { + return freightCharges; + } + + public void setFreightCharges(BigDecimal freightCharges) { + this.freightCharges = freightCharges; + } + + + public OrderDetailResponse 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 OrderDetailResponse totalWeight(BigDecimal totalWeight) { + this.totalWeight = totalWeight; + return this; + } + + /** + * The total weight of the order. Pounds in North America, KG in all other countries. + * @return totalWeight + **/ + @javax.annotation.Nullable + public BigDecimal getTotalWeight() { + return totalWeight; + } + + public void setTotalWeight(BigDecimal totalWeight) { + this.totalWeight = totalWeight; + } + + + public OrderDetailResponse totalTax(BigDecimal totalTax) { + this.totalTax = totalTax; return this; } /** - * Get serviceresponse - * @return serviceresponse + * The total tax for the order. + * @return totalTax **/ @javax.annotation.Nullable - public OrderDetailResponseServiceresponse getServiceresponse() { - return serviceresponse; + public BigDecimal getTotalTax() { + return totalTax; } - public void setServiceresponse(OrderDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public void setTotalTax(BigDecimal totalTax) { + this.totalTax = totalTax; + } + + + public OrderDetailResponse paymentTerms(String paymentTerms) { + this.paymentTerms = paymentTerms; + return this; + } + + /** + * The payment terms of the order. (Ex- Net 30 days). + * @return paymentTerms + **/ + @javax.annotation.Nullable + public String getPaymentTerms() { + return paymentTerms; + } + + public void setPaymentTerms(String paymentTerms) { + this.paymentTerms = paymentTerms; + } + + + public OrderDetailResponse notes(String notes) { + this.notes = notes; + return this; + } + + /** + * The header-level notes for the order. + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public OrderDetailResponse billToInfo(OrderDetailResponseBillToInfo billToInfo) { + this.billToInfo = billToInfo; + return this; + } + + /** + * Get billToInfo + * @return billToInfo + **/ + @javax.annotation.Nullable + public OrderDetailResponseBillToInfo getBillToInfo() { + return billToInfo; + } + + public void setBillToInfo(OrderDetailResponseBillToInfo billToInfo) { + this.billToInfo = billToInfo; + } + + + public OrderDetailResponse shipToInfo(OrderDetailResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + return this; + } + + /** + * Get shipToInfo + * @return shipToInfo + **/ + @javax.annotation.Nullable + public OrderDetailResponseShipToInfo getShipToInfo() { + return shipToInfo; + } + + public void setShipToInfo(OrderDetailResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public OrderDetailResponse endUserInfo(OrderDetailResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + return this; + } + + /** + * Get endUserInfo + * @return endUserInfo + **/ + @javax.annotation.Nullable + public OrderDetailResponseEndUserInfo getEndUserInfo() { + return endUserInfo; + } + + public void setEndUserInfo(OrderDetailResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + public OrderDetailResponse lines(List lines) { + this.lines = lines; + return this; + } + + public OrderDetailResponse addLinesItem(OrderDetailResponseLinesInner linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * Get lines + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public OrderDetailResponse miscellaneousCharges(List miscellaneousCharges) { + this.miscellaneousCharges = miscellaneousCharges; + return this; + } + + public OrderDetailResponse addMiscellaneousChargesItem(OrderDetailResponseMiscellaneousChargesInner miscellaneousChargesItem) { + if (this.miscellaneousCharges == null) { + this.miscellaneousCharges = new ArrayList<>(); + } + this.miscellaneousCharges.add(miscellaneousChargesItem); + return this; + } + + /** + * Get miscellaneousCharges + * @return miscellaneousCharges + **/ + @javax.annotation.Nullable + public List getMiscellaneousCharges() { + return miscellaneousCharges; + } + + public void setMiscellaneousCharges(List miscellaneousCharges) { + this.miscellaneousCharges = miscellaneousCharges; + } + + + public OrderDetailResponse additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public OrderDetailResponse addAdditionalAttributesItem(OrderDetailResponseLinesInnerAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Get additionalAttributes + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +580,59 @@ public boolean equals(Object o) { return false; } OrderDetailResponse orderDetailResponse = (OrderDetailResponse) o; - return Objects.equals(this.serviceresponse, orderDetailResponse.serviceresponse); + return Objects.equals(this.ingramOrderNumber, orderDetailResponse.ingramOrderNumber) && + Objects.equals(this.ingramOrderDate, orderDetailResponse.ingramOrderDate) && + Objects.equals(this.orderType, orderDetailResponse.orderType) && + Objects.equals(this.customerOrderNumber, orderDetailResponse.customerOrderNumber) && + Objects.equals(this.endCustomerOrderNumber, orderDetailResponse.endCustomerOrderNumber) && + Objects.equals(this.vendorSalesOrderNumber, orderDetailResponse.vendorSalesOrderNumber) && + Objects.equals(this.orderStatus, orderDetailResponse.orderStatus) && + Objects.equals(this.orderTotal, orderDetailResponse.orderTotal) && + Objects.equals(this.orderSubTotal, orderDetailResponse.orderSubTotal) && + Objects.equals(this.freightCharges, orderDetailResponse.freightCharges) && + Objects.equals(this.currencyCode, orderDetailResponse.currencyCode) && + Objects.equals(this.totalWeight, orderDetailResponse.totalWeight) && + Objects.equals(this.totalTax, orderDetailResponse.totalTax) && + Objects.equals(this.paymentTerms, orderDetailResponse.paymentTerms) && + Objects.equals(this.notes, orderDetailResponse.notes) && + Objects.equals(this.billToInfo, orderDetailResponse.billToInfo) && + Objects.equals(this.shipToInfo, orderDetailResponse.shipToInfo) && + Objects.equals(this.endUserInfo, orderDetailResponse.endUserInfo) && + Objects.equals(this.lines, orderDetailResponse.lines) && + Objects.equals(this.miscellaneousCharges, orderDetailResponse.miscellaneousCharges) && + Objects.equals(this.additionalAttributes, orderDetailResponse.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(serviceresponse); + return Objects.hash(ingramOrderNumber, ingramOrderDate, orderType, customerOrderNumber, endCustomerOrderNumber, vendorSalesOrderNumber, orderStatus, orderTotal, orderSubTotal, freightCharges, currencyCode, totalWeight, totalTax, paymentTerms, notes, billToInfo, shipToInfo, endUserInfo, lines, miscellaneousCharges, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderDetailResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).append("\n"); + sb.append(" ingramOrderNumber: ").append(toIndentedString(ingramOrderNumber)).append("\n"); + sb.append(" ingramOrderDate: ").append(toIndentedString(ingramOrderDate)).append("\n"); + sb.append(" orderType: ").append(toIndentedString(orderType)).append("\n"); + sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); + sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); + sb.append(" vendorSalesOrderNumber: ").append(toIndentedString(vendorSalesOrderNumber)).append("\n"); + sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); + sb.append(" orderTotal: ").append(toIndentedString(orderTotal)).append("\n"); + sb.append(" orderSubTotal: ").append(toIndentedString(orderSubTotal)).append("\n"); + sb.append(" freightCharges: ").append(toIndentedString(freightCharges)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" totalWeight: ").append(toIndentedString(totalWeight)).append("\n"); + sb.append(" totalTax: ").append(toIndentedString(totalTax)).append("\n"); + sb.append(" paymentTerms: ").append(toIndentedString(paymentTerms)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" billToInfo: ").append(toIndentedString(billToInfo)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" miscellaneousCharges: ").append(toIndentedString(miscellaneousCharges)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +655,27 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("serviceresponse"); + openapiFields.add("ingramOrderNumber"); + openapiFields.add("ingramOrderDate"); + openapiFields.add("orderType"); + openapiFields.add("customerOrderNumber"); + openapiFields.add("endCustomerOrderNumber"); + openapiFields.add("vendorSalesOrderNumber"); + openapiFields.add("orderStatus"); + openapiFields.add("orderTotal"); + openapiFields.add("orderSubTotal"); + openapiFields.add("freightCharges"); + openapiFields.add("currencyCode"); + openapiFields.add("totalWeight"); + openapiFields.add("totalTax"); + openapiFields.add("paymentTerms"); + openapiFields.add("notes"); + openapiFields.add("billToInfo"); + openapiFields.add("shipToInfo"); + openapiFields.add("endUserInfo"); + openapiFields.add("lines"); + openapiFields.add("miscellaneousCharges"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +702,89 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderDetailResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); + if ((jsonObj.get("ingramOrderNumber") != null && !jsonObj.get("ingramOrderNumber").isJsonNull()) && !jsonObj.get("ingramOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderNumber").toString())); + } + if ((jsonObj.get("ingramOrderDate") != null && !jsonObj.get("ingramOrderDate").isJsonNull()) && !jsonObj.get("ingramOrderDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramOrderDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderDate").toString())); + } + if ((jsonObj.get("orderType") != null && !jsonObj.get("orderType").isJsonNull()) && !jsonObj.get("orderType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderType").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("vendorSalesOrderNumber") != null && !jsonObj.get("vendorSalesOrderNumber").isJsonNull()) && !jsonObj.get("vendorSalesOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `vendorSalesOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorSalesOrderNumber").toString())); + } + if ((jsonObj.get("orderStatus") != null && !jsonObj.get("orderStatus").isJsonNull()) && !jsonObj.get("orderStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderStatus").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("paymentTerms") != null && !jsonObj.get("paymentTerms").isJsonNull()) && !jsonObj.get("paymentTerms").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `paymentTerms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentTerms").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())); + } + // validate the optional field `billToInfo` + if (jsonObj.get("billToInfo") != null && !jsonObj.get("billToInfo").isJsonNull()) { + OrderDetailResponseBillToInfo.validateJsonElement(jsonObj.get("billToInfo")); + } + // validate the optional field `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + OrderDetailResponseShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + // validate the optional field `endUserInfo` + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + OrderDetailResponseEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); + } + 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++) { + OrderDetailResponseLinesInner.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + if (jsonObj.get("miscellaneousCharges") != null && !jsonObj.get("miscellaneousCharges").isJsonNull()) { + JsonArray jsonArraymiscellaneousCharges = jsonObj.getAsJsonArray("miscellaneousCharges"); + if (jsonArraymiscellaneousCharges != null) { + // ensure the json data is an array + if (!jsonObj.get("miscellaneousCharges").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `miscellaneousCharges` to be an array in the JSON string but got `%s`", jsonObj.get("miscellaneousCharges").toString())); + } + + // validate the optional field `miscellaneousCharges` (array) + for (int i = 0; i < jsonArraymiscellaneousCharges.size(); i++) { + OrderDetailResponseMiscellaneousChargesInner.validateJsonElement(jsonArraymiscellaneousCharges.get(i)); + }; + } + } + 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++) { + OrderDetailResponseLinesInnerAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java index 04c98bef..4d831c45 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseBillToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java index eff89e8a..69a79974 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java index cdc5528d..5a1b34cb 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * OrderDetailResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInner { 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/OrderDetailResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java index 87398b00..902d93c4 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java index f8f3782e..82a079de 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java index b019e93c..2a6476ef 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * Shipping details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java index a16e451c..6d75a4af 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * The shipment carrier details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java index 283c4ed4..12f56b1e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * The tracking details for the shipment containing the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner { public static final String SERIALIZED_NAME_TRACKING_NUMBER = "trackingNumber"; @SerializedName(SERIALIZED_NAME_TRACKING_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java index 4c76a3b7..789a85ce 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * A list of serial numbers of the line items contained in the shipment. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java index c73d85da..58a88153 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailResponseMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseMiscellaneousChargesInner { 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/OrderDetailResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponse.java deleted file mode 100644 index 9e0a094e..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponse; - -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; - -/** - * OrderDetailResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_ORDERDETAILRESPONSE = "orderdetailresponse"; - @SerializedName(SERIALIZED_NAME_ORDERDETAILRESPONSE) - private OrderDetailResponseServiceresponseOrderdetailresponse orderdetailresponse; - - public OrderDetailResponseServiceresponse() { - } - - public OrderDetailResponseServiceresponse responsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public OrderDetailResponseServiceresponse orderdetailresponse(OrderDetailResponseServiceresponseOrderdetailresponse orderdetailresponse) { - this.orderdetailresponse = orderdetailresponse; - return this; - } - - /** - * Get orderdetailresponse - * @return orderdetailresponse - **/ - @javax.annotation.Nullable - public OrderDetailResponseServiceresponseOrderdetailresponse getOrderdetailresponse() { - return orderdetailresponse; - } - - public void setOrderdetailresponse(OrderDetailResponseServiceresponseOrderdetailresponse orderdetailresponse) { - this.orderdetailresponse = orderdetailresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponse orderDetailResponseServiceresponse = (OrderDetailResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, orderDetailResponseServiceresponse.responsepreamble) && - Objects.equals(this.orderdetailresponse, orderDetailResponseServiceresponse.orderdetailresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, orderdetailresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" orderdetailresponse: ").append(toIndentedString(orderdetailresponse)).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("responsepreamble"); - openapiFields.add("orderdetailresponse"); - - // 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 OrderDetailResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponse is not found in the empty JSON string", OrderDetailResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - InvoiceDetailResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `orderdetailresponse` - if (jsonObj.get("orderdetailresponse") != null && !jsonObj.get("orderdetailresponse").isJsonNull()) { - OrderDetailResponseServiceresponseOrderdetailresponse.validateJsonElement(jsonObj.get("orderdetailresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponse - */ - public static OrderDetailResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponse.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponse.java deleted file mode 100644 index 99baa560..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponse.java +++ /dev/null @@ -1,840 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress; - -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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponse { - public static final String SERIALIZED_NAME_ORDERNUMBER = "ordernumber"; - @SerializedName(SERIALIZED_NAME_ORDERNUMBER) - private String ordernumber; - - public static final String SERIALIZED_NAME_ORDERTYPE = "ordertype"; - @SerializedName(SERIALIZED_NAME_ORDERTYPE) - private String ordertype; - - public static final String SERIALIZED_NAME_CUSTOMERORDERNUMBER = "customerordernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERORDERNUMBER) - private String customerordernumber; - - public static final String SERIALIZED_NAME_ENDUSERPONUMBER = "enduserponumber"; - @SerializedName(SERIALIZED_NAME_ENDUSERPONUMBER) - private String enduserponumber; - - public static final String SERIALIZED_NAME_ORDERSTATUS = "orderstatus"; - @SerializedName(SERIALIZED_NAME_ORDERSTATUS) - private String orderstatus; - - public static final String SERIALIZED_NAME_ENTRYTIMESTAMP = "entrytimestamp"; - @SerializedName(SERIALIZED_NAME_ENTRYTIMESTAMP) - private String entrytimestamp; - - public static final String SERIALIZED_NAME_ENTRYMETHODDESCRIPTION = "entrymethoddescription"; - @SerializedName(SERIALIZED_NAME_ENTRYMETHODDESCRIPTION) - private String entrymethoddescription; - - public static final String SERIALIZED_NAME_ORDERTOTALVALUE = "ordertotalvalue"; - @SerializedName(SERIALIZED_NAME_ORDERTOTALVALUE) - private BigDecimal ordertotalvalue; - - public static final String SERIALIZED_NAME_ORDERSUBTOTAL = "ordersubtotal"; - @SerializedName(SERIALIZED_NAME_ORDERSUBTOTAL) - private BigDecimal ordersubtotal; - - public static final String SERIALIZED_NAME_FREIGHTAMOUNT = "freightamount"; - @SerializedName(SERIALIZED_NAME_FREIGHTAMOUNT) - private String freightamount; - - public static final String SERIALIZED_NAME_CURRENCYCODE = "currencycode"; - @SerializedName(SERIALIZED_NAME_CURRENCYCODE) - private String currencycode; - - public static final String SERIALIZED_NAME_TOTALWEIGHT = "totalweight"; - @SerializedName(SERIALIZED_NAME_TOTALWEIGHT) - private String totalweight; - - public static final String SERIALIZED_NAME_TOTALTAX = "totaltax"; - @SerializedName(SERIALIZED_NAME_TOTALTAX) - private String totaltax; - - public static final String SERIALIZED_NAME_BILLTOADDRESS = "billtoaddress"; - @SerializedName(SERIALIZED_NAME_BILLTOADDRESS) - private OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress billtoaddress; - - public static final String SERIALIZED_NAME_SHIPTOADDRESS = "shiptoaddress"; - @SerializedName(SERIALIZED_NAME_SHIPTOADDRESS) - private OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress shiptoaddress; - - public static final String SERIALIZED_NAME_ENDUSERINFO = "enduserinfo"; - @SerializedName(SERIALIZED_NAME_ENDUSERINFO) - private OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo enduserinfo; - - public static final String SERIALIZED_NAME_LINES = "lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines; - - public static final String SERIALIZED_NAME_COMMENTLINES = "commentlines"; - @SerializedName(SERIALIZED_NAME_COMMENTLINES) - private List commentlines; - - public static final String SERIALIZED_NAME_MISCFEELINE = "miscfeeline"; - @SerializedName(SERIALIZED_NAME_MISCFEELINE) - private List miscfeeline; - - public static final String SERIALIZED_NAME_EXTENDEDSPECS = "extendedspecs"; - @SerializedName(SERIALIZED_NAME_EXTENDEDSPECS) - private List extendedspecs; - - public OrderDetailResponseServiceresponseOrderdetailresponse() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponse ordernumber(String ordernumber) { - this.ordernumber = ordernumber; - return this; - } - - /** - * Get ordernumber - * @return ordernumber - **/ - @javax.annotation.Nullable - public String getOrdernumber() { - return ordernumber; - } - - public void setOrdernumber(String ordernumber) { - this.ordernumber = ordernumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse ordertype(String ordertype) { - this.ordertype = ordertype; - return this; - } - - /** - * Order Type B - BRANCH TRANSFER C - CASH ORDER D - DIRECT ORDER F - FUTURE ORDER P - SPECIAL ORDER Q - QUOTE ORDER S - STOCK ORDER M - MEMO ORDER - * @return ordertype - **/ - @javax.annotation.Nullable - public String getOrdertype() { - return ordertype; - } - - public void setOrdertype(String ordertype) { - this.ordertype = ordertype; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse customerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - return this; - } - - /** - * Customer PO number - * @return customerordernumber - **/ - @javax.annotation.Nullable - public String getCustomerordernumber() { - return customerordernumber; - } - - public void setCustomerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse enduserponumber(String enduserponumber) { - this.enduserponumber = enduserponumber; - return this; - } - - /** - * End User PO number - * @return enduserponumber - **/ - @javax.annotation.Nullable - public String getEnduserponumber() { - return enduserponumber; - } - - public void setEnduserponumber(String enduserponumber) { - this.enduserponumber = enduserponumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse orderstatus(String orderstatus) { - this.orderstatus = orderstatus; - return this; - } - - /** - * Status of order within Ingram system S - SALES HOLD H - TAG HOLD I - INVOICED P - PENDING E - BILLING ERROR F - FORCE BILLING V - VOIDED T - TRANSFERRED D - HOLD SHIPMENT R - RELEASED O - IM ONLINE HOLD U - BILL FOR HISTORY ONLY W - ORDER NOT PRINTED A - DROP SHIP HOLD B - INTERNET CUST ORIG HOLD 1 - PICKED 2 - INSPECTED 3 - PACKED 4 - SHIPPED C - CREDIT HOLD 9 - CISCO 3A6 Q - RMA HOLD G - CREDIT HOLD N - CREDIT HOLD - * @return orderstatus - **/ - @javax.annotation.Nullable - public String getOrderstatus() { - return orderstatus; - } - - public void setOrderstatus(String orderstatus) { - this.orderstatus = orderstatus; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse entrytimestamp(String entrytimestamp) { - this.entrytimestamp = entrytimestamp; - return this; - } - - /** - * Time stamp of the order placed - * @return entrytimestamp - **/ - @javax.annotation.Nullable - public String getEntrytimestamp() { - return entrytimestamp; - } - - public void setEntrytimestamp(String entrytimestamp) { - this.entrytimestamp = entrytimestamp; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse entrymethoddescription(String entrymethoddescription) { - this.entrymethoddescription = entrymethoddescription; - return this; - } - - /** - * Description of the entry method - * @return entrymethoddescription - **/ - @javax.annotation.Nullable - public String getEntrymethoddescription() { - return entrymethoddescription; - } - - public void setEntrymethoddescription(String entrymethoddescription) { - this.entrymethoddescription = entrymethoddescription; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse ordertotalvalue(BigDecimal ordertotalvalue) { - this.ordertotalvalue = ordertotalvalue; - return this; - } - - /** - * Total order value - * @return ordertotalvalue - **/ - @javax.annotation.Nullable - public BigDecimal getOrdertotalvalue() { - return ordertotalvalue; - } - - public void setOrdertotalvalue(BigDecimal ordertotalvalue) { - this.ordertotalvalue = ordertotalvalue; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse ordersubtotal(BigDecimal ordersubtotal) { - this.ordersubtotal = ordersubtotal; - return this; - } - - /** - * Subtotal order value - * @return ordersubtotal - **/ - @javax.annotation.Nullable - public BigDecimal getOrdersubtotal() { - return ordersubtotal; - } - - public void setOrdersubtotal(BigDecimal ordersubtotal) { - this.ordersubtotal = ordersubtotal; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse freightamount(String freightamount) { - this.freightamount = freightamount; - return this; - } - - /** - * Freight charges - * @return freightamount - **/ - @javax.annotation.Nullable - public String getFreightamount() { - return freightamount; - } - - public void setFreightamount(String freightamount) { - this.freightamount = freightamount; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse currencycode(String currencycode) { - this.currencycode = currencycode; - return this; - } - - /** - * Country specific currency code - * @return currencycode - **/ - @javax.annotation.Nullable - public String getCurrencycode() { - return currencycode; - } - - public void setCurrencycode(String currencycode) { - this.currencycode = currencycode; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse totalweight(String totalweight) { - this.totalweight = totalweight; - return this; - } - - /** - * Total order weight. unit -- North america - Pounds , other countries will be KG - * @return totalweight - **/ - @javax.annotation.Nullable - public String getTotalweight() { - return totalweight; - } - - public void setTotalweight(String totalweight) { - this.totalweight = totalweight; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse totaltax(String totaltax) { - this.totaltax = totaltax; - return this; - } - - /** - * total tax on the orders placed - * @return totaltax - **/ - @javax.annotation.Nullable - public String getTotaltax() { - return totaltax; - } - - public void setTotaltax(String totaltax) { - this.totaltax = totaltax; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse billtoaddress(OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress billtoaddress) { - this.billtoaddress = billtoaddress; - return this; - } - - /** - * Get billtoaddress - * @return billtoaddress - **/ - @javax.annotation.Nullable - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress getBilltoaddress() { - return billtoaddress; - } - - public void setBilltoaddress(OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress billtoaddress) { - this.billtoaddress = billtoaddress; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse shiptoaddress(OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - return this; - } - - /** - * Get shiptoaddress - * @return shiptoaddress - **/ - @javax.annotation.Nullable - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress getShiptoaddress() { - return shiptoaddress; - } - - public void setShiptoaddress(OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress shiptoaddress) { - this.shiptoaddress = shiptoaddress; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse enduserinfo(OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo enduserinfo) { - this.enduserinfo = enduserinfo; - return this; - } - - /** - * Get enduserinfo - * @return enduserinfo - **/ - @javax.annotation.Nullable - public OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo getEnduserinfo() { - return enduserinfo; - } - - public void setEnduserinfo(OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo enduserinfo) { - this.enduserinfo = enduserinfo; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse lines(List lines) { - this.lines = lines; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponse addLinesItem(OrderDetailResponseServiceresponseOrderdetailresponseLinesInner linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * Get lines - * @return lines - **/ - @javax.annotation.Nullable - public List getLines() { - return lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse commentlines(List commentlines) { - this.commentlines = commentlines; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponse addCommentlinesItem(OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner commentlinesItem) { - if (this.commentlines == null) { - this.commentlines = new ArrayList<>(); - } - this.commentlines.add(commentlinesItem); - return this; - } - - /** - * Get commentlines - * @return commentlines - **/ - @javax.annotation.Nullable - public List getCommentlines() { - return commentlines; - } - - public void setCommentlines(List commentlines) { - this.commentlines = commentlines; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse miscfeeline(List miscfeeline) { - this.miscfeeline = miscfeeline; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponse addMiscfeelineItem(OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner miscfeelineItem) { - if (this.miscfeeline == null) { - this.miscfeeline = new ArrayList<>(); - } - this.miscfeeline.add(miscfeelineItem); - return this; - } - - /** - * Get miscfeeline - * @return miscfeeline - **/ - @javax.annotation.Nullable - public List getMiscfeeline() { - return miscfeeline; - } - - public void setMiscfeeline(List miscfeeline) { - this.miscfeeline = miscfeeline; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponse extendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponse addExtendedspecsItem(OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner extendedspecsItem) { - if (this.extendedspecs == null) { - this.extendedspecs = new ArrayList<>(); - } - this.extendedspecs.add(extendedspecsItem); - return this; - } - - /** - * Get extendedspecs - * @return extendedspecs - **/ - @javax.annotation.Nullable - public List getExtendedspecs() { - return extendedspecs; - } - - public void setExtendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponse orderDetailResponseServiceresponseOrderdetailresponse = (OrderDetailResponseServiceresponseOrderdetailresponse) o; - return Objects.equals(this.ordernumber, orderDetailResponseServiceresponseOrderdetailresponse.ordernumber) && - Objects.equals(this.ordertype, orderDetailResponseServiceresponseOrderdetailresponse.ordertype) && - Objects.equals(this.customerordernumber, orderDetailResponseServiceresponseOrderdetailresponse.customerordernumber) && - Objects.equals(this.enduserponumber, orderDetailResponseServiceresponseOrderdetailresponse.enduserponumber) && - Objects.equals(this.orderstatus, orderDetailResponseServiceresponseOrderdetailresponse.orderstatus) && - Objects.equals(this.entrytimestamp, orderDetailResponseServiceresponseOrderdetailresponse.entrytimestamp) && - Objects.equals(this.entrymethoddescription, orderDetailResponseServiceresponseOrderdetailresponse.entrymethoddescription) && - Objects.equals(this.ordertotalvalue, orderDetailResponseServiceresponseOrderdetailresponse.ordertotalvalue) && - Objects.equals(this.ordersubtotal, orderDetailResponseServiceresponseOrderdetailresponse.ordersubtotal) && - Objects.equals(this.freightamount, orderDetailResponseServiceresponseOrderdetailresponse.freightamount) && - Objects.equals(this.currencycode, orderDetailResponseServiceresponseOrderdetailresponse.currencycode) && - Objects.equals(this.totalweight, orderDetailResponseServiceresponseOrderdetailresponse.totalweight) && - Objects.equals(this.totaltax, orderDetailResponseServiceresponseOrderdetailresponse.totaltax) && - Objects.equals(this.billtoaddress, orderDetailResponseServiceresponseOrderdetailresponse.billtoaddress) && - Objects.equals(this.shiptoaddress, orderDetailResponseServiceresponseOrderdetailresponse.shiptoaddress) && - Objects.equals(this.enduserinfo, orderDetailResponseServiceresponseOrderdetailresponse.enduserinfo) && - Objects.equals(this.lines, orderDetailResponseServiceresponseOrderdetailresponse.lines) && - Objects.equals(this.commentlines, orderDetailResponseServiceresponseOrderdetailresponse.commentlines) && - Objects.equals(this.miscfeeline, orderDetailResponseServiceresponseOrderdetailresponse.miscfeeline) && - Objects.equals(this.extendedspecs, orderDetailResponseServiceresponseOrderdetailresponse.extendedspecs); - } - - @Override - public int hashCode() { - return Objects.hash(ordernumber, ordertype, customerordernumber, enduserponumber, orderstatus, entrytimestamp, entrymethoddescription, ordertotalvalue, ordersubtotal, freightamount, currencycode, totalweight, totaltax, billtoaddress, shiptoaddress, enduserinfo, lines, commentlines, miscfeeline, extendedspecs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponse {\n"); - sb.append(" ordernumber: ").append(toIndentedString(ordernumber)).append("\n"); - sb.append(" ordertype: ").append(toIndentedString(ordertype)).append("\n"); - sb.append(" customerordernumber: ").append(toIndentedString(customerordernumber)).append("\n"); - sb.append(" enduserponumber: ").append(toIndentedString(enduserponumber)).append("\n"); - sb.append(" orderstatus: ").append(toIndentedString(orderstatus)).append("\n"); - sb.append(" entrytimestamp: ").append(toIndentedString(entrytimestamp)).append("\n"); - sb.append(" entrymethoddescription: ").append(toIndentedString(entrymethoddescription)).append("\n"); - sb.append(" ordertotalvalue: ").append(toIndentedString(ordertotalvalue)).append("\n"); - sb.append(" ordersubtotal: ").append(toIndentedString(ordersubtotal)).append("\n"); - sb.append(" freightamount: ").append(toIndentedString(freightamount)).append("\n"); - sb.append(" currencycode: ").append(toIndentedString(currencycode)).append("\n"); - sb.append(" totalweight: ").append(toIndentedString(totalweight)).append("\n"); - sb.append(" totaltax: ").append(toIndentedString(totaltax)).append("\n"); - sb.append(" billtoaddress: ").append(toIndentedString(billtoaddress)).append("\n"); - sb.append(" shiptoaddress: ").append(toIndentedString(shiptoaddress)).append("\n"); - sb.append(" enduserinfo: ").append(toIndentedString(enduserinfo)).append("\n"); - sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); - sb.append(" commentlines: ").append(toIndentedString(commentlines)).append("\n"); - sb.append(" miscfeeline: ").append(toIndentedString(miscfeeline)).append("\n"); - sb.append(" extendedspecs: ").append(toIndentedString(extendedspecs)).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("ordernumber"); - openapiFields.add("ordertype"); - openapiFields.add("customerordernumber"); - openapiFields.add("enduserponumber"); - openapiFields.add("orderstatus"); - openapiFields.add("entrytimestamp"); - openapiFields.add("entrymethoddescription"); - openapiFields.add("ordertotalvalue"); - openapiFields.add("ordersubtotal"); - openapiFields.add("freightamount"); - openapiFields.add("currencycode"); - openapiFields.add("totalweight"); - openapiFields.add("totaltax"); - openapiFields.add("billtoaddress"); - openapiFields.add("shiptoaddress"); - openapiFields.add("enduserinfo"); - openapiFields.add("lines"); - openapiFields.add("commentlines"); - openapiFields.add("miscfeeline"); - openapiFields.add("extendedspecs"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponse is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("ordernumber") != null && !jsonObj.get("ordernumber").isJsonNull()) && !jsonObj.get("ordernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordernumber").toString())); - } - if ((jsonObj.get("ordertype") != null && !jsonObj.get("ordertype").isJsonNull()) && !jsonObj.get("ordertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertype").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("enduserponumber") != null && !jsonObj.get("enduserponumber").isJsonNull()) && !jsonObj.get("enduserponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `enduserponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enduserponumber").toString())); - } - if ((jsonObj.get("orderstatus") != null && !jsonObj.get("orderstatus").isJsonNull()) && !jsonObj.get("orderstatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderstatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderstatus").toString())); - } - if ((jsonObj.get("entrytimestamp") != null && !jsonObj.get("entrytimestamp").isJsonNull()) && !jsonObj.get("entrytimestamp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `entrytimestamp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("entrytimestamp").toString())); - } - if ((jsonObj.get("entrymethoddescription") != null && !jsonObj.get("entrymethoddescription").isJsonNull()) && !jsonObj.get("entrymethoddescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `entrymethoddescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("entrymethoddescription").toString())); - } - if ((jsonObj.get("freightamount") != null && !jsonObj.get("freightamount").isJsonNull()) && !jsonObj.get("freightamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `freightamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("freightamount").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("totalweight") != null && !jsonObj.get("totalweight").isJsonNull()) && !jsonObj.get("totalweight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalweight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalweight").toString())); - } - if ((jsonObj.get("totaltax") != null && !jsonObj.get("totaltax").isJsonNull()) && !jsonObj.get("totaltax").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totaltax` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totaltax").toString())); - } - // validate the optional field `billtoaddress` - if (jsonObj.get("billtoaddress") != null && !jsonObj.get("billtoaddress").isJsonNull()) { - OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.validateJsonElement(jsonObj.get("billtoaddress")); - } - // validate the optional field `shiptoaddress` - if (jsonObj.get("shiptoaddress") != null && !jsonObj.get("shiptoaddress").isJsonNull()) { - OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.validateJsonElement(jsonObj.get("shiptoaddress")); - } - // validate the optional field `enduserinfo` - if (jsonObj.get("enduserinfo") != null && !jsonObj.get("enduserinfo").isJsonNull()) { - OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.validateJsonElement(jsonObj.get("enduserinfo")); - } - 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++) { - OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.validateJsonElement(jsonArraylines.get(i)); - }; - } - } - if (jsonObj.get("commentlines") != null && !jsonObj.get("commentlines").isJsonNull()) { - JsonArray jsonArraycommentlines = jsonObj.getAsJsonArray("commentlines"); - if (jsonArraycommentlines != null) { - // ensure the json data is an array - if (!jsonObj.get("commentlines").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `commentlines` to be an array in the JSON string but got `%s`", jsonObj.get("commentlines").toString())); - } - - // validate the optional field `commentlines` (array) - for (int i = 0; i < jsonArraycommentlines.size(); i++) { - OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.validateJsonElement(jsonArraycommentlines.get(i)); - }; - } - } - if (jsonObj.get("miscfeeline") != null && !jsonObj.get("miscfeeline").isJsonNull()) { - JsonArray jsonArraymiscfeeline = jsonObj.getAsJsonArray("miscfeeline"); - if (jsonArraymiscfeeline != null) { - // ensure the json data is an array - if (!jsonObj.get("miscfeeline").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `miscfeeline` to be an array in the JSON string but got `%s`", jsonObj.get("miscfeeline").toString())); - } - - // validate the optional field `miscfeeline` (array) - for (int i = 0; i < jsonArraymiscfeeline.size(); i++) { - OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.validateJsonElement(jsonArraymiscfeeline.get(i)); - }; - } - } - if (jsonObj.get("extendedspecs") != null && !jsonObj.get("extendedspecs").isJsonNull()) { - JsonArray jsonArrayextendedspecs = jsonObj.getAsJsonArray("extendedspecs"); - if (jsonArrayextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("extendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("extendedspecs").toString())); - } - - // validate the optional field `extendedspecs` (array) - for (int i = 0; i < jsonArrayextendedspecs.size(); i++) { - OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.validateJsonElement(jsonArrayextendedspecs.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponse - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponse - */ - public static OrderDetailResponseServiceresponseOrderdetailresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponse.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.java deleted file mode 100644 index 77c54733..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.java +++ /dev/null @@ -1,467 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress { - public static final String SERIALIZED_NAME_SUFFIX = "suffix"; - @SerializedName(SERIALIZED_NAME_SUFFIX) - private String suffix; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_ATTENTION = "attention"; - @SerializedName(SERIALIZED_NAME_ATTENTION) - private String attention; - - public static final String SERIALIZED_NAME_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress suffix(String suffix) { - this.suffix = suffix; - return this; - } - - /** - * Get suffix - * @return suffix - **/ - @javax.annotation.Nullable - public String getSuffix() { - return suffix; - } - - public void setSuffix(String suffix) { - this.suffix = suffix; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress attention(String attention) { - this.attention = attention; - return this; - } - - /** - * Get attention - * @return attention - **/ - @javax.annotation.Nullable - public String getAttention() { - return attention; - } - - public void setAttention(String attention) { - this.attention = attention; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Get addressline1 - * @return addressline1 - **/ - @javax.annotation.Nullable - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Get addressline2 - * @return addressline2 - **/ - @javax.annotation.Nullable - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Get addressline3 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress = (OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress) o; - return Objects.equals(this.suffix, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.suffix) && - Objects.equals(this.name, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.name) && - Objects.equals(this.attention, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.attention) && - Objects.equals(this.addressline1, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.addressline1) && - Objects.equals(this.addressline2, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.addressline2) && - Objects.equals(this.addressline3, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.addressline3) && - Objects.equals(this.city, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.city) && - Objects.equals(this.state, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.state) && - Objects.equals(this.postalcode, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.postalcode) && - Objects.equals(this.countrycode, orderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.countrycode); - } - - @Override - public int hashCode() { - return Objects.hash(suffix, name, attention, addressline1, addressline2, addressline3, city, state, postalcode, countrycode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" attention: ").append(toIndentedString(attention)).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("}"); - 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("suffix"); - openapiFields.add("name"); - openapiFields.add("attention"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("suffix") != null && !jsonObj.get("suffix").isJsonNull()) && !jsonObj.get("suffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `suffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suffix").toString())); - } - if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if ((jsonObj.get("attention") != null && !jsonObj.get("attention").isJsonNull()) && !jsonObj.get("attention").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attention` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attention").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("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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.java deleted file mode 100644 index bb675ca4..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner { - public static final String SERIALIZED_NAME_COMMENTTEXT1 = "commenttext1"; - @SerializedName(SERIALIZED_NAME_COMMENTTEXT1) - private String commenttext1; - - public static final String SERIALIZED_NAME_COMMENTTEXT2 = "commenttext2"; - @SerializedName(SERIALIZED_NAME_COMMENTTEXT2) - private String commenttext2; - - public OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner commenttext1(String commenttext1) { - this.commenttext1 = commenttext1; - return this; - } - - /** - * Get commenttext1 - * @return commenttext1 - **/ - @javax.annotation.Nullable - public String getCommenttext1() { - return commenttext1; - } - - public void setCommenttext1(String commenttext1) { - this.commenttext1 = commenttext1; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner commenttext2(String commenttext2) { - this.commenttext2 = commenttext2; - return this; - } - - /** - * Get commenttext2 - * @return commenttext2 - **/ - @javax.annotation.Nullable - public String getCommenttext2() { - return commenttext2; - } - - public void setCommenttext2(String commenttext2) { - this.commenttext2 = commenttext2; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner orderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner = (OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner) o; - return Objects.equals(this.commenttext1, orderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.commenttext1) && - Objects.equals(this.commenttext2, orderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.commenttext2); - } - - @Override - public int hashCode() { - return Objects.hash(commenttext1, commenttext2); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner {\n"); - sb.append(" commenttext1: ").append(toIndentedString(commenttext1)).append("\n"); - sb.append(" commenttext2: ").append(toIndentedString(commenttext2)).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("commenttext1"); - openapiFields.add("commenttext2"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("commenttext1") != null && !jsonObj.get("commenttext1").isJsonNull()) && !jsonObj.get("commenttext1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `commenttext1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("commenttext1").toString())); - } - if ((jsonObj.get("commenttext2") != null && !jsonObj.get("commenttext2").isJsonNull()) && !jsonObj.get("commenttext2").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `commenttext2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("commenttext2").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.java deleted file mode 100644 index c6550841..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.java +++ /dev/null @@ -1,206 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo { - public static final String SERIALIZED_NAME_ENDUSERID = "enduserid"; - @SerializedName(SERIALIZED_NAME_ENDUSERID) - private String enduserid; - - public OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo enduserid(String enduserid) { - this.enduserid = enduserid; - return this; - } - - /** - * Get enduserid - * @return enduserid - **/ - @javax.annotation.Nullable - public String getEnduserid() { - return enduserid; - } - - public void setEnduserid(String enduserid) { - this.enduserid = enduserid; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo orderDetailResponseServiceresponseOrderdetailresponseEnduserinfo = (OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo) o; - return Objects.equals(this.enduserid, orderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.enduserid); - } - - @Override - public int hashCode() { - return Objects.hash(enduserid); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo {\n"); - sb.append(" enduserid: ").append(toIndentedString(enduserid)).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"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo` 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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.java deleted file mode 100644 index 4c8508f9..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner { - public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) - private String attributename; - - public static final String SERIALIZED_NAME_ATTRIBUTEVALUE = "attributevalue"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTEVALUE) - private String attributevalue; - - public OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner attributename(String attributename) { - this.attributename = attributename; - return this; - } - - /** - * termscode' | 'termsdescription' | 'commenttext' are the atrribute name - * @return attributename - **/ - @javax.annotation.Nullable - public String getAttributename() { - return attributename; - } - - public void setAttributename(String attributename) { - this.attributename = attributename; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner attributevalue(String attributevalue) { - this.attributevalue = attributevalue; - return this; - } - - /** - * values of these fields are send . termscode' | 'termsdescription' | 'commenttext' are the atrribute name - * @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; - } - OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner orderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner = (OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner) o; - return Objects.equals(this.attributename, orderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.attributename) && - Objects.equals(this.attributevalue, orderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.attributevalue); - } - - @Override - public int hashCode() { - return Objects.hash(attributename, attributevalue); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner {\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 OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner` 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 (!OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.java deleted file mode 100644 index 2f0a01ff..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.java +++ /dev/null @@ -1,907 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner; - -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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInner { - public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; - @SerializedName(SERIALIZED_NAME_LINENUMBER) - private String linenumber; - - public static final String SERIALIZED_NAME_GLOBALLINENUMBER = "globallinenumber"; - @SerializedName(SERIALIZED_NAME_GLOBALLINENUMBER) - private String globallinenumber; - - public static final String SERIALIZED_NAME_ORDERSUFFIX = "ordersuffix"; - @SerializedName(SERIALIZED_NAME_ORDERSUFFIX) - private String ordersuffix; - - public static final String SERIALIZED_NAME_ERPORDERNUMBER = "erpordernumber"; - @SerializedName(SERIALIZED_NAME_ERPORDERNUMBER) - private String erpordernumber; - - public static final String SERIALIZED_NAME_LINESTATUS = "linestatus"; - @SerializedName(SERIALIZED_NAME_LINESTATUS) - private String linestatus; - - public static final String SERIALIZED_NAME_PARTNUMBER = "partnumber"; - @SerializedName(SERIALIZED_NAME_PARTNUMBER) - private String partnumber; - - public static final String SERIALIZED_NAME_MANUFACTURERPARTNUMBER = "manufacturerpartnumber"; - @SerializedName(SERIALIZED_NAME_MANUFACTURERPARTNUMBER) - private String manufacturerpartnumber; - - public static final String SERIALIZED_NAME_VENDORNAME = "vendorname"; - @SerializedName(SERIALIZED_NAME_VENDORNAME) - private String vendorname; - - public static final String SERIALIZED_NAME_VENDORCODE = "vendorcode"; - @SerializedName(SERIALIZED_NAME_VENDORCODE) - private String vendorcode; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION1 = "partdescription1"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION1) - private String partdescription1; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION2 = "partdescription2"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION2) - private String partdescription2; - - public static final String SERIALIZED_NAME_UNITWEIGHT = "unitweight"; - @SerializedName(SERIALIZED_NAME_UNITWEIGHT) - private String unitweight; - - public static final String SERIALIZED_NAME_UNITPRICE = "unitprice"; - @SerializedName(SERIALIZED_NAME_UNITPRICE) - private BigDecimal unitprice; - - public static final String SERIALIZED_NAME_EXTENDEDPRICE = "extendedprice"; - @SerializedName(SERIALIZED_NAME_EXTENDEDPRICE) - private BigDecimal extendedprice; - - public static final String SERIALIZED_NAME_TAXAMOUNT = "taxamount"; - @SerializedName(SERIALIZED_NAME_TAXAMOUNT) - private BigDecimal taxamount; - - public static final String SERIALIZED_NAME_REQUESTEDQUANTITY = "requestedquantity"; - @SerializedName(SERIALIZED_NAME_REQUESTEDQUANTITY) - private String requestedquantity; - - public static final String SERIALIZED_NAME_CONFIRMEDQUANTITY = "confirmedquantity"; - @SerializedName(SERIALIZED_NAME_CONFIRMEDQUANTITY) - private String confirmedquantity; - - public static final String SERIALIZED_NAME_BACKORDERQUANTITY = "backorderquantity"; - @SerializedName(SERIALIZED_NAME_BACKORDERQUANTITY) - private String backorderquantity; - - public static final String SERIALIZED_NAME_SERIALNUMBERDETAILS = "serialnumberdetails"; - @SerializedName(SERIALIZED_NAME_SERIALNUMBERDETAILS) - private List serialnumberdetails; - - public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; - @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) - private List trackingnumber; - - public static final String SERIALIZED_NAME_SHIPMENTDETAILS = "shipmentdetails"; - @SerializedName(SERIALIZED_NAME_SHIPMENTDETAILS) - private List shipmentdetails; - - public static final String SERIALIZED_NAME_PRODUCTEXTENDEDSPECS = "productextendedspecs"; - @SerializedName(SERIALIZED_NAME_PRODUCTEXTENDEDSPECS) - private List productextendedspecs; - - public static final String SERIALIZED_NAME_BACKORDERETADATE = "backorderetadate"; - @SerializedName(SERIALIZED_NAME_BACKORDERETADATE) - private String backorderetadate; - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner linenumber(String linenumber) { - this.linenumber = linenumber; - return this; - } - - /** - * Impulse line number - * @return linenumber - **/ - @javax.annotation.Nullable - public String getLinenumber() { - return linenumber; - } - - public void setLinenumber(String linenumber) { - this.linenumber = linenumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner globallinenumber(String globallinenumber) { - this.globallinenumber = globallinenumber; - return this; - } - - /** - * Line of the Globel Sku / Customer Line Number - * @return globallinenumber - **/ - @javax.annotation.Nullable - public String getGloballinenumber() { - return globallinenumber; - } - - public void setGloballinenumber(String globallinenumber) { - this.globallinenumber = globallinenumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner ordersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - return this; - } - - /** - * Order Suffix - * @return ordersuffix - **/ - @javax.annotation.Nullable - public String getOrdersuffix() { - return ordersuffix; - } - - public void setOrdersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner erpordernumber(String erpordernumber) { - this.erpordernumber = erpordernumber; - return this; - } - - /** - * Sales order number - * @return erpordernumber - **/ - @javax.annotation.Nullable - public String getErpordernumber() { - return erpordernumber; - } - - public void setErpordernumber(String erpordernumber) { - this.erpordernumber = erpordernumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner linestatus(String linestatus) { - this.linestatus = linestatus; - return this; - } - - /** - * Status of the line - * @return linestatus - **/ - @javax.annotation.Nullable - public String getLinestatus() { - return linestatus; - } - - public void setLinestatus(String linestatus) { - this.linestatus = linestatus; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner partnumber(String partnumber) { - this.partnumber = partnumber; - return this; - } - - /** - * Ingram part number - * @return partnumber - **/ - @javax.annotation.Nullable - public String getPartnumber() { - return partnumber; - } - - public void setPartnumber(String partnumber) { - this.partnumber = partnumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner manufacturerpartnumber(String manufacturerpartnumber) { - this.manufacturerpartnumber = manufacturerpartnumber; - return this; - } - - /** - * manufacture number of the product - * @return manufacturerpartnumber - **/ - @javax.annotation.Nullable - public String getManufacturerpartnumber() { - return manufacturerpartnumber; - } - - public void setManufacturerpartnumber(String manufacturerpartnumber) { - this.manufacturerpartnumber = manufacturerpartnumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner vendorname(String vendorname) { - this.vendorname = vendorname; - return this; - } - - /** - * name of the vendor - * @return vendorname - **/ - @javax.annotation.Nullable - public String getVendorname() { - return vendorname; - } - - public void setVendorname(String vendorname) { - this.vendorname = vendorname; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner vendorcode(String vendorcode) { - this.vendorcode = vendorcode; - return this; - } - - /** - * Ingram Micro assigned code for the vendor - * @return vendorcode - **/ - @javax.annotation.Nullable - public String getVendorcode() { - return vendorcode; - } - - public void setVendorcode(String vendorcode) { - this.vendorcode = vendorcode; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner partdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - return this; - } - - /** - * Get partdescription1 - * @return partdescription1 - **/ - @javax.annotation.Nullable - public String getPartdescription1() { - return partdescription1; - } - - public void setPartdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner partdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - return this; - } - - /** - * Get partdescription2 - * @return partdescription2 - **/ - @javax.annotation.Nullable - public String getPartdescription2() { - return partdescription2; - } - - public void setPartdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner unitweight(String unitweight) { - this.unitweight = unitweight; - return this; - } - - /** - * weight of the product unit - * @return unitweight - **/ - @javax.annotation.Nullable - public String getUnitweight() { - return unitweight; - } - - public void setUnitweight(String unitweight) { - this.unitweight = unitweight; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner unitprice(BigDecimal unitprice) { - this.unitprice = unitprice; - return this; - } - - /** - * Customer price of the unit - * @return unitprice - **/ - @javax.annotation.Nullable - public BigDecimal getUnitprice() { - return unitprice; - } - - public void setUnitprice(BigDecimal unitprice) { - this.unitprice = unitprice; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner extendedprice(BigDecimal extendedprice) { - this.extendedprice = extendedprice; - return this; - } - - /** - * extended price of the order - * @return extendedprice - **/ - @javax.annotation.Nullable - public BigDecimal getExtendedprice() { - return extendedprice; - } - - public void setExtendedprice(BigDecimal extendedprice) { - this.extendedprice = extendedprice; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner taxamount(BigDecimal taxamount) { - this.taxamount = taxamount; - return this; - } - - /** - * tax amount for the order - * @return taxamount - **/ - @javax.annotation.Nullable - public BigDecimal getTaxamount() { - return taxamount; - } - - public void setTaxamount(BigDecimal taxamount) { - this.taxamount = taxamount; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner requestedquantity(String requestedquantity) { - this.requestedquantity = requestedquantity; - return this; - } - - /** - * no. of units requested - * @return requestedquantity - **/ - @javax.annotation.Nullable - public String getRequestedquantity() { - return requestedquantity; - } - - public void setRequestedquantity(String requestedquantity) { - this.requestedquantity = requestedquantity; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner confirmedquantity(String confirmedquantity) { - this.confirmedquantity = confirmedquantity; - return this; - } - - /** - * no. of units confirmed available - * @return confirmedquantity - **/ - @javax.annotation.Nullable - public String getConfirmedquantity() { - return confirmedquantity; - } - - public void setConfirmedquantity(String confirmedquantity) { - this.confirmedquantity = confirmedquantity; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner backorderquantity(String backorderquantity) { - this.backorderquantity = backorderquantity; - return this; - } - - /** - * quantity of back order - * @return backorderquantity - **/ - @javax.annotation.Nullable - public String getBackorderquantity() { - return backorderquantity; - } - - public void setBackorderquantity(String backorderquantity) { - this.backorderquantity = backorderquantity; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner serialnumberdetails(List serialnumberdetails) { - this.serialnumberdetails = serialnumberdetails; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner addSerialnumberdetailsItem(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner serialnumberdetailsItem) { - if (this.serialnumberdetails == null) { - this.serialnumberdetails = new ArrayList<>(); - } - this.serialnumberdetails.add(serialnumberdetailsItem); - return this; - } - - /** - * Get serialnumberdetails - * @return serialnumberdetails - **/ - @javax.annotation.Nullable - public List getSerialnumberdetails() { - return serialnumberdetails; - } - - public void setSerialnumberdetails(List serialnumberdetails) { - this.serialnumberdetails = serialnumberdetails; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner trackingnumber(List trackingnumber) { - this.trackingnumber = trackingnumber; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner addTrackingnumberItem(String trackingnumberItem) { - if (this.trackingnumber == null) { - this.trackingnumber = new ArrayList<>(); - } - this.trackingnumber.add(trackingnumberItem); - return this; - } - - /** - * Get trackingnumber - * @return trackingnumber - **/ - @javax.annotation.Nullable - public List getTrackingnumber() { - return trackingnumber; - } - - public void setTrackingnumber(List trackingnumber) { - this.trackingnumber = trackingnumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner shipmentdetails(List shipmentdetails) { - this.shipmentdetails = shipmentdetails; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner addShipmentdetailsItem(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner shipmentdetailsItem) { - if (this.shipmentdetails == null) { - this.shipmentdetails = new ArrayList<>(); - } - this.shipmentdetails.add(shipmentdetailsItem); - return this; - } - - /** - * Get shipmentdetails - * @return shipmentdetails - **/ - @javax.annotation.Nullable - public List getShipmentdetails() { - return shipmentdetails; - } - - public void setShipmentdetails(List shipmentdetails) { - this.shipmentdetails = shipmentdetails; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner productextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - return this; - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner addProductextendedspecsItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner productextendedspecsItem) { - if (this.productextendedspecs == null) { - this.productextendedspecs = new ArrayList<>(); - } - this.productextendedspecs.add(productextendedspecsItem); - return this; - } - - /** - * Get productextendedspecs - * @return productextendedspecs - **/ - @javax.annotation.Nullable - public List getProductextendedspecs() { - return productextendedspecs; - } - - public void setProductextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner backorderetadate(String backorderetadate) { - this.backorderetadate = backorderetadate; - return this; - } - - /** - * estimated date of back order - * @return backorderetadate - **/ - @javax.annotation.Nullable - public String getBackorderetadate() { - return backorderetadate; - } - - public void setBackorderetadate(String backorderetadate) { - this.backorderetadate = backorderetadate; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseLinesInner orderDetailResponseServiceresponseOrderdetailresponseLinesInner = (OrderDetailResponseServiceresponseOrderdetailresponseLinesInner) o; - return Objects.equals(this.linenumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.linenumber) && - Objects.equals(this.globallinenumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.globallinenumber) && - Objects.equals(this.ordersuffix, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.ordersuffix) && - Objects.equals(this.erpordernumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.erpordernumber) && - Objects.equals(this.linestatus, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.linestatus) && - Objects.equals(this.partnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.partnumber) && - Objects.equals(this.manufacturerpartnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.manufacturerpartnumber) && - Objects.equals(this.vendorname, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.vendorname) && - Objects.equals(this.vendorcode, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.vendorcode) && - Objects.equals(this.partdescription1, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.partdescription1) && - Objects.equals(this.partdescription2, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.partdescription2) && - Objects.equals(this.unitweight, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.unitweight) && - Objects.equals(this.unitprice, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.unitprice) && - Objects.equals(this.extendedprice, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.extendedprice) && - Objects.equals(this.taxamount, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.taxamount) && - Objects.equals(this.requestedquantity, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.requestedquantity) && - Objects.equals(this.confirmedquantity, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.confirmedquantity) && - Objects.equals(this.backorderquantity, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.backorderquantity) && - Objects.equals(this.serialnumberdetails, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.serialnumberdetails) && - Objects.equals(this.trackingnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.trackingnumber) && - Objects.equals(this.shipmentdetails, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.shipmentdetails) && - Objects.equals(this.productextendedspecs, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.productextendedspecs) && - Objects.equals(this.backorderetadate, orderDetailResponseServiceresponseOrderdetailresponseLinesInner.backorderetadate); - } - - @Override - public int hashCode() { - return Objects.hash(linenumber, globallinenumber, ordersuffix, erpordernumber, linestatus, partnumber, manufacturerpartnumber, vendorname, vendorcode, partdescription1, partdescription2, unitweight, unitprice, extendedprice, taxamount, requestedquantity, confirmedquantity, backorderquantity, serialnumberdetails, trackingnumber, shipmentdetails, productextendedspecs, backorderetadate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseLinesInner {\n"); - sb.append(" linenumber: ").append(toIndentedString(linenumber)).append("\n"); - sb.append(" globallinenumber: ").append(toIndentedString(globallinenumber)).append("\n"); - sb.append(" ordersuffix: ").append(toIndentedString(ordersuffix)).append("\n"); - sb.append(" erpordernumber: ").append(toIndentedString(erpordernumber)).append("\n"); - sb.append(" linestatus: ").append(toIndentedString(linestatus)).append("\n"); - sb.append(" partnumber: ").append(toIndentedString(partnumber)).append("\n"); - sb.append(" manufacturerpartnumber: ").append(toIndentedString(manufacturerpartnumber)).append("\n"); - sb.append(" vendorname: ").append(toIndentedString(vendorname)).append("\n"); - sb.append(" vendorcode: ").append(toIndentedString(vendorcode)).append("\n"); - sb.append(" partdescription1: ").append(toIndentedString(partdescription1)).append("\n"); - sb.append(" partdescription2: ").append(toIndentedString(partdescription2)).append("\n"); - sb.append(" unitweight: ").append(toIndentedString(unitweight)).append("\n"); - sb.append(" unitprice: ").append(toIndentedString(unitprice)).append("\n"); - sb.append(" extendedprice: ").append(toIndentedString(extendedprice)).append("\n"); - sb.append(" taxamount: ").append(toIndentedString(taxamount)).append("\n"); - sb.append(" requestedquantity: ").append(toIndentedString(requestedquantity)).append("\n"); - sb.append(" confirmedquantity: ").append(toIndentedString(confirmedquantity)).append("\n"); - sb.append(" backorderquantity: ").append(toIndentedString(backorderquantity)).append("\n"); - sb.append(" serialnumberdetails: ").append(toIndentedString(serialnumberdetails)).append("\n"); - sb.append(" trackingnumber: ").append(toIndentedString(trackingnumber)).append("\n"); - sb.append(" shipmentdetails: ").append(toIndentedString(shipmentdetails)).append("\n"); - sb.append(" productextendedspecs: ").append(toIndentedString(productextendedspecs)).append("\n"); - sb.append(" backorderetadate: ").append(toIndentedString(backorderetadate)).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("linenumber"); - openapiFields.add("globallinenumber"); - openapiFields.add("ordersuffix"); - openapiFields.add("erpordernumber"); - openapiFields.add("linestatus"); - openapiFields.add("partnumber"); - openapiFields.add("manufacturerpartnumber"); - openapiFields.add("vendorname"); - openapiFields.add("vendorcode"); - openapiFields.add("partdescription1"); - openapiFields.add("partdescription2"); - openapiFields.add("unitweight"); - openapiFields.add("unitprice"); - openapiFields.add("extendedprice"); - openapiFields.add("taxamount"); - openapiFields.add("requestedquantity"); - openapiFields.add("confirmedquantity"); - openapiFields.add("backorderquantity"); - openapiFields.add("serialnumberdetails"); - openapiFields.add("trackingnumber"); - openapiFields.add("shipmentdetails"); - openapiFields.add("productextendedspecs"); - openapiFields.add("backorderetadate"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseLinesInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("linenumber") != null && !jsonObj.get("linenumber").isJsonNull()) && !jsonObj.get("linenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linenumber").toString())); - } - if ((jsonObj.get("globallinenumber") != null && !jsonObj.get("globallinenumber").isJsonNull()) && !jsonObj.get("globallinenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globallinenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globallinenumber").toString())); - } - if ((jsonObj.get("ordersuffix") != null && !jsonObj.get("ordersuffix").isJsonNull()) && !jsonObj.get("ordersuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordersuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordersuffix").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())); - } - if ((jsonObj.get("linestatus") != null && !jsonObj.get("linestatus").isJsonNull()) && !jsonObj.get("linestatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linestatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linestatus").toString())); - } - if ((jsonObj.get("partnumber") != null && !jsonObj.get("partnumber").isJsonNull()) && !jsonObj.get("partnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partnumber").toString())); - } - if ((jsonObj.get("manufacturerpartnumber") != null && !jsonObj.get("manufacturerpartnumber").isJsonNull()) && !jsonObj.get("manufacturerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `manufacturerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("manufacturerpartnumber").toString())); - } - if ((jsonObj.get("vendorname") != null && !jsonObj.get("vendorname").isJsonNull()) && !jsonObj.get("vendorname").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorname").toString())); - } - if ((jsonObj.get("vendorcode") != null && !jsonObj.get("vendorcode").isJsonNull()) && !jsonObj.get("vendorcode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorcode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorcode").toString())); - } - if ((jsonObj.get("partdescription1") != null && !jsonObj.get("partdescription1").isJsonNull()) && !jsonObj.get("partdescription1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription1").toString())); - } - if ((jsonObj.get("partdescription2") != null && !jsonObj.get("partdescription2").isJsonNull()) && !jsonObj.get("partdescription2").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription2").toString())); - } - if ((jsonObj.get("unitweight") != null && !jsonObj.get("unitweight").isJsonNull()) && !jsonObj.get("unitweight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unitweight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitweight").toString())); - } - if ((jsonObj.get("requestedquantity") != null && !jsonObj.get("requestedquantity").isJsonNull()) && !jsonObj.get("requestedquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `requestedquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestedquantity").toString())); - } - if ((jsonObj.get("confirmedquantity") != null && !jsonObj.get("confirmedquantity").isJsonNull()) && !jsonObj.get("confirmedquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `confirmedquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("confirmedquantity").toString())); - } - if ((jsonObj.get("backorderquantity") != null && !jsonObj.get("backorderquantity").isJsonNull()) && !jsonObj.get("backorderquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `backorderquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("backorderquantity").toString())); - } - if (jsonObj.get("serialnumberdetails") != null && !jsonObj.get("serialnumberdetails").isJsonNull()) { - JsonArray jsonArrayserialnumberdetails = jsonObj.getAsJsonArray("serialnumberdetails"); - if (jsonArrayserialnumberdetails != null) { - // ensure the json data is an array - if (!jsonObj.get("serialnumberdetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serialnumberdetails` to be an array in the JSON string but got `%s`", jsonObj.get("serialnumberdetails").toString())); - } - - // validate the optional field `serialnumberdetails` (array) - for (int i = 0; i < jsonArrayserialnumberdetails.size(); i++) { - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.validateJsonElement(jsonArrayserialnumberdetails.get(i)); - }; - } - } - // ensure the optional json data is an array if present - if (jsonObj.get("trackingnumber") != null && !jsonObj.get("trackingnumber").isJsonNull() && !jsonObj.get("trackingnumber").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingnumber` to be an array in the JSON string but got `%s`", jsonObj.get("trackingnumber").toString())); - } - if (jsonObj.get("shipmentdetails") != null && !jsonObj.get("shipmentdetails").isJsonNull()) { - JsonArray jsonArrayshipmentdetails = jsonObj.getAsJsonArray("shipmentdetails"); - if (jsonArrayshipmentdetails != null) { - // ensure the json data is an array - if (!jsonObj.get("shipmentdetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `shipmentdetails` to be an array in the JSON string but got `%s`", jsonObj.get("shipmentdetails").toString())); - } - - // validate the optional field `shipmentdetails` (array) - for (int i = 0; i < jsonArrayshipmentdetails.size(); i++) { - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.validateJsonElement(jsonArrayshipmentdetails.get(i)); - }; - } - } - if (jsonObj.get("productextendedspecs") != null && !jsonObj.get("productextendedspecs").isJsonNull()) { - JsonArray jsonArrayproductextendedspecs = jsonObj.getAsJsonArray("productextendedspecs"); - if (jsonArrayproductextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("productextendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productextendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("productextendedspecs").toString())); - } - - // validate the optional field `productextendedspecs` (array) - for (int i = 0; i < jsonArrayproductextendedspecs.size(); i++) { - InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.validateJsonElement(jsonArrayproductextendedspecs.get(i)); - }; - } - } - if ((jsonObj.get("backorderetadate") != null && !jsonObj.get("backorderetadate").isJsonNull()) && !jsonObj.get("backorderetadate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `backorderetadate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("backorderetadate").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseLinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseLinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseLinesInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.java deleted file mode 100644 index 4606736b..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.java +++ /dev/null @@ -1,206 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner { - public static final String SERIALIZED_NAME_SERIALNUMBER = "serialnumber"; - @SerializedName(SERIALIZED_NAME_SERIALNUMBER) - private String serialnumber; - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner serialnumber(String serialnumber) { - this.serialnumber = serialnumber; - return this; - } - - /** - * serial number of the ordered SKU - * @return serialnumber - **/ - @javax.annotation.Nullable - public String getSerialnumber() { - return serialnumber; - } - - public void setSerialnumber(String serialnumber) { - this.serialnumber = serialnumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner orderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner = (OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner) o; - return Objects.equals(this.serialnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.serialnumber); - } - - @Override - public int hashCode() { - return Objects.hash(serialnumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner {\n"); - sb.append(" serialnumber: ").append(toIndentedString(serialnumber)).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("serialnumber"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.java deleted file mode 100644 index 3431782b..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.java +++ /dev/null @@ -1,641 +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.math.BigDecimal; -import java.util.Arrays; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails; - -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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner { - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private BigDecimal quantity; - - public static final String SERIALIZED_NAME_SHIPMENTDATE = "shipmentdate"; - @SerializedName(SERIALIZED_NAME_SHIPMENTDATE) - private String shipmentdate; - - public static final String SERIALIZED_NAME_SHIPFROMWAREHOUSEID = "shipfromwarehouseid"; - @SerializedName(SERIALIZED_NAME_SHIPFROMWAREHOUSEID) - private String shipfromwarehouseid; - - public static final String SERIALIZED_NAME_WAREHOUSENAME = "warehousename"; - @SerializedName(SERIALIZED_NAME_WAREHOUSENAME) - private String warehousename; - - public static final String SERIALIZED_NAME_INVOICENUMBER = "invoicenumber"; - @SerializedName(SERIALIZED_NAME_INVOICENUMBER) - private String invoicenumber; - - public static final String SERIALIZED_NAME_INVOICEDATE = "invoicedate"; - @SerializedName(SERIALIZED_NAME_INVOICEDATE) - private String invoicedate; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_STATUSDESCRIPTION = "statusdescription"; - @SerializedName(SERIALIZED_NAME_STATUSDESCRIPTION) - private String statusdescription; - - public static final String SERIALIZED_NAME_SHIPPEDDATE = "shippeddate"; - @SerializedName(SERIALIZED_NAME_SHIPPEDDATE) - private String shippeddate; - - public static final String SERIALIZED_NAME_HOLDREASONCODEDESCRIPTION = "holdreasoncodedescription"; - @SerializedName(SERIALIZED_NAME_HOLDREASONCODEDESCRIPTION) - private String holdreasoncodedescription; - - public static final String SERIALIZED_NAME_PONUMBER = "ponumber"; - @SerializedName(SERIALIZED_NAME_PONUMBER) - private String ponumber; - - public static final String SERIALIZED_NAME_CARRIERTYPE = "carriertype"; - @SerializedName(SERIALIZED_NAME_CARRIERTYPE) - private String carriertype; - - public static final String SERIALIZED_NAME_CARRIERCODE = "carriercode"; - @SerializedName(SERIALIZED_NAME_CARRIERCODE) - private String carriercode; - - public static final String SERIALIZED_NAME_CARRIERNAME = "carriername"; - @SerializedName(SERIALIZED_NAME_CARRIERNAME) - private String carriername; - - public static final String SERIALIZED_NAME_PRONUMBER = "pronumber"; - @SerializedName(SERIALIZED_NAME_PRONUMBER) - private String pronumber; - - public static final String SERIALIZED_NAME_PACKAGEDETAILS = "packagedetails"; - @SerializedName(SERIALIZED_NAME_PACKAGEDETAILS) - private OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails packagedetails; - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner quantity(BigDecimal quantity) { - this.quantity = quantity; - return this; - } - - /** - * quantity shipped - * @return quantity - **/ - @javax.annotation.Nullable - public BigDecimal getQuantity() { - return quantity; - } - - public void setQuantity(BigDecimal quantity) { - this.quantity = quantity; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner shipmentdate(String shipmentdate) { - this.shipmentdate = shipmentdate; - return this; - } - - /** - * date of shipment - * @return shipmentdate - **/ - @javax.annotation.Nullable - public String getShipmentdate() { - return shipmentdate; - } - - public void setShipmentdate(String shipmentdate) { - this.shipmentdate = shipmentdate; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner shipfromwarehouseid(String shipfromwarehouseid) { - this.shipfromwarehouseid = shipfromwarehouseid; - return this; - } - - /** - * Warehouse product was shipped from - * @return shipfromwarehouseid - **/ - @javax.annotation.Nullable - public String getShipfromwarehouseid() { - return shipfromwarehouseid; - } - - public void setShipfromwarehouseid(String shipfromwarehouseid) { - this.shipfromwarehouseid = shipfromwarehouseid; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner warehousename(String warehousename) { - this.warehousename = warehousename; - return this; - } - - /** - * name of the warehouse - * @return warehousename - **/ - @javax.annotation.Nullable - public String getWarehousename() { - return warehousename; - } - - public void setWarehousename(String warehousename) { - this.warehousename = warehousename; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner invoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - return this; - } - - /** - * Invoice Number - * @return invoicenumber - **/ - @javax.annotation.Nullable - public String getInvoicenumber() { - return invoicenumber; - } - - public void setInvoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner invoicedate(String invoicedate) { - this.invoicedate = invoicedate; - return this; - } - - /** - * date on the invoice generated - * @return invoicedate - **/ - @javax.annotation.Nullable - public String getInvoicedate() { - return invoicedate; - } - - public void setInvoicedate(String invoicedate) { - this.invoicedate = invoicedate; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner status(String status) { - this.status = status; - return this; - } - - /** - * code for current Status of the order - * @return status - **/ - @javax.annotation.Nullable - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner statusdescription(String statusdescription) { - this.statusdescription = statusdescription; - return this; - } - - /** - * Description of status - * @return statusdescription - **/ - @javax.annotation.Nullable - public String getStatusdescription() { - return statusdescription; - } - - public void setStatusdescription(String statusdescription) { - this.statusdescription = statusdescription; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner shippeddate(String shippeddate) { - this.shippeddate = shippeddate; - return this; - } - - /** - * date of shipment - * @return shippeddate - **/ - @javax.annotation.Nullable - public String getShippeddate() { - return shippeddate; - } - - public void setShippeddate(String shippeddate) { - this.shippeddate = shippeddate; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner holdreasoncodedescription(String holdreasoncodedescription) { - this.holdreasoncodedescription = holdreasoncodedescription; - return this; - } - - /** - * Description of the code if the order is on hold - * @return holdreasoncodedescription - **/ - @javax.annotation.Nullable - public String getHoldreasoncodedescription() { - return holdreasoncodedescription; - } - - public void setHoldreasoncodedescription(String holdreasoncodedescription) { - this.holdreasoncodedescription = holdreasoncodedescription; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner ponumber(String ponumber) { - this.ponumber = ponumber; - return this; - } - - /** - * Ingram PO Number to vendors for direct ship orders - * @return ponumber - **/ - @javax.annotation.Nullable - public String getPonumber() { - return ponumber; - } - - public void setPonumber(String ponumber) { - this.ponumber = ponumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner carriertype(String carriertype) { - this.carriertype = carriertype; - return this; - } - - /** - * Helps to determine shipment type. for e.g. LTL is used for heavy shipment. SML is used for light shipment - * @return carriertype - **/ - @javax.annotation.Nullable - public String getCarriertype() { - return carriertype; - } - - public void setCarriertype(String carriertype) { - this.carriertype = carriertype; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner carriercode(String carriercode) { - this.carriercode = carriercode; - return this; - } - - /** - * - * @return carriercode - **/ - @javax.annotation.Nullable - public String getCarriercode() { - return carriercode; - } - - public void setCarriercode(String carriercode) { - this.carriercode = carriercode; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner carriername(String carriername) { - this.carriername = carriername; - return this; - } - - /** - * Name of the carrier. If carriername is LTL then the tracking info is in the \"pronumber\" data field - * @return carriername - **/ - @javax.annotation.Nullable - public String getCarriername() { - return carriername; - } - - public void setCarriername(String carriername) { - this.carriername = carriername; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner pronumber(String pronumber) { - this.pronumber = pronumber; - return this; - } - - /** - * - * @return pronumber - **/ - @javax.annotation.Nullable - public String getPronumber() { - return pronumber; - } - - public void setPronumber(String pronumber) { - this.pronumber = pronumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner packagedetails(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails packagedetails) { - this.packagedetails = packagedetails; - return this; - } - - /** - * Get packagedetails - * @return packagedetails - **/ - @javax.annotation.Nullable - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails getPackagedetails() { - return packagedetails; - } - - public void setPackagedetails(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails packagedetails) { - this.packagedetails = packagedetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner = (OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner) o; - return Objects.equals(this.quantity, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.quantity) && - Objects.equals(this.shipmentdate, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.shipmentdate) && - Objects.equals(this.shipfromwarehouseid, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.shipfromwarehouseid) && - Objects.equals(this.warehousename, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.warehousename) && - Objects.equals(this.invoicenumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.invoicenumber) && - Objects.equals(this.invoicedate, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.invoicedate) && - Objects.equals(this.status, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.status) && - Objects.equals(this.statusdescription, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.statusdescription) && - Objects.equals(this.shippeddate, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.shippeddate) && - Objects.equals(this.holdreasoncodedescription, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.holdreasoncodedescription) && - Objects.equals(this.ponumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.ponumber) && - Objects.equals(this.carriertype, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.carriertype) && - Objects.equals(this.carriercode, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.carriercode) && - Objects.equals(this.carriername, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.carriername) && - Objects.equals(this.pronumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.pronumber) && - Objects.equals(this.packagedetails, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.packagedetails); - } - - @Override - public int hashCode() { - return Objects.hash(quantity, shipmentdate, shipfromwarehouseid, warehousename, invoicenumber, invoicedate, status, statusdescription, shippeddate, holdreasoncodedescription, ponumber, carriertype, carriercode, carriername, pronumber, packagedetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner {\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" shipmentdate: ").append(toIndentedString(shipmentdate)).append("\n"); - sb.append(" shipfromwarehouseid: ").append(toIndentedString(shipfromwarehouseid)).append("\n"); - sb.append(" warehousename: ").append(toIndentedString(warehousename)).append("\n"); - sb.append(" invoicenumber: ").append(toIndentedString(invoicenumber)).append("\n"); - sb.append(" invoicedate: ").append(toIndentedString(invoicedate)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" statusdescription: ").append(toIndentedString(statusdescription)).append("\n"); - sb.append(" shippeddate: ").append(toIndentedString(shippeddate)).append("\n"); - sb.append(" holdreasoncodedescription: ").append(toIndentedString(holdreasoncodedescription)).append("\n"); - sb.append(" ponumber: ").append(toIndentedString(ponumber)).append("\n"); - sb.append(" carriertype: ").append(toIndentedString(carriertype)).append("\n"); - sb.append(" carriercode: ").append(toIndentedString(carriercode)).append("\n"); - sb.append(" carriername: ").append(toIndentedString(carriername)).append("\n"); - sb.append(" pronumber: ").append(toIndentedString(pronumber)).append("\n"); - sb.append(" packagedetails: ").append(toIndentedString(packagedetails)).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("quantity"); - openapiFields.add("shipmentdate"); - openapiFields.add("shipfromwarehouseid"); - openapiFields.add("warehousename"); - openapiFields.add("invoicenumber"); - openapiFields.add("invoicedate"); - openapiFields.add("status"); - openapiFields.add("statusdescription"); - openapiFields.add("shippeddate"); - openapiFields.add("holdreasoncodedescription"); - openapiFields.add("ponumber"); - openapiFields.add("carriertype"); - openapiFields.add("carriercode"); - openapiFields.add("carriername"); - openapiFields.add("pronumber"); - openapiFields.add("packagedetails"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("shipmentdate") != null && !jsonObj.get("shipmentdate").isJsonNull()) && !jsonObj.get("shipmentdate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipmentdate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipmentdate").toString())); - } - if ((jsonObj.get("shipfromwarehouseid") != null && !jsonObj.get("shipfromwarehouseid").isJsonNull()) && !jsonObj.get("shipfromwarehouseid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipfromwarehouseid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipfromwarehouseid").toString())); - } - if ((jsonObj.get("warehousename") != null && !jsonObj.get("warehousename").isJsonNull()) && !jsonObj.get("warehousename").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehousename` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehousename").toString())); - } - if ((jsonObj.get("invoicenumber") != null && !jsonObj.get("invoicenumber").isJsonNull()) && !jsonObj.get("invoicenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicenumber").toString())); - } - if ((jsonObj.get("invoicedate") != null && !jsonObj.get("invoicedate").isJsonNull()) && !jsonObj.get("invoicedate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicedate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicedate").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("statusdescription") != null && !jsonObj.get("statusdescription").isJsonNull()) && !jsonObj.get("statusdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statusdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statusdescription").toString())); - } - if ((jsonObj.get("shippeddate") != null && !jsonObj.get("shippeddate").isJsonNull()) && !jsonObj.get("shippeddate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shippeddate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippeddate").toString())); - } - if ((jsonObj.get("holdreasoncodedescription") != null && !jsonObj.get("holdreasoncodedescription").isJsonNull()) && !jsonObj.get("holdreasoncodedescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `holdreasoncodedescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("holdreasoncodedescription").toString())); - } - if ((jsonObj.get("ponumber") != null && !jsonObj.get("ponumber").isJsonNull()) && !jsonObj.get("ponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ponumber").toString())); - } - if ((jsonObj.get("carriertype") != null && !jsonObj.get("carriertype").isJsonNull()) && !jsonObj.get("carriertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carriertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carriertype").toString())); - } - 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("carriername") != null && !jsonObj.get("carriername").isJsonNull()) && !jsonObj.get("carriername").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carriername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carriername").toString())); - } - if ((jsonObj.get("pronumber") != null && !jsonObj.get("pronumber").isJsonNull()) && !jsonObj.get("pronumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `pronumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pronumber").toString())); - } - // validate the optional field `packagedetails` - if (jsonObj.get("packagedetails") != null && !jsonObj.get("packagedetails").isJsonNull()) { - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.validateJsonElement(jsonObj.get("packagedetails")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.java deleted file mode 100644 index 9c9bca66..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.java +++ /dev/null @@ -1,293 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails { - public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; - @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) - private String trackingnumber; - - public static final String SERIALIZED_NAME_PACKAGEWEIGHT = "packageweight"; - @SerializedName(SERIALIZED_NAME_PACKAGEWEIGHT) - private String packageweight; - - public static final String SERIALIZED_NAME_CARTONNUMBER = "cartonnumber"; - @SerializedName(SERIALIZED_NAME_CARTONNUMBER) - private String cartonnumber; - - public static final String SERIALIZED_NAME_QUANTITYINBOX = "quantityinbox"; - @SerializedName(SERIALIZED_NAME_QUANTITYINBOX) - private String quantityinbox; - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails trackingnumber(String trackingnumber) { - this.trackingnumber = trackingnumber; - return this; - } - - /** - * Get trackingnumber - * @return trackingnumber - **/ - @javax.annotation.Nullable - public String getTrackingnumber() { - return trackingnumber; - } - - public void setTrackingnumber(String trackingnumber) { - this.trackingnumber = trackingnumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails packageweight(String packageweight) { - this.packageweight = packageweight; - return this; - } - - /** - * Get packageweight - * @return packageweight - **/ - @javax.annotation.Nullable - public String getPackageweight() { - return packageweight; - } - - public void setPackageweight(String packageweight) { - this.packageweight = packageweight; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails cartonnumber(String cartonnumber) { - this.cartonnumber = cartonnumber; - return this; - } - - /** - * Get cartonnumber - * @return cartonnumber - **/ - @javax.annotation.Nullable - public String getCartonnumber() { - return cartonnumber; - } - - public void setCartonnumber(String cartonnumber) { - this.cartonnumber = cartonnumber; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails quantityinbox(String quantityinbox) { - this.quantityinbox = quantityinbox; - return this; - } - - /** - * Get quantityinbox - * @return quantityinbox - **/ - @javax.annotation.Nullable - public String getQuantityinbox() { - return quantityinbox; - } - - public void setQuantityinbox(String quantityinbox) { - this.quantityinbox = quantityinbox; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails = (OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails) o; - return Objects.equals(this.trackingnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.trackingnumber) && - Objects.equals(this.packageweight, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.packageweight) && - Objects.equals(this.cartonnumber, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.cartonnumber) && - Objects.equals(this.quantityinbox, orderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.quantityinbox); - } - - @Override - public int hashCode() { - return Objects.hash(trackingnumber, packageweight, cartonnumber, quantityinbox); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails {\n"); - sb.append(" trackingnumber: ").append(toIndentedString(trackingnumber)).append("\n"); - sb.append(" packageweight: ").append(toIndentedString(packageweight)).append("\n"); - sb.append(" cartonnumber: ").append(toIndentedString(cartonnumber)).append("\n"); - sb.append(" quantityinbox: ").append(toIndentedString(quantityinbox)).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("trackingnumber"); - openapiFields.add("packageweight"); - openapiFields.add("cartonnumber"); - openapiFields.add("quantityinbox"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("trackingnumber") != null && !jsonObj.get("trackingnumber").isJsonNull()) && !jsonObj.get("trackingnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("trackingnumber").toString())); - } - if ((jsonObj.get("packageweight") != null && !jsonObj.get("packageweight").isJsonNull()) && !jsonObj.get("packageweight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `packageweight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("packageweight").toString())); - } - if ((jsonObj.get("cartonnumber") != null && !jsonObj.get("cartonnumber").isJsonNull()) && !jsonObj.get("cartonnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cartonnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cartonnumber").toString())); - } - if ((jsonObj.get("quantityinbox") != null && !jsonObj.get("quantityinbox").isJsonNull()) && !jsonObj.get("quantityinbox").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quantityinbox` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quantityinbox").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.java deleted file mode 100644 index 84a9fc63..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner { - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - public static final String SERIALIZED_NAME_CHARGEAMOUNT = "chargeamount"; - @SerializedName(SERIALIZED_NAME_CHARGEAMOUNT) - private String chargeamount; - - public OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner description(String description) { - this.description = description; - return this; - } - - /** - * Handling charges/Miscellaneous Fee description - * @return description - **/ - @javax.annotation.Nullable - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner chargeamount(String chargeamount) { - this.chargeamount = chargeamount; - return this; - } - - /** - * Handling charges/ Miscelaneous fee amount - * @return chargeamount - **/ - @javax.annotation.Nullable - public String getChargeamount() { - return chargeamount; - } - - public void setChargeamount(String chargeamount) { - this.chargeamount = chargeamount; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner orderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner = (OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner) o; - return Objects.equals(this.description, orderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.description) && - Objects.equals(this.chargeamount, orderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.chargeamount); - } - - @Override - public int hashCode() { - return Objects.hash(description, chargeamount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner {\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" chargeamount: ").append(toIndentedString(chargeamount)).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("description"); - openapiFields.add("chargeamount"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("chargeamount") != null && !jsonObj.get("chargeamount").isJsonNull()) && !jsonObj.get("chargeamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeamount").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.java b/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.java deleted file mode 100644 index 8ca819e8..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.java +++ /dev/null @@ -1,467 +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.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; - -/** - * OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress { - public static final String SERIALIZED_NAME_SUFFIX = "suffix"; - @SerializedName(SERIALIZED_NAME_SUFFIX) - private String suffix; - - public static final String SERIALIZED_NAME_ATTENTION = "attention"; - @SerializedName(SERIALIZED_NAME_ATTENTION) - private String attention; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress() { - } - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress suffix(String suffix) { - this.suffix = suffix; - return this; - } - - /** - * Get suffix - * @return suffix - **/ - @javax.annotation.Nullable - public String getSuffix() { - return suffix; - } - - public void setSuffix(String suffix) { - this.suffix = suffix; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress attention(String attention) { - this.attention = attention; - return this; - } - - /** - * Get attention - * @return attention - **/ - @javax.annotation.Nullable - public String getAttention() { - return attention; - } - - public void setAttention(String attention) { - this.attention = attention; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Get addressline1 - * @return addressline1 - **/ - @javax.annotation.Nullable - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Get addressline2 - * @return addressline2 - **/ - @javax.annotation.Nullable - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Get addressline3 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress = (OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress) o; - return Objects.equals(this.suffix, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.suffix) && - Objects.equals(this.attention, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.attention) && - Objects.equals(this.name, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.name) && - Objects.equals(this.addressline1, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.addressline1) && - Objects.equals(this.addressline2, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.addressline2) && - Objects.equals(this.addressline3, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.addressline3) && - Objects.equals(this.city, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.city) && - Objects.equals(this.state, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.state) && - Objects.equals(this.postalcode, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.postalcode) && - Objects.equals(this.countrycode, orderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.countrycode); - } - - @Override - public int hashCode() { - return Objects.hash(suffix, attention, name, addressline1, addressline2, addressline3, city, state, postalcode, countrycode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress {\n"); - sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); - sb.append(" attention: ").append(toIndentedString(attention)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).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("}"); - 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("suffix"); - openapiFields.add("attention"); - openapiFields.add("name"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - - // 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 OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress is not found in the empty JSON string", OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("suffix") != null && !jsonObj.get("suffix").isJsonNull()) && !jsonObj.get("suffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `suffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suffix").toString())); - } - if ((jsonObj.get("attention") != null && !jsonObj.get("attention").isJsonNull()) && !jsonObj.get("attention").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attention` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attention").toString())); - } - if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").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("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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - */ - public static OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress.class); - } - - /** - * Convert an instance of OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java index 885f1ab8..17e66ce4 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderDetailResponseShipToInfo { 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 49ead533..3869adeb 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request schema for order modify endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index a479b043..ffa8dda6 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 75d004a2..925342b6 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderModifyRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java index 29a337fb..4e47bb0d 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderModifyRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java index 8909aeb5..71b58ab0 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * OrderModifyRequestServicerequestOrdermodifyrequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequestOrdermodifyrequest { public static final String SERIALIZED_NAME_INGRAMORDERBRANCH = "ingramorderbranch"; @SerializedName(SERIALIZED_NAME_INGRAMORDERBRANCH) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java index 6a4f3fec..8db430b9 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata { public static final String SERIALIZED_NAME_ACTIONCODE = "actioncode"; @SerializedName(SERIALIZED_NAME_ACTIONCODE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java index 6456f42f..81901377 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner { public static final String SERIALIZED_NAME_ADDLINEORUPDATELINE = "addlineorupdateline"; @SerializedName(SERIALIZED_NAME_ADDLINEORUPDATELINE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java index a910056e..9db25889 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestServicerequestOrdermodifyrequestShipto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequestOrdermodifyrequestShipto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java index c6da8da7..c1035387 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java index 6e26bbd0..e7f607d5 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 665eca66..baa6a0aa 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Response schema for order modify endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index a0ec05a3..2f22d58d 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyResponseLinesInner { 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/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index 3ecc1e7b..9d95068e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 5f77c062..2b848101 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 4f6ad25a..c04e083e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderModifyResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java index 535357e1..31717617 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderModifyResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java index 0635d7a7..c18fa099 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseServiceresponseOrdermodifyresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyResponseServiceresponseOrdermodifyresponse { public static final String SERIALIZED_NAME_RESPONSEFLAG = "responseflag"; @SerializedName(SERIALIZED_NAME_RESPONSEFLAG) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java index 35859d74..a61c9d86 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderModifyResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java index 892091a0..f7469686 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/OrderSearchRequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequest.java index b3768c37..ad629a92 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequest.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request schema for order search endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java index 49c9eccf..33b448d1 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderSearchRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java index 109ebfcd..3c916352 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderSearchRequestServicerequestOrderLookupRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequestServicerequestOrderLookupRequest { public static final String SERIALIZED_NAME_ORDER_NUMBER = "orderNumber"; @SerializedName(SERIALIZED_NAME_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java index 9c7c251b..6f73933b 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java index 2fcbd2ca..541e5052 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderSearchRequestServicerequestOrderLookupRequestOrderNumber */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequestServicerequestOrderLookupRequestOrderNumber { public static final String SERIALIZED_NAME_ENTRY_DATE = "entryDate"; @SerializedName(SERIALIZED_NAME_ENTRY_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java index b5bc4084..ca61eaa0 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderSearchRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISO_COUNTRY_CODE = "isoCountryCode"; @SerializedName(SERIALIZED_NAME_ISO_COUNTRY_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponse.java b/src/main/java/xiresellers/client/model/OrderSearchResponse.java index 74d21ffc..f5a2e450 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,10 @@ 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 xiresellers.client.model.OrderSearchResponseServiceResponse; +import java.util.List; +import xiresellers.client.model.OrderSearchResponseOrdersInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +50,156 @@ import xiresellers.client.JSON; /** - * Response schema for order search endpoint + * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchResponse { - public static final String SERIALIZED_NAME_SERVICE_RESPONSE = "serviceResponse"; - @SerializedName(SERIALIZED_NAME_SERVICE_RESPONSE) - private OrderSearchResponseServiceResponse serviceResponse; + public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; + @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) + private Integer recordsFound; + + public static final String SERIALIZED_NAME_PAGE_SIZE = "pageSize"; + @SerializedName(SERIALIZED_NAME_PAGE_SIZE) + private Integer pageSize; + + public static final String SERIALIZED_NAME_PAGE_NUMBER = "pageNumber"; + @SerializedName(SERIALIZED_NAME_PAGE_NUMBER) + private Integer pageNumber; + + public static final String SERIALIZED_NAME_ORDERS = "orders"; + @SerializedName(SERIALIZED_NAME_ORDERS) + private List orders; + + public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; + @SerializedName(SERIALIZED_NAME_NEXT_PAGE) + private String nextPage; + + public static final String SERIALIZED_NAME_PREVIOUS_PAGE = "previousPage"; + @SerializedName(SERIALIZED_NAME_PREVIOUS_PAGE) + private String previousPage; public OrderSearchResponse() { } - public OrderSearchResponse serviceResponse(OrderSearchResponseServiceResponse serviceResponse) { - this.serviceResponse = serviceResponse; + public OrderSearchResponse recordsFound(Integer recordsFound) { + this.recordsFound = recordsFound; return this; } /** - * Get serviceResponse - * @return serviceResponse + * No of recourds found for the search. + * @return recordsFound **/ @javax.annotation.Nullable - public OrderSearchResponseServiceResponse getServiceResponse() { - return serviceResponse; + public Integer getRecordsFound() { + return recordsFound; + } + + public void setRecordsFound(Integer recordsFound) { + this.recordsFound = recordsFound; + } + + + public OrderSearchResponse pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; } - public void setServiceResponse(OrderSearchResponseServiceResponse serviceResponse) { - this.serviceResponse = serviceResponse; + /** + * No of results per page.(default is 25) + * @return pageSize + **/ + @javax.annotation.Nullable + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + public OrderSearchResponse pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Current page number.(default is 1) + * @return pageNumber + **/ + @javax.annotation.Nullable + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + + public OrderSearchResponse orders(List orders) { + this.orders = orders; + return this; + } + + public OrderSearchResponse addOrdersItem(OrderSearchResponseOrdersInner ordersItem) { + if (this.orders == null) { + this.orders = new ArrayList<>(); + } + this.orders.add(ordersItem); + return this; + } + + /** + * The details for the order. + * @return orders + **/ + @javax.annotation.Nullable + public List getOrders() { + return orders; + } + + public void setOrders(List orders) { + this.orders = orders; + } + + + public OrderSearchResponse nextPage(String nextPage) { + this.nextPage = nextPage; + return this; + } + + /** + * link/URL for accessing next page. + * @return nextPage + **/ + @javax.annotation.Nullable + public String getNextPage() { + return nextPage; + } + + public void setNextPage(String nextPage) { + this.nextPage = nextPage; + } + + + public OrderSearchResponse previousPage(String previousPage) { + this.previousPage = previousPage; + return this; + } + + /** + * link/URL for accessing previous page. + * @return previousPage + **/ + @javax.annotation.Nullable + public String getPreviousPage() { + return previousPage; + } + + public void setPreviousPage(String previousPage) { + this.previousPage = previousPage; } @@ -88,19 +213,29 @@ public boolean equals(Object o) { return false; } OrderSearchResponse orderSearchResponse = (OrderSearchResponse) o; - return Objects.equals(this.serviceResponse, orderSearchResponse.serviceResponse); + return Objects.equals(this.recordsFound, orderSearchResponse.recordsFound) && + Objects.equals(this.pageSize, orderSearchResponse.pageSize) && + Objects.equals(this.pageNumber, orderSearchResponse.pageNumber) && + Objects.equals(this.orders, orderSearchResponse.orders) && + Objects.equals(this.nextPage, orderSearchResponse.nextPage) && + Objects.equals(this.previousPage, orderSearchResponse.previousPage); } @Override public int hashCode() { - return Objects.hash(serviceResponse); + return Objects.hash(recordsFound, pageSize, pageNumber, orders, nextPage, previousPage); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderSearchResponse {\n"); - sb.append(" serviceResponse: ").append(toIndentedString(serviceResponse)).append("\n"); + sb.append(" recordsFound: ").append(toIndentedString(recordsFound)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" orders: ").append(toIndentedString(orders)).append("\n"); + sb.append(" nextPage: ").append(toIndentedString(nextPage)).append("\n"); + sb.append(" previousPage: ").append(toIndentedString(previousPage)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +258,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("serviceResponse"); + openapiFields.add("recordsFound"); + openapiFields.add("pageSize"); + openapiFields.add("pageNumber"); + openapiFields.add("orders"); + openapiFields.add("nextPage"); + openapiFields.add("previousPage"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +290,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceResponse` - if (jsonObj.get("serviceResponse") != null && !jsonObj.get("serviceResponse").isJsonNull()) { - OrderSearchResponseServiceResponse.validateJsonElement(jsonObj.get("serviceResponse")); + if (jsonObj.get("orders") != null && !jsonObj.get("orders").isJsonNull()) { + JsonArray jsonArrayorders = jsonObj.getAsJsonArray("orders"); + if (jsonArrayorders != null) { + // ensure the json data is an array + if (!jsonObj.get("orders").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `orders` to be an array in the JSON string but got `%s`", jsonObj.get("orders").toString())); + } + + // validate the optional field `orders` (array) + for (int i = 0; i < jsonArrayorders.size(); i++) { + OrderSearchResponseOrdersInner.validateJsonElement(jsonArrayorders.get(i)); + }; + } + } + 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("previousPage") != null && !jsonObj.get("previousPage").isJsonNull()) && !jsonObj.get("previousPage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `previousPage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previousPage").toString())); } } diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index a718ae83..0102502b 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchResponseOrdersInner { 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/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index febc9660..3f0ae342 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 590d33a0..9621bae4 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInner { 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/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index 5ab13166..feded038 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponse.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponse.java deleted file mode 100644 index 499cea80..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponse; -import xiresellers.client.model.OrderSearchResponseServiceResponseResponsepreamble; - -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; - -/** - * OrderSearchResponseServiceResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private OrderSearchResponseServiceResponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_ORDERSEARCHRESPONSE = "ordersearchresponse"; - @SerializedName(SERIALIZED_NAME_ORDERSEARCHRESPONSE) - private OrderSearchResponseServiceResponseOrdersearchresponse ordersearchresponse; - - public OrderSearchResponseServiceResponse() { - } - - public OrderSearchResponseServiceResponse responsepreamble(OrderSearchResponseServiceResponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public OrderSearchResponseServiceResponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(OrderSearchResponseServiceResponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public OrderSearchResponseServiceResponse ordersearchresponse(OrderSearchResponseServiceResponseOrdersearchresponse ordersearchresponse) { - this.ordersearchresponse = ordersearchresponse; - return this; - } - - /** - * Get ordersearchresponse - * @return ordersearchresponse - **/ - @javax.annotation.Nullable - public OrderSearchResponseServiceResponseOrdersearchresponse getOrdersearchresponse() { - return ordersearchresponse; - } - - public void setOrdersearchresponse(OrderSearchResponseServiceResponseOrdersearchresponse ordersearchresponse) { - this.ordersearchresponse = ordersearchresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponse orderSearchResponseServiceResponse = (OrderSearchResponseServiceResponse) o; - return Objects.equals(this.responsepreamble, orderSearchResponseServiceResponse.responsepreamble) && - Objects.equals(this.ordersearchresponse, orderSearchResponseServiceResponse.ordersearchresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, ordersearchresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" ordersearchresponse: ").append(toIndentedString(ordersearchresponse)).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("responsepreamble"); - openapiFields.add("ordersearchresponse"); - - // 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 OrderSearchResponseServiceResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponse is not found in the empty JSON string", OrderSearchResponseServiceResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - OrderSearchResponseServiceResponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `ordersearchresponse` - if (jsonObj.get("ordersearchresponse") != null && !jsonObj.get("ordersearchresponse").isJsonNull()) { - OrderSearchResponseServiceResponseOrdersearchresponse.validateJsonElement(jsonObj.get("ordersearchresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponse - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponse - */ - public static OrderSearchResponseServiceResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponse.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponse.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponse.java deleted file mode 100644 index 3ba05f98..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponse.java +++ /dev/null @@ -1,323 +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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner; - -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; - -/** - * OrderSearchResponseServiceResponseOrdersearchresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseOrdersearchresponse { - public static final String SERIALIZED_NAME_ORDERSFOUND = "ordersfound"; - @SerializedName(SERIALIZED_NAME_ORDERSFOUND) - private String ordersfound; - - public static final String SERIALIZED_NAME_PAGESIZE = "pagesize"; - @SerializedName(SERIALIZED_NAME_PAGESIZE) - private String pagesize; - - public static final String SERIALIZED_NAME_PAGENUMBER = "pagenumber"; - @SerializedName(SERIALIZED_NAME_PAGENUMBER) - private String pagenumber; - - public static final String SERIALIZED_NAME_ORDERS = "orders"; - @SerializedName(SERIALIZED_NAME_ORDERS) - private List orders; - - public OrderSearchResponseServiceResponseOrdersearchresponse() { - } - - public OrderSearchResponseServiceResponseOrdersearchresponse ordersfound(String ordersfound) { - this.ordersfound = ordersfound; - return this; - } - - /** - * Number of records found in the search result - * @return ordersfound - **/ - @javax.annotation.Nonnull - public String getOrdersfound() { - return ordersfound; - } - - public void setOrdersfound(String ordersfound) { - this.ordersfound = ordersfound; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponse pagesize(String pagesize) { - this.pagesize = pagesize; - return this; - } - - /** - * The submitted pagesize, default is 25 - * @return pagesize - **/ - @javax.annotation.Nullable - public String getPagesize() { - return pagesize; - } - - public void setPagesize(String pagesize) { - this.pagesize = pagesize; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponse pagenumber(String pagenumber) { - this.pagenumber = pagenumber; - return this; - } - - /** - * The submitted pager number, default is 1 - * @return pagenumber - **/ - @javax.annotation.Nullable - public String getPagenumber() { - return pagenumber; - } - - public void setPagenumber(String pagenumber) { - this.pagenumber = pagenumber; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponse orders(List orders) { - this.orders = orders; - return this; - } - - public OrderSearchResponseServiceResponseOrdersearchresponse addOrdersItem(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner ordersItem) { - if (this.orders == null) { - this.orders = new ArrayList<>(); - } - this.orders.add(ordersItem); - return this; - } - - /** - * An array of orders in the search result - * @return orders - **/ - @javax.annotation.Nullable - public List getOrders() { - return orders; - } - - public void setOrders(List orders) { - this.orders = orders; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseOrdersearchresponse orderSearchResponseServiceResponseOrdersearchresponse = (OrderSearchResponseServiceResponseOrdersearchresponse) o; - return Objects.equals(this.ordersfound, orderSearchResponseServiceResponseOrdersearchresponse.ordersfound) && - Objects.equals(this.pagesize, orderSearchResponseServiceResponseOrdersearchresponse.pagesize) && - Objects.equals(this.pagenumber, orderSearchResponseServiceResponseOrdersearchresponse.pagenumber) && - Objects.equals(this.orders, orderSearchResponseServiceResponseOrdersearchresponse.orders); - } - - @Override - public int hashCode() { - return Objects.hash(ordersfound, pagesize, pagenumber, orders); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseOrdersearchresponse {\n"); - sb.append(" ordersfound: ").append(toIndentedString(ordersfound)).append("\n"); - sb.append(" pagesize: ").append(toIndentedString(pagesize)).append("\n"); - sb.append(" pagenumber: ").append(toIndentedString(pagenumber)).append("\n"); - sb.append(" orders: ").append(toIndentedString(orders)).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("ordersfound"); - openapiFields.add("pagesize"); - openapiFields.add("pagenumber"); - openapiFields.add("orders"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("ordersfound"); - } - - /** - * 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 OrderSearchResponseServiceResponseOrdersearchresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseOrdersearchresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseOrdersearchresponse is not found in the empty JSON string", OrderSearchResponseServiceResponseOrdersearchresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseOrdersearchresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseOrdersearchresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchResponseServiceResponseOrdersearchresponse.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("ordersfound").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordersfound` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordersfound").toString())); - } - if ((jsonObj.get("pagesize") != null && !jsonObj.get("pagesize").isJsonNull()) && !jsonObj.get("pagesize").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `pagesize` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pagesize").toString())); - } - if ((jsonObj.get("pagenumber") != null && !jsonObj.get("pagenumber").isJsonNull()) && !jsonObj.get("pagenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `pagenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pagenumber").toString())); - } - if (jsonObj.get("orders") != null && !jsonObj.get("orders").isJsonNull()) { - JsonArray jsonArrayorders = jsonObj.getAsJsonArray("orders"); - if (jsonArrayorders != null) { - // ensure the json data is an array - if (!jsonObj.get("orders").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `orders` to be an array in the JSON string but got `%s`", jsonObj.get("orders").toString())); - } - - // validate the optional field `orders` (array) - for (int i = 0; i < jsonArrayorders.size(); i++) { - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.validateJsonElement(jsonArrayorders.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseOrdersearchresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseOrdersearchresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseOrdersearchresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseOrdersearchresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseOrdersearchresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseOrdersearchresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseOrdersearchresponse - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseOrdersearchresponse - */ - public static OrderSearchResponseServiceResponseOrdersearchresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseOrdersearchresponse.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseOrdersearchresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.java deleted file mode 100644 index 223ae83f..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.java +++ /dev/null @@ -1,355 +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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks; -import xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner; - -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; - -/** - * OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner { - public static final String SERIALIZED_NAME_ORDERNUMBER = "ordernumber"; - @SerializedName(SERIALIZED_NAME_ORDERNUMBER) - private String ordernumber; - - public static final String SERIALIZED_NAME_ENTRYTIMESTAMP = "entrytimestamp"; - @SerializedName(SERIALIZED_NAME_ENTRYTIMESTAMP) - private String entrytimestamp; - - public static final String SERIALIZED_NAME_CUSTOMERORDERNUMBER = "customerordernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERORDERNUMBER) - private String customerordernumber; - - public static final String SERIALIZED_NAME_SUBORDERS = "suborders"; - @SerializedName(SERIALIZED_NAME_SUBORDERS) - private List suborders; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks links; - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner() { - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner ordernumber(String ordernumber) { - this.ordernumber = ordernumber; - return this; - } - - /** - * Ingram micro sales order number - * @return ordernumber - **/ - @javax.annotation.Nonnull - public String getOrdernumber() { - return ordernumber; - } - - public void setOrdernumber(String ordernumber) { - this.ordernumber = ordernumber; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner entrytimestamp(String entrytimestamp) { - this.entrytimestamp = entrytimestamp; - return this; - } - - /** - * The order creation date-time in UTC format - * @return entrytimestamp - **/ - @javax.annotation.Nonnull - public String getEntrytimestamp() { - return entrytimestamp; - } - - public void setEntrytimestamp(String entrytimestamp) { - this.entrytimestamp = entrytimestamp; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner customerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - return this; - } - - /** - * PO/Order number submitted while creating the order - * @return customerordernumber - **/ - @javax.annotation.Nullable - public String getCustomerordernumber() { - return customerordernumber; - } - - public void setCustomerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner suborders(List suborders) { - this.suborders = suborders; - return this; - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner addSubordersItem(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner subordersItem) { - if (this.suborders == null) { - this.suborders = new ArrayList<>(); - } - this.suborders.add(subordersItem); - return this; - } - - /** - * An order MAY get divided into various sub orders, for example if the SKUs are being shipped from different warehouse. - * @return suborders - **/ - @javax.annotation.Nullable - public List getSuborders() { - return suborders; - } - - public void setSuborders(List suborders) { - this.suborders = suborders; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner links(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks links) { - this.links = links; - return this; - } - - /** - * Get links - * @return links - **/ - @javax.annotation.Nullable - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks getLinks() { - return links; - } - - public void setLinks(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks links) { - this.links = links; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner orderSearchResponseServiceResponseOrdersearchresponseOrdersInner = (OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner) o; - return Objects.equals(this.ordernumber, orderSearchResponseServiceResponseOrdersearchresponseOrdersInner.ordernumber) && - Objects.equals(this.entrytimestamp, orderSearchResponseServiceResponseOrdersearchresponseOrdersInner.entrytimestamp) && - Objects.equals(this.customerordernumber, orderSearchResponseServiceResponseOrdersearchresponseOrdersInner.customerordernumber) && - Objects.equals(this.suborders, orderSearchResponseServiceResponseOrdersearchresponseOrdersInner.suborders) && - Objects.equals(this.links, orderSearchResponseServiceResponseOrdersearchresponseOrdersInner.links); - } - - @Override - public int hashCode() { - return Objects.hash(ordernumber, entrytimestamp, customerordernumber, suborders, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner {\n"); - sb.append(" ordernumber: ").append(toIndentedString(ordernumber)).append("\n"); - sb.append(" entrytimestamp: ").append(toIndentedString(entrytimestamp)).append("\n"); - sb.append(" customerordernumber: ").append(toIndentedString(customerordernumber)).append("\n"); - sb.append(" suborders: ").append(toIndentedString(suborders)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).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("ordernumber"); - openapiFields.add("entrytimestamp"); - openapiFields.add("customerordernumber"); - openapiFields.add("suborders"); - openapiFields.add("links"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("ordernumber"); - openapiRequiredFields.add("entrytimestamp"); - } - - /** - * 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 OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner is not found in the empty JSON string", OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("ordernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordernumber").toString())); - } - if (!jsonObj.get("entrytimestamp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `entrytimestamp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("entrytimestamp").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("suborders") != null && !jsonObj.get("suborders").isJsonNull()) { - JsonArray jsonArraysuborders = jsonObj.getAsJsonArray("suborders"); - if (jsonArraysuborders != null) { - // ensure the json data is an array - if (!jsonObj.get("suborders").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `suborders` to be an array in the JSON string but got `%s`", jsonObj.get("suborders").toString())); - } - - // validate the optional field `suborders` (array) - for (int i = 0; i < jsonArraysuborders.size(); i++) { - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.validateJsonElement(jsonArraysuborders.get(i)); - }; - } - } - // validate the optional field `links` - if (jsonObj.get("links") != null && !jsonObj.get("links").isJsonNull()) { - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.validateJsonElement(jsonObj.get("links")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - */ - public static OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.java deleted file mode 100644 index 348958b2..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.java +++ /dev/null @@ -1,379 +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.net.URI; -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; - -/** - * HATEOAS links for the main order - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks { - /** - * Topic being orders in this case, if it is orders then the link will provide details of the order. - */ - @JsonAdapter(TopicEnum.Adapter.class) - public enum TopicEnum { - ORDERS("orders"), - - INVOICES("invoices"); - - private String value; - - TopicEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TopicEnum fromValue(String value) { - for (TopicEnum b : TopicEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TopicEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TopicEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TopicEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - TopicEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_TOPIC = "topic"; - @SerializedName(SERIALIZED_NAME_TOPIC) - private TopicEnum topic; - - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - - /** - * The type of call that can be made to the href link - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - GET("GET"), - - POST("POST"), - - PUT("PUT"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - TypeEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks() { - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks topic(TopicEnum topic) { - this.topic = topic; - return this; - } - - /** - * Topic being orders in this case, if it is orders then the link will provide details of the order. - * @return topic - **/ - @javax.annotation.Nullable - public TopicEnum getTopic() { - return topic; - } - - public void setTopic(TopicEnum topic) { - this.topic = topic; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks href(URI href) { - this.href = href; - return this; - } - - /** - * The API endpoint for accessing the relevant data - * @return href - **/ - @javax.annotation.Nullable - public URI getHref() { - return href; - } - - public void setHref(URI href) { - this.href = href; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks type(TypeEnum type) { - this.type = type; - return this; - } - - /** - * The type of call that can be made to the href link - * @return type - **/ - @javax.annotation.Nullable - public TypeEnum getType() { - return type; - } - - public void setType(TypeEnum type) { - this.type = type; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks = (OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks) o; - return Objects.equals(this.topic, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.topic) && - Objects.equals(this.href, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.href) && - Objects.equals(this.type, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.type); - } - - @Override - public int hashCode() { - return Objects.hash(topic, href, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks {\n"); - sb.append(" topic: ").append(toIndentedString(topic)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).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("topic"); - openapiFields.add("href"); - openapiFields.add("type"); - - // 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 OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks is not found in the empty JSON string", OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("topic") != null && !jsonObj.get("topic").isJsonNull()) && !jsonObj.get("topic").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `topic` to be a primitive type in the JSON string but got `%s`", jsonObj.get("topic").toString())); - } - // validate the optional field `topic` - if (jsonObj.get("topic") != null && !jsonObj.get("topic").isJsonNull()) { - TopicEnum.validateJsonElement(jsonObj.get("topic")); - } - if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); - } - 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())); - } - // validate the optional field `type` - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) { - TypeEnum.validateJsonElement(jsonObj.get("type")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - */ - public static OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.java deleted file mode 100644 index 24a23e4b..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.java +++ /dev/null @@ -1,373 +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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner; - -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; - -/** - * OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner { - public static final String SERIALIZED_NAME_SUBORDERNUMBER = "subordernumber"; - @SerializedName(SERIALIZED_NAME_SUBORDERNUMBER) - private String subordernumber; - - public static final String SERIALIZED_NAME_STATUSCODE = "statuscode"; - @SerializedName(SERIALIZED_NAME_STATUSCODE) - private String statuscode; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_HOLDREASONCODE = "holdreasoncode"; - @SerializedName(SERIALIZED_NAME_HOLDREASONCODE) - private String holdreasoncode; - - public static final String SERIALIZED_NAME_HOLDREASON = "holdreason"; - @SerializedName(SERIALIZED_NAME_HOLDREASON) - private String holdreason; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private List links; - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner() { - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner subordernumber(String subordernumber) { - this.subordernumber = subordernumber; - return this; - } - - /** - * A sub order number - * @return subordernumber - **/ - @javax.annotation.Nullable - public String getSubordernumber() { - return subordernumber; - } - - public void setSubordernumber(String subordernumber) { - this.subordernumber = subordernumber; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner statuscode(String statuscode) { - this.statuscode = statuscode; - return this; - } - - /** - * Order status code - * @return statuscode - **/ - @javax.annotation.Nullable - public String getStatuscode() { - return statuscode; - } - - public void setStatuscode(String statuscode) { - this.statuscode = statuscode; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner status(String status) { - this.status = status; - return this; - } - - /** - * Details of the order statuscode - i.e. statuscode = 4 then status = SHIPPED - * @return status - **/ - @javax.annotation.Nullable - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner holdreasoncode(String holdreasoncode) { - this.holdreasoncode = holdreasoncode; - return this; - } - - /** - * Will be returned in case of order on hold - * @return holdreasoncode - **/ - @javax.annotation.Nullable - public String getHoldreasoncode() { - return holdreasoncode; - } - - public void setHoldreasoncode(String holdreasoncode) { - this.holdreasoncode = holdreasoncode; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner holdreason(String holdreason) { - this.holdreason = holdreason; - return this; - } - - /** - * Reason for order hold - will be returned if the order is on hold - * @return holdreason - **/ - @javax.annotation.Nullable - public String getHoldreason() { - return holdreason; - } - - public void setHoldreason(String holdreason) { - this.holdreason = holdreason; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner links(List links) { - this.links = links; - return this; - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner addLinksItem(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner linksItem) { - if (this.links == null) { - this.links = new ArrayList<>(); - } - this.links.add(linksItem); - return this; - } - - /** - * HATEOAS links for the details and invoices of the sub-orders if available - * @return links - **/ - @javax.annotation.Nullable - public List getLinks() { - return links; - } - - public void setLinks(List links) { - this.links = links; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner = (OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner) o; - return Objects.equals(this.subordernumber, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.subordernumber) && - Objects.equals(this.statuscode, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.statuscode) && - Objects.equals(this.status, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.status) && - Objects.equals(this.holdreasoncode, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.holdreasoncode) && - Objects.equals(this.holdreason, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.holdreason) && - Objects.equals(this.links, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.links); - } - - @Override - public int hashCode() { - return Objects.hash(subordernumber, statuscode, status, holdreasoncode, holdreason, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner {\n"); - sb.append(" subordernumber: ").append(toIndentedString(subordernumber)).append("\n"); - sb.append(" statuscode: ").append(toIndentedString(statuscode)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" holdreasoncode: ").append(toIndentedString(holdreasoncode)).append("\n"); - sb.append(" holdreason: ").append(toIndentedString(holdreason)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).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("subordernumber"); - openapiFields.add("statuscode"); - openapiFields.add("status"); - openapiFields.add("holdreasoncode"); - openapiFields.add("holdreason"); - openapiFields.add("links"); - - // 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 OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner is not found in the empty JSON string", OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("subordernumber") != null && !jsonObj.get("subordernumber").isJsonNull()) && !jsonObj.get("subordernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `subordernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subordernumber").toString())); - } - if ((jsonObj.get("statuscode") != null && !jsonObj.get("statuscode").isJsonNull()) && !jsonObj.get("statuscode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statuscode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statuscode").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("holdreasoncode") != null && !jsonObj.get("holdreasoncode").isJsonNull()) && !jsonObj.get("holdreasoncode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `holdreasoncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("holdreasoncode").toString())); - } - if ((jsonObj.get("holdreason") != null && !jsonObj.get("holdreason").isJsonNull()) && !jsonObj.get("holdreason").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `holdreason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("holdreason").toString())); - } - if (jsonObj.get("links") != null && !jsonObj.get("links").isJsonNull()) { - JsonArray jsonArraylinks = jsonObj.getAsJsonArray("links"); - if (jsonArraylinks != null) { - // ensure the json data is an array - if (!jsonObj.get("links").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `links` to be an array in the JSON string but got `%s`", jsonObj.get("links").toString())); - } - - // validate the optional field `links` (array) - for (int i = 0; i < jsonArraylinks.size(); i++) { - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.validateJsonElement(jsonArraylinks.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - */ - public static OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.java deleted file mode 100644 index 38457ac7..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.java +++ /dev/null @@ -1,379 +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.net.URI; -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; - -/** - * OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner { - /** - * topic being orders or invoices, if it is orders then the link will provide details of the order. If its invoices then the link provides details of the invoice - */ - @JsonAdapter(TopicEnum.Adapter.class) - public enum TopicEnum { - ORDERS("orders"), - - INVOICES("invoices"); - - private String value; - - TopicEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TopicEnum fromValue(String value) { - for (TopicEnum b : TopicEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TopicEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TopicEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TopicEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - TopicEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_TOPIC = "topic"; - @SerializedName(SERIALIZED_NAME_TOPIC) - private TopicEnum topic; - - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - - /** - * The type of call that can be made to the href link - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - GET("GET"), - - POST("POST"), - - PUT("PUT"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - TypeEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner() { - } - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner topic(TopicEnum topic) { - this.topic = topic; - return this; - } - - /** - * topic being orders or invoices, if it is orders then the link will provide details of the order. If its invoices then the link provides details of the invoice - * @return topic - **/ - @javax.annotation.Nullable - public TopicEnum getTopic() { - return topic; - } - - public void setTopic(TopicEnum topic) { - this.topic = topic; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner href(URI href) { - this.href = href; - return this; - } - - /** - * The API endpoint for accessing the relevant data - * @return href - **/ - @javax.annotation.Nullable - public URI getHref() { - return href; - } - - public void setHref(URI href) { - this.href = href; - } - - - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner type(TypeEnum type) { - this.type = type; - return this; - } - - /** - * The type of call that can be made to the href link - * @return type - **/ - @javax.annotation.Nullable - public TypeEnum getType() { - return type; - } - - public void setType(TypeEnum type) { - this.type = type; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner = (OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner) o; - return Objects.equals(this.topic, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.topic) && - Objects.equals(this.href, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.href) && - Objects.equals(this.type, orderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.type); - } - - @Override - public int hashCode() { - return Objects.hash(topic, href, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner {\n"); - sb.append(" topic: ").append(toIndentedString(topic)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).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("topic"); - openapiFields.add("href"); - openapiFields.add("type"); - - // 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 OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner is not found in the empty JSON string", OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("topic") != null && !jsonObj.get("topic").isJsonNull()) && !jsonObj.get("topic").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `topic` to be a primitive type in the JSON string but got `%s`", jsonObj.get("topic").toString())); - } - // validate the optional field `topic` - if (jsonObj.get("topic") != null && !jsonObj.get("topic").isJsonNull()) { - TopicEnum.validateJsonElement(jsonObj.get("topic")); - } - if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); - } - 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())); - } - // validate the optional field `type` - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) { - TypeEnum.validateJsonElement(jsonObj.get("type")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - */ - public static OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreamble.java b/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreamble.java deleted file mode 100644 index 403def84..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * OrderSearchResponseServiceResponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class OrderSearchResponseServiceResponseResponsepreamble { - public static final String SERIALIZED_NAME_REQUESTSTATUS = "requeststatus"; - @SerializedName(SERIALIZED_NAME_REQUESTSTATUS) - private String requeststatus; - - public static final String SERIALIZED_NAME_RETURNMESSAGE = "returnmessage"; - @SerializedName(SERIALIZED_NAME_RETURNMESSAGE) - private String returnmessage; - - public OrderSearchResponseServiceResponseResponsepreamble() { - } - - public OrderSearchResponseServiceResponseResponsepreamble requeststatus(String requeststatus) { - this.requeststatus = requeststatus; - return this; - } - - /** - * Get requeststatus - * @return requeststatus - **/ - @javax.annotation.Nonnull - public String getRequeststatus() { - return requeststatus; - } - - public void setRequeststatus(String requeststatus) { - this.requeststatus = requeststatus; - } - - - public OrderSearchResponseServiceResponseResponsepreamble returnmessage(String returnmessage) { - this.returnmessage = returnmessage; - return this; - } - - /** - * Get returnmessage - * @return returnmessage - **/ - @javax.annotation.Nonnull - public String getReturnmessage() { - return returnmessage; - } - - public void setReturnmessage(String returnmessage) { - this.returnmessage = returnmessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchResponseServiceResponseResponsepreamble orderSearchResponseServiceResponseResponsepreamble = (OrderSearchResponseServiceResponseResponsepreamble) o; - return Objects.equals(this.requeststatus, orderSearchResponseServiceResponseResponsepreamble.requeststatus) && - Objects.equals(this.returnmessage, orderSearchResponseServiceResponseResponsepreamble.returnmessage); - } - - @Override - public int hashCode() { - return Objects.hash(requeststatus, returnmessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchResponseServiceResponseResponsepreamble {\n"); - sb.append(" requeststatus: ").append(toIndentedString(requeststatus)).append("\n"); - sb.append(" returnmessage: ").append(toIndentedString(returnmessage)).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("requeststatus"); - openapiFields.add("returnmessage"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("requeststatus"); - openapiRequiredFields.add("returnmessage"); - } - - /** - * 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 OrderSearchResponseServiceResponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchResponseServiceResponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchResponseServiceResponseResponsepreamble is not found in the empty JSON string", OrderSearchResponseServiceResponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchResponseServiceResponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchResponseServiceResponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchResponseServiceResponseResponsepreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("requeststatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `requeststatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requeststatus").toString())); - } - if (!jsonObj.get("returnmessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `returnmessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnmessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchResponseServiceResponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchResponseServiceResponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchResponseServiceResponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchResponseServiceResponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchResponseServiceResponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchResponseServiceResponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchResponseServiceResponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to OrderSearchResponseServiceResponseResponsepreamble - */ - public static OrderSearchResponseServiceResponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchResponseServiceResponseResponsepreamble.class); - } - - /** - * Convert an instance of OrderSearchResponseServiceResponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java index 898fd5d9..005f6910 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index 85d882aa..b01df7c9 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index 0c83b819..b2cff694 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 3c21ab59..2e7630d2 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 d8f5cac4..8bd97524 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index f061df3d..498eb1e6 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b98ac140..641f7cda 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/PostQuoteToOrderV6400Response.java index 4cc942bd..e6748c0e 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PostQuoteToOrderV6400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java index a8fbaf4c..b1ce4437 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PostQuoteToOrderV6400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PostQuoteToOrderV6400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index 7867c4cf..b6a634b6 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index 9a8b6018..fb93ea9d 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,12 @@ 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 xiresellers.client.model.PriceAndAvailabilityRequestServicerequest; +import java.util.List; +import xiresellers.client.model.PriceAndAvailabilityRequestAdditionalAttributesInner; +import xiresellers.client.model.PriceAndAvailabilityRequestAvailabilityByWarehouseInner; +import xiresellers.client.model.PriceAndAvailabilityRequestProductsInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +52,172 @@ import xiresellers.client.JSON; /** - * Request object model for the multi sku price and stock API endpoint + * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private PriceAndAvailabilityRequestServicerequest servicerequest; + public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; + @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) + private Boolean showAvailableDiscounts; + + public static final String SERIALIZED_NAME_SHOW_RESERVE_INVENTORY_DETAILS = "showReserveInventoryDetails"; + @SerializedName(SERIALIZED_NAME_SHOW_RESERVE_INVENTORY_DETAILS) + private Boolean showReserveInventoryDetails; + + 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_AVAILABILITY_BY_WAREHOUSE = "availabilityByWarehouse"; + @SerializedName(SERIALIZED_NAME_AVAILABILITY_BY_WAREHOUSE) + private List availabilityByWarehouse; + + public static final String SERIALIZED_NAME_PRODUCTS = "products"; + @SerializedName(SERIALIZED_NAME_PRODUCTS) + private List products; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public PriceAndAvailabilityRequest() { } - public PriceAndAvailabilityRequest servicerequest(PriceAndAvailabilityRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; + public PriceAndAvailabilityRequest showAvailableDiscounts(Boolean showAvailableDiscounts) { + this.showAvailableDiscounts = showAvailableDiscounts; + return this; + } + + /** + * Boolean value that will display Discount details in the response when true. + * @return showAvailableDiscounts + **/ + @javax.annotation.Nullable + public Boolean getShowAvailableDiscounts() { + return showAvailableDiscounts; + } + + public void setShowAvailableDiscounts(Boolean showAvailableDiscounts) { + this.showAvailableDiscounts = showAvailableDiscounts; + } + + + public PriceAndAvailabilityRequest showReserveInventoryDetails(Boolean showReserveInventoryDetails) { + this.showReserveInventoryDetails = showReserveInventoryDetails; + return this; + } + + /** + * Boolean value that will display reserve inventory details in the response when true. + * @return showReserveInventoryDetails + **/ + @javax.annotation.Nullable + public Boolean getShowReserveInventoryDetails() { + return showReserveInventoryDetails; + } + + public void setShowReserveInventoryDetails(Boolean showReserveInventoryDetails) { + this.showReserveInventoryDetails = showReserveInventoryDetails; + } + + + public PriceAndAvailabilityRequest specialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + return this; + } + + /** + * Pre-approved special pricing/bid number provided to the reseller by the vendor for special pricing and discounts. Used to track the bid number where different line items have different bid numbers. + * @return specialBidNumber + **/ + @javax.annotation.Nullable + public String getSpecialBidNumber() { + return specialBidNumber; + } + + public void setSpecialBidNumber(String specialBidNumber) { + this.specialBidNumber = specialBidNumber; + } + + + public PriceAndAvailabilityRequest availabilityByWarehouse(List availabilityByWarehouse) { + this.availabilityByWarehouse = availabilityByWarehouse; + return this; + } + + public PriceAndAvailabilityRequest addAvailabilityByWarehouseItem(PriceAndAvailabilityRequestAvailabilityByWarehouseInner availabilityByWarehouseItem) { + if (this.availabilityByWarehouse == null) { + this.availabilityByWarehouse = new ArrayList<>(); + } + this.availabilityByWarehouse.add(availabilityByWarehouseItem); return this; } /** - * Get servicerequest - * @return servicerequest + * Get availabilityByWarehouse + * @return availabilityByWarehouse **/ @javax.annotation.Nullable - public PriceAndAvailabilityRequestServicerequest getServicerequest() { - return servicerequest; + public List getAvailabilityByWarehouse() { + return availabilityByWarehouse; } - public void setServicerequest(PriceAndAvailabilityRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; + public void setAvailabilityByWarehouse(List availabilityByWarehouse) { + this.availabilityByWarehouse = availabilityByWarehouse; + } + + + public PriceAndAvailabilityRequest products(List products) { + this.products = products; + return this; + } + + public PriceAndAvailabilityRequest addProductsItem(PriceAndAvailabilityRequestProductsInner productsItem) { + if (this.products == null) { + this.products = new ArrayList<>(); + } + this.products.add(productsItem); + return this; + } + + /** + * Get products + * @return products + **/ + @javax.annotation.Nullable + public List getProducts() { + return products; + } + + public void setProducts(List products) { + this.products = products; + } + + + public PriceAndAvailabilityRequest additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public PriceAndAvailabilityRequest addAdditionalAttributesItem(PriceAndAvailabilityRequestAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Get additionalAttributes + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +231,29 @@ public boolean equals(Object o) { return false; } PriceAndAvailabilityRequest priceAndAvailabilityRequest = (PriceAndAvailabilityRequest) o; - return Objects.equals(this.servicerequest, priceAndAvailabilityRequest.servicerequest); + return Objects.equals(this.showAvailableDiscounts, priceAndAvailabilityRequest.showAvailableDiscounts) && + Objects.equals(this.showReserveInventoryDetails, priceAndAvailabilityRequest.showReserveInventoryDetails) && + Objects.equals(this.specialBidNumber, priceAndAvailabilityRequest.specialBidNumber) && + Objects.equals(this.availabilityByWarehouse, priceAndAvailabilityRequest.availabilityByWarehouse) && + Objects.equals(this.products, priceAndAvailabilityRequest.products) && + Objects.equals(this.additionalAttributes, priceAndAvailabilityRequest.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(servicerequest); + return Objects.hash(showAvailableDiscounts, showReserveInventoryDetails, specialBidNumber, availabilityByWarehouse, products, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PriceAndAvailabilityRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).append("\n"); + sb.append(" showAvailableDiscounts: ").append(toIndentedString(showAvailableDiscounts)).append("\n"); + sb.append(" showReserveInventoryDetails: ").append(toIndentedString(showReserveInventoryDetails)).append("\n"); + sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); + sb.append(" availabilityByWarehouse: ").append(toIndentedString(availabilityByWarehouse)).append("\n"); + sb.append(" products: ").append(toIndentedString(products)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +276,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("servicerequest"); + openapiFields.add("showAvailableDiscounts"); + openapiFields.add("showReserveInventoryDetails"); + openapiFields.add("specialBidNumber"); + openapiFields.add("availabilityByWarehouse"); + openapiFields.add("products"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +308,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - PriceAndAvailabilityRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); + 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("availabilityByWarehouse") != null && !jsonObj.get("availabilityByWarehouse").isJsonNull()) { + JsonArray jsonArrayavailabilityByWarehouse = jsonObj.getAsJsonArray("availabilityByWarehouse"); + if (jsonArrayavailabilityByWarehouse != null) { + // ensure the json data is an array + if (!jsonObj.get("availabilityByWarehouse").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `availabilityByWarehouse` to be an array in the JSON string but got `%s`", jsonObj.get("availabilityByWarehouse").toString())); + } + + // validate the optional field `availabilityByWarehouse` (array) + for (int i = 0; i < jsonArrayavailabilityByWarehouse.size(); i++) { + PriceAndAvailabilityRequestAvailabilityByWarehouseInner.validateJsonElement(jsonArrayavailabilityByWarehouse.get(i)); + }; + } + } + if (jsonObj.get("products") != null && !jsonObj.get("products").isJsonNull()) { + JsonArray jsonArrayproducts = jsonObj.getAsJsonArray("products"); + if (jsonArrayproducts != null) { + // ensure the json data is an array + if (!jsonObj.get("products").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `products` to be an array in the JSON string but got `%s`", jsonObj.get("products").toString())); + } + + // validate the optional field `products` (array) + for (int i = 0; i < jsonArrayproducts.size(); i++) { + PriceAndAvailabilityRequestProductsInner.validateJsonElement(jsonArrayproducts.get(i)); + }; + } + } + 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++) { + PriceAndAvailabilityRequestAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index 78c8cff0..200eefaf 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 fad7e8ad..fe2228fe 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 882fede1..bf7a4e4e 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityRequestProductsInner { 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/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index b8c3d292..90dd2409 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/PriceAndAvailabilityRequestServicerequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequest.java deleted file mode 100644 index cd9b6e11..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityRequestServicerequestPriceandstockrequest; -import xiresellers.client.model.PriceAndAvailabilityRequestServicerequestRequestpreamble; - -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; - -/** - * PriceAndAvailabilityRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private PriceAndAvailabilityRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_PRICEANDSTOCKREQUEST = "priceandstockrequest"; - @SerializedName(SERIALIZED_NAME_PRICEANDSTOCKREQUEST) - private PriceAndAvailabilityRequestServicerequestPriceandstockrequest priceandstockrequest; - - public PriceAndAvailabilityRequestServicerequest() { - } - - public PriceAndAvailabilityRequestServicerequest requestpreamble(PriceAndAvailabilityRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public PriceAndAvailabilityRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(PriceAndAvailabilityRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public PriceAndAvailabilityRequestServicerequest priceandstockrequest(PriceAndAvailabilityRequestServicerequestPriceandstockrequest priceandstockrequest) { - this.priceandstockrequest = priceandstockrequest; - return this; - } - - /** - * Get priceandstockrequest - * @return priceandstockrequest - **/ - @javax.annotation.Nullable - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest getPriceandstockrequest() { - return priceandstockrequest; - } - - public void setPriceandstockrequest(PriceAndAvailabilityRequestServicerequestPriceandstockrequest priceandstockrequest) { - this.priceandstockrequest = priceandstockrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityRequestServicerequest priceAndAvailabilityRequestServicerequest = (PriceAndAvailabilityRequestServicerequest) o; - return Objects.equals(this.requestpreamble, priceAndAvailabilityRequestServicerequest.requestpreamble) && - Objects.equals(this.priceandstockrequest, priceAndAvailabilityRequestServicerequest.priceandstockrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, priceandstockrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" priceandstockrequest: ").append(toIndentedString(priceandstockrequest)).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("requestpreamble"); - openapiFields.add("priceandstockrequest"); - - // 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 PriceAndAvailabilityRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityRequestServicerequest is not found in the empty JSON string", PriceAndAvailabilityRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - PriceAndAvailabilityRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `priceandstockrequest` - if (jsonObj.get("priceandstockrequest") != null && !jsonObj.get("priceandstockrequest").isJsonNull()) { - PriceAndAvailabilityRequestServicerequestPriceandstockrequest.validateJsonElement(jsonObj.get("priceandstockrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityRequestServicerequest - */ - public static PriceAndAvailabilityRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityRequestServicerequest.class); - } - - /** - * Convert an instance of PriceAndAvailabilityRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.java deleted file mode 100644 index 4dfdb15e..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequest.java +++ /dev/null @@ -1,312 +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.PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner; - -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; - -/** - * PriceAndAvailabilityRequestServicerequestPriceandstockrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityRequestServicerequestPriceandstockrequest { - public static final String SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY = "showwarehouseavailability"; - @SerializedName(SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY) - private String showwarehouseavailability; - - public static final String SERIALIZED_NAME_EXTRAVAILABILITYFLAG = "extravailabilityflag"; - @SerializedName(SERIALIZED_NAME_EXTRAVAILABILITYFLAG) - private String extravailabilityflag; - - public static final String SERIALIZED_NAME_INCLUDEALLSYSTEMS = "includeallsystems"; - @SerializedName(SERIALIZED_NAME_INCLUDEALLSYSTEMS) - private Boolean includeallsystems; - - public static final String SERIALIZED_NAME_ITEM = "item"; - @SerializedName(SERIALIZED_NAME_ITEM) - private List item; - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest() { - } - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest showwarehouseavailability(String showwarehouseavailability) { - this.showwarehouseavailability = showwarehouseavailability; - return this; - } - - /** - * True/false to show the availability of individual warehouses - * @return showwarehouseavailability - **/ - @javax.annotation.Nullable - public String getShowwarehouseavailability() { - return showwarehouseavailability; - } - - public void setShowwarehouseavailability(String showwarehouseavailability) { - this.showwarehouseavailability = showwarehouseavailability; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest extravailabilityflag(String extravailabilityflag) { - this.extravailabilityflag = extravailabilityflag; - return this; - } - - /** - * Y/N to show extra availability flag - * @return extravailabilityflag - **/ - @javax.annotation.Nullable - public String getExtravailabilityflag() { - return extravailabilityflag; - } - - public void setExtravailabilityflag(String extravailabilityflag) { - this.extravailabilityflag = extravailabilityflag; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest includeallsystems(Boolean includeallsystems) { - this.includeallsystems = includeallsystems; - return this; - } - - /** - * Flag to indicate if the price and stock information is required for all Ingram Micro systems. - * @return includeallsystems - **/ - @javax.annotation.Nullable - public Boolean getIncludeallsystems() { - return includeallsystems; - } - - public void setIncludeallsystems(Boolean includeallsystems) { - this.includeallsystems = includeallsystems; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest item(List item) { - this.item = item; - return this; - } - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest addItemItem(PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner itemItem) { - if (this.item == null) { - this.item = new ArrayList<>(); - } - this.item.add(itemItem); - return this; - } - - /** - * Get item - * @return item - **/ - @javax.annotation.Nullable - public List getItem() { - return item; - } - - public void setItem(List item) { - this.item = item; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityRequestServicerequestPriceandstockrequest priceAndAvailabilityRequestServicerequestPriceandstockrequest = (PriceAndAvailabilityRequestServicerequestPriceandstockrequest) o; - return Objects.equals(this.showwarehouseavailability, priceAndAvailabilityRequestServicerequestPriceandstockrequest.showwarehouseavailability) && - Objects.equals(this.extravailabilityflag, priceAndAvailabilityRequestServicerequestPriceandstockrequest.extravailabilityflag) && - Objects.equals(this.includeallsystems, priceAndAvailabilityRequestServicerequestPriceandstockrequest.includeallsystems) && - Objects.equals(this.item, priceAndAvailabilityRequestServicerequestPriceandstockrequest.item); - } - - @Override - public int hashCode() { - return Objects.hash(showwarehouseavailability, extravailabilityflag, includeallsystems, item); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityRequestServicerequestPriceandstockrequest {\n"); - sb.append(" showwarehouseavailability: ").append(toIndentedString(showwarehouseavailability)).append("\n"); - sb.append(" extravailabilityflag: ").append(toIndentedString(extravailabilityflag)).append("\n"); - sb.append(" includeallsystems: ").append(toIndentedString(includeallsystems)).append("\n"); - sb.append(" item: ").append(toIndentedString(item)).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("showwarehouseavailability"); - openapiFields.add("extravailabilityflag"); - openapiFields.add("includeallsystems"); - openapiFields.add("item"); - - // 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 PriceAndAvailabilityRequestServicerequestPriceandstockrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityRequestServicerequestPriceandstockrequest is not found in the empty JSON string", PriceAndAvailabilityRequestServicerequestPriceandstockrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityRequestServicerequestPriceandstockrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("showwarehouseavailability") != null && !jsonObj.get("showwarehouseavailability").isJsonNull()) && !jsonObj.get("showwarehouseavailability").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `showwarehouseavailability` to be a primitive type in the JSON string but got `%s`", jsonObj.get("showwarehouseavailability").toString())); - } - if ((jsonObj.get("extravailabilityflag") != null && !jsonObj.get("extravailabilityflag").isJsonNull()) && !jsonObj.get("extravailabilityflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extravailabilityflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extravailabilityflag").toString())); - } - if (jsonObj.get("item") != null && !jsonObj.get("item").isJsonNull()) { - JsonArray jsonArrayitem = jsonObj.getAsJsonArray("item"); - if (jsonArrayitem != null) { - // ensure the json data is an array - if (!jsonObj.get("item").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `item` to be an array in the JSON string but got `%s`", jsonObj.get("item").toString())); - } - - // validate the optional field `item` (array) - for (int i = 0; i < jsonArrayitem.size(); i++) { - PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.validateJsonElement(jsonArrayitem.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityRequestServicerequestPriceandstockrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityRequestServicerequestPriceandstockrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityRequestServicerequestPriceandstockrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityRequestServicerequestPriceandstockrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequest - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityRequestServicerequestPriceandstockrequest - */ - public static PriceAndAvailabilityRequestServicerequestPriceandstockrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityRequestServicerequestPriceandstockrequest.class); - } - - /** - * Convert an instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.java deleted file mode 100644 index 2014be20..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.java +++ /dev/null @@ -1,531 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -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; - -/** - * PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner { - public static final String SERIALIZED_NAME_INDEX = "index"; - @SerializedName(SERIALIZED_NAME_INDEX) - private Integer index; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_UPC = "upc"; - @SerializedName(SERIALIZED_NAME_UPC) - private String upc; - - public static final String SERIALIZED_NAME_CUSTOMERPARTNUMBER = "customerpartnumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPARTNUMBER) - private String customerpartnumber; - - public static final String SERIALIZED_NAME_WAREHOUSEIDLIST = "warehouseidlist"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEIDLIST) - private List warehouseidlist; - - public static final String SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER = "extendedvendorpartnumber"; - @SerializedName(SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER) - private String extendedvendorpartnumber; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private BigDecimal quantity; - - public static final String SERIALIZED_NAME_ENDUSERID = "enduserid"; - @SerializedName(SERIALIZED_NAME_ENDUSERID) - private String enduserid; - - public static final String SERIALIZED_NAME_GOVTPROGRAMTYPE = "govtprogramtype"; - @SerializedName(SERIALIZED_NAME_GOVTPROGRAMTYPE) - private String govtprogramtype; - - public static final String SERIALIZED_NAME_GOVTENDUSERTYPE = "govtendusertype"; - @SerializedName(SERIALIZED_NAME_GOVTENDUSERTYPE) - private String govtendusertype; - - public static final String SERIALIZED_NAME_SPECIALBIDNUMBER = "specialbidnumber"; - @SerializedName(SERIALIZED_NAME_SPECIALBIDNUMBER) - private String specialbidnumber; - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner() { - } - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner index(Integer index) { - this.index = index; - return this; - } - - /** - * Get index - * @return index - **/ - @javax.annotation.Nullable - public Integer getIndex() { - return index; - } - - public void setIndex(Integer index) { - this.index = index; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * Ingram Micro SKU number - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Vendor/Manufacture Part Number - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner upc(String upc) { - this.upc = upc; - return this; - } - - /** - * Universal Product code - * @return upc - **/ - @javax.annotation.Nullable - public String getUpc() { - return upc; - } - - public void setUpc(String upc) { - this.upc = upc; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner customerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - return this; - } - - /** - * Unique identoifier for the customer, needs custom setup. - * @return customerpartnumber - **/ - @javax.annotation.Nullable - public String getCustomerpartnumber() { - return customerpartnumber; - } - - public void setCustomerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner warehouseidlist(List warehouseidlist) { - this.warehouseidlist = warehouseidlist; - return this; - } - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner addWarehouseidlistItem(String warehouseidlistItem) { - if (this.warehouseidlist == null) { - this.warehouseidlist = new ArrayList<>(); - } - this.warehouseidlist.add(warehouseidlistItem); - return this; - } - - /** - * Unique identity for Ingram Micro warehouses against which stock details are returned. - * @return warehouseidlist - **/ - @javax.annotation.Nullable - public List getWarehouseidlist() { - return warehouseidlist; - } - - public void setWarehouseidlist(List warehouseidlist) { - this.warehouseidlist = warehouseidlist; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner extendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - return this; - } - - /** - * Get extendedvendorpartnumber - * @return extendedvendorpartnumber - **/ - @javax.annotation.Nullable - public String getExtendedvendorpartnumber() { - return extendedvendorpartnumber; - } - - public void setExtendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner quantity(BigDecimal quantity) { - this.quantity = quantity; - return this; - } - - /** - * Get quantity - * @return quantity - **/ - @javax.annotation.Nullable - public BigDecimal getQuantity() { - return quantity; - } - - public void setQuantity(BigDecimal quantity) { - this.quantity = quantity; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner enduserid(String enduserid) { - this.enduserid = enduserid; - return this; - } - - /** - * Get enduserid - * @return enduserid - **/ - @javax.annotation.Nullable - public String getEnduserid() { - return enduserid; - } - - public void setEnduserid(String enduserid) { - this.enduserid = enduserid; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner govtprogramtype(String govtprogramtype) { - this.govtprogramtype = govtprogramtype; - return this; - } - - /** - * Get govtprogramtype - * @return govtprogramtype - **/ - @javax.annotation.Nullable - public String getGovtprogramtype() { - return govtprogramtype; - } - - public void setGovtprogramtype(String govtprogramtype) { - this.govtprogramtype = govtprogramtype; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner govtendusertype(String govtendusertype) { - this.govtendusertype = govtendusertype; - return this; - } - - /** - * Get govtendusertype - * @return govtendusertype - **/ - @javax.annotation.Nullable - public String getGovtendusertype() { - return govtendusertype; - } - - public void setGovtendusertype(String govtendusertype) { - this.govtendusertype = govtendusertype; - } - - - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner 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; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner = (PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner) o; - return Objects.equals(this.index, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.index) && - Objects.equals(this.ingrampartnumber, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.ingrampartnumber) && - Objects.equals(this.vendorpartnumber, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.vendorpartnumber) && - Objects.equals(this.upc, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.upc) && - Objects.equals(this.customerpartnumber, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.customerpartnumber) && - Objects.equals(this.warehouseidlist, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.warehouseidlist) && - Objects.equals(this.extendedvendorpartnumber, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.extendedvendorpartnumber) && - Objects.equals(this.quantity, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.quantity) && - Objects.equals(this.enduserid, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.enduserid) && - Objects.equals(this.govtprogramtype, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.govtprogramtype) && - Objects.equals(this.govtendusertype, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.govtendusertype) && - Objects.equals(this.specialbidnumber, priceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.specialbidnumber); - } - - @Override - public int hashCode() { - return Objects.hash(index, ingrampartnumber, vendorpartnumber, upc, customerpartnumber, warehouseidlist, extendedvendorpartnumber, quantity, enduserid, govtprogramtype, govtendusertype, specialbidnumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner {\n"); - sb.append(" index: ").append(toIndentedString(index)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" upc: ").append(toIndentedString(upc)).append("\n"); - sb.append(" customerpartnumber: ").append(toIndentedString(customerpartnumber)).append("\n"); - sb.append(" warehouseidlist: ").append(toIndentedString(warehouseidlist)).append("\n"); - sb.append(" extendedvendorpartnumber: ").append(toIndentedString(extendedvendorpartnumber)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" enduserid: ").append(toIndentedString(enduserid)).append("\n"); - sb.append(" govtprogramtype: ").append(toIndentedString(govtprogramtype)).append("\n"); - sb.append(" govtendusertype: ").append(toIndentedString(govtendusertype)).append("\n"); - sb.append(" specialbidnumber: ").append(toIndentedString(specialbidnumber)).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("index"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("upc"); - openapiFields.add("customerpartnumber"); - openapiFields.add("warehouseidlist"); - openapiFields.add("extendedvendorpartnumber"); - openapiFields.add("quantity"); - openapiFields.add("enduserid"); - openapiFields.add("govtprogramtype"); - openapiFields.add("govtendusertype"); - openapiFields.add("specialbidnumber"); - - // 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 PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner is not found in the empty JSON string", PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("upc") != null && !jsonObj.get("upc").isJsonNull()) && !jsonObj.get("upc").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `upc` to be a primitive type in the JSON string but got `%s`", jsonObj.get("upc").toString())); - } - if ((jsonObj.get("customerpartnumber") != null && !jsonObj.get("customerpartnumber").isJsonNull()) && !jsonObj.get("customerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerpartnumber").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("warehouseidlist") != null && !jsonObj.get("warehouseidlist").isJsonNull() && !jsonObj.get("warehouseidlist").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseidlist` to be an array in the JSON string but got `%s`", jsonObj.get("warehouseidlist").toString())); - } - if ((jsonObj.get("extendedvendorpartnumber") != null && !jsonObj.get("extendedvendorpartnumber").isJsonNull()) && !jsonObj.get("extendedvendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedvendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedvendorpartnumber").toString())); - } - 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("govtprogramtype") != null && !jsonObj.get("govtprogramtype").isJsonNull()) && !jsonObj.get("govtprogramtype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `govtprogramtype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("govtprogramtype").toString())); - } - if ((jsonObj.get("govtendusertype") != null && !jsonObj.get("govtendusertype").isJsonNull()) && !jsonObj.get("govtendusertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `govtendusertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("govtendusertype").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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - */ - public static PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner.class); - } - - /** - * Convert an instance of PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreamble.java deleted file mode 100644 index b007b2b5..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * PriceAndAvailabilityRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public PriceAndAvailabilityRequestServicerequestRequestpreamble() { - } - - public PriceAndAvailabilityRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * 2 Digit ISO country code - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public PriceAndAvailabilityRequestServicerequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Your Ingram Micro customer number - * @return customernumber - **/ - @javax.annotation.Nonnull - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityRequestServicerequestRequestpreamble priceAndAvailabilityRequestServicerequestRequestpreamble = (PriceAndAvailabilityRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, priceAndAvailabilityRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, priceAndAvailabilityRequestServicerequestRequestpreamble.customernumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customernumber"); - } - - /** - * 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 PriceAndAvailabilityRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityRequestServicerequestRequestpreamble is not found in the empty JSON string", PriceAndAvailabilityRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : PriceAndAvailabilityRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityRequestServicerequestRequestpreamble - */ - public static PriceAndAvailabilityRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of PriceAndAvailabilityRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponse.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponse.java deleted file mode 100644 index 451fe0fb..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponse; - -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; - -/** - * Response object model for the multi sku price and stock API endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private PriceAndAvailabilityResponseServiceresponse serviceresponse; - - public PriceAndAvailabilityResponse() { - } - - public PriceAndAvailabilityResponse serviceresponse(PriceAndAvailabilityResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public PriceAndAvailabilityResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(PriceAndAvailabilityResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityResponse priceAndAvailabilityResponse = (PriceAndAvailabilityResponse) o; - return Objects.equals(this.serviceresponse, priceAndAvailabilityResponse.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 PriceAndAvailabilityResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityResponse is not found in the empty JSON string", PriceAndAvailabilityResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - PriceAndAvailabilityResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityResponse - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityResponse - */ - public static PriceAndAvailabilityResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityResponse.class); - } - - /** - * Convert an instance of PriceAndAvailabilityResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java index f33d1b3a..0160eb00 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index cf026275..3da4df16 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index 2c1930b3..144312be 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index a2df52f1..f03d063c 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 df50dad6..0bafa8a1 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index c178f1dc..1a9a1677 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 06a6a193..86981838 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 9c5bf442..5a00534e 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 63bc6ad9..10dd9bb6 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 5cfd5f4f..944b87ce 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/PriceAndAvailabilityResponseServiceresponse.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponse.java deleted file mode 100644 index 3ae21462..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponseResponsepreamble; - -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; - -/** - * PriceAndAvailabilityResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_PRICEANDSTOCKRESPONSE = "priceandstockresponse"; - @SerializedName(SERIALIZED_NAME_PRICEANDSTOCKRESPONSE) - private PriceAndAvailabilityResponseServiceresponsePriceandstockresponse priceandstockresponse; - - public PriceAndAvailabilityResponseServiceresponse() { - } - - public PriceAndAvailabilityResponseServiceresponse responsepreamble(PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public PriceAndAvailabilityResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(PriceAndAvailabilityResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public PriceAndAvailabilityResponseServiceresponse priceandstockresponse(PriceAndAvailabilityResponseServiceresponsePriceandstockresponse priceandstockresponse) { - this.priceandstockresponse = priceandstockresponse; - return this; - } - - /** - * Get priceandstockresponse - * @return priceandstockresponse - **/ - @javax.annotation.Nullable - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponse getPriceandstockresponse() { - return priceandstockresponse; - } - - public void setPriceandstockresponse(PriceAndAvailabilityResponseServiceresponsePriceandstockresponse priceandstockresponse) { - this.priceandstockresponse = priceandstockresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityResponseServiceresponse priceAndAvailabilityResponseServiceresponse = (PriceAndAvailabilityResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, priceAndAvailabilityResponseServiceresponse.responsepreamble) && - Objects.equals(this.priceandstockresponse, priceAndAvailabilityResponseServiceresponse.priceandstockresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, priceandstockresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" priceandstockresponse: ").append(toIndentedString(priceandstockresponse)).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("responsepreamble"); - openapiFields.add("priceandstockresponse"); - - // 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 PriceAndAvailabilityResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityResponseServiceresponse is not found in the empty JSON string", PriceAndAvailabilityResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - PriceAndAvailabilityResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `priceandstockresponse` - if (jsonObj.get("priceandstockresponse") != null && !jsonObj.get("priceandstockresponse").isJsonNull()) { - PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.validateJsonElement(jsonObj.get("priceandstockresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityResponseServiceresponse - */ - public static PriceAndAvailabilityResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityResponseServiceresponse.class); - } - - /** - * Convert an instance of PriceAndAvailabilityResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.java deleted file mode 100644 index 32fd9a10..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.java +++ /dev/null @@ -1,228 +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.PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner; - -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; - -/** - * PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityResponseServiceresponsePriceandstockresponse { - public static final String SERIALIZED_NAME_DETAILS = "details"; - @SerializedName(SERIALIZED_NAME_DETAILS) - private List details; - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponse() { - } - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponse details(List details) { - this.details = details; - return this; - } - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponse addDetailsItem(PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner detailsItem) { - if (this.details == null) { - this.details = new ArrayList<>(); - } - this.details.add(detailsItem); - return this; - } - - /** - * Get details - * @return details - **/ - @javax.annotation.Nullable - public List getDetails() { - return details; - } - - public void setDetails(List details) { - this.details = details; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityResponseServiceresponsePriceandstockresponse priceAndAvailabilityResponseServiceresponsePriceandstockresponse = (PriceAndAvailabilityResponseServiceresponsePriceandstockresponse) o; - return Objects.equals(this.details, priceAndAvailabilityResponseServiceresponsePriceandstockresponse.details); - } - - @Override - public int hashCode() { - return Objects.hash(details); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityResponseServiceresponsePriceandstockresponse {\n"); - sb.append(" details: ").append(toIndentedString(details)).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("details"); - - // 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 PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityResponseServiceresponsePriceandstockresponse is not found in the empty JSON string", PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityResponseServiceresponsePriceandstockresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("details") != null && !jsonObj.get("details").isJsonNull()) { - JsonArray jsonArraydetails = jsonObj.getAsJsonArray("details"); - if (jsonArraydetails != null) { - // ensure the json data is an array - if (!jsonObj.get("details").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `details` to be an array in the JSON string but got `%s`", jsonObj.get("details").toString())); - } - - // validate the optional field `details` (array) - for (int i = 0; i < jsonArraydetails.size(); i++) { - PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.validateJsonElement(jsonArraydetails.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityResponseServiceresponsePriceandstockresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityResponseServiceresponsePriceandstockresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - */ - public static PriceAndAvailabilityResponseServiceresponsePriceandstockresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityResponseServiceresponsePriceandstockresponse.class); - } - - /** - * Convert an instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.java deleted file mode 100644 index d30e8cfa..00000000 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.java +++ /dev/null @@ -1,1128 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.WarehouseListType; - -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; - -/** - * PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner { - /** - * SUCCESS or FAILED - */ - @JsonAdapter(ItemstatusEnum.Adapter.class) - public enum ItemstatusEnum { - SUCCESS("SUCCESS"), - - FAILED("FAILED"); - - private String value; - - ItemstatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static ItemstatusEnum fromValue(String value) { - for (ItemstatusEnum b : ItemstatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final ItemstatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public ItemstatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return ItemstatusEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - ItemstatusEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ITEMSTATUS = "itemstatus"; - @SerializedName(SERIALIZED_NAME_ITEMSTATUS) - private ItemstatusEnum itemstatus; - - public static final String SERIALIZED_NAME_STATUSMESSAGE = "statusmessage"; - @SerializedName(SERIALIZED_NAME_STATUSMESSAGE) - private String statusmessage; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_GLOBALSKUID = "globalskuid"; - @SerializedName(SERIALIZED_NAME_GLOBALSKUID) - private String globalskuid; - - public static final String SERIALIZED_NAME_CUSTOMERPRICE = "customerprice"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPRICE) - private BigDecimal customerprice; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION1 = "partdescription1"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION1) - private String partdescription1; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION2 = "partdescription2"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION2) - private String partdescription2; - - public static final String SERIALIZED_NAME_VENDORNUMBER = "vendornumber"; - @SerializedName(SERIALIZED_NAME_VENDORNUMBER) - private String vendornumber; - - public static final String SERIALIZED_NAME_VENDORNAME = "vendorname"; - @SerializedName(SERIALIZED_NAME_VENDORNAME) - private String vendorname; - - public static final String SERIALIZED_NAME_CPUCODE = "cpucode"; - @SerializedName(SERIALIZED_NAME_CPUCODE) - private String cpucode; - - /** - * Ingram Micro assigned product classification - A-Stocked product in all IM warehouses, B-Limited stock in IM warehouses, C-Stocked in fewer wareshouses, D-Ingram discontinued, E-Planned to be phased out as per the vendor, F-Carried for specific customer as per the contract, N-New SKU, O-Discontinued to be liquidated, S-Order for specialized demand, V-Discontinued by vendor, X-Direct Ship products from vendor - */ - @JsonAdapter(PropertyClassEnum.Adapter.class) - public enum PropertyClassEnum { - A("A"), - - B("B"), - - C("C"), - - D("D"), - - E("E"), - - F("F"), - - N("N"), - - O("O"), - - S("S"), - - V("V"), - - X("X"); - - private String value; - - PropertyClassEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static PropertyClassEnum fromValue(String value) { - for (PropertyClassEnum b : PropertyClassEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final PropertyClassEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public PropertyClassEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return PropertyClassEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - PropertyClassEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; - @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - private PropertyClassEnum propertyClass; - - /** - * Identifies if the SKU has been discontinued. - */ - @JsonAdapter(SkustatusEnum.Adapter.class) - public enum SkustatusEnum { - ACTIVE("ACTIVE"); - - private String value; - - SkustatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static SkustatusEnum fromValue(String value) { - for (SkustatusEnum b : SkustatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final SkustatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public SkustatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return SkustatusEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - SkustatusEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_SKUSTATUS = "skustatus"; - @SerializedName(SERIALIZED_NAME_SKUSTATUS) - private SkustatusEnum skustatus; - - public static final String SERIALIZED_NAME_MEDIACPU = "mediacpu"; - @SerializedName(SERIALIZED_NAME_MEDIACPU) - private String mediacpu; - - public static final String SERIALIZED_NAME_CATEGORYSUBCATEGORY = "categorysubcategory"; - @SerializedName(SERIALIZED_NAME_CATEGORYSUBCATEGORY) - private String categorysubcategory; - - public static final String SERIALIZED_NAME_RETAILPRICE = "retailprice"; - @SerializedName(SERIALIZED_NAME_RETAILPRICE) - private BigDecimal retailprice; - - public static final String SERIALIZED_NAME_NEWMEDIA = "newmedia"; - @SerializedName(SERIALIZED_NAME_NEWMEDIA) - private String newmedia; - - /** - * Y - End user required N - Not required End user - */ - @JsonAdapter(EnduserrequiredEnum.Adapter.class) - public enum EnduserrequiredEnum { - Y("Y"), - - N("N"); - - private String value; - - EnduserrequiredEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static EnduserrequiredEnum fromValue(String value) { - for (EnduserrequiredEnum b : EnduserrequiredEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final EnduserrequiredEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public EnduserrequiredEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return EnduserrequiredEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - EnduserrequiredEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ENDUSERREQUIRED = "enduserrequired"; - @SerializedName(SERIALIZED_NAME_ENDUSERREQUIRED) - private EnduserrequiredEnum enduserrequired; - - /** - * Y- Allow Backorder Flag N- Not allowed - */ - @JsonAdapter(BackorderflagEnum.Adapter.class) - public enum BackorderflagEnum { - Y("Y"), - - N("N"); - - private String value; - - BackorderflagEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static BackorderflagEnum fromValue(String value) { - for (BackorderflagEnum b : BackorderflagEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final BackorderflagEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public BackorderflagEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return BackorderflagEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - BackorderflagEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_BACKORDERFLAG = "backorderflag"; - @SerializedName(SERIALIZED_NAME_BACKORDERFLAG) - private BackorderflagEnum backorderflag; - - public static final String SERIALIZED_NAME_SKUAUTHORIZED = "skuauthorized"; - @SerializedName(SERIALIZED_NAME_SKUAUTHORIZED) - private String skuauthorized; - - public static final String SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER = "extendedvendorpartnumber"; - @SerializedName(SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER) - private String extendedvendorpartnumber; - - public static final String SERIALIZED_NAME_WAREHOUSEDETAILS = "warehousedetails"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEDETAILS) - private List warehousedetails; - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner() { - } - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner itemstatus(ItemstatusEnum itemstatus) { - this.itemstatus = itemstatus; - return this; - } - - /** - * SUCCESS or FAILED - * @return itemstatus - **/ - @javax.annotation.Nullable - public ItemstatusEnum getItemstatus() { - return itemstatus; - } - - public void setItemstatus(ItemstatusEnum itemstatus) { - this.itemstatus = itemstatus; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner statusmessage(String statusmessage) { - this.statusmessage = statusmessage; - return this; - } - - /** - * Description of itemstatus - * @return statusmessage - **/ - @javax.annotation.Nullable - public String getStatusmessage() { - return statusmessage; - } - - public void setStatusmessage(String statusmessage) { - this.statusmessage = statusmessage; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * Ingram Micro part number - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Manufacturer/Vendor part number - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner globalskuid(String globalskuid) { - this.globalskuid = globalskuid; - return this; - } - - /** - * Get globalskuid - * @return globalskuid - **/ - @javax.annotation.Nullable - public String getGlobalskuid() { - return globalskuid; - } - - public void setGlobalskuid(String globalskuid) { - this.globalskuid = globalskuid; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner customerprice(BigDecimal customerprice) { - this.customerprice = customerprice; - return this; - } - - /** - * Customer specific price for the product, excluding taxes - * @return customerprice - **/ - @javax.annotation.Nullable - public BigDecimal getCustomerprice() { - return customerprice; - } - - public void setCustomerprice(BigDecimal customerprice) { - this.customerprice = customerprice; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner partdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - return this; - } - - /** - * Product description part 1 - * @return partdescription1 - **/ - @javax.annotation.Nullable - public String getPartdescription1() { - return partdescription1; - } - - public void setPartdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner partdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - return this; - } - - /** - * Product description part 2 - * @return partdescription2 - **/ - @javax.annotation.Nullable - public String getPartdescription2() { - return partdescription2; - } - - public void setPartdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner vendornumber(String vendornumber) { - this.vendornumber = vendornumber; - return this; - } - - /** - * Get vendornumber - * @return vendornumber - **/ - @javax.annotation.Nullable - public String getVendornumber() { - return vendornumber; - } - - public void setVendornumber(String vendornumber) { - this.vendornumber = vendornumber; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner vendorname(String vendorname) { - this.vendorname = vendorname; - return this; - } - - /** - * Name of the vendor - * @return vendorname - **/ - @javax.annotation.Nullable - public String getVendorname() { - return vendorname; - } - - public void setVendorname(String vendorname) { - this.vendorname = vendorname; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner cpucode(String cpucode) { - this.cpucode = cpucode; - return this; - } - - /** - * Get cpucode - * @return cpucode - **/ - @javax.annotation.Nullable - public String getCpucode() { - return cpucode; - } - - public void setCpucode(String cpucode) { - this.cpucode = cpucode; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner propertyClass(PropertyClassEnum propertyClass) { - this.propertyClass = propertyClass; - return this; - } - - /** - * Ingram Micro assigned product classification - A-Stocked product in all IM warehouses, B-Limited stock in IM warehouses, C-Stocked in fewer wareshouses, D-Ingram discontinued, E-Planned to be phased out as per the vendor, F-Carried for specific customer as per the contract, N-New SKU, O-Discontinued to be liquidated, S-Order for specialized demand, V-Discontinued by vendor, X-Direct Ship products from vendor - * @return propertyClass - **/ - @javax.annotation.Nullable - public PropertyClassEnum getPropertyClass() { - return propertyClass; - } - - public void setPropertyClass(PropertyClassEnum propertyClass) { - this.propertyClass = propertyClass; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner skustatus(SkustatusEnum skustatus) { - this.skustatus = skustatus; - return this; - } - - /** - * Identifies if the SKU has been discontinued. - * @return skustatus - **/ - @javax.annotation.Nullable - public SkustatusEnum getSkustatus() { - return skustatus; - } - - public void setSkustatus(SkustatusEnum skustatus) { - this.skustatus = skustatus; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner mediacpu(String mediacpu) { - this.mediacpu = mediacpu; - return this; - } - - /** - * Get mediacpu - * @return mediacpu - **/ - @javax.annotation.Nullable - public String getMediacpu() { - return mediacpu; - } - - public void setMediacpu(String mediacpu) { - this.mediacpu = mediacpu; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner categorysubcategory(String categorysubcategory) { - this.categorysubcategory = categorysubcategory; - return this; - } - - /** - * Get categorysubcategory - * @return categorysubcategory - **/ - @javax.annotation.Nullable - public String getCategorysubcategory() { - return categorysubcategory; - } - - public void setCategorysubcategory(String categorysubcategory) { - this.categorysubcategory = categorysubcategory; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner retailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - return this; - } - - /** - * Get retailprice - * @return retailprice - **/ - @javax.annotation.Nullable - public BigDecimal getRetailprice() { - return retailprice; - } - - public void setRetailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner newmedia(String newmedia) { - this.newmedia = newmedia; - return this; - } - - /** - * Get newmedia - * @return newmedia - **/ - @javax.annotation.Nullable - public String getNewmedia() { - return newmedia; - } - - public void setNewmedia(String newmedia) { - this.newmedia = newmedia; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner enduserrequired(EnduserrequiredEnum enduserrequired) { - this.enduserrequired = enduserrequired; - return this; - } - - /** - * Y - End user required N - Not required End user - * @return enduserrequired - **/ - @javax.annotation.Nullable - public EnduserrequiredEnum getEnduserrequired() { - return enduserrequired; - } - - public void setEnduserrequired(EnduserrequiredEnum enduserrequired) { - this.enduserrequired = enduserrequired; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner backorderflag(BackorderflagEnum backorderflag) { - this.backorderflag = backorderflag; - return this; - } - - /** - * Y- Allow Backorder Flag N- Not allowed - * @return backorderflag - **/ - @javax.annotation.Nullable - public BackorderflagEnum getBackorderflag() { - return backorderflag; - } - - public void setBackorderflag(BackorderflagEnum backorderflag) { - this.backorderflag = backorderflag; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner skuauthorized(String skuauthorized) { - this.skuauthorized = skuauthorized; - return this; - } - - /** - * Get skuauthorized - * @return skuauthorized - **/ - @javax.annotation.Nullable - public String getSkuauthorized() { - return skuauthorized; - } - - public void setSkuauthorized(String skuauthorized) { - this.skuauthorized = skuauthorized; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner extendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - return this; - } - - /** - * Get extendedvendorpartnumber - * @return extendedvendorpartnumber - **/ - @javax.annotation.Nullable - public String getExtendedvendorpartnumber() { - return extendedvendorpartnumber; - } - - public void setExtendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - } - - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner warehousedetails(List warehousedetails) { - this.warehousedetails = warehousedetails; - return this; - } - - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner addWarehousedetailsItem(WarehouseListType warehousedetailsItem) { - if (this.warehousedetails == null) { - this.warehousedetails = new ArrayList<>(); - } - this.warehousedetails.add(warehousedetailsItem); - return this; - } - - /** - * Get warehousedetails - * @return warehousedetails - **/ - @javax.annotation.Nullable - public List getWarehousedetails() { - return warehousedetails; - } - - public void setWarehousedetails(List warehousedetails) { - this.warehousedetails = warehousedetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner = (PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner) o; - return Objects.equals(this.itemstatus, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.itemstatus) && - Objects.equals(this.statusmessage, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.statusmessage) && - Objects.equals(this.ingrampartnumber, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.ingrampartnumber) && - Objects.equals(this.vendorpartnumber, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.vendorpartnumber) && - Objects.equals(this.globalskuid, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.globalskuid) && - Objects.equals(this.customerprice, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.customerprice) && - Objects.equals(this.partdescription1, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.partdescription1) && - Objects.equals(this.partdescription2, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.partdescription2) && - Objects.equals(this.vendornumber, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.vendornumber) && - Objects.equals(this.vendorname, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.vendorname) && - Objects.equals(this.cpucode, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.cpucode) && - Objects.equals(this.propertyClass, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.propertyClass) && - Objects.equals(this.skustatus, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.skustatus) && - Objects.equals(this.mediacpu, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.mediacpu) && - Objects.equals(this.categorysubcategory, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.categorysubcategory) && - Objects.equals(this.retailprice, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.retailprice) && - Objects.equals(this.newmedia, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.newmedia) && - Objects.equals(this.enduserrequired, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.enduserrequired) && - Objects.equals(this.backorderflag, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.backorderflag) && - Objects.equals(this.skuauthorized, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.skuauthorized) && - Objects.equals(this.extendedvendorpartnumber, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.extendedvendorpartnumber) && - Objects.equals(this.warehousedetails, priceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.warehousedetails); - } - - @Override - public int hashCode() { - return Objects.hash(itemstatus, statusmessage, ingrampartnumber, vendorpartnumber, globalskuid, customerprice, partdescription1, partdescription2, vendornumber, vendorname, cpucode, propertyClass, skustatus, mediacpu, categorysubcategory, retailprice, newmedia, enduserrequired, backorderflag, skuauthorized, extendedvendorpartnumber, warehousedetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner {\n"); - sb.append(" itemstatus: ").append(toIndentedString(itemstatus)).append("\n"); - sb.append(" statusmessage: ").append(toIndentedString(statusmessage)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" globalskuid: ").append(toIndentedString(globalskuid)).append("\n"); - sb.append(" customerprice: ").append(toIndentedString(customerprice)).append("\n"); - sb.append(" partdescription1: ").append(toIndentedString(partdescription1)).append("\n"); - sb.append(" partdescription2: ").append(toIndentedString(partdescription2)).append("\n"); - sb.append(" vendornumber: ").append(toIndentedString(vendornumber)).append("\n"); - sb.append(" vendorname: ").append(toIndentedString(vendorname)).append("\n"); - sb.append(" cpucode: ").append(toIndentedString(cpucode)).append("\n"); - sb.append(" propertyClass: ").append(toIndentedString(propertyClass)).append("\n"); - sb.append(" skustatus: ").append(toIndentedString(skustatus)).append("\n"); - sb.append(" mediacpu: ").append(toIndentedString(mediacpu)).append("\n"); - sb.append(" categorysubcategory: ").append(toIndentedString(categorysubcategory)).append("\n"); - sb.append(" retailprice: ").append(toIndentedString(retailprice)).append("\n"); - sb.append(" newmedia: ").append(toIndentedString(newmedia)).append("\n"); - sb.append(" enduserrequired: ").append(toIndentedString(enduserrequired)).append("\n"); - sb.append(" backorderflag: ").append(toIndentedString(backorderflag)).append("\n"); - sb.append(" skuauthorized: ").append(toIndentedString(skuauthorized)).append("\n"); - sb.append(" extendedvendorpartnumber: ").append(toIndentedString(extendedvendorpartnumber)).append("\n"); - sb.append(" warehousedetails: ").append(toIndentedString(warehousedetails)).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("itemstatus"); - openapiFields.add("statusmessage"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("globalskuid"); - openapiFields.add("customerprice"); - openapiFields.add("partdescription1"); - openapiFields.add("partdescription2"); - openapiFields.add("vendornumber"); - openapiFields.add("vendorname"); - openapiFields.add("cpucode"); - openapiFields.add("class"); - openapiFields.add("skustatus"); - openapiFields.add("mediacpu"); - openapiFields.add("categorysubcategory"); - openapiFields.add("retailprice"); - openapiFields.add("newmedia"); - openapiFields.add("enduserrequired"); - openapiFields.add("backorderflag"); - openapiFields.add("skuauthorized"); - openapiFields.add("extendedvendorpartnumber"); - openapiFields.add("warehousedetails"); - - // 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 PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner is not found in the empty JSON string", PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("itemstatus") != null && !jsonObj.get("itemstatus").isJsonNull()) && !jsonObj.get("itemstatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `itemstatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemstatus").toString())); - } - // validate the optional field `itemstatus` - if (jsonObj.get("itemstatus") != null && !jsonObj.get("itemstatus").isJsonNull()) { - ItemstatusEnum.validateJsonElement(jsonObj.get("itemstatus")); - } - if ((jsonObj.get("statusmessage") != null && !jsonObj.get("statusmessage").isJsonNull()) && !jsonObj.get("statusmessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statusmessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statusmessage").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("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("globalskuid") != null && !jsonObj.get("globalskuid").isJsonNull()) && !jsonObj.get("globalskuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalskuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalskuid").toString())); - } - if ((jsonObj.get("partdescription1") != null && !jsonObj.get("partdescription1").isJsonNull()) && !jsonObj.get("partdescription1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription1").toString())); - } - if ((jsonObj.get("partdescription2") != null && !jsonObj.get("partdescription2").isJsonNull()) && !jsonObj.get("partdescription2").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription2").toString())); - } - if ((jsonObj.get("vendornumber") != null && !jsonObj.get("vendornumber").isJsonNull()) && !jsonObj.get("vendornumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendornumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendornumber").toString())); - } - if ((jsonObj.get("vendorname") != null && !jsonObj.get("vendorname").isJsonNull()) && !jsonObj.get("vendorname").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorname").toString())); - } - if ((jsonObj.get("cpucode") != null && !jsonObj.get("cpucode").isJsonNull()) && !jsonObj.get("cpucode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cpucode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cpucode").toString())); - } - if ((jsonObj.get("class") != null && !jsonObj.get("class").isJsonNull()) && !jsonObj.get("class").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `class` to be a primitive type in the JSON string but got `%s`", jsonObj.get("class").toString())); - } - // validate the optional field `class` - if (jsonObj.get("class") != null && !jsonObj.get("class").isJsonNull()) { - PropertyClassEnum.validateJsonElement(jsonObj.get("class")); - } - if ((jsonObj.get("skustatus") != null && !jsonObj.get("skustatus").isJsonNull()) && !jsonObj.get("skustatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `skustatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("skustatus").toString())); - } - // validate the optional field `skustatus` - if (jsonObj.get("skustatus") != null && !jsonObj.get("skustatus").isJsonNull()) { - SkustatusEnum.validateJsonElement(jsonObj.get("skustatus")); - } - if ((jsonObj.get("mediacpu") != null && !jsonObj.get("mediacpu").isJsonNull()) && !jsonObj.get("mediacpu").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `mediacpu` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mediacpu").toString())); - } - if ((jsonObj.get("categorysubcategory") != null && !jsonObj.get("categorysubcategory").isJsonNull()) && !jsonObj.get("categorysubcategory").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `categorysubcategory` to be a primitive type in the JSON string but got `%s`", jsonObj.get("categorysubcategory").toString())); - } - if ((jsonObj.get("newmedia") != null && !jsonObj.get("newmedia").isJsonNull()) && !jsonObj.get("newmedia").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `newmedia` to be a primitive type in the JSON string but got `%s`", jsonObj.get("newmedia").toString())); - } - if ((jsonObj.get("enduserrequired") != null && !jsonObj.get("enduserrequired").isJsonNull()) && !jsonObj.get("enduserrequired").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `enduserrequired` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enduserrequired").toString())); - } - // validate the optional field `enduserrequired` - if (jsonObj.get("enduserrequired") != null && !jsonObj.get("enduserrequired").isJsonNull()) { - EnduserrequiredEnum.validateJsonElement(jsonObj.get("enduserrequired")); - } - if ((jsonObj.get("backorderflag") != null && !jsonObj.get("backorderflag").isJsonNull()) && !jsonObj.get("backorderflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `backorderflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("backorderflag").toString())); - } - // validate the optional field `backorderflag` - if (jsonObj.get("backorderflag") != null && !jsonObj.get("backorderflag").isJsonNull()) { - BackorderflagEnum.validateJsonElement(jsonObj.get("backorderflag")); - } - if ((jsonObj.get("skuauthorized") != null && !jsonObj.get("skuauthorized").isJsonNull()) && !jsonObj.get("skuauthorized").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `skuauthorized` to be a primitive type in the JSON string but got `%s`", jsonObj.get("skuauthorized").toString())); - } - if ((jsonObj.get("extendedvendorpartnumber") != null && !jsonObj.get("extendedvendorpartnumber").isJsonNull()) && !jsonObj.get("extendedvendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedvendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedvendorpartnumber").toString())); - } - if (jsonObj.get("warehousedetails") != null && !jsonObj.get("warehousedetails").isJsonNull()) { - JsonArray jsonArraywarehousedetails = jsonObj.getAsJsonArray("warehousedetails"); - if (jsonArraywarehousedetails != null) { - // ensure the json data is an array - if (!jsonObj.get("warehousedetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `warehousedetails` to be an array in the JSON string but got `%s`", jsonObj.get("warehousedetails").toString())); - } - - // validate the optional field `warehousedetails` (array) - for (int i = 0; i < jsonArraywarehousedetails.size(); i++) { - WarehouseListType.validateJsonElement(jsonArraywarehousedetails.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - * @throws IOException if the JSON string is invalid with respect to PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - */ - public static PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner.class); - } - - /** - * Convert an instance of PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponse.java b/src/main/java/xiresellers/client/model/ProductDetailResponse.java index a5a5a457..6935ec08 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductDetailResponse { 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/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index 926d7bde..ca9e574e 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index 4fdea0f0..9de8adec 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 6b02d2ad..050f9e87 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 5d12ed24..1039e7fa 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b5b09cd8..101e131a 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADERNAME = "headername"; @SerializedName(SERIALIZED_NAME_HEADERNAME) diff --git a/src/main/java/xiresellers/client/model/ProductLineType.java b/src/main/java/xiresellers/client/model/ProductLineType.java index 9f66f3b0..0b58e7ff 100644 --- a/src/main/java/xiresellers/client/model/ProductLineType.java +++ b/src/main/java/xiresellers/client/model/ProductLineType.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * Product line items object under each invoice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductLineType { public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; @SerializedName(SERIALIZED_NAME_LINENUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java index 252530ef..efa3efbe 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductLineTypeSerialnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductLineTypeSerialnumberdetailsInner { public static final String SERIALIZED_NAME_SERIALNUMBER = "serialnumber"; @SerializedName(SERIALIZED_NAME_SERIALNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java index 93b927b8..ba277559 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductLineTypeTrackingnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductLineTypeTrackingnumberdetailsInner { public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequest.java index 439211b6..6ae602a0 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchRequest.java +++ b/src/main/java/xiresellers/client/model/ProductSearchRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request object model for the product search endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchRequest { public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java index dea13cb1..3621988d 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java +++ b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * ProductSearchRequestServicerequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchRequestServicerequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java index baae9a47..85ccb205 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java +++ b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * ProductSearchRequestServicerequestProductsearchrequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchRequestServicerequestProductsearchrequest { public static final String SERIALIZED_NAME_SEARCHCRITERIA = "searchcriteria"; @SerializedName(SERIALIZED_NAME_SEARCHCRITERIA) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java index d049a052..283e85fc 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java +++ b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductSearchRequestServicerequestProductsearchrequestSearchcriteria */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchRequestServicerequestProductsearchrequestSearchcriteria { public static final String SERIALIZED_NAME_VENDOR = "vendor"; @SerializedName(SERIALIZED_NAME_VENDOR) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java index b93bc3c2..6adee6ef 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductSearchRequestServicerequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchRequestServicerequestRequestpreamble { public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index 06b92565..ada9682b 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,10 @@ 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 xiresellers.client.model.ProductSearchResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.ProductSearchResponseCatalogInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +50,156 @@ import xiresellers.client.JSON; /** - * Response object model for the product search endpoint + * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private ProductSearchResponseServiceresponse serviceresponse; + public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; + @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) + private Integer recordsFound; + + public static final String SERIALIZED_NAME_PAGE_SIZE = "pageSize"; + @SerializedName(SERIALIZED_NAME_PAGE_SIZE) + private Integer pageSize; + + public static final String SERIALIZED_NAME_PAGE_NUMBER = "pageNumber"; + @SerializedName(SERIALIZED_NAME_PAGE_NUMBER) + private Integer pageNumber; + + public static final String SERIALIZED_NAME_CATALOG = "catalog"; + @SerializedName(SERIALIZED_NAME_CATALOG) + private List catalog; + + public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; + @SerializedName(SERIALIZED_NAME_NEXT_PAGE) + private String nextPage; + + public static final String SERIALIZED_NAME_PREVIOUS_PAGE = "previousPage"; + @SerializedName(SERIALIZED_NAME_PREVIOUS_PAGE) + private String previousPage; public ProductSearchResponse() { } - public ProductSearchResponse serviceresponse(ProductSearchResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public ProductSearchResponse recordsFound(Integer recordsFound) { + this.recordsFound = recordsFound; return this; } /** - * Get serviceresponse - * @return serviceresponse + * The number of recourds found for the search. + * @return recordsFound **/ @javax.annotation.Nullable - public ProductSearchResponseServiceresponse getServiceresponse() { - return serviceresponse; + public Integer getRecordsFound() { + return recordsFound; + } + + public void setRecordsFound(Integer recordsFound) { + this.recordsFound = recordsFound; + } + + + public ProductSearchResponse pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; } - public void setServiceresponse(ProductSearchResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + /** + * The number of results per page. Default is 25. + * @return pageSize + **/ + @javax.annotation.Nullable + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + public ProductSearchResponse pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * current page number default is 1 + * @return pageNumber + **/ + @javax.annotation.Nullable + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + + public ProductSearchResponse catalog(List catalog) { + this.catalog = catalog; + return this; + } + + public ProductSearchResponse addCatalogItem(ProductSearchResponseCatalogInner catalogItem) { + if (this.catalog == null) { + this.catalog = new ArrayList<>(); + } + this.catalog.add(catalogItem); + return this; + } + + /** + * Get catalog + * @return catalog + **/ + @javax.annotation.Nullable + public List getCatalog() { + return catalog; + } + + public void setCatalog(List catalog) { + this.catalog = catalog; + } + + + public ProductSearchResponse nextPage(String nextPage) { + this.nextPage = nextPage; + return this; + } + + /** + * link/URL for accessing next page. + * @return nextPage + **/ + @javax.annotation.Nullable + public String getNextPage() { + return nextPage; + } + + public void setNextPage(String nextPage) { + this.nextPage = nextPage; + } + + + public ProductSearchResponse previousPage(String previousPage) { + this.previousPage = previousPage; + return this; + } + + /** + * link/URL for accessing previous page. + * @return previousPage + **/ + @javax.annotation.Nullable + public String getPreviousPage() { + return previousPage; + } + + public void setPreviousPage(String previousPage) { + this.previousPage = previousPage; } @@ -88,19 +213,29 @@ public boolean equals(Object o) { return false; } ProductSearchResponse productSearchResponse = (ProductSearchResponse) o; - return Objects.equals(this.serviceresponse, productSearchResponse.serviceresponse); + return Objects.equals(this.recordsFound, productSearchResponse.recordsFound) && + Objects.equals(this.pageSize, productSearchResponse.pageSize) && + Objects.equals(this.pageNumber, productSearchResponse.pageNumber) && + Objects.equals(this.catalog, productSearchResponse.catalog) && + Objects.equals(this.nextPage, productSearchResponse.nextPage) && + Objects.equals(this.previousPage, productSearchResponse.previousPage); } @Override public int hashCode() { - return Objects.hash(serviceresponse); + return Objects.hash(recordsFound, pageSize, pageNumber, catalog, nextPage, previousPage); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ProductSearchResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).append("\n"); + sb.append(" recordsFound: ").append(toIndentedString(recordsFound)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" catalog: ").append(toIndentedString(catalog)).append("\n"); + sb.append(" nextPage: ").append(toIndentedString(nextPage)).append("\n"); + sb.append(" previousPage: ").append(toIndentedString(previousPage)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +258,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("serviceresponse"); + openapiFields.add("recordsFound"); + openapiFields.add("pageSize"); + openapiFields.add("pageNumber"); + openapiFields.add("catalog"); + openapiFields.add("nextPage"); + openapiFields.add("previousPage"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +290,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - ProductSearchResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); + if (jsonObj.get("catalog") != null && !jsonObj.get("catalog").isJsonNull()) { + JsonArray jsonArraycatalog = jsonObj.getAsJsonArray("catalog"); + if (jsonArraycatalog != null) { + // ensure the json data is an array + if (!jsonObj.get("catalog").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `catalog` to be an array in the JSON string but got `%s`", jsonObj.get("catalog").toString())); + } + + // validate the optional field `catalog` (array) + for (int i = 0; i < jsonArraycatalog.size(); i++) { + ProductSearchResponseCatalogInner.validateJsonElement(jsonArraycatalog.get(i)); + }; + } + } + 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("previousPage") != null && !jsonObj.get("previousPage").isJsonNull()) && !jsonObj.get("previousPage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `previousPage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previousPage").toString())); } } diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index 75e9b991..e84b6ac4 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index c9940934..b5abe4d3 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -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-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ProductSearchResponseCatalogInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponse.java deleted file mode 100644 index e31f13fe..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponse.java +++ /dev/null @@ -1,259 +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.ProductSearchResponseServiceresponseProductsearchresponseInner; -import xiresellers.client.model.ProductSearchResponseServiceresponseResponsepreamble; - -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; - -/** - * ProductSearchResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class ProductSearchResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private ProductSearchResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_PRODUCTSEARCHRESPONSE = "productsearchresponse"; - @SerializedName(SERIALIZED_NAME_PRODUCTSEARCHRESPONSE) - private List productsearchresponse; - - public ProductSearchResponseServiceresponse() { - } - - public ProductSearchResponseServiceresponse responsepreamble(ProductSearchResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public ProductSearchResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(ProductSearchResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public ProductSearchResponseServiceresponse productsearchresponse(List productsearchresponse) { - this.productsearchresponse = productsearchresponse; - return this; - } - - public ProductSearchResponseServiceresponse addProductsearchresponseItem(ProductSearchResponseServiceresponseProductsearchresponseInner productsearchresponseItem) { - if (this.productsearchresponse == null) { - this.productsearchresponse = new ArrayList<>(); - } - this.productsearchresponse.add(productsearchresponseItem); - return this; - } - - /** - * Get productsearchresponse - * @return productsearchresponse - **/ - @javax.annotation.Nullable - public List getProductsearchresponse() { - return productsearchresponse; - } - - public void setProductsearchresponse(List productsearchresponse) { - this.productsearchresponse = productsearchresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchResponseServiceresponse productSearchResponseServiceresponse = (ProductSearchResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, productSearchResponseServiceresponse.responsepreamble) && - Objects.equals(this.productsearchresponse, productSearchResponseServiceresponse.productsearchresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, productsearchresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" productsearchresponse: ").append(toIndentedString(productsearchresponse)).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("responsepreamble"); - openapiFields.add("productsearchresponse"); - - // 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 ProductSearchResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchResponseServiceresponse is not found in the empty JSON string", ProductSearchResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - ProductSearchResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - if (jsonObj.get("productsearchresponse") != null && !jsonObj.get("productsearchresponse").isJsonNull()) { - JsonArray jsonArrayproductsearchresponse = jsonObj.getAsJsonArray("productsearchresponse"); - if (jsonArrayproductsearchresponse != null) { - // ensure the json data is an array - if (!jsonObj.get("productsearchresponse").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productsearchresponse` to be an array in the JSON string but got `%s`", jsonObj.get("productsearchresponse").toString())); - } - - // validate the optional field `productsearchresponse` (array) - for (int i = 0; i < jsonArrayproductsearchresponse.size(); i++) { - ProductSearchResponseServiceresponseProductsearchresponseInner.validateJsonElement(jsonArrayproductsearchresponse.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to ProductSearchResponseServiceresponse - */ - public static ProductSearchResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchResponseServiceresponse.class); - } - - /** - * Convert an instance of ProductSearchResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInner.java deleted file mode 100644 index 2eb0e6a5..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInner.java +++ /dev/null @@ -1,257 +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.ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner; - -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; - -/** - * ProductSearchResponseServiceresponseProductsearchresponseInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class ProductSearchResponseServiceresponseProductsearchresponseInner { - public static final String SERIALIZED_NAME_RESPONSEFLAG = "responseflag"; - @SerializedName(SERIALIZED_NAME_RESPONSEFLAG) - private String responseflag; - - public static final String SERIALIZED_NAME_PARTNUMBERS = "partnumbers"; - @SerializedName(SERIALIZED_NAME_PARTNUMBERS) - private List partnumbers; - - public ProductSearchResponseServiceresponseProductsearchresponseInner() { - } - - public ProductSearchResponseServiceresponseProductsearchresponseInner responseflag(String responseflag) { - this.responseflag = responseflag; - return this; - } - - /** - * Number of records in the search result. - * @return responseflag - **/ - @javax.annotation.Nullable - public String getResponseflag() { - return responseflag; - } - - public void setResponseflag(String responseflag) { - this.responseflag = responseflag; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInner partnumbers(List partnumbers) { - this.partnumbers = partnumbers; - return this; - } - - public ProductSearchResponseServiceresponseProductsearchresponseInner addPartnumbersItem(ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner partnumbersItem) { - if (this.partnumbers == null) { - this.partnumbers = new ArrayList<>(); - } - this.partnumbers.add(partnumbersItem); - return this; - } - - /** - * Get partnumbers - * @return partnumbers - **/ - @javax.annotation.Nullable - public List getPartnumbers() { - return partnumbers; - } - - public void setPartnumbers(List partnumbers) { - this.partnumbers = partnumbers; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchResponseServiceresponseProductsearchresponseInner productSearchResponseServiceresponseProductsearchresponseInner = (ProductSearchResponseServiceresponseProductsearchresponseInner) o; - return Objects.equals(this.responseflag, productSearchResponseServiceresponseProductsearchresponseInner.responseflag) && - Objects.equals(this.partnumbers, productSearchResponseServiceresponseProductsearchresponseInner.partnumbers); - } - - @Override - public int hashCode() { - return Objects.hash(responseflag, partnumbers); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchResponseServiceresponseProductsearchresponseInner {\n"); - sb.append(" responseflag: ").append(toIndentedString(responseflag)).append("\n"); - sb.append(" partnumbers: ").append(toIndentedString(partnumbers)).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("responseflag"); - openapiFields.add("partnumbers"); - - // 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 ProductSearchResponseServiceresponseProductsearchresponseInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchResponseServiceresponseProductsearchresponseInner is not found in the empty JSON string", ProductSearchResponseServiceresponseProductsearchresponseInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchResponseServiceresponseProductsearchresponseInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responseflag") != null && !jsonObj.get("responseflag").isJsonNull()) && !jsonObj.get("responseflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseflag").toString())); - } - if (jsonObj.get("partnumbers") != null && !jsonObj.get("partnumbers").isJsonNull()) { - JsonArray jsonArraypartnumbers = jsonObj.getAsJsonArray("partnumbers"); - if (jsonArraypartnumbers != null) { - // ensure the json data is an array - if (!jsonObj.get("partnumbers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `partnumbers` to be an array in the JSON string but got `%s`", jsonObj.get("partnumbers").toString())); - } - - // validate the optional field `partnumbers` (array) - for (int i = 0; i < jsonArraypartnumbers.size(); i++) { - ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.validateJsonElement(jsonArraypartnumbers.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchResponseServiceresponseProductsearchresponseInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchResponseServiceresponseProductsearchresponseInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchResponseServiceresponseProductsearchresponseInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchResponseServiceresponseProductsearchresponseInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchResponseServiceresponseProductsearchresponseInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchResponseServiceresponseProductsearchresponseInner - * @throws IOException if the JSON string is invalid with respect to ProductSearchResponseServiceresponseProductsearchresponseInner - */ - public static ProductSearchResponseServiceresponseProductsearchresponseInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchResponseServiceresponseProductsearchresponseInner.class); - } - - /** - * Convert an instance of ProductSearchResponseServiceresponseProductsearchresponseInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.java deleted file mode 100644 index 13b68ea2..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.java +++ /dev/null @@ -1,351 +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.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; - -/** - * ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner { - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_MANUFACTURERPARTNUMBER = "manufacturerpartnumber"; - @SerializedName(SERIALIZED_NAME_MANUFACTURERPARTNUMBER) - private String manufacturerpartnumber; - - public static final String SERIALIZED_NAME_UPCCODE = "upccode"; - @SerializedName(SERIALIZED_NAME_UPCCODE) - private String upccode; - - public static final String SERIALIZED_NAME_PRODUCTDESCRIPTION = "productdescription"; - @SerializedName(SERIALIZED_NAME_PRODUCTDESCRIPTION) - private String productdescription; - - public static final String SERIALIZED_NAME_CURRENCY = "currency"; - @SerializedName(SERIALIZED_NAME_CURRENCY) - private String currency; - - public static final String SERIALIZED_NAME_HASWARRANTY = "haswarranty"; - @SerializedName(SERIALIZED_NAME_HASWARRANTY) - private String haswarranty; - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner() { - } - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * Ingram Part Number - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner manufacturerpartnumber(String manufacturerpartnumber) { - this.manufacturerpartnumber = manufacturerpartnumber; - return this; - } - - /** - * Vendor or Manufacturer Part Number - * @return manufacturerpartnumber - **/ - @javax.annotation.Nullable - public String getManufacturerpartnumber() { - return manufacturerpartnumber; - } - - public void setManufacturerpartnumber(String manufacturerpartnumber) { - this.manufacturerpartnumber = manufacturerpartnumber; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner upccode(String upccode) { - this.upccode = upccode; - return this; - } - - /** - * UPC - * @return upccode - **/ - @javax.annotation.Nullable - public String getUpccode() { - return upccode; - } - - public void setUpccode(String upccode) { - this.upccode = upccode; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner productdescription(String productdescription) { - this.productdescription = productdescription; - return this; - } - - /** - * Product description - * @return productdescription - **/ - @javax.annotation.Nullable - public String getProductdescription() { - return productdescription; - } - - public void setProductdescription(String productdescription) { - this.productdescription = productdescription; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner currency(String currency) { - this.currency = currency; - return this; - } - - /** - * Get currency - * @return currency - **/ - @javax.annotation.Nullable - public String getCurrency() { - return currency; - } - - public void setCurrency(String currency) { - this.currency = currency; - } - - - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner haswarranty(String haswarranty) { - this.haswarranty = haswarranty; - return this; - } - - /** - * Get haswarranty - * @return haswarranty - **/ - @javax.annotation.Nullable - public String getHaswarranty() { - return haswarranty; - } - - public void setHaswarranty(String haswarranty) { - this.haswarranty = haswarranty; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner = (ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner) o; - return Objects.equals(this.ingrampartnumber, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.ingrampartnumber) && - Objects.equals(this.manufacturerpartnumber, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.manufacturerpartnumber) && - Objects.equals(this.upccode, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.upccode) && - Objects.equals(this.productdescription, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.productdescription) && - Objects.equals(this.currency, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.currency) && - Objects.equals(this.haswarranty, productSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.haswarranty); - } - - @Override - public int hashCode() { - return Objects.hash(ingrampartnumber, manufacturerpartnumber, upccode, productdescription, currency, haswarranty); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner {\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" manufacturerpartnumber: ").append(toIndentedString(manufacturerpartnumber)).append("\n"); - sb.append(" upccode: ").append(toIndentedString(upccode)).append("\n"); - sb.append(" productdescription: ").append(toIndentedString(productdescription)).append("\n"); - sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" haswarranty: ").append(toIndentedString(haswarranty)).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("ingrampartnumber"); - openapiFields.add("manufacturerpartnumber"); - openapiFields.add("upccode"); - openapiFields.add("productdescription"); - openapiFields.add("currency"); - openapiFields.add("haswarranty"); - - // 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 ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner is not found in the empty JSON string", ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("manufacturerpartnumber") != null && !jsonObj.get("manufacturerpartnumber").isJsonNull()) && !jsonObj.get("manufacturerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `manufacturerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("manufacturerpartnumber").toString())); - } - if ((jsonObj.get("upccode") != null && !jsonObj.get("upccode").isJsonNull()) && !jsonObj.get("upccode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `upccode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("upccode").toString())); - } - if ((jsonObj.get("productdescription") != null && !jsonObj.get("productdescription").isJsonNull()) && !jsonObj.get("productdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `productdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("productdescription").toString())); - } - if ((jsonObj.get("currency") != null && !jsonObj.get("currency").isJsonNull()) && !jsonObj.get("currency").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currency` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currency").toString())); - } - if ((jsonObj.get("haswarranty") != null && !jsonObj.get("haswarranty").isJsonNull()) && !jsonObj.get("haswarranty").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `haswarranty` to be a primitive type in the JSON string but got `%s`", jsonObj.get("haswarranty").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - * @throws IOException if the JSON string is invalid with respect to ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - */ - public static ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner.class); - } - - /** - * Convert an instance of ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreamble.java deleted file mode 100644 index 586e4afd..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * ProductSearchResponseServiceresponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class ProductSearchResponseServiceresponseResponsepreamble { - public static final String SERIALIZED_NAME_REQUESTSTATUS = "requeststatus"; - @SerializedName(SERIALIZED_NAME_REQUESTSTATUS) - private String requeststatus; - - public static final String SERIALIZED_NAME_RETURNCODE = "returncode"; - @SerializedName(SERIALIZED_NAME_RETURNCODE) - private String returncode; - - public static final String SERIALIZED_NAME_RETURNMESSAGE = "returnmessage"; - @SerializedName(SERIALIZED_NAME_RETURNMESSAGE) - private String returnmessage; - - public ProductSearchResponseServiceresponseResponsepreamble() { - } - - public ProductSearchResponseServiceresponseResponsepreamble requeststatus(String requeststatus) { - this.requeststatus = requeststatus; - return this; - } - - /** - * Get requeststatus - * @return requeststatus - **/ - @javax.annotation.Nullable - public String getRequeststatus() { - return requeststatus; - } - - public void setRequeststatus(String requeststatus) { - this.requeststatus = requeststatus; - } - - - public ProductSearchResponseServiceresponseResponsepreamble returncode(String returncode) { - this.returncode = returncode; - return this; - } - - /** - * Get returncode - * @return returncode - **/ - @javax.annotation.Nullable - public String getReturncode() { - return returncode; - } - - public void setReturncode(String returncode) { - this.returncode = returncode; - } - - - public ProductSearchResponseServiceresponseResponsepreamble returnmessage(String returnmessage) { - this.returnmessage = returnmessage; - return this; - } - - /** - * Get returnmessage - * @return returnmessage - **/ - @javax.annotation.Nullable - public String getReturnmessage() { - return returnmessage; - } - - public void setReturnmessage(String returnmessage) { - this.returnmessage = returnmessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchResponseServiceresponseResponsepreamble productSearchResponseServiceresponseResponsepreamble = (ProductSearchResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.requeststatus, productSearchResponseServiceresponseResponsepreamble.requeststatus) && - Objects.equals(this.returncode, productSearchResponseServiceresponseResponsepreamble.returncode) && - Objects.equals(this.returnmessage, productSearchResponseServiceresponseResponsepreamble.returnmessage); - } - - @Override - public int hashCode() { - return Objects.hash(requeststatus, returncode, returnmessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchResponseServiceresponseResponsepreamble {\n"); - sb.append(" requeststatus: ").append(toIndentedString(requeststatus)).append("\n"); - sb.append(" returncode: ").append(toIndentedString(returncode)).append("\n"); - sb.append(" returnmessage: ").append(toIndentedString(returnmessage)).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("requeststatus"); - openapiFields.add("returncode"); - openapiFields.add("returnmessage"); - - // 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 ProductSearchResponseServiceresponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchResponseServiceresponseResponsepreamble is not found in the empty JSON string", ProductSearchResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("requeststatus") != null && !jsonObj.get("requeststatus").isJsonNull()) && !jsonObj.get("requeststatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `requeststatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requeststatus").toString())); - } - if ((jsonObj.get("returncode") != null && !jsonObj.get("returncode").isJsonNull()) && !jsonObj.get("returncode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `returncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returncode").toString())); - } - if ((jsonObj.get("returnmessage") != null && !jsonObj.get("returnmessage").isJsonNull()) && !jsonObj.get("returnmessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `returnmessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnmessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchResponseServiceresponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchResponseServiceresponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchResponseServiceresponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchResponseServiceresponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to ProductSearchResponseServiceresponseResponsepreamble - */ - public static ProductSearchResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchResponseServiceresponseResponsepreamble.class); - } - - /** - * Convert an instance of ProductSearchResponseServiceresponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetails.java b/src/main/java/xiresellers/client/model/QuoteDetails.java index 15a00f37..8a673607 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetails.java +++ b/src/main/java/xiresellers/client/model/QuoteDetails.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Response schema for quote details */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetails { public static final String SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE = "quoteDetailResponse"; @SerializedName(SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java index 26b68d7b..f44fbfd6 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * QuoteDetailsQuoteDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponse { public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java index a9fea2d5..d6e181ed 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsQuoteDetailResponseResponsePreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseResponsePreamble { public static final String SERIALIZED_NAME_RESPONSE_STATUS = "responseStatus"; @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java index 6dba035c..15a43e36 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java index 07482dc7..b3757479 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo { public static final String SERIALIZED_NAME_ACCOUNT_NAME = "accountName"; @SerializedName(SERIALIZED_NAME_ACCOUNT_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java index b4a20456..3e10695b 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo { public static final String SERIALIZED_NAME_CONTACT_EMAIL = "contactEmail"; @SerializedName(SERIALIZED_NAME_CONTACT_EMAIL) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java index 3eb65eac..60e0ea8b 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser { public static final String SERIALIZED_NAME_END_USER_NAME = "endUserName"; @SerializedName(SERIALIZED_NAME_END_USER_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java index 6bfe7939..b406428a 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes { public static final String SERIALIZED_NAME_ESTIMATE_ID = "estimateId"; @SerializedName(SERIALIZED_NAME_ESTIMATE_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java index 7044ef91..d5b198fe 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Request schema for get quote details endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsRequest { public static final String SERIALIZED_NAME_QUOTE_PRODUCTS_REQUEST = "quoteProductsRequest"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCTS_REQUEST) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java index 17d56534..ce6e356f 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * QuoteDetailsRequestQuoteProductsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsRequestQuoteProductsRequest { public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java index c82e2cb7..625efda0 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsRequestQuoteProductsRequestRequestpreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsRequestQuoteProductsRequestRequestpreamble { public static final String SERIALIZED_NAME_CUSTOMER_NUMBER = "customerNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java index ae4d27e1..21a310e5 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java index fe51f44d..f30b75e0 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE = "quoteDetailResponse"; @SerializedName(SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 04ae011a..5ced8155 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 6385f1e3..6bfa38d9 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 d2d3bdde..a281f9b2 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 005ef88b..758abbb3 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java index e2e8f97d..8b2413fe 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * QuoteDetailsResponseQuoteDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponseQuoteDetailResponse { public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java index c62329b2..74ce8b64 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java index 14a845eb..9272ea21 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteListRequest.java b/src/main/java/xiresellers/client/model/QuoteListRequest.java deleted file mode 100644 index 6fe9b8c1..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequest; - -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; - -/** - * Request schema for get quote list endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class QuoteListRequest { - public static final String SERIALIZED_NAME_QUOTE_SEARCH_REQUEST = "quoteSearchRequest"; - @SerializedName(SERIALIZED_NAME_QUOTE_SEARCH_REQUEST) - private QuoteListRequestQuoteSearchRequest quoteSearchRequest; - - public QuoteListRequest() { - } - - public QuoteListRequest quoteSearchRequest(QuoteListRequestQuoteSearchRequest quoteSearchRequest) { - this.quoteSearchRequest = quoteSearchRequest; - return this; - } - - /** - * Get quoteSearchRequest - * @return quoteSearchRequest - **/ - @javax.annotation.Nullable - public QuoteListRequestQuoteSearchRequest getQuoteSearchRequest() { - return quoteSearchRequest; - } - - public void setQuoteSearchRequest(QuoteListRequestQuoteSearchRequest quoteSearchRequest) { - this.quoteSearchRequest = quoteSearchRequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListRequest quoteListRequest = (QuoteListRequest) o; - return Objects.equals(this.quoteSearchRequest, quoteListRequest.quoteSearchRequest); - } - - @Override - public int hashCode() { - return Objects.hash(quoteSearchRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListRequest {\n"); - sb.append(" quoteSearchRequest: ").append(toIndentedString(quoteSearchRequest)).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("quoteSearchRequest"); - - // 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 QuoteListRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListRequest is not found in the empty JSON string", QuoteListRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `quoteSearchRequest` - if (jsonObj.get("quoteSearchRequest") != null && !jsonObj.get("quoteSearchRequest").isJsonNull()) { - QuoteListRequestQuoteSearchRequest.validateJsonElement(jsonObj.get("quoteSearchRequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListRequest - * @throws IOException if the JSON string is invalid with respect to QuoteListRequest - */ - public static QuoteListRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListRequest.class); - } - - /** - * Convert an instance of QuoteListRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequest.java b/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequest.java deleted file mode 100644 index 7920dcde..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequestRequestPreamble; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest; - -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; - -/** - * QuoteListRequestQuoteSearchRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class QuoteListRequestQuoteSearchRequest { - public static final String SERIALIZED_NAME_REQUEST_PREAMBLE = "requestPreamble"; - @SerializedName(SERIALIZED_NAME_REQUEST_PREAMBLE) - private QuoteListRequestQuoteSearchRequestRequestPreamble requestPreamble; - - public static final String SERIALIZED_NAME_RETRIEVE_QUOTE_REQUEST = "retrieveQuoteRequest"; - @SerializedName(SERIALIZED_NAME_RETRIEVE_QUOTE_REQUEST) - private QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest retrieveQuoteRequest; - - public QuoteListRequestQuoteSearchRequest() { - } - - public QuoteListRequestQuoteSearchRequest requestPreamble(QuoteListRequestQuoteSearchRequestRequestPreamble requestPreamble) { - this.requestPreamble = requestPreamble; - return this; - } - - /** - * Get requestPreamble - * @return requestPreamble - **/ - @javax.annotation.Nullable - public QuoteListRequestQuoteSearchRequestRequestPreamble getRequestPreamble() { - return requestPreamble; - } - - public void setRequestPreamble(QuoteListRequestQuoteSearchRequestRequestPreamble requestPreamble) { - this.requestPreamble = requestPreamble; - } - - - public QuoteListRequestQuoteSearchRequest retrieveQuoteRequest(QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest retrieveQuoteRequest) { - this.retrieveQuoteRequest = retrieveQuoteRequest; - return this; - } - - /** - * Get retrieveQuoteRequest - * @return retrieveQuoteRequest - **/ - @javax.annotation.Nullable - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest getRetrieveQuoteRequest() { - return retrieveQuoteRequest; - } - - public void setRetrieveQuoteRequest(QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest retrieveQuoteRequest) { - this.retrieveQuoteRequest = retrieveQuoteRequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListRequestQuoteSearchRequest quoteListRequestQuoteSearchRequest = (QuoteListRequestQuoteSearchRequest) o; - return Objects.equals(this.requestPreamble, quoteListRequestQuoteSearchRequest.requestPreamble) && - Objects.equals(this.retrieveQuoteRequest, quoteListRequestQuoteSearchRequest.retrieveQuoteRequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestPreamble, retrieveQuoteRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListRequestQuoteSearchRequest {\n"); - sb.append(" requestPreamble: ").append(toIndentedString(requestPreamble)).append("\n"); - sb.append(" retrieveQuoteRequest: ").append(toIndentedString(retrieveQuoteRequest)).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("requestPreamble"); - openapiFields.add("retrieveQuoteRequest"); - - // 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 QuoteListRequestQuoteSearchRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListRequestQuoteSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListRequestQuoteSearchRequest is not found in the empty JSON string", QuoteListRequestQuoteSearchRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListRequestQuoteSearchRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListRequestQuoteSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestPreamble` - if (jsonObj.get("requestPreamble") != null && !jsonObj.get("requestPreamble").isJsonNull()) { - QuoteListRequestQuoteSearchRequestRequestPreamble.validateJsonElement(jsonObj.get("requestPreamble")); - } - // validate the optional field `retrieveQuoteRequest` - if (jsonObj.get("retrieveQuoteRequest") != null && !jsonObj.get("retrieveQuoteRequest").isJsonNull()) { - QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.validateJsonElement(jsonObj.get("retrieveQuoteRequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListRequestQuoteSearchRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListRequestQuoteSearchRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListRequestQuoteSearchRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListRequestQuoteSearchRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListRequestQuoteSearchRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListRequestQuoteSearchRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListRequestQuoteSearchRequest - * @throws IOException if the JSON string is invalid with respect to QuoteListRequestQuoteSearchRequest - */ - public static QuoteListRequestQuoteSearchRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListRequestQuoteSearchRequest.class); - } - - /** - * Convert an instance of QuoteListRequestQuoteSearchRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreamble.java b/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreamble.java deleted file mode 100644 index b0f4099d..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreamble.java +++ /dev/null @@ -1,273 +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.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; - -/** - * QuoteListRequestQuoteSearchRequestRequestPreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class QuoteListRequestQuoteSearchRequestRequestPreamble { - public static final String SERIALIZED_NAME_CUSTOMER_NUMBER = "customerNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NUMBER) - private String customerNumber; - - public static final String SERIALIZED_NAME_CUSTOMER_CONTACT = "customerContact"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_CONTACT) - private String customerContact; - - public static final String SERIALIZED_NAME_ISO_COUNTRY_CODE = "isoCountryCode"; - @SerializedName(SERIALIZED_NAME_ISO_COUNTRY_CODE) - private String isoCountryCode; - - public QuoteListRequestQuoteSearchRequestRequestPreamble() { - } - - public QuoteListRequestQuoteSearchRequestRequestPreamble customerNumber(String customerNumber) { - this.customerNumber = customerNumber; - return this; - } - - /** - * Reseller Number (referred to as the account BCN) is the unique identifier for an Ingram Micro customer account. - * @return customerNumber - **/ - @javax.annotation.Nonnull - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - - public QuoteListRequestQuoteSearchRequestRequestPreamble customerContact(String customerContact) { - this.customerContact = customerContact; - return this; - } - - /** - * Logged in User's email address. - * @return customerContact - **/ - @javax.annotation.Nullable - public String getCustomerContact() { - return customerContact; - } - - public void setCustomerContact(String customerContact) { - this.customerContact = customerContact; - } - - - public QuoteListRequestQuoteSearchRequestRequestPreamble isoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - return this; - } - - /** - * The ISO country codes are internationally recognized codes designated for each country represented by a two-letter combination (alpha-2). - * @return isoCountryCode - **/ - @javax.annotation.Nonnull - public String getIsoCountryCode() { - return isoCountryCode; - } - - public void setIsoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListRequestQuoteSearchRequestRequestPreamble quoteListRequestQuoteSearchRequestRequestPreamble = (QuoteListRequestQuoteSearchRequestRequestPreamble) o; - return Objects.equals(this.customerNumber, quoteListRequestQuoteSearchRequestRequestPreamble.customerNumber) && - Objects.equals(this.customerContact, quoteListRequestQuoteSearchRequestRequestPreamble.customerContact) && - Objects.equals(this.isoCountryCode, quoteListRequestQuoteSearchRequestRequestPreamble.isoCountryCode); - } - - @Override - public int hashCode() { - return Objects.hash(customerNumber, customerContact, isoCountryCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListRequestQuoteSearchRequestRequestPreamble {\n"); - sb.append(" customerNumber: ").append(toIndentedString(customerNumber)).append("\n"); - sb.append(" customerContact: ").append(toIndentedString(customerContact)).append("\n"); - sb.append(" isoCountryCode: ").append(toIndentedString(isoCountryCode)).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("customerNumber"); - openapiFields.add("customerContact"); - openapiFields.add("isoCountryCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("customerNumber"); - openapiRequiredFields.add("isoCountryCode"); - } - - /** - * 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 QuoteListRequestQuoteSearchRequestRequestPreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListRequestQuoteSearchRequestRequestPreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListRequestQuoteSearchRequestRequestPreamble is not found in the empty JSON string", QuoteListRequestQuoteSearchRequestRequestPreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListRequestQuoteSearchRequestRequestPreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListRequestQuoteSearchRequestRequestPreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : QuoteListRequestQuoteSearchRequestRequestPreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("customerNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNumber").toString())); - } - if ((jsonObj.get("customerContact") != null && !jsonObj.get("customerContact").isJsonNull()) && !jsonObj.get("customerContact").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerContact` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerContact").toString())); - } - if (!jsonObj.get("isoCountryCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isoCountryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isoCountryCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListRequestQuoteSearchRequestRequestPreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListRequestQuoteSearchRequestRequestPreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListRequestQuoteSearchRequestRequestPreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListRequestQuoteSearchRequestRequestPreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListRequestQuoteSearchRequestRequestPreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListRequestQuoteSearchRequestRequestPreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListRequestQuoteSearchRequestRequestPreamble - * @throws IOException if the JSON string is invalid with respect to QuoteListRequestQuoteSearchRequestRequestPreamble - */ - public static QuoteListRequestQuoteSearchRequestRequestPreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListRequestQuoteSearchRequestRequestPreamble.class); - } - - /** - * Convert an instance of QuoteListRequestQuoteSearchRequestRequestPreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.java b/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.java deleted file mode 100644 index 6e19c55c..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.java +++ /dev/null @@ -1,518 +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.time.LocalDate; -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; - -/** - * QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest { - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_BID_NUMBER = "bidNumber"; - @SerializedName(SERIALIZED_NAME_BID_NUMBER) - private String bidNumber; - - public static final String SERIALIZED_NAME_END_USER_NAME = "endUserName"; - @SerializedName(SERIALIZED_NAME_END_USER_NAME) - private String endUserName; - - public static final String SERIALIZED_NAME_FROM_DATE = "fromDate"; - @SerializedName(SERIALIZED_NAME_FROM_DATE) - private LocalDate fromDate; - - public static final String SERIALIZED_NAME_TO_DATE = "toDate"; - @SerializedName(SERIALIZED_NAME_TO_DATE) - private LocalDate toDate; - - public static final String SERIALIZED_NAME_PAGE_INDEX = "pageIndex"; - @SerializedName(SERIALIZED_NAME_PAGE_INDEX) - private String pageIndex; - - public static final String SERIALIZED_NAME_RECORDS_PER_PAGE = "recordsPerPage"; - @SerializedName(SERIALIZED_NAME_RECORDS_PER_PAGE) - private String recordsPerPage; - - /** - * Sort applies to the selected column (sortingColumnName) and may be specified in Ascending (asc) or Descending (desc) order. The default sort is Descending (desc) - most recent first. - */ - @JsonAdapter(SortingEnum.Adapter.class) - public enum SortingEnum { - ASC("asc"), - - DESC("desc"); - - private String value; - - SortingEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static SortingEnum fromValue(String value) { - for (SortingEnum b : SortingEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final SortingEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public SortingEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return SortingEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - SortingEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_SORTING = "sorting"; - @SerializedName(SERIALIZED_NAME_SORTING) - private SortingEnum sorting; - - public static final String SERIALIZED_NAME_SORTING_COLUMN_NAME = "sortingColumnName"; - @SerializedName(SERIALIZED_NAME_SORTING_COLUMN_NAME) - private String sortingColumnName; - - public static final String SERIALIZED_NAME_THIRD_PARTY_SOURCE = "thirdPartySource"; - @SerializedName(SERIALIZED_NAME_THIRD_PARTY_SOURCE) - private String thirdPartySource; - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest() { - } - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * 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. - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest bidNumber(String bidNumber) { - this.bidNumber = bidNumber; - return this; - } - - /** - * Special Pricing Bid Number, also referred to as a Dart Number by some vendors, is a unique identifier associated with vendor specific products and discounts. - * @return bidNumber - **/ - @javax.annotation.Nullable - public String getBidNumber() { - return bidNumber; - } - - public void setBidNumber(String bidNumber) { - this.bidNumber = bidNumber; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest endUserName(String endUserName) { - this.endUserName = endUserName; - return this; - } - - /** - * End User Name is the end customer name that is associated with a quote in Ingram Micro's CRM - * @return endUserName - **/ - @javax.annotation.Nullable - public String getEndUserName() { - return endUserName; - } - - public void setEndUserName(String endUserName) { - this.endUserName = endUserName; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest fromDate(LocalDate fromDate) { - this.fromDate = fromDate; - return this; - } - - /** - * Filter to select the beginning date of a desired date range. The default filter is set to the date the user is logged-in to request quotes. Date format: YYYY-MM-DD - An incorrect date input will result in a message \"Date must be entered as YYYY-MM-DD\" - * @return fromDate - **/ - @javax.annotation.Nullable - public LocalDate getFromDate() { - return fromDate; - } - - public void setFromDate(LocalDate fromDate) { - this.fromDate = fromDate; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest toDate(LocalDate toDate) { - this.toDate = toDate; - return this; - } - - /** - * Filter to select the end date of a desired date range. The default number of days to request is the previous 30 days from the date user has logged in. Date format: YYYY-MM-DD - An incorrect date input will result in a message \"Date must be entered as YYYY-MM-DD\" - * @return toDate - **/ - @javax.annotation.Nullable - public LocalDate getToDate() { - return toDate; - } - - public void setToDate(LocalDate toDate) { - this.toDate = toDate; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest pageIndex(String pageIndex) { - this.pageIndex = pageIndex; - return this; - } - - /** - * Page index or page number for the list of quotes being returned. When less than 25 quotes are returned, the page number will be \"1\". In cases where more than 25 quotes are returned, and the default quotes per page are 25 (see recordPerPage), then the list will continue on subsequent pages. - * @return pageIndex - **/ - @javax.annotation.Nullable - public String getPageIndex() { - return pageIndex; - } - - public void setPageIndex(String pageIndex) { - this.pageIndex = pageIndex; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest recordsPerPage(String recordsPerPage) { - this.recordsPerPage = recordsPerPage; - return this; - } - - /** - * Number of records (quotes) to display per page in the quote list. The default is 25, but may be increased using the filter by up to 100 records per page. If more than 100 records are requested a message will be returned \"The number of records requested exceeds the 100 record limit.\" - * @return recordsPerPage - **/ - @javax.annotation.Nullable - public String getRecordsPerPage() { - return recordsPerPage; - } - - public void setRecordsPerPage(String recordsPerPage) { - this.recordsPerPage = recordsPerPage; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest sorting(SortingEnum sorting) { - this.sorting = sorting; - return this; - } - - /** - * Sort applies to the selected column (sortingColumnName) and may be specified in Ascending (asc) or Descending (desc) order. The default sort is Descending (desc) - most recent first. - * @return sorting - **/ - @javax.annotation.Nullable - public SortingEnum getSorting() { - return sorting; - } - - public void setSorting(SortingEnum sorting) { - this.sorting = sorting; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest sortingColumnName(String sortingColumnName) { - this.sortingColumnName = sortingColumnName; - return this; - } - - /** - * Refers to the column selected to apply the sorting criteria. The default column is dateCreated and will sort by the most recently created quote first with the following in descending order. The default filter retrieves quotes created within the last 30 days. Filtering allows user to select a specific column to sort: quoteNumber, createdDate, lastModifiedDate, expiryDate, and endUserName. - * @return sortingColumnName - **/ - @javax.annotation.Nullable - public String getSortingColumnName() { - return sortingColumnName; - } - - public void setSortingColumnName(String sortingColumnName) { - this.sortingColumnName = sortingColumnName; - } - - - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest thirdPartySource(String thirdPartySource) { - this.thirdPartySource = thirdPartySource; - return this; - } - - /** - * Unique identifier used to identify the third party source accessing the services. - * @return thirdPartySource - **/ - @javax.annotation.Nullable - public String getThirdPartySource() { - return thirdPartySource; - } - - public void setThirdPartySource(String thirdPartySource) { - this.thirdPartySource = thirdPartySource; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest quoteListRequestQuoteSearchRequestRetrieveQuoteRequest = (QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest) o; - return Objects.equals(this.quoteNumber, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.quoteNumber) && - Objects.equals(this.bidNumber, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.bidNumber) && - Objects.equals(this.endUserName, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.endUserName) && - Objects.equals(this.fromDate, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.fromDate) && - Objects.equals(this.toDate, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.toDate) && - Objects.equals(this.pageIndex, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.pageIndex) && - Objects.equals(this.recordsPerPage, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.recordsPerPage) && - Objects.equals(this.sorting, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.sorting) && - Objects.equals(this.sortingColumnName, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.sortingColumnName) && - Objects.equals(this.thirdPartySource, quoteListRequestQuoteSearchRequestRetrieveQuoteRequest.thirdPartySource); - } - - @Override - public int hashCode() { - return Objects.hash(quoteNumber, bidNumber, endUserName, fromDate, toDate, pageIndex, recordsPerPage, sorting, sortingColumnName, thirdPartySource); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest {\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" bidNumber: ").append(toIndentedString(bidNumber)).append("\n"); - sb.append(" endUserName: ").append(toIndentedString(endUserName)).append("\n"); - sb.append(" fromDate: ").append(toIndentedString(fromDate)).append("\n"); - sb.append(" toDate: ").append(toIndentedString(toDate)).append("\n"); - sb.append(" pageIndex: ").append(toIndentedString(pageIndex)).append("\n"); - sb.append(" recordsPerPage: ").append(toIndentedString(recordsPerPage)).append("\n"); - sb.append(" sorting: ").append(toIndentedString(sorting)).append("\n"); - sb.append(" sortingColumnName: ").append(toIndentedString(sortingColumnName)).append("\n"); - sb.append(" thirdPartySource: ").append(toIndentedString(thirdPartySource)).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("bidNumber"); - openapiFields.add("endUserName"); - openapiFields.add("fromDate"); - openapiFields.add("toDate"); - openapiFields.add("pageIndex"); - openapiFields.add("recordsPerPage"); - openapiFields.add("sorting"); - openapiFields.add("sortingColumnName"); - openapiFields.add("thirdPartySource"); - - // 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 QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest is not found in the empty JSON string", QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest` 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("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("endUserName") != null && !jsonObj.get("endUserName").isJsonNull()) && !jsonObj.get("endUserName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserName").toString())); - } - if ((jsonObj.get("pageIndex") != null && !jsonObj.get("pageIndex").isJsonNull()) && !jsonObj.get("pageIndex").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `pageIndex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pageIndex").toString())); - } - if ((jsonObj.get("recordsPerPage") != null && !jsonObj.get("recordsPerPage").isJsonNull()) && !jsonObj.get("recordsPerPage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `recordsPerPage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recordsPerPage").toString())); - } - if ((jsonObj.get("sorting") != null && !jsonObj.get("sorting").isJsonNull()) && !jsonObj.get("sorting").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sorting` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sorting").toString())); - } - // validate the optional field `sorting` - if (jsonObj.get("sorting") != null && !jsonObj.get("sorting").isJsonNull()) { - SortingEnum.validateJsonElement(jsonObj.get("sorting")); - } - if ((jsonObj.get("sortingColumnName") != null && !jsonObj.get("sortingColumnName").isJsonNull()) && !jsonObj.get("sortingColumnName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sortingColumnName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sortingColumnName").toString())); - } - if ((jsonObj.get("thirdPartySource") != null && !jsonObj.get("thirdPartySource").isJsonNull()) && !jsonObj.get("thirdPartySource").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `thirdPartySource` to be a primitive type in the JSON string but got `%s`", jsonObj.get("thirdPartySource").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - * @throws IOException if the JSON string is invalid with respect to QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - */ - public static QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest.class); - } - - /** - * Convert an instance of QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListResponse.java b/src/main/java/xiresellers/client/model/QuoteListResponse.java index ad5e9d2e..f3a7ec89 100644 --- a/src/main/java/xiresellers/client/model/QuoteListResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteListResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Response schema for get quote list endpoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteListResponse { public static final String SERIALIZED_NAME_QUOTE_SEARCH_RESPONSE = "quoteSearchResponse"; @SerializedName(SERIALIZED_NAME_QUOTE_SEARCH_RESPONSE) diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java index a8c2f09c..b2abdfb9 100644 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * QuoteListResponseQuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteListResponseQuoteSearchResponse { public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java index 51c12cf2..c268d387 100644 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java +++ b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteListResponseQuoteSearchResponseQuoteListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteListResponseQuoteSearchResponseQuoteListInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java index 2947edd8..6ce93ed9 100644 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java +++ b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteListResponseQuoteSearchResponseResponsePreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteListResponseQuoteSearchResponseResponsePreamble { public static final String SERIALIZED_NAME_RESPONSE_STATUS = "responseStatus"; @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS) diff --git a/src/main/java/xiresellers/client/model/QuoteProductList.java b/src/main/java/xiresellers/client/model/QuoteProductList.java index 041f6051..6d72b074 100644 --- a/src/main/java/xiresellers/client/model/QuoteProductList.java +++ b/src/main/java/xiresellers/client/model/QuoteProductList.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteProductList { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteProductListPrice.java b/src/main/java/xiresellers/client/model/QuoteProductListPrice.java index b06c6e79..57d40768 100644 --- a/src/main/java/xiresellers/client/model/QuoteProductListPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteProductListPrice.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteProductListPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteProductListPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index 6ae7424e..7aa1db6b 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index 9ff1f5e3..6a4e2b20 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java index b2a0da75..713538b6 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * QuoteToOrderDetailsDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTO { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java index fac20f48..b5582549 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTOAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java index 9a41df2f..f8485508 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTOEndUserInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java index 41b56590..6dc76194 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * QuoteToOrderDetailsDTOLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInner { 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/QuoteToOrderDetailsDTOShipToInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java index 3c08385a..4982f78e 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteToOrderDetailsDTOShipToInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTOShipToInfoInner { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java index 0dc037fc..f457fe1c 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java index 1e9082e7..aca7c8db 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteToOrderResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class QuoteToOrderResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index da5d5548..6ef353d3 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index 71625c61..6e2fd851 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/RenewalsDetailsResponseEndUserInfoInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java index a13a8071..467d25c2 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsDetailsResponseEndUserInfoInner { 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 fd8dbc8b..0a339f60 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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/RenewalsDetailsResponseReferenceNumberInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java index 2aa7a8cf..aa322aa5 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumberInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsDetailsResponseReferenceNumberInner { 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 e93e1fee..d8af6221 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java index 841b5e84..f025cf7f 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDataType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequestDataType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java index a8171ef0..abe473e6 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeEndDate { 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/RenewalsSearchRequestDataTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java index c66e58e8..27d258fa 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeExpirationDate { 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/RenewalsSearchRequestDataTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java index 980d0893..1ac3e3a1 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeInvoiceDate { 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/RenewalsSearchRequestDataTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java index 1827b41c..0d2599c3 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeStartDate { 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 2bfc6b53..7bbdc1a5 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 ad4bcc04..4252a6cb 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 fdb5595b..efb8c46e 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index f903d546..30d1a256 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index 25d5a729..e3e54d31 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 7934acf9..d7379630 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index 4a70f5b2..fa53aec7 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 a330b249..b0922cb3 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 1bd653f8..45b7f5d1 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 1c467db6..10f83680 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index 951de8b8..98b3fbff 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index af437a17..5907a882 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 b8f1973a..7fae7eea 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index 70b9d415..c7009e71 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index de7cf272..90b25193 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") 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 aa307768..2f058dba 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index 05ecb65b..2023e1db 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ValidateQuoteResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ValidateQuoteResponseLinesInner { 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/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java index 02535063..2d659feb 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index cdaaec02..9b21d4df 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") public class ValidateQuoteResponseVmfAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/WarehouseListType.java b/src/main/java/xiresellers/client/model/WarehouseListType.java deleted file mode 100644 index 280252cd..00000000 --- a/src/main/java/xiresellers/client/model/WarehouseListType.java +++ /dev/null @@ -1,342 +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.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; - -/** - * WarehouseListType - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T10:07:36.431201Z[Etc/UTC]") -public class WarehouseListType { - public static final String SERIALIZED_NAME_WAREHOUSEID = "warehouseid"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEID) - private String warehouseid; - - public static final String SERIALIZED_NAME_WAREHOUSEDESCRIPTION = "warehousedescription"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEDESCRIPTION) - private String warehousedescription; - - public static final String SERIALIZED_NAME_AVAILABLEQUANTITY = "availablequantity"; - @SerializedName(SERIALIZED_NAME_AVAILABLEQUANTITY) - private Integer availablequantity; - - public static final String SERIALIZED_NAME_ONORDERQUANTITY = "onorderquantity"; - @SerializedName(SERIALIZED_NAME_ONORDERQUANTITY) - private Integer onorderquantity; - - public static final String SERIALIZED_NAME_ONHOLDQUANTITY = "onholdquantity"; - @SerializedName(SERIALIZED_NAME_ONHOLDQUANTITY) - private Integer onholdquantity; - - public static final String SERIALIZED_NAME_ETADATE = "etadate"; - @SerializedName(SERIALIZED_NAME_ETADATE) - private String etadate; - - public WarehouseListType() { - } - - public WarehouseListType warehouseid(String warehouseid) { - this.warehouseid = warehouseid; - return this; - } - - /** - * - * @return warehouseid - **/ - @javax.annotation.Nullable - public String getWarehouseid() { - return warehouseid; - } - - public void setWarehouseid(String warehouseid) { - this.warehouseid = warehouseid; - } - - - public WarehouseListType warehousedescription(String warehousedescription) { - this.warehousedescription = warehousedescription; - return this; - } - - /** - * City of the Ingram Micro warehouse location - * @return warehousedescription - **/ - @javax.annotation.Nullable - public String getWarehousedescription() { - return warehousedescription; - } - - public void setWarehousedescription(String warehousedescription) { - this.warehousedescription = warehousedescription; - } - - - public WarehouseListType availablequantity(Integer availablequantity) { - this.availablequantity = availablequantity; - return this; - } - - /** - * On hand available quantity - * @return availablequantity - **/ - @javax.annotation.Nullable - public Integer getAvailablequantity() { - return availablequantity; - } - - public void setAvailablequantity(Integer availablequantity) { - this.availablequantity = availablequantity; - } - - - public WarehouseListType onorderquantity(Integer onorderquantity) { - this.onorderquantity = onorderquantity; - return this; - } - - /** - * On Order quantity - * @return onorderquantity - **/ - @javax.annotation.Nullable - public Integer getOnorderquantity() { - return onorderquantity; - } - - public void setOnorderquantity(Integer onorderquantity) { - this.onorderquantity = onorderquantity; - } - - - public WarehouseListType onholdquantity(Integer onholdquantity) { - this.onholdquantity = onholdquantity; - return this; - } - - /** - * On hold quantity - * @return onholdquantity - **/ - @javax.annotation.Nullable - public Integer getOnholdquantity() { - return onholdquantity; - } - - public void setOnholdquantity(Integer onholdquantity) { - this.onholdquantity = onholdquantity; - } - - - public WarehouseListType etadate(String etadate) { - this.etadate = etadate; - return this; - } - - /** - * Get etadate - * @return etadate - **/ - @javax.annotation.Nullable - public String getEtadate() { - return etadate; - } - - public void setEtadate(String etadate) { - this.etadate = etadate; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - WarehouseListType warehouseListType = (WarehouseListType) o; - return Objects.equals(this.warehouseid, warehouseListType.warehouseid) && - Objects.equals(this.warehousedescription, warehouseListType.warehousedescription) && - Objects.equals(this.availablequantity, warehouseListType.availablequantity) && - Objects.equals(this.onorderquantity, warehouseListType.onorderquantity) && - Objects.equals(this.onholdquantity, warehouseListType.onholdquantity) && - Objects.equals(this.etadate, warehouseListType.etadate); - } - - @Override - public int hashCode() { - return Objects.hash(warehouseid, warehousedescription, availablequantity, onorderquantity, onholdquantity, etadate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class WarehouseListType {\n"); - sb.append(" warehouseid: ").append(toIndentedString(warehouseid)).append("\n"); - sb.append(" warehousedescription: ").append(toIndentedString(warehousedescription)).append("\n"); - sb.append(" availablequantity: ").append(toIndentedString(availablequantity)).append("\n"); - sb.append(" onorderquantity: ").append(toIndentedString(onorderquantity)).append("\n"); - sb.append(" onholdquantity: ").append(toIndentedString(onholdquantity)).append("\n"); - sb.append(" etadate: ").append(toIndentedString(etadate)).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("warehouseid"); - openapiFields.add("warehousedescription"); - openapiFields.add("availablequantity"); - openapiFields.add("onorderquantity"); - openapiFields.add("onholdquantity"); - openapiFields.add("etadate"); - - // 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 WarehouseListType - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!WarehouseListType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in WarehouseListType is not found in the empty JSON string", WarehouseListType.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!WarehouseListType.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WarehouseListType` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("warehouseid") != null && !jsonObj.get("warehouseid").isJsonNull()) && !jsonObj.get("warehouseid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehouseid").toString())); - } - if ((jsonObj.get("warehousedescription") != null && !jsonObj.get("warehousedescription").isJsonNull()) && !jsonObj.get("warehousedescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehousedescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehousedescription").toString())); - } - if ((jsonObj.get("etadate") != null && !jsonObj.get("etadate").isJsonNull()) && !jsonObj.get("etadate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `etadate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("etadate").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!WarehouseListType.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'WarehouseListType' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(WarehouseListType.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, WarehouseListType value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public WarehouseListType read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of WarehouseListType given an JSON string - * - * @param jsonString JSON string - * @return An instance of WarehouseListType - * @throws IOException if the JSON string is invalid with respect to WarehouseListType - */ - public static WarehouseListType fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, WarehouseListType.class); - } - - /** - * Convert an instance of WarehouseListType to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/test/java/xiresellers/client/api/DealsApiTest.java b/src/test/java/xiresellers/client/api/DealsApiTest.java index 421e7b6e..c1cdb20f 100644 --- a/src/test/java/xiresellers/client/api/DealsApiTest.java +++ b/src/test/java/xiresellers/client/api/DealsApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java index 6713034f..8441724c 100644 --- a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java +++ b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/InvoicesApiTest.java b/src/test/java/xiresellers/client/api/InvoicesApiTest.java index fa8cbe93..5d85ce5e 100644 --- a/src/test/java/xiresellers/client/api/InvoicesApiTest.java +++ b/src/test/java/xiresellers/client/api/InvoicesApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/InvoicesV4ApiTest.java b/src/test/java/xiresellers/client/api/InvoicesV4ApiTest.java deleted file mode 100644 index a1783980..00000000 --- a/src/test/java/xiresellers/client/api/InvoicesV4ApiTest.java +++ /dev/null @@ -1,49 +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.InvoiceDetailRequest; -import xiresellers.client.model.InvoiceDetailResponse; -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 InvoicesV4Api - */ -@Disabled -public class InvoicesV4ApiTest { - - private final InvoicesV4Api api = new InvoicesV4Api(); - - /** - * Get Invoice Details - * - * A real-time request that allows the customer to query Ingram Micro for Invoice information for a specific open or shipped order (in the past 9 months). Orders are searched using Ingram Micro Sales Order Number. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4InvoicedetailsTest() throws ApiException { - InvoiceDetailRequest invoiceDetailRequest = null; - InvoiceDetailResponse response = api.postV4Invoicedetails(invoiceDetailRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/InvoicesV5ApiTest.java b/src/test/java/xiresellers/client/api/InvoicesV5ApiTest.java deleted file mode 100644 index 8eee1ced..00000000 --- a/src/test/java/xiresellers/client/api/InvoicesV5ApiTest.java +++ /dev/null @@ -1,50 +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.InvoiceDetails; -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 InvoicesV5Api - */ -@Disabled -public class InvoicesV5ApiTest { - - private final InvoicesV5Api api = new InvoicesV5Api(); - - /** - * Get Invoice Details - * - * View invoice details. This is a request to query invoice details for a specific Ingram Micro order placed in the last 9 months, whether open or shipped. <strong>invoiceNumber</strong>, <strong>isoCountryCode</strong> and <strong>customerNumber</strong> parameters are required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getInvoicesTest() throws ApiException { - String invoiceNumber = null; - String customerNumber = null; - String isoCountryCode = null; - InvoiceDetails response = api.getInvoices(invoiceNumber, customerNumber, isoCountryCode); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java b/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java index 27ddfef3..7391816d 100644 --- a/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java +++ b/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java index 169dd906..70d7f82b 100644 --- a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java +++ b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrdersApiTest.java b/src/test/java/xiresellers/client/api/OrdersApiTest.java index 7d9935c4..83496627 100644 --- a/src/test/java/xiresellers/client/api/OrdersApiTest.java +++ b/src/test/java/xiresellers/client/api/OrdersApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrdersV4ApiTest.java b/src/test/java/xiresellers/client/api/OrdersV4ApiTest.java deleted file mode 100644 index 3aaed0c8..00000000 --- a/src/test/java/xiresellers/client/api/OrdersV4ApiTest.java +++ /dev/null @@ -1,113 +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.OrderCreateRequest; -import xiresellers.client.model.OrderCreateResponse; -import xiresellers.client.model.OrderDeleteRequest; -import xiresellers.client.model.OrderDeleteResponse; -import xiresellers.client.model.OrderDetailRequest; -import xiresellers.client.model.OrderDetailResponse; -import xiresellers.client.model.OrderModifyRequest; -import xiresellers.client.model.OrderModifyResponse; -import xiresellers.client.model.OrderSearchRequest; -import xiresellers.client.model.OrderSearchResponse; -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 OrdersV4Api - */ -@Disabled -public class OrdersV4ApiTest { - - private final OrdersV4Api api = new OrdersV4Api(); - - /** - * Create a new Order - * - * The order create transaction is a real-time transaction that allows customers to place standard product and direct ship (licensing and warranties) orders with Ingram Micro using API. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4OrdercreateTest() throws ApiException { - OrderCreateRequest orderCreateRequest = null; - OrderCreateResponse response = api.postV4Ordercreate(orderCreateRequest); - // TODO: test validations - } - - /** - * Delete an Order - * - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4OrderdeleteTest() throws ApiException { - OrderDeleteRequest orderDeleteRequest = null; - OrderDeleteResponse response = api.postV4Orderdelete(orderDeleteRequest); - // TODO: test validations - } - - /** - * Get Order Details - * - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4OrderdetailsTest() throws ApiException { - OrderDetailRequest orderDetailRequest = null; - OrderDetailResponse response = api.postV4Orderdetails(orderDetailRequest); - // TODO: test validations - } - - /** - * Modify an Existing Order - * - * The order modify transaction allows for changes to be made after the order creation process but before the order is released to Ingram Micro’s warehouse system. Order modify transaction submitted after the order is released will be rejected and will not be applied. Types of modifications allowable: Order release, add comment, and carrier change. NOTE - Direct Ship orders cannot be modified. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4OrdermodifyTest() throws ApiException { - OrderModifyRequest orderModifyRequest = null; - OrderModifyResponse response = api.postV4Ordermodify(orderModifyRequest); - // TODO: test validations - } - - /** - * Order Search - * - * Search your orders using various search parameters - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4OrdersearchTest() throws ApiException { - OrderSearchRequest orderSearchRequest = null; - OrderSearchResponse response = api.postV4Ordersearch(orderSearchRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/OrdersV5ApiTest.java b/src/test/java/xiresellers/client/api/OrdersV5ApiTest.java deleted file mode 100644 index c2ba3203..00000000 --- a/src/test/java/xiresellers/client/api/OrdersV5ApiTest.java +++ /dev/null @@ -1,113 +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 java.time.LocalDate; -import java.time.OffsetDateTime; -import xiresellers.client.model.OrderCancelResponse; -import xiresellers.client.model.OrderCreateRequest; -import xiresellers.client.model.OrderCreateResponse; -import xiresellers.client.model.OrderDetailResponse; -import xiresellers.client.model.OrderSearchResponse; -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 OrdersV5Api - */ -@Disabled -public class OrdersV5ApiTest { - - private final OrdersV5Api api = new OrdersV5Api(); - - /** - * Cancel an Existing Order - * - * This endpoint is a request to cancel a previously accepted order. Use your Ingram Micro sales order number to cancel an order. The <strong>orderNumber, isoCountryCode, customerNumber</strong> and <strong>entryDate</strong> parameters are required. This call must be submitted <strong>before</strong> the order is released to Ingram Micro’s warehouse. The order cannot be canceled once it is released to the warehouse. Direct ship orders cannot be canceled. Contact your Ingram Micro sales rep for assistance. - * - * @throws ApiException if the Api call fails - */ - @Test - public void deleteOrdersOrderNumberTest() throws ApiException { - String ordernumber = null; - String customerNumber = null; - String isoCountryCode = null; - String entryDate = null; - OrderCancelResponse response = api.deleteOrdersOrderNumber(ordernumber, customerNumber, isoCountryCode, entryDate); - // TODO: test validations - } - - /** - * Search your Orders - * - * Search your Ingram Micro orders. This endpoint searches by multiple order parameters and supports pagination of results. Search using one or more of the parameters below: <ul><li>ordernumber — Ingram Micro sales order number</li><li>customerordernumber — The PO or order number provided by you when creating an order</li><li>orderstatus — user order status codes for the search, default is set to \"any\"</li><li>startcreatetimestamp and endcreatetimestamp — Order create date range</li></ul> For pagination, please use these parameters: <ul><li>pagesize — default 25, max 100</li><li>pagenumber — default 1</li></ul> Order Status Values: <ul><li>P – PENDING</li><li>R – RELEASED</li><li>4 – SHIPPED</li><li>I – INVOICED</li><li>V – VOIDED</li></ul> The search endpoint also returns HATEOAS links for order details and invoice details, if applicable. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getOrdersSearchTest() throws ApiException { - String customerNumber = null; - String isocountrycode = null; - String ordernumber = null; - String customerordernumber = null; - String orderstatus = null; - OffsetDateTime startcreatetimestamp = null; - OffsetDateTime endcreatetimestamp = null; - Integer pagesize = null; - Integer pagenumber = null; - OrderSearchResponse response = api.getOrdersSearch(customerNumber, isocountrycode, ordernumber, customerordernumber, orderstatus, startcreatetimestamp, endcreatetimestamp, pagesize, pagenumber); - // TODO: test validations - } - - /** - * Get Order Details - * - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. <b>The sales order number, customer number and isoCountryCode are required parameters.</b> The sales order number is returned in the Order Create POST response. Ingram Micro recommends that you save this number for future uses. The IM sales order number can also be retrieved by searching for your existing order using the Order Search GET endpoint. You will need the customer PO number or order number that was provided at the time of order creation. In a case when the IM sales order number is repeated, you can refine the result by providing customer order number for additional filtering or using the date range to filter orders by creation date. Use the \"simulate\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getV5OrdersDetailsTest() throws ApiException { - String ordernumber = null; - String customernumber = null; - String isocountrycode = null; - String customerordernumber = null; - LocalDate startcreatetimestamp = null; - String endcreatetimestamp = null; - String simulate = null; - OrderDetailResponse response = api.getV5OrdersDetails(ordernumber, customernumber, isocountrycode, customerordernumber, startcreatetimestamp, endcreatetimestamp, simulate); - // TODO: test validations - } - - /** - * Create a New Order - * - * Instantly create and place orders. The POST API supports stocked SKUs as well as licensing and warranties SKUs. Every order to be created with this API must complete these validations to be placed and processed:<ul><li>SKU, shipping address, product authorization and stock allocations must clear validation.</li><li>Ingram Micro Sales validates pricing, stock or other processing parameters. Ingram Micro sales may place an order a hold if revision is necessary.</li><li>Credit validation confirms available credit prior to processing an order. If an order does not clear credit validation, the Ingram Micro sales rep or accounts receivable manager will contact you for next steps.</li><li>Warehouse validation selects the location closest to the destination zip code. If the stock is not available in any of the warehouses, Ingram Micro places a backorder in the warehouse closest to the destination zip code.</li></ul> Ingram Micro recommends that you provide the <strong>ingrampartnumber</strong> for each SKU contained in each order. When using <strong>vendorpartnumber</strong> to place an order, please use the product search endpoint to find the <strong>ingrampartnumber</strong> for a specific <strong>vendorpartnumber</strong>, and then supply the <strong>ingrampartnumber</strong> to place an order. <strong>NOTE:</strong> You must have net terms to use the <strong>Ingram Micro Order Create API</strong>. Ingram Micro offers trade credit when using our APIs, and repayment is based on net terms. For example, if your net terms agreement is net-30, you will have 30 days to make a full payment. Ingram Micro does not allow credit card transactions for API ordering. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV5OrdersCreateTest() throws ApiException { - OrderCreateRequest orderCreateRequest = null; - OrderCreateResponse response = api.postV5OrdersCreate(orderCreateRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java b/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java index 7f825404..49a1186b 100644 --- a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java +++ b/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java index e3979d0c..f3a3d4f9 100644 --- a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java +++ b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/ProductCatalogV4ApiTest.java b/src/test/java/xiresellers/client/api/ProductCatalogV4ApiTest.java deleted file mode 100644 index 75353ad2..00000000 --- a/src/test/java/xiresellers/client/api/ProductCatalogV4ApiTest.java +++ /dev/null @@ -1,65 +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.MultiSKUPriceAndStockRequest; -import xiresellers.client.model.MultiSKUPriceAndStockResponse; -import xiresellers.client.model.ProductSearchRequest; -import xiresellers.client.model.ProductSearchResponse; -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 ProductCatalogV4Api - */ -@Disabled -public class ProductCatalogV4ApiTest { - - private final ProductCatalogV4Api api = new ProductCatalogV4Api(); - - /** - * Product availability for upto 50 SKUs - * - * Find price and availability of up to 50 SKUs in a single request. As you increase the number of items in the request response time will be extended. This transaction must not be used as a continuous cyclical call to populate availability and pricing for your full catalog. Customers that perform this activity will lose access to price and availability. Ingram can provide a Price catalog file and an Inventory file in flat file format, which can be obtained through FTP download. Please contact 1800-616-4665 or Electronic.Services@ingrammicro.com for more information on these files. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4MultiskupriceandstockTest() throws ApiException { - MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest = null; - MultiSKUPriceAndStockResponse response = api.postV4Multiskupriceandstock(multiSKUPriceAndStockRequest); - // TODO: test validations - } - - /** - * Real-time Product Search - * - * A real time search that provides the Ingram Micro part number using the manufacturer part number. This API is helpful to eliminate any errors when a manufactuer has the same part number and Ingram Micro has had to create multiple sku numbers - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4ProductsearchTest() throws ApiException { - ProductSearchRequest productSearchRequest = null; - ProductSearchResponse response = api.postV4Productsearch(productSearchRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/ProductCatalogV5ApiTest.java b/src/test/java/xiresellers/client/api/ProductCatalogV5ApiTest.java deleted file mode 100644 index 705feed9..00000000 --- a/src/test/java/xiresellers/client/api/ProductCatalogV5ApiTest.java +++ /dev/null @@ -1,66 +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.PriceAndAvailabilityRequest; -import xiresellers.client.model.PriceAndAvailabilityResponse; -import xiresellers.client.model.ProductSearchResponse; -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 ProductCatalogV5Api - */ -@Disabled -public class ProductCatalogV5ApiTest { - - private final ProductCatalogV5Api api = new ProductCatalogV5Api(); - - /** - * Search Product Catalog - * - * Search the Ingram Micro product catalog using customerNumber, isoCountryCode and partNumber.<ul><li>customerNumber and isoCountryCode fields are required.</li><li>The PartNumber field accepts the following:<ul><li>Ingram part number</li><li>Vendor part number</li><li>Customer part number</li><li>UPC (Universal Product Code)</li></ul></li></ul> - * - * @throws ApiException if the Api call fails - */ - @Test - public void getV5CatalogProductsearchTest() throws ApiException { - String customerNumber = null; - String isoCountryCode = null; - String partNumber = null; - ProductSearchResponse response = api.getV5CatalogProductsearch(customerNumber, isoCountryCode, partNumber); - // TODO: test validations - } - - /** - * Find availability of upto 50 SKUs - * - * Search the product catalog for the price and availability for up to 50 SKUs at one time. This endpoint helps to confirm the details just prior to placing a real-time call.<ul><li>You may request visibility for reserve stock if you participate in reserved inventory, in addition to the stock that is open to all the partners. Please see the details in the endpoint model below.</li><li>Follow these guidelines when using this endpoint:<ul><li>This endpoint is not for refreshing the full catalog with availability and pricing information. Ingram Micro applies rate limits on this endpoint. Continuous cyclical calls will error out. Customers that perform this activity may lose access to the endpoint.</li><li>For the full catalog refresh, Ingram Micro can provide a Price and Inventory file in flat file format, made available through FTP download. Please contact your Ingram Micro sales rep for details.</li></ul></li></ul> - * - * @throws ApiException if the Api call fails - */ - @Test - public void multiSKUPriceAndStockTest() throws ApiException { - PriceAndAvailabilityRequest priceAndAvailabilityRequest = null; - PriceAndAvailabilityResponse response = api.multiSKUPriceAndStock(priceAndAvailabilityRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java b/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java index 7aefcc5e..91357c32 100644 --- a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java +++ b/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/QuotesApiTest.java b/src/test/java/xiresellers/client/api/QuotesApiTest.java index c11f6b12..6ac1dca6 100644 --- a/src/test/java/xiresellers/client/api/QuotesApiTest.java +++ b/src/test/java/xiresellers/client/api/QuotesApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/QuotesV4ApiTest.java b/src/test/java/xiresellers/client/api/QuotesV4ApiTest.java deleted file mode 100644 index 6c9982a1..00000000 --- a/src/test/java/xiresellers/client/api/QuotesV4ApiTest.java +++ /dev/null @@ -1,65 +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.QuoteDetailsRequest; -import xiresellers.client.model.QuoteDetailsResponse; -import xiresellers.client.model.QuoteListRequest; -import xiresellers.client.model.QuoteListResponse; -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 QuotesV4Api - */ -@Disabled -public class QuotesV4ApiTest { - - private final QuotesV4Api api = new QuotesV4Api(); - - /** - * Get Quote Details - * - * A real-time request to delete a previously accepted order must be submitted before the order is released to Ingram Micro’s warehouse. After release the order is no longer eligible for deletion. Order delete transaction submitted after the order is released will be rejected and will not be applied. *Direct ship orders cannot be deleted. Contact your sales rep for assistance. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4QuotedetailsTest() throws ApiException { - QuoteDetailsRequest quoteDetailsRequest = null; - QuoteDetailsResponse response = api.postV4Quotedetails(quoteDetailsRequest); - // TODO: test validations - } - - /** - * Get Quote List - * - * A real-time request that allows the customer to query Ingram Micro for detailed information for a specific open or shipped order. Orders are searched using Ingram Micro Sales Order Number. - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV4QuotesearchTest() throws ApiException { - QuoteListRequest quoteListRequest = null; - QuoteListResponse response = api.postV4Quotesearch(quoteListRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/QuotesV5ApiTest.java b/src/test/java/xiresellers/client/api/QuotesV5ApiTest.java deleted file mode 100644 index 0f3ea27b..00000000 --- a/src/test/java/xiresellers/client/api/QuotesV5ApiTest.java +++ /dev/null @@ -1,67 +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.QuoteDetails; -import xiresellers.client.model.QuoteListRequest; -import xiresellers.client.model.QuoteListResponse; -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 QuotesV5Api - */ -@Disabled -public class QuotesV5ApiTest { - - private final QuotesV5Api api = new QuotesV5Api(); - - /** - * Get Quote Details - * - * The quote details API provides all quote details associated with the quote number provided. The “<strong>quoteNumber</strong>”, “<strong>isoCountryCode</strong>” and “<strong>customerNumber</strong>” parameters are required. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getV5QuotesDetailsTest() throws ApiException { - String quoteNumber = null; - String customerNumber = null; - String isoCountryCode = null; - String thirdPartySource = null; - QuoteDetails response = api.getV5QuotesDetails(quoteNumber, customerNumber, isoCountryCode, thirdPartySource); - // TODO: test validations - } - - /** - * Search Quotes - * - * This endpoint enables the retrieval and filtering of relevant quote list key criteria data, such as quote number, special bid numbers, end user name, status, and date ranges from the Ingram Micro system. By default, the Quotes endpoint retrieves quotes modified or created within the last 30 days. Observe these additional parameters:<ul><li>Only active quotes are available through this API.</li><li>Quotes older than 365 days are excluded by default.</li><li>You can use date range filters to retrieve quotes older than 30 days and up to 365 days.</li><li>Quotes that are in draft and closed states are excluded, and are not accessible through this API.</li></ul> - * - * @throws ApiException if the Api call fails - */ - @Test - public void postV5QuotesSearchTest() throws ApiException { - QuoteListRequest quoteListRequest = null; - QuoteListResponse response = api.postV5QuotesSearch(quoteListRequest); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/RenewalsApiTest.java b/src/test/java/xiresellers/client/api/RenewalsApiTest.java index 37160188..82fc3b62 100644 --- a/src/test/java/xiresellers/client/api/RenewalsApiTest.java +++ b/src/test/java/xiresellers/client/api/RenewalsApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/ReturnsApiTest.java b/src/test/java/xiresellers/client/api/ReturnsApiTest.java index bcc5a7bd..27d742fe 100644 --- a/src/test/java/xiresellers/client/api/ReturnsApiTest.java +++ b/src/test/java/xiresellers/client/api/ReturnsApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java index 9cd647e3..c86a72b2 100644 --- a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java +++ b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AddressTypeTest.java b/src/test/java/xiresellers/client/model/AddressTypeTest.java index ea042424..dfd1b495 100644 --- a/src/test/java/xiresellers/client/model/AddressTypeTest.java +++ b/src/test/java/xiresellers/client/model/AddressTypeTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java index 2326b2d9..1963a0c4 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java index f222f1dc..b03b222a 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java index c6680620..a04090cb 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java index 7ae6adb4..85afb058 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java index 0ff6ce80..7b4117d8 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java index ddea73c2..27e436e0 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java index 4e1f2361..1583bd86 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java index a12fa683..8f5aec51 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java index 243e216a..fd7b9d6a 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java index 58618461..39333e5a 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseTest.java b/src/test/java/xiresellers/client/model/ErrorResponseTest.java index 2ed0d1a6..443b2f2a 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorTest.java b/src/test/java/xiresellers/client/model/ErrorTest.java index c5a65ac1..3408580e 100644 --- a/src/test/java/xiresellers/client/model/ErrorTest.java +++ b/src/test/java/xiresellers/client/model/ErrorTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FieldsTest.java b/src/test/java/xiresellers/client/model/FieldsTest.java index 3b4274e8..8be35e71 100644 --- a/src/test/java/xiresellers/client/model/FieldsTest.java +++ b/src/test/java/xiresellers/client/model/FieldsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java index 73e915c3..cf373d0a 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java index 2abbdde7..a330ff8b 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestTest.java b/src/test/java/xiresellers/client/model/FreightRequestTest.java index 6c9261c7..f271ca5b 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java index 26e88517..09597d56 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java index 0cb94e13..b729f316 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java index d3ae095a..aa77351b 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java index 8315e763..6aab2040 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseTest.java index 4159d266..c2c06e20 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java index c4884235..d6cba79c 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java index 7b325e22..fa94b13b 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java index 1b6582bc..6c9bed6a 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java index b78db06a..e2dd054d 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java index 0c277a2d..3b220b02 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java index 683579aa..4503e107 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java index a0e29e05..92aa8d0c 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java index c9b53b20..eb8d7dda 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java index c87e8181..293b472b 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java index 091dfd18..629e2d45 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java index 497fa4cb..b0c9930b 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java index c1e7cec5..fc2e161a 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java index 10b392e0..6626780e 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsTest.java deleted file mode 100644 index cf81b7b9..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetails - */ -public class InvoiceDetailsTest { - private final InvoiceDetails model = new InvoiceDetails(); - - /** - * Model tests for InvoiceDetails - */ - @Test - public void testInvoiceDetails() { - // TODO: test InvoiceDetails - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java index ce511b40..8c8984f8 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java index 17fb7434..da5dc16a 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java index 2390d999..b98d8815 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java index aff47d46..6e0f0d88 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java index a52900c6..1ae0897f 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java index 5ee982ce..76b352c0 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java index 6f237686..76401d36 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java index 27f91183..79cb8dc4 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java index 7e0d5623..311c1166 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java index 9ff17549..8357e9d9 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java index 5ec7bb88..cdb9d637 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java index 1444ab3b..4ab25cc2 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java index f20ae129..49a129d8 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java index 35def7d7..67be940f 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java index d85c8f3d..ccc8158e 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java index b3477291..142fa4fd 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java index 7446121a..90fe9e6d 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java index 27cae3c0..5adfdab9 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java index a3ad7aaa..d1190b29 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java index ceaebde3..4ab062d2 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java index b75504c4..6980caf9 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java index 40b57613..c721d5f2 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java similarity index 69% rename from src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreambleTest.java rename to src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java index de55431c..8d49ae4b 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseResponsepreambleTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for PriceAndAvailabilityResponseServiceresponseResponsepreamble + * Model tests for MultiSKUPriceAndStockResponseServiceresponseResponsepreamble */ -public class PriceAndAvailabilityResponseServiceresponseResponsepreambleTest { - private final PriceAndAvailabilityResponseServiceresponseResponsepreamble model = new PriceAndAvailabilityResponseServiceresponseResponsepreamble(); +public class MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest { + private final MultiSKUPriceAndStockResponseServiceresponseResponsepreamble model = new MultiSKUPriceAndStockResponseServiceresponseResponsepreamble(); /** - * Model tests for PriceAndAvailabilityResponseServiceresponseResponsepreamble + * Model tests for MultiSKUPriceAndStockResponseServiceresponseResponsepreamble */ @Test - public void testPriceAndAvailabilityResponseServiceresponseResponsepreamble() { - // TODO: test PriceAndAvailabilityResponseServiceresponseResponsepreamble + public void testMultiSKUPriceAndStockResponseServiceresponseResponsepreamble() { + // TODO: test MultiSKUPriceAndStockResponseServiceresponseResponsepreamble } /** diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java index 5cba4308..91ec8f28 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -21,7 +21,7 @@ import java.io.IOException; import java.util.Arrays; import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponseResponsepreamble; +import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java index b1567d5b..94a07857 100644 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java +++ b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCancelResponseTest.java b/src/test/java/xiresellers/client/model/OrderCancelResponseTest.java deleted file mode 100644 index 888470f2..00000000 --- a/src/test/java/xiresellers/client/model/OrderCancelResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCancelResponse - */ -public class OrderCancelResponseTest { - private final OrderCancelResponse model = new OrderCancelResponse(); - - /** - * Model tests for OrderCancelResponse - */ - @Test - public void testOrderCancelResponse() { - // TODO: test OrderCancelResponse - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java index c32e3aa7..5c10150d 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java index 9fe75fd8..1b15228d 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java index da2f583f..2088a4b0 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java index 79878e9d..b4fda5e1 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java index 6b17cc2a..ca3af95f 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java index f2aecb90..25798e4f 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java index 6a0079cf..dd49a28b 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest.java deleted file mode 100644 index fa2c5bcb..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInnerTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner model = new OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner - } - - /** - * 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/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest.java deleted file mode 100644 index 72f0664e..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest.java +++ /dev/null @@ -1,136 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduserTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser model = new OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * 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 '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 'phonenumber' - */ - @Test - public void phonenumberTest() { - // TODO: test phonenumber - } - - /** - * Test the property 'extensionnumber' - */ - @Test - public void extensionnumberTest() { - // TODO: test extensionnumber - } - - /** - * Test the property 'faxnumber' - */ - @Test - public void faxnumberTest() { - // TODO: test faxnumber - } - - /** - * Test the property 'email' - */ - @Test - public void emailTest() { - // TODO: test email - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest.java deleted file mode 100644 index 6c9b5b59..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInnerTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner model = new OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner - } - - /** - * 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/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest.java deleted file mode 100644 index 8bef4441..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest.java +++ /dev/null @@ -1,132 +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.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerEnduser; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerProductextendedspecsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInnerTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner model = new OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner - } - - /** - * Test the property 'linetype' - */ - @Test - public void linetypeTest() { - // TODO: test linetype - } - - /** - * Test the property 'linenumber' - */ - @Test - public void linenumberTest() { - // TODO: test linenumber - } - - /** - * 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 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'customerpartnumber' - */ - @Test - public void customerpartnumberTest() { - // TODO: test customerpartnumber - } - - /** - * Test the property 'upCCode' - */ - @Test - public void upCCodeTest() { - // TODO: test upCCode - } - - /** - * Test the property 'warehouseid' - */ - @Test - public void warehouseidTest() { - // TODO: test warehouseid - } - - /** - * Test the property 'unitprice' - */ - @Test - public void unitpriceTest() { - // TODO: test unitprice - } - - /** - * Test the property 'enduser' - */ - @Test - public void enduserTest() { - // TODO: test enduser - } - - /** - * Test the property 'productextendedspecs' - */ - @Test - public void productextendedspecsTest() { - // TODO: test productextendedspecs - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest.java deleted file mode 100644 index 2255da3f..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest.java +++ /dev/null @@ -1,104 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddressTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress model = new OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress - } - - /** - * Test the property 'attention' - */ - @Test - public void attentionTest() { - // TODO: test attention - } - - /** - * 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 '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 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest.java deleted file mode 100644 index 653bffbf..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest.java +++ /dev/null @@ -1,133 +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.OrderCreateRequestOrdercreaterequestOrdercreatedetailsExtendedspecsInner; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsLinesInner; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetailsShiptoaddress; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetails - */ -public class OrderCreateRequestOrdercreaterequestOrdercreatedetailsTest { - private final OrderCreateRequestOrdercreaterequestOrdercreatedetails model = new OrderCreateRequestOrdercreaterequestOrdercreatedetails(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestOrdercreatedetails - */ - @Test - public void testOrderCreateRequestOrdercreaterequestOrdercreatedetails() { - // TODO: test OrderCreateRequestOrdercreaterequestOrdercreatedetails - } - - /** - * Test the property 'customerponumber' - */ - @Test - public void customerponumberTest() { - // TODO: test customerponumber - } - - /** - * Test the property 'ordertype' - */ - @Test - public void ordertypeTest() { - // TODO: test ordertype - } - - /** - * Test the property 'enduserordernumber' - */ - @Test - public void enduserordernumberTest() { - // TODO: test enduserordernumber - } - - /** - * Test the property 'billtosuffix' - */ - @Test - public void billtosuffixTest() { - // TODO: test billtosuffix - } - - /** - * Test the property 'shiptosuffix' - */ - @Test - public void shiptosuffixTest() { - // TODO: test shiptosuffix - } - - /** - * Test the property 'shiptoaddress' - */ - @Test - public void shiptoaddressTest() { - // TODO: test shiptoaddress - } - - /** - * Test the property 'carriercode' - */ - @Test - public void carriercodeTest() { - // TODO: test carriercode - } - - /** - * Test the property 'thirdpartyfreightaccountnumber' - */ - @Test - public void thirdpartyfreightaccountnumberTest() { - // TODO: test thirdpartyfreightaccountnumber - } - - /** - * Test the property 'specialbidnumber' - */ - @Test - public void specialbidnumberTest() { - // TODO: test specialbidnumber - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - - /** - * Test the property 'extendedspecs' - */ - @Test - public void extendedspecsTest() { - // TODO: test extendedspecs - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreambleTest.java deleted file mode 100644 index 76b6d021..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequestRequestpreamble - */ -public class OrderCreateRequestOrdercreaterequestRequestpreambleTest { - private final OrderCreateRequestOrdercreaterequestRequestpreamble model = new OrderCreateRequestOrdercreaterequestRequestpreamble(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequestRequestpreamble - */ - @Test - public void testOrderCreateRequestOrdercreaterequestRequestpreamble() { - // TODO: test OrderCreateRequestOrdercreaterequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestTest.java deleted file mode 100644 index bc137071..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestOrdercreaterequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestOrdercreatedetails; -import xiresellers.client.model.OrderCreateRequestOrdercreaterequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateRequestOrdercreaterequest - */ -public class OrderCreateRequestOrdercreaterequestTest { - private final OrderCreateRequestOrdercreaterequest model = new OrderCreateRequestOrdercreaterequest(); - - /** - * Model tests for OrderCreateRequestOrdercreaterequest - */ - @Test - public void testOrderCreateRequestOrdercreaterequest() { - // TODO: test OrderCreateRequestOrdercreaterequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'ordercreatedetails' - */ - @Test - public void ordercreatedetailsTest() { - // TODO: test ordercreatedetails - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java index 28dd0e30..d1e36a01 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java index 9cdb0ccb..f75c6e63 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java index 64eb3971..886d7571 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java index a39918b2..5afcdf6c 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,16 @@ 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 xiresellers.client.model.OrderCreateRequestOrdercreaterequest; +import java.util.List; +import xiresellers.client.model.OrderCreateRequestAdditionalAttributesInner; +import xiresellers.client.model.OrderCreateRequestEndUserInfo; +import xiresellers.client.model.OrderCreateRequestLinesInner; +import xiresellers.client.model.OrderCreateRequestResellerInfo; +import xiresellers.client.model.OrderCreateRequestShipToInfo; +import xiresellers.client.model.OrderCreateRequestShipmentDetails; +import xiresellers.client.model.OrderCreateRequestVmf; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +47,107 @@ public void testOrderCreateRequest() { } /** - * Test the property 'ordercreaterequest' + * Test the property 'customerOrderNumber' */ @Test - public void ordercreaterequestTest() { - // TODO: test ordercreaterequest + public void customerOrderNumberTest() { + // TODO: test customerOrderNumber + } + + /** + * Test the property 'endCustomerOrderNumber' + */ + @Test + public void endCustomerOrderNumberTest() { + // TODO: test endCustomerOrderNumber + } + + /** + * 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 'notes' + */ + @Test + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'acceptBackOrder' + */ + @Test + public void acceptBackOrderTest() { + // TODO: test acceptBackOrder + } + + /** + * Test the property 'resellerInfo' + */ + @Test + public void resellerInfoTest() { + // TODO: test resellerInfo + } + + /** + * Test the property 'vmf' + */ + @Test + public void vmfTest() { + // TODO: test vmf + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'endUserInfo' + */ + @Test + public void endUserInfoTest() { + // TODO: test endUserInfo + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'shipmentDetails' + */ + @Test + public void shipmentDetailsTest() { + // TODO: test shipmentDetails + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java index 0f6b0871..19cbfcea 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java index f6f195ad..1821bc15 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java index 956b82d6..30dfcb2c 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java index 96d46ba0..51f062c8 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java index 82a8bf21..a37f6369 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java index e1f3222b..57e11fe3 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java index 1c065571..3b68b861 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java index 63ddee46..9e792af8 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java index 5534d0e4..b6717afe 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java index f99bdf4e..da8e54de 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest.java deleted file mode 100644 index 5d66c7a9..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest.java +++ /dev/null @@ -1,161 +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.math.BigDecimal; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - */ -public class OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInnerTest { - private final OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner model = new OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner(); - - /** - * Model tests for OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - */ - @Test - public void testOrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner() { - // TODO: test OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner - } - - /** - * Test the property 'linetype' - */ - @Test - public void linetypeTest() { - // TODO: test linetype - } - - /** - * Test the property 'globallinenumber' - */ - @Test - public void globallinenumberTest() { - // TODO: test globallinenumber - } - - /** - * Test the property 'partnumber' - */ - @Test - public void partnumberTest() { - // TODO: test partnumber - } - - /** - * Test the property 'globalskuid' - */ - @Test - public void globalskuidTest() { - // TODO: test globalskuid - } - - /** - * Test the property 'linenumber' - */ - @Test - public void linenumberTest() { - // TODO: test linenumber - } - - /** - * Test the property 'carriercode' - */ - @Test - public void carriercodeTest() { - // TODO: test carriercode - } - - /** - * Test the property 'carrierdescription' - */ - @Test - public void carrierdescriptionTest() { - // TODO: test carrierdescription - } - - /** - * Test the property 'requestedunitprice' - */ - @Test - public void requestedunitpriceTest() { - // TODO: test requestedunitprice - } - - /** - * Test the property 'requestedquantity' - */ - @Test - public void requestedquantityTest() { - // TODO: test requestedquantity - } - - /** - * Test the property 'confirmedquantity' - */ - @Test - public void confirmedquantityTest() { - // TODO: test confirmedquantity - } - - /** - * Test the property 'backorderedquantity' - */ - @Test - public void backorderedquantityTest() { - // TODO: test backorderedquantity - } - - /** - * Test the property 'unitproductprice' - */ - @Test - public void unitproductpriceTest() { - // TODO: test unitproductprice - } - - /** - * Test the property 'netamount' - */ - @Test - public void netamountTest() { - // TODO: test netamount - } - - /** - * Test the property 'warehouseid' - */ - @Test - public void warehouseidTest() { - // TODO: test warehouseid - } - - /** - * Test the property 'ordersuffix' - */ - @Test - public void ordersuffixTest() { - // TODO: test ordersuffix - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerTest.java deleted file mode 100644 index 085d088c..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdercreateresponseInnerTest.java +++ /dev/null @@ -1,132 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInnerLinesInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateResponseServiceresponseOrdercreateresponseInner - */ -public class OrderCreateResponseServiceresponseOrdercreateresponseInnerTest { - private final OrderCreateResponseServiceresponseOrdercreateresponseInner model = new OrderCreateResponseServiceresponseOrdercreateresponseInner(); - - /** - * Model tests for OrderCreateResponseServiceresponseOrdercreateresponseInner - */ - @Test - public void testOrderCreateResponseServiceresponseOrdercreateresponseInner() { - // TODO: test OrderCreateResponseServiceresponseOrdercreateresponseInner - } - - /** - * Test the property 'numberoflineswithsuccess' - */ - @Test - public void numberoflineswithsuccessTest() { - // TODO: test numberoflineswithsuccess - } - - /** - * Test the property 'numberoflineswitherror' - */ - @Test - public void numberoflineswitherrorTest() { - // TODO: test numberoflineswitherror - } - - /** - * Test the property 'numberoflineswithwarning' - */ - @Test - public void numberoflineswithwarningTest() { - // TODO: test numberoflineswithwarning - } - - /** - * Test the property 'globalorderid' - */ - @Test - public void globalorderidTest() { - // TODO: test globalorderid - } - - /** - * Test the property 'ordertype' - */ - @Test - public void ordertypeTest() { - // TODO: test ordertype - } - - /** - * Test the property 'ordertimestamp' - */ - @Test - public void ordertimestampTest() { - // TODO: test ordertimestamp - } - - /** - * Test the property 'invoicingsystemorderid' - */ - @Test - public void invoicingsystemorderidTest() { - // TODO: test invoicingsystemorderid - } - - /** - * Test the property 'taxamount' - */ - @Test - public void taxamountTest() { - // TODO: test taxamount - } - - /** - * Test the property 'freightamount' - */ - @Test - public void freightamountTest() { - // TODO: test freightamount - } - - /** - * Test the property 'orderamount' - */ - @Test - public void orderamountTest() { - // TODO: test orderamount - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest.java deleted file mode 100644 index a648ea0f..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest.java +++ /dev/null @@ -1,112 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - */ -public class OrderCreateResponseServiceresponseOrdersummaryShiptoaddressTest { - private final OrderCreateResponseServiceresponseOrdersummaryShiptoaddress model = new OrderCreateResponseServiceresponseOrdersummaryShiptoaddress(); - - /** - * Model tests for OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - */ - @Test - public void testOrderCreateResponseServiceresponseOrdersummaryShiptoaddress() { - // TODO: test OrderCreateResponseServiceresponseOrdersummaryShiptoaddress - } - - /** - * Test the property 'attention' - */ - @Test - public void attentionTest() { - // TODO: test attention - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * 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 '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 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryTest.java deleted file mode 100644 index 8254450b..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseOrdersummaryTest.java +++ /dev/null @@ -1,73 +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.Arrays; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummaryShiptoaddress; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateResponseServiceresponseOrdersummary - */ -public class OrderCreateResponseServiceresponseOrdersummaryTest { - private final OrderCreateResponseServiceresponseOrdersummary model = new OrderCreateResponseServiceresponseOrdersummary(); - - /** - * Model tests for OrderCreateResponseServiceresponseOrdersummary - */ - @Test - public void testOrderCreateResponseServiceresponseOrdersummary() { - // TODO: test OrderCreateResponseServiceresponseOrdersummary - } - - /** - * Test the property 'customerponumber' - */ - @Test - public void customerponumberTest() { - // TODO: test customerponumber - } - - /** - * Test the property 'totalorderamount' - */ - @Test - public void totalorderamountTest() { - // TODO: test totalorderamount - } - - /** - * Test the property 'totalordercreated' - */ - @Test - public void totalordercreatedTest() { - // TODO: test totalordercreated - } - - /** - * Test the property 'shiptoaddress' - */ - @Test - public void shiptoaddressTest() { - // TODO: test shiptoaddress - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseTest.java deleted file mode 100644 index 9e7135e5..00000000 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseServiceresponseTest.java +++ /dev/null @@ -1,69 +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.InvoiceDetailResponseServiceresponseResponsepreamble; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdercreateresponseInner; -import xiresellers.client.model.OrderCreateResponseServiceresponseOrdersummary; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderCreateResponseServiceresponse - */ -public class OrderCreateResponseServiceresponseTest { - private final OrderCreateResponseServiceresponse model = new OrderCreateResponseServiceresponse(); - - /** - * Model tests for OrderCreateResponseServiceresponse - */ - @Test - public void testOrderCreateResponseServiceresponse() { - // TODO: test OrderCreateResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'ordersummary' - */ - @Test - public void ordersummaryTest() { - // TODO: test ordersummary - } - - /** - * Test the property 'ordercreateresponse' - */ - @Test - public void ordercreateresponseTest() { - // TODO: test ordercreateresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java index fa4b08c8..85e3d52b 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java index 6e4625aa..e7a33d51 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,13 @@ 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 xiresellers.client.model.OrderCreateResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderCreateResponseEndUserInfo; +import xiresellers.client.model.OrderCreateResponseOrdersInner; +import xiresellers.client.model.OrderCreateResponseShipToInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +44,83 @@ public void testOrderCreateResponse() { } /** - * Test the property 'serviceresponse' + * Test the property 'customerOrderNumber' */ @Test - public void serviceresponseTest() { - // TODO: test serviceresponse + public void customerOrderNumberTest() { + // TODO: test customerOrderNumber + } + + /** + * Test the property 'endCustomerOrderNumber' + */ + @Test + public void endCustomerOrderNumberTest() { + // TODO: test endCustomerOrderNumber + } + + /** + * 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 'orderSplit' + */ + @Test + public void orderSplitTest() { + // TODO: test orderSplit + } + + /** + * Test the property 'processedPartially' + */ + @Test + public void processedPartiallyTest() { + // TODO: test processedPartially + } + + /** + * Test the property 'purchaseOrderTotal' + */ + @Test + public void purchaseOrderTotalTest() { + // TODO: test purchaseOrderTotal + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'endUserInfo' + */ + @Test + public void endUserInfoTest() { + // TODO: test endUserInfo + } + + /** + * Test the property 'orders' + */ + @Test + public void ordersTest() { + // TODO: test orders } } diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java index 9a5c9306..877666d7 100644 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java index 3e305289..79edadc7 100644 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java index 45886618..260eb414 100644 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java index ff0eaa50..f5b896e4 100644 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java similarity index 73% rename from src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreambleTest.java rename to src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java index 0eef8308..3653f29d 100644 --- a/src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseResponsepreambleTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for OrderCancelResponseServiceresponseResponsepreamble + * Model tests for OrderDeleteResponseServiceresponseResponsepreamble */ -public class OrderCancelResponseServiceresponseResponsepreambleTest { - private final OrderCancelResponseServiceresponseResponsepreamble model = new OrderCancelResponseServiceresponseResponsepreamble(); +public class OrderDeleteResponseServiceresponseResponsepreambleTest { + private final OrderDeleteResponseServiceresponseResponsepreamble model = new OrderDeleteResponseServiceresponseResponsepreamble(); /** - * Model tests for OrderCancelResponseServiceresponseResponsepreamble + * Model tests for OrderDeleteResponseServiceresponseResponsepreamble */ @Test - public void testOrderCancelResponseServiceresponseResponsepreamble() { - // TODO: test OrderCancelResponseServiceresponseResponsepreamble + public void testOrderDeleteResponseServiceresponseResponsepreamble() { + // TODO: test OrderDeleteResponseServiceresponseResponsepreamble } /** diff --git a/src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java similarity index 68% rename from src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseTest.java rename to src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java index a83e1447..191ddb80 100644 --- a/src/test/java/xiresellers/client/model/OrderCancelResponseServiceresponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,22 +20,22 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponseResponsepreamble; +import xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for OrderCancelResponseServiceresponse + * Model tests for OrderDeleteResponseServiceresponse */ -public class OrderCancelResponseServiceresponseTest { - private final OrderCancelResponseServiceresponse model = new OrderCancelResponseServiceresponse(); +public class OrderDeleteResponseServiceresponseTest { + private final OrderDeleteResponseServiceresponse model = new OrderDeleteResponseServiceresponse(); /** - * Model tests for OrderCancelResponseServiceresponse + * Model tests for OrderDeleteResponseServiceresponse */ @Test - public void testOrderCancelResponseServiceresponse() { - // TODO: test OrderCancelResponseServiceresponse + public void testOrderDeleteResponseServiceresponse() { + // TODO: test OrderDeleteResponseServiceresponse } /** diff --git a/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java index 24df8598..fea9b31e 100644 --- a/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -20,7 +20,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import xiresellers.client.model.OrderCancelResponseServiceresponse; +import xiresellers.client.model.OrderDeleteResponseServiceresponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java index 2e33b3c7..b89699dd 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java index f3737f6c..ce3f1579 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java index 4d34954e..36445c09 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java index 935bc206..e9a0c220 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java index 93fa299f..a2be067c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java index 8ff690fb..88a94745 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java index da51b622..0d93161d 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java index d75e1eb0..3f848401 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java index a952c677..2923b2ab 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java index a1628920..79e77d13 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java index 261f3eb2..9680b49e 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java index 9f91686b..144d0f9e 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java index 8e976bd0..529ef237 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java index 8b6ab99c..fb3de906 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java index e38b8fb2..e11d1439 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java index 9e517b22..38c32292 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java index 11cc9ae7..815c3a1f 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java index f0c5d2f1..78bd34c6 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java index 20388a72..e3e9d746 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java index 3fc8fd95..d07c6adb 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java index d822e4a1..e8cfd749 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java index 1f5ffb27..5f1103e3 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java index 302fd151..03e6402a 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java index d2c40504..9d752469 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java index c1ef496e..e1ca7235 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java index ecc4e2ac..e3cfd42f 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java index 19eae865..f1150e32 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java index 10291cf7..780ae4fb 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java index 2c1e0e44..63c026f0 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java index 0ae61f42..8a24ce77 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java index 1b1c0357..6dd7c54c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java index 94c25c9e..4aae4a92 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java index 9b62b381..fba112de 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java index 8b136a49..43e766d8 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java index 4b51e23b..10ca0786 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java index 3a317e0d..74948789 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java index 57967def..e3c5a469 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest.java deleted file mode 100644 index beec10c4..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest.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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddressTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress model = new OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress - } - - /** - * Test the property 'suffix' - */ - @Test - public void suffixTest() { - // TODO: test suffix - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'attention' - */ - @Test - public void attentionTest() { - // TODO: test attention - } - - /** - * 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 '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 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest.java deleted file mode 100644 index 214a5533..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner model = new OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner - } - - /** - * Test the property 'commenttext1' - */ - @Test - public void commenttext1Test() { - // TODO: test commenttext1 - } - - /** - * Test the property 'commenttext2' - */ - @Test - public void commenttext2Test() { - // TODO: test commenttext2 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest.java deleted file mode 100644 index f382def1..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfoTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo model = new OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo - } - - /** - * Test the property 'enduserid' - */ - @Test - public void enduseridTest() { - // TODO: test enduserid - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest.java deleted file mode 100644 index d8541834..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner model = new OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner - } - - /** - * 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/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest.java deleted file mode 100644 index aac46d3f..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner model = new OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner - } - - /** - * Test the property 'serialnumber' - */ - @Test - public void serialnumberTest() { - // TODO: test serialnumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest.java deleted file mode 100644 index 71e41c97..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest.java +++ /dev/null @@ -1,72 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetailsTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails model = new OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails - } - - /** - * Test the property 'trackingnumber' - */ - @Test - public void trackingnumberTest() { - // TODO: test trackingnumber - } - - /** - * Test the property 'packageweight' - */ - @Test - public void packageweightTest() { - // TODO: test packageweight - } - - /** - * Test the property 'cartonnumber' - */ - @Test - public void cartonnumberTest() { - // TODO: test cartonnumber - } - - /** - * Test the property 'quantityinbox' - */ - @Test - public void quantityinboxTest() { - // TODO: test quantityinbox - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest.java deleted file mode 100644 index 6a2d2a1d..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest.java +++ /dev/null @@ -1,170 +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.math.BigDecimal; -import java.util.Arrays; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerPackagedetails; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner model = new OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - - /** - * Test the property 'shipmentdate' - */ - @Test - public void shipmentdateTest() { - // TODO: test shipmentdate - } - - /** - * Test the property 'shipfromwarehouseid' - */ - @Test - public void shipfromwarehouseidTest() { - // TODO: test shipfromwarehouseid - } - - /** - * Test the property 'warehousename' - */ - @Test - public void warehousenameTest() { - // TODO: test warehousename - } - - /** - * Test the property 'invoicenumber' - */ - @Test - public void invoicenumberTest() { - // TODO: test invoicenumber - } - - /** - * Test the property 'invoicedate' - */ - @Test - public void invoicedateTest() { - // TODO: test invoicedate - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'statusdescription' - */ - @Test - public void statusdescriptionTest() { - // TODO: test statusdescription - } - - /** - * Test the property 'shippeddate' - */ - @Test - public void shippeddateTest() { - // TODO: test shippeddate - } - - /** - * Test the property 'holdreasoncodedescription' - */ - @Test - public void holdreasoncodedescriptionTest() { - // TODO: test holdreasoncodedescription - } - - /** - * Test the property 'ponumber' - */ - @Test - public void ponumberTest() { - // TODO: test ponumber - } - - /** - * Test the property 'carriertype' - */ - @Test - public void carriertypeTest() { - // TODO: test carriertype - } - - /** - * Test the property 'carriercode' - */ - @Test - public void carriercodeTest() { - // TODO: test carriercode - } - - /** - * Test the property 'carriername' - */ - @Test - public void carriernameTest() { - // TODO: test carriername - } - - /** - * Test the property 'pronumber' - */ - @Test - public void pronumberTest() { - // TODO: test pronumber - } - - /** - * Test the property 'packagedetails' - */ - @Test - public void packagedetailsTest() { - // TODO: test packagedetails - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest.java deleted file mode 100644 index bdc589e9..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest.java +++ /dev/null @@ -1,230 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerSerialnumberdetailsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerShipmentdetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseLinesInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseLinesInner model = new OrderDetailResponseServiceresponseOrderdetailresponseLinesInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseLinesInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseLinesInner - } - - /** - * Test the property 'linenumber' - */ - @Test - public void linenumberTest() { - // TODO: test linenumber - } - - /** - * Test the property 'globallinenumber' - */ - @Test - public void globallinenumberTest() { - // TODO: test globallinenumber - } - - /** - * Test the property 'ordersuffix' - */ - @Test - public void ordersuffixTest() { - // TODO: test ordersuffix - } - - /** - * Test the property 'erpordernumber' - */ - @Test - public void erpordernumberTest() { - // TODO: test erpordernumber - } - - /** - * Test the property 'linestatus' - */ - @Test - public void linestatusTest() { - // TODO: test linestatus - } - - /** - * Test the property 'partnumber' - */ - @Test - public void partnumberTest() { - // TODO: test partnumber - } - - /** - * Test the property 'manufacturerpartnumber' - */ - @Test - public void manufacturerpartnumberTest() { - // TODO: test manufacturerpartnumber - } - - /** - * Test the property 'vendorname' - */ - @Test - public void vendornameTest() { - // TODO: test vendorname - } - - /** - * Test the property 'vendorcode' - */ - @Test - public void vendorcodeTest() { - // TODO: test vendorcode - } - - /** - * Test the property 'partdescription1' - */ - @Test - public void partdescription1Test() { - // TODO: test partdescription1 - } - - /** - * Test the property 'partdescription2' - */ - @Test - public void partdescription2Test() { - // TODO: test partdescription2 - } - - /** - * Test the property 'unitweight' - */ - @Test - public void unitweightTest() { - // TODO: test unitweight - } - - /** - * Test the property 'unitprice' - */ - @Test - public void unitpriceTest() { - // TODO: test unitprice - } - - /** - * Test the property 'extendedprice' - */ - @Test - public void extendedpriceTest() { - // TODO: test extendedprice - } - - /** - * Test the property 'taxamount' - */ - @Test - public void taxamountTest() { - // TODO: test taxamount - } - - /** - * Test the property 'requestedquantity' - */ - @Test - public void requestedquantityTest() { - // TODO: test requestedquantity - } - - /** - * Test the property 'confirmedquantity' - */ - @Test - public void confirmedquantityTest() { - // TODO: test confirmedquantity - } - - /** - * Test the property 'backorderquantity' - */ - @Test - public void backorderquantityTest() { - // TODO: test backorderquantity - } - - /** - * Test the property 'serialnumberdetails' - */ - @Test - public void serialnumberdetailsTest() { - // TODO: test serialnumberdetails - } - - /** - * Test the property 'trackingnumber' - */ - @Test - public void trackingnumberTest() { - // TODO: test trackingnumber - } - - /** - * Test the property 'shipmentdetails' - */ - @Test - public void shipmentdetailsTest() { - // TODO: test shipmentdetails - } - - /** - * Test the property 'productextendedspecs' - */ - @Test - public void productextendedspecsTest() { - // TODO: test productextendedspecs - } - - /** - * Test the property 'backorderetadate' - */ - @Test - public void backorderetadateTest() { - // TODO: test backorderetadate - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest.java deleted file mode 100644 index c973bcee..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInnerTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner model = new OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'chargeamount' - */ - @Test - public void chargeamountTest() { - // TODO: test chargeamount - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest.java deleted file mode 100644 index 1a9bd9cd..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest.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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddressTest { - private final OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress model = new OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress - } - - /** - * Test the property 'suffix' - */ - @Test - public void suffixTest() { - // TODO: test suffix - } - - /** - * Test the property 'attention' - */ - @Test - public void attentionTest() { - // TODO: test attention - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * 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 '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 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseTest.java deleted file mode 100644 index c88786d1..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseOrderdetailresponseTest.java +++ /dev/null @@ -1,210 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseBilltoaddress; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseCommentlinesInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseEnduserinfo; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseExtendedspecsInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseLinesInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseMiscfeelineInner; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponseShiptoaddress; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponse - */ -public class OrderDetailResponseServiceresponseOrderdetailresponseTest { - private final OrderDetailResponseServiceresponseOrderdetailresponse model = new OrderDetailResponseServiceresponseOrderdetailresponse(); - - /** - * Model tests for OrderDetailResponseServiceresponseOrderdetailresponse - */ - @Test - public void testOrderDetailResponseServiceresponseOrderdetailresponse() { - // TODO: test OrderDetailResponseServiceresponseOrderdetailresponse - } - - /** - * Test the property 'ordernumber' - */ - @Test - public void ordernumberTest() { - // TODO: test ordernumber - } - - /** - * Test the property 'ordertype' - */ - @Test - public void ordertypeTest() { - // TODO: test ordertype - } - - /** - * Test the property 'customerordernumber' - */ - @Test - public void customerordernumberTest() { - // TODO: test customerordernumber - } - - /** - * Test the property 'enduserponumber' - */ - @Test - public void enduserponumberTest() { - // TODO: test enduserponumber - } - - /** - * Test the property 'orderstatus' - */ - @Test - public void orderstatusTest() { - // TODO: test orderstatus - } - - /** - * Test the property 'entrytimestamp' - */ - @Test - public void entrytimestampTest() { - // TODO: test entrytimestamp - } - - /** - * Test the property 'entrymethoddescription' - */ - @Test - public void entrymethoddescriptionTest() { - // TODO: test entrymethoddescription - } - - /** - * Test the property 'ordertotalvalue' - */ - @Test - public void ordertotalvalueTest() { - // TODO: test ordertotalvalue - } - - /** - * Test the property 'ordersubtotal' - */ - @Test - public void ordersubtotalTest() { - // TODO: test ordersubtotal - } - - /** - * Test the property 'freightamount' - */ - @Test - public void freightamountTest() { - // TODO: test freightamount - } - - /** - * Test the property 'currencycode' - */ - @Test - public void currencycodeTest() { - // TODO: test currencycode - } - - /** - * Test the property 'totalweight' - */ - @Test - public void totalweightTest() { - // TODO: test totalweight - } - - /** - * Test the property 'totaltax' - */ - @Test - public void totaltaxTest() { - // TODO: test totaltax - } - - /** - * Test the property 'billtoaddress' - */ - @Test - public void billtoaddressTest() { - // TODO: test billtoaddress - } - - /** - * Test the property 'shiptoaddress' - */ - @Test - public void shiptoaddressTest() { - // TODO: test shiptoaddress - } - - /** - * Test the property 'enduserinfo' - */ - @Test - public void enduserinfoTest() { - // TODO: test enduserinfo - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - - /** - * Test the property 'commentlines' - */ - @Test - public void commentlinesTest() { - // TODO: test commentlines - } - - /** - * Test the property 'miscfeeline' - */ - @Test - public void miscfeelineTest() { - // TODO: test miscfeeline - } - - /** - * Test the property 'extendedspecs' - */ - @Test - public void extendedspecsTest() { - // TODO: test extendedspecs - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseTest.java deleted file mode 100644 index 012486b0..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseServiceresponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble; -import xiresellers.client.model.OrderDetailResponseServiceresponseOrderdetailresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseServiceresponse - */ -public class OrderDetailResponseServiceresponseTest { - private final OrderDetailResponseServiceresponse model = new OrderDetailResponseServiceresponse(); - - /** - * Model tests for OrderDetailResponseServiceresponse - */ - @Test - public void testOrderDetailResponseServiceresponse() { - // TODO: test OrderDetailResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'orderdetailresponse' - */ - @Test - public void orderdetailresponseTest() { - // TODO: test orderdetailresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java index c5e7a18b..8340232e 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java index 08337451..bcc43a65 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,16 @@ 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 xiresellers.client.model.OrderDetailResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderDetailResponseBillToInfo; +import xiresellers.client.model.OrderDetailResponseEndUserInfo; +import xiresellers.client.model.OrderDetailResponseLinesInner; +import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; +import xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner; +import xiresellers.client.model.OrderDetailResponseShipToInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +47,171 @@ public void testOrderDetailResponse() { } /** - * Test the property 'serviceresponse' + * Test the property 'ingramOrderNumber' */ @Test - public void serviceresponseTest() { - // TODO: test serviceresponse + public void ingramOrderNumberTest() { + // TODO: test ingramOrderNumber + } + + /** + * Test the property 'ingramOrderDate' + */ + @Test + public void ingramOrderDateTest() { + // TODO: test ingramOrderDate + } + + /** + * Test the property 'orderType' + */ + @Test + public void orderTypeTest() { + // TODO: test orderType + } + + /** + * 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 'vendorSalesOrderNumber' + */ + @Test + public void vendorSalesOrderNumberTest() { + // TODO: test vendorSalesOrderNumber + } + + /** + * Test the property 'orderStatus' + */ + @Test + public void orderStatusTest() { + // TODO: test orderStatus + } + + /** + * Test the property 'orderTotal' + */ + @Test + public void orderTotalTest() { + // TODO: test orderTotal + } + + /** + * Test the property 'orderSubTotal' + */ + @Test + public void orderSubTotalTest() { + // TODO: test orderSubTotal + } + + /** + * Test the property 'freightCharges' + */ + @Test + public void freightChargesTest() { + // TODO: test freightCharges + } + + /** + * Test the property 'currencyCode' + */ + @Test + public void currencyCodeTest() { + // TODO: test currencyCode + } + + /** + * Test the property 'totalWeight' + */ + @Test + public void totalWeightTest() { + // TODO: test totalWeight + } + + /** + * Test the property 'totalTax' + */ + @Test + public void totalTaxTest() { + // TODO: test totalTax + } + + /** + * Test the property 'paymentTerms' + */ + @Test + public void paymentTermsTest() { + // TODO: test paymentTerms + } + + /** + * Test the property 'notes' + */ + @Test + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'billToInfo' + */ + @Test + public void billToInfoTest() { + // TODO: test billToInfo + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'endUserInfo' + */ + @Test + public void endUserInfoTest() { + // TODO: test endUserInfo + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'miscellaneousCharges' + */ + @Test + public void miscellaneousChargesTest() { + // TODO: test miscellaneousCharges + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java index 7ca65a47..1e4019f7 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java index 37af6661..21b39694 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java index 5b9016a9..c538cacb 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java index cbeab2d4..7e22ad29 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java index a9898f32..86a5253f 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java index 1f6be39a..85c5c74f 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java index 30f9be75..1a5021a9 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java index fca4843b..c71e11c6 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java index 42f0c7fb..99aca758 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java index 21b8f6e4..5f198328 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java index c20b07d2..871341ed 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java index 70b15454..11af814d 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java index 41da6fe2..024a6bed 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java index 079849f4..b917079c 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java index ebea2152..e67600f4 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java index 6c3f9698..6535b628 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java index 132caa56..5fb97ecf 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java index 934ecd31..0185a8c9 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java index d6eb3b65..5f650789 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java index c90074db..3685c559 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java index ccc6a860..acb7834a 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java index aa7d46d1..f65d7804 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java index fa8d64eb..2e116199 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java index 8d254bb9..23e755aa 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java index 222df3c4..7ebfc421 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java index 5d0d01b4..4a76e9b7 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java index fd1e61f1..3edb2b78 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java index 982fa78e..ce33baf9 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java index 787620fc..9e6097a7 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest.java deleted file mode 100644 index 8b2bcf76..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest.java +++ /dev/null @@ -1,65 +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.net.URI; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - */ -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinksTest { - private final OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks model = new OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks(); - - /** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - */ - @Test - public void testOrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks() { - // TODO: test OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks - } - - /** - * Test the property 'topic' - */ - @Test - public void topicTest() { - // TODO: test topic - } - - /** - * Test the property 'href' - */ - @Test - public void hrefTest() { - // TODO: test href - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest.java deleted file mode 100644 index 9d760f69..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest.java +++ /dev/null @@ -1,65 +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.net.URI; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - */ -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInnerTest { - private final OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner model = new OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner(); - - /** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - */ - @Test - public void testOrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner() { - // TODO: test OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner - } - - /** - * Test the property 'topic' - */ - @Test - public void topicTest() { - // TODO: test topic - } - - /** - * Test the property 'href' - */ - @Test - public void hrefTest() { - // TODO: test href - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest.java deleted file mode 100644 index 680ef0f8..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest.java +++ /dev/null @@ -1,91 +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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerLinksInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - */ -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInnerTest { - private final OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner model = new OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner(); - - /** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - */ - @Test - public void testOrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner() { - // TODO: test OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner - } - - /** - * Test the property 'subordernumber' - */ - @Test - public void subordernumberTest() { - // TODO: test subordernumber - } - - /** - * Test the property 'statuscode' - */ - @Test - public void statuscodeTest() { - // TODO: test statuscode - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'holdreasoncode' - */ - @Test - public void holdreasoncodeTest() { - // TODO: test holdreasoncode - } - - /** - * Test the property 'holdreason' - */ - @Test - public void holdreasonTest() { - // TODO: test holdreason - } - - /** - * Test the property 'links' - */ - @Test - public void linksTest() { - // TODO: test links - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest.java deleted file mode 100644 index 6503a13d..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest.java +++ /dev/null @@ -1,84 +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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerLinks; -import xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerSubordersInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - */ -public class OrderSearchResponseServiceResponseOrdersearchresponseOrdersInnerTest { - private final OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner model = new OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner(); - - /** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - */ - @Test - public void testOrderSearchResponseServiceResponseOrdersearchresponseOrdersInner() { - // TODO: test OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner - } - - /** - * Test the property 'ordernumber' - */ - @Test - public void ordernumberTest() { - // TODO: test ordernumber - } - - /** - * Test the property 'entrytimestamp' - */ - @Test - public void entrytimestampTest() { - // TODO: test entrytimestamp - } - - /** - * Test the property 'customerordernumber' - */ - @Test - public void customerordernumberTest() { - // TODO: test customerordernumber - } - - /** - * Test the property 'suborders' - */ - @Test - public void subordersTest() { - // TODO: test suborders - } - - /** - * Test the property 'links' - */ - @Test - public void linksTest() { - // TODO: test links - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseTest.java deleted file mode 100644 index 1d79fe9c..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseOrdersearchresponseTest.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.OrderSearchResponseServiceResponseOrdersearchresponseOrdersInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponse - */ -public class OrderSearchResponseServiceResponseOrdersearchresponseTest { - private final OrderSearchResponseServiceResponseOrdersearchresponse model = new OrderSearchResponseServiceResponseOrdersearchresponse(); - - /** - * Model tests for OrderSearchResponseServiceResponseOrdersearchresponse - */ - @Test - public void testOrderSearchResponseServiceResponseOrdersearchresponse() { - // TODO: test OrderSearchResponseServiceResponseOrdersearchresponse - } - - /** - * Test the property 'ordersfound' - */ - @Test - public void ordersfoundTest() { - // TODO: test ordersfound - } - - /** - * Test the property 'pagesize' - */ - @Test - public void pagesizeTest() { - // TODO: test pagesize - } - - /** - * Test the property 'pagenumber' - */ - @Test - public void pagenumberTest() { - // TODO: test pagenumber - } - - /** - * Test the property 'orders' - */ - @Test - public void ordersTest() { - // TODO: test orders - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreambleTest.java deleted file mode 100644 index 5ebb2670..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseResponsepreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponseResponsepreamble - */ -public class OrderSearchResponseServiceResponseResponsepreambleTest { - private final OrderSearchResponseServiceResponseResponsepreamble model = new OrderSearchResponseServiceResponseResponsepreamble(); - - /** - * Model tests for OrderSearchResponseServiceResponseResponsepreamble - */ - @Test - public void testOrderSearchResponseServiceResponseResponsepreamble() { - // TODO: test OrderSearchResponseServiceResponseResponsepreamble - } - - /** - * Test the property 'requeststatus' - */ - @Test - public void requeststatusTest() { - // TODO: test requeststatus - } - - /** - * Test the property 'returnmessage' - */ - @Test - public void returnmessageTest() { - // TODO: test returnmessage - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseTest.java deleted file mode 100644 index 68f4141e..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseServiceResponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderSearchResponseServiceResponseOrdersearchresponse; -import xiresellers.client.model.OrderSearchResponseServiceResponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchResponseServiceResponse - */ -public class OrderSearchResponseServiceResponseTest { - private final OrderSearchResponseServiceResponse model = new OrderSearchResponseServiceResponse(); - - /** - * Model tests for OrderSearchResponseServiceResponse - */ - @Test - public void testOrderSearchResponseServiceResponse() { - // TODO: test OrderSearchResponseServiceResponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'ordersearchresponse' - */ - @Test - public void ordersearchresponseTest() { - // TODO: test ordersearchresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java index d32e2f8d..50a2942d 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,10 @@ 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 xiresellers.client.model.OrderSearchResponseServiceResponse; +import java.util.List; +import xiresellers.client.model.OrderSearchResponseOrdersInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +41,51 @@ public void testOrderSearchResponse() { } /** - * Test the property 'serviceResponse' + * Test the property 'recordsFound' */ @Test - public void serviceResponseTest() { - // TODO: test serviceResponse + public void recordsFoundTest() { + // TODO: test recordsFound + } + + /** + * Test the property 'pageSize' + */ + @Test + public void pageSizeTest() { + // TODO: test pageSize + } + + /** + * Test the property 'pageNumber' + */ + @Test + public void pageNumberTest() { + // TODO: test pageNumber + } + + /** + * Test the property 'orders' + */ + @Test + public void ordersTest() { + // TODO: test orders + } + + /** + * Test the property 'nextPage' + */ + @Test + public void nextPageTest() { + // TODO: test nextPage + } + + /** + * Test the property 'previousPage' + */ + @Test + public void previousPageTest() { + // TODO: test previousPage } } diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java index ec500d62..b161cdf4 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java index 7b0ed6db..c6007c8a 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java index e4e7fcef..9e909d07 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java index c12cb081..911642a6 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java index 4340d901..bdf2fa7f 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java index 8f251711..fc963a5e 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java index 4d432760..cfcdfb5a 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java index f5c77f7e..28720f33 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java index e774a64b..097eb37d 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java index e00349eb..869f5f86 100644 --- a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java index d8afbe93..7d6a9931 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java index b1862b8c..bdd2544f 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java index 524aa015..88e148a0 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java index a8d2ebae..77f90b1a 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest.java deleted file mode 100644 index 36764c55..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest.java +++ /dev/null @@ -1,139 +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.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; - -/** - * Model tests for PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - */ -public class PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInnerTest { - private final PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner model = new PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner(); - - /** - * Model tests for PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - */ - @Test - public void testPriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner() { - // TODO: test PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner - } - - /** - * Test the property 'index' - */ - @Test - public void indexTest() { - // TODO: test index - } - - /** - * Test the property 'ingrampartnumber' - */ - @Test - public void ingrampartnumberTest() { - // TODO: test ingrampartnumber - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'upc' - */ - @Test - public void upcTest() { - // TODO: test upc - } - - /** - * Test the property 'customerpartnumber' - */ - @Test - public void customerpartnumberTest() { - // TODO: test customerpartnumber - } - - /** - * Test the property 'warehouseidlist' - */ - @Test - public void warehouseidlistTest() { - // TODO: test warehouseidlist - } - - /** - * Test the property 'extendedvendorpartnumber' - */ - @Test - public void extendedvendorpartnumberTest() { - // TODO: test extendedvendorpartnumber - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - - /** - * Test the property 'enduserid' - */ - @Test - public void enduseridTest() { - // TODO: test enduserid - } - - /** - * Test the property 'govtprogramtype' - */ - @Test - public void govtprogramtypeTest() { - // TODO: test govtprogramtype - } - - /** - * Test the property 'govtendusertype' - */ - @Test - public void govtendusertypeTest() { - // TODO: test govtendusertype - } - - /** - * Test the property 'specialbidnumber' - */ - @Test - public void specialbidnumberTest() { - // TODO: test specialbidnumber - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest.java deleted file mode 100644 index 9ebdeb97..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest.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.PriceAndAvailabilityRequestServicerequestPriceandstockrequestItemInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityRequestServicerequestPriceandstockrequest - */ -public class PriceAndAvailabilityRequestServicerequestPriceandstockrequestTest { - private final PriceAndAvailabilityRequestServicerequestPriceandstockrequest model = new PriceAndAvailabilityRequestServicerequestPriceandstockrequest(); - - /** - * Model tests for PriceAndAvailabilityRequestServicerequestPriceandstockrequest - */ - @Test - public void testPriceAndAvailabilityRequestServicerequestPriceandstockrequest() { - // TODO: test PriceAndAvailabilityRequestServicerequestPriceandstockrequest - } - - /** - * Test the property 'showwarehouseavailability' - */ - @Test - public void showwarehouseavailabilityTest() { - // TODO: test showwarehouseavailability - } - - /** - * Test the property 'extravailabilityflag' - */ - @Test - public void extravailabilityflagTest() { - // TODO: test extravailabilityflag - } - - /** - * Test the property 'includeallsystems' - */ - @Test - public void includeallsystemsTest() { - // TODO: test includeallsystems - } - - /** - * Test the property 'item' - */ - @Test - public void itemTest() { - // TODO: test item - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index c7b5358b..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityRequestServicerequestRequestpreamble - */ -public class PriceAndAvailabilityRequestServicerequestRequestpreambleTest { - private final PriceAndAvailabilityRequestServicerequestRequestpreamble model = new PriceAndAvailabilityRequestServicerequestRequestpreamble(); - - /** - * Model tests for PriceAndAvailabilityRequestServicerequestRequestpreamble - */ - @Test - public void testPriceAndAvailabilityRequestServicerequestRequestpreamble() { - // TODO: test PriceAndAvailabilityRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestTest.java deleted file mode 100644 index f832c58b..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityRequestServicerequestPriceandstockrequest; -import xiresellers.client.model.PriceAndAvailabilityRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityRequestServicerequest - */ -public class PriceAndAvailabilityRequestServicerequestTest { - private final PriceAndAvailabilityRequestServicerequest model = new PriceAndAvailabilityRequestServicerequest(); - - /** - * Model tests for PriceAndAvailabilityRequestServicerequest - */ - @Test - public void testPriceAndAvailabilityRequestServicerequest() { - // TODO: test PriceAndAvailabilityRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'priceandstockrequest' - */ - @Test - public void priceandstockrequestTest() { - // TODO: test priceandstockrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java index acc30d4e..890ecff9 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,12 @@ 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 xiresellers.client.model.PriceAndAvailabilityRequestServicerequest; +import java.util.List; +import xiresellers.client.model.PriceAndAvailabilityRequestAdditionalAttributesInner; +import xiresellers.client.model.PriceAndAvailabilityRequestAvailabilityByWarehouseInner; +import xiresellers.client.model.PriceAndAvailabilityRequestProductsInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +43,51 @@ public void testPriceAndAvailabilityRequest() { } /** - * Test the property 'servicerequest' + * Test the property 'showAvailableDiscounts' */ @Test - public void servicerequestTest() { - // TODO: test servicerequest + public void showAvailableDiscountsTest() { + // TODO: test showAvailableDiscounts + } + + /** + * Test the property 'showReserveInventoryDetails' + */ + @Test + public void showReserveInventoryDetailsTest() { + // TODO: test showReserveInventoryDetails + } + + /** + * Test the property 'specialBidNumber' + */ + @Test + public void specialBidNumberTest() { + // TODO: test specialBidNumber + } + + /** + * Test the property 'availabilityByWarehouse' + */ + @Test + public void availabilityByWarehouseTest() { + // TODO: test availabilityByWarehouse + } + + /** + * Test the property 'products' + */ + @Test + public void productsTest() { + // TODO: test products + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java index a03bc690..c3c2da1b 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java index 7def75ea..ce48ad27 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java index e835a237..e7f06edb 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java index dcec83ae..e7cd2932 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java index bbaffc16..fb6d9dc3 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java index f8d772c2..2f3fa8dd 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java index 26505dbc..1feab341 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java index baa75da7..7116efa0 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java index 8cec5446..9d269696 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java index 55482183..73943d82 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest.java deleted file mode 100644 index 9548914b..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest.java +++ /dev/null @@ -1,220 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.WarehouseListType; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - */ -public class PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInnerTest { - private final PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner model = new PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner(); - - /** - * Model tests for PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - */ - @Test - public void testPriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner() { - // TODO: test PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner - } - - /** - * Test the property 'itemstatus' - */ - @Test - public void itemstatusTest() { - // TODO: test itemstatus - } - - /** - * Test the property 'statusmessage' - */ - @Test - public void statusmessageTest() { - // TODO: test statusmessage - } - - /** - * Test the property 'ingrampartnumber' - */ - @Test - public void ingrampartnumberTest() { - // TODO: test ingrampartnumber - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'globalskuid' - */ - @Test - public void globalskuidTest() { - // TODO: test globalskuid - } - - /** - * Test the property 'customerprice' - */ - @Test - public void customerpriceTest() { - // TODO: test customerprice - } - - /** - * Test the property 'partdescription1' - */ - @Test - public void partdescription1Test() { - // TODO: test partdescription1 - } - - /** - * Test the property 'partdescription2' - */ - @Test - public void partdescription2Test() { - // TODO: test partdescription2 - } - - /** - * Test the property 'vendornumber' - */ - @Test - public void vendornumberTest() { - // TODO: test vendornumber - } - - /** - * Test the property 'vendorname' - */ - @Test - public void vendornameTest() { - // TODO: test vendorname - } - - /** - * Test the property 'cpucode' - */ - @Test - public void cpucodeTest() { - // TODO: test cpucode - } - - /** - * Test the property 'propertyClass' - */ - @Test - public void propertyClassTest() { - // TODO: test propertyClass - } - - /** - * Test the property 'skustatus' - */ - @Test - public void skustatusTest() { - // TODO: test skustatus - } - - /** - * Test the property 'mediacpu' - */ - @Test - public void mediacpuTest() { - // TODO: test mediacpu - } - - /** - * Test the property 'categorysubcategory' - */ - @Test - public void categorysubcategoryTest() { - // TODO: test categorysubcategory - } - - /** - * Test the property 'retailprice' - */ - @Test - public void retailpriceTest() { - // TODO: test retailprice - } - - /** - * Test the property 'newmedia' - */ - @Test - public void newmediaTest() { - // TODO: test newmedia - } - - /** - * Test the property 'enduserrequired' - */ - @Test - public void enduserrequiredTest() { - // TODO: test enduserrequired - } - - /** - * Test the property 'backorderflag' - */ - @Test - public void backorderflagTest() { - // TODO: test backorderflag - } - - /** - * Test the property 'skuauthorized' - */ - @Test - public void skuauthorizedTest() { - // TODO: test skuauthorized - } - - /** - * Test the property 'extendedvendorpartnumber' - */ - @Test - public void extendedvendorpartnumberTest() { - // TODO: test extendedvendorpartnumber - } - - /** - * Test the property 'warehousedetails' - */ - @Test - public void warehousedetailsTest() { - // TODO: test warehousedetails - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest.java deleted file mode 100644 index 9e225343..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest.java +++ /dev/null @@ -1,51 +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.PriceAndAvailabilityResponseServiceresponsePriceandstockresponseDetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - */ -public class PriceAndAvailabilityResponseServiceresponsePriceandstockresponseTest { - private final PriceAndAvailabilityResponseServiceresponsePriceandstockresponse model = new PriceAndAvailabilityResponseServiceresponsePriceandstockresponse(); - - /** - * Model tests for PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - */ - @Test - public void testPriceAndAvailabilityResponseServiceresponsePriceandstockresponse() { - // TODO: test PriceAndAvailabilityResponseServiceresponsePriceandstockresponse - } - - /** - * Test the property 'details' - */ - @Test - public void detailsTest() { - // TODO: test details - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseTest.java deleted file mode 100644 index e25966b9..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServiceresponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityResponseServiceresponse - */ -public class PriceAndAvailabilityResponseServiceresponseTest { - private final PriceAndAvailabilityResponseServiceresponse model = new PriceAndAvailabilityResponseServiceresponse(); - - /** - * Model tests for PriceAndAvailabilityResponseServiceresponse - */ - @Test - public void testPriceAndAvailabilityResponseServiceresponse() { - // TODO: test PriceAndAvailabilityResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'priceandstockresponse' - */ - @Test - public void priceandstockresponseTest() { - // TODO: test priceandstockresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java deleted file mode 100644 index 12637daa..00000000 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.PriceAndAvailabilityResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for PriceAndAvailabilityResponse - */ -public class PriceAndAvailabilityResponseTest { - private final PriceAndAvailabilityResponse model = new PriceAndAvailabilityResponse(); - - /** - * Model tests for PriceAndAvailabilityResponse - */ - @Test - public void testPriceAndAvailabilityResponse() { - // TODO: test PriceAndAvailabilityResponse - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java index 056e750d..67d3061c 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java index 0f334fb5..eae7bc59 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java index d7e34603..9bf6603c 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java index 7625e627..abdf6c44 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java index b0dc5456..a4719a61 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java index 34220615..8b99c163 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java index a44a4218..9f8496fd 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTest.java index 0f71a1eb..673c9784 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java index e8a5f89d..cd5b1f9e 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java index c9c81593..7649bab7 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java index 57ceb7b2..71d5b6a7 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java index fbd36885..74fca5ed 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java index f01559a3..5cf0bbd7 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java index e2e96667..786247d5 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java index 476a5fa7..74ee9e5a 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java index 56606111..18fa5cd3 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest.java deleted file mode 100644 index 2dbc8179..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest.java +++ /dev/null @@ -1,88 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - */ -public class ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInnerTest { - private final ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner model = new ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner(); - - /** - * Model tests for ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - */ - @Test - public void testProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner() { - // TODO: test ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner - } - - /** - * Test the property 'ingrampartnumber' - */ - @Test - public void ingrampartnumberTest() { - // TODO: test ingrampartnumber - } - - /** - * Test the property 'manufacturerpartnumber' - */ - @Test - public void manufacturerpartnumberTest() { - // TODO: test manufacturerpartnumber - } - - /** - * Test the property 'upccode' - */ - @Test - public void upccodeTest() { - // TODO: test upccode - } - - /** - * Test the property 'productdescription' - */ - @Test - public void productdescriptionTest() { - // TODO: test productdescription - } - - /** - * Test the property 'currency' - */ - @Test - public void currencyTest() { - // TODO: test currency - } - - /** - * Test the property 'haswarranty' - */ - @Test - public void haswarrantyTest() { - // TODO: test haswarranty - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerTest.java deleted file mode 100644 index 07592fee..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseProductsearchresponseInnerTest.java +++ /dev/null @@ -1,59 +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.ProductSearchResponseServiceresponseProductsearchresponseInnerPartnumbersInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchResponseServiceresponseProductsearchresponseInner - */ -public class ProductSearchResponseServiceresponseProductsearchresponseInnerTest { - private final ProductSearchResponseServiceresponseProductsearchresponseInner model = new ProductSearchResponseServiceresponseProductsearchresponseInner(); - - /** - * Model tests for ProductSearchResponseServiceresponseProductsearchresponseInner - */ - @Test - public void testProductSearchResponseServiceresponseProductsearchresponseInner() { - // TODO: test ProductSearchResponseServiceresponseProductsearchresponseInner - } - - /** - * Test the property 'responseflag' - */ - @Test - public void responseflagTest() { - // TODO: test responseflag - } - - /** - * Test the property 'partnumbers' - */ - @Test - public void partnumbersTest() { - // TODO: test partnumbers - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreambleTest.java deleted file mode 100644 index f100acca..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseResponsepreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchResponseServiceresponseResponsepreamble - */ -public class ProductSearchResponseServiceresponseResponsepreambleTest { - private final ProductSearchResponseServiceresponseResponsepreamble model = new ProductSearchResponseServiceresponseResponsepreamble(); - - /** - * Model tests for ProductSearchResponseServiceresponseResponsepreamble - */ - @Test - public void testProductSearchResponseServiceresponseResponsepreamble() { - // TODO: test ProductSearchResponseServiceresponseResponsepreamble - } - - /** - * Test the property 'requeststatus' - */ - @Test - public void requeststatusTest() { - // TODO: test requeststatus - } - - /** - * Test the property 'returncode' - */ - @Test - public void returncodeTest() { - // TODO: test returncode - } - - /** - * Test the property 'returnmessage' - */ - @Test - public void returnmessageTest() { - // TODO: test returnmessage - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseTest.java deleted file mode 100644 index 67c09da0..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseServiceresponseTest.java +++ /dev/null @@ -1,60 +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.ProductSearchResponseServiceresponseProductsearchresponseInner; -import xiresellers.client.model.ProductSearchResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchResponseServiceresponse - */ -public class ProductSearchResponseServiceresponseTest { - private final ProductSearchResponseServiceresponse model = new ProductSearchResponseServiceresponse(); - - /** - * Model tests for ProductSearchResponseServiceresponse - */ - @Test - public void testProductSearchResponseServiceresponse() { - // TODO: test ProductSearchResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'productsearchresponse' - */ - @Test - public void productsearchresponseTest() { - // TODO: test productsearchresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java index f3184588..c9f28751 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,10 @@ 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 xiresellers.client.model.ProductSearchResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.ProductSearchResponseCatalogInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +41,51 @@ public void testProductSearchResponse() { } /** - * Test the property 'serviceresponse' + * Test the property 'recordsFound' */ @Test - public void serviceresponseTest() { - // TODO: test serviceresponse + public void recordsFoundTest() { + // TODO: test recordsFound + } + + /** + * Test the property 'pageSize' + */ + @Test + public void pageSizeTest() { + // TODO: test pageSize + } + + /** + * Test the property 'pageNumber' + */ + @Test + public void pageNumberTest() { + // TODO: test pageNumber + } + + /** + * Test the property 'catalog' + */ + @Test + public void catalogTest() { + // TODO: test catalog + } + + /** + * Test the property 'nextPage' + */ + @Test + public void nextPageTest() { + // TODO: test nextPage + } + + /** + * Test the property 'previousPage' + */ + @Test + public void previousPageTest() { + // TODO: test previousPage } } diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java index a8137c15..e1e4df02 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java index 9dd05583..8d1ed427 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java index dcc65016..a2e47b24 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java index f1d81017..af6051f7 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java index cf19500a..a49bbe5e 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java index d556e706..025d038a 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java index 7dca0b75..0f588ce6 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java index f265ab4a..31772f33 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java index 75971c2b..ee7c92e9 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java index 01e0473c..8e2b9c8b 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java index 75b8bc51..c08b8ad3 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java index efb97618..b26384a6 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java index c266b602..3b048b5c 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java index 594fa770..822d57ab 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java index 2ca2b4d4..8b5f01f3 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java index df5aa408..65de04a6 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java index 0e233dfd..66975594 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java index 1a98b3a6..bffaac98 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java index 50333ccf..855257be 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsTest.java index f4945898..37826819 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreambleTest.java b/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreambleTest.java deleted file mode 100644 index 0ae369c2..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRequestPreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListRequestQuoteSearchRequestRequestPreamble - */ -public class QuoteListRequestQuoteSearchRequestRequestPreambleTest { - private final QuoteListRequestQuoteSearchRequestRequestPreamble model = new QuoteListRequestQuoteSearchRequestRequestPreamble(); - - /** - * Model tests for QuoteListRequestQuoteSearchRequestRequestPreamble - */ - @Test - public void testQuoteListRequestQuoteSearchRequestRequestPreamble() { - // TODO: test QuoteListRequestQuoteSearchRequestRequestPreamble - } - - /** - * Test the property 'customerNumber' - */ - @Test - public void customerNumberTest() { - // TODO: test customerNumber - } - - /** - * Test the property 'customerContact' - */ - @Test - public void customerContactTest() { - // TODO: test customerContact - } - - /** - * Test the property 'isoCountryCode' - */ - @Test - public void isoCountryCodeTest() { - // TODO: test isoCountryCode - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest.java b/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest.java deleted file mode 100644 index 758c3228..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest.java +++ /dev/null @@ -1,121 +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.time.LocalDate; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - */ -public class QuoteListRequestQuoteSearchRequestRetrieveQuoteRequestTest { - private final QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest model = new QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest(); - - /** - * Model tests for QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - */ - @Test - public void testQuoteListRequestQuoteSearchRequestRetrieveQuoteRequest() { - // TODO: test QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'bidNumber' - */ - @Test - public void bidNumberTest() { - // TODO: test bidNumber - } - - /** - * Test the property 'endUserName' - */ - @Test - public void endUserNameTest() { - // TODO: test endUserName - } - - /** - * Test the property 'fromDate' - */ - @Test - public void fromDateTest() { - // TODO: test fromDate - } - - /** - * Test the property 'toDate' - */ - @Test - public void toDateTest() { - // TODO: test toDate - } - - /** - * Test the property 'pageIndex' - */ - @Test - public void pageIndexTest() { - // TODO: test pageIndex - } - - /** - * Test the property 'recordsPerPage' - */ - @Test - public void recordsPerPageTest() { - // TODO: test recordsPerPage - } - - /** - * Test the property 'sorting' - */ - @Test - public void sortingTest() { - // TODO: test sorting - } - - /** - * Test the property 'sortingColumnName' - */ - @Test - public void sortingColumnNameTest() { - // TODO: test sortingColumnName - } - - /** - * Test the property 'thirdPartySource' - */ - @Test - public void thirdPartySourceTest() { - // TODO: test thirdPartySource - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestTest.java b/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestTest.java deleted file mode 100644 index f0af3b74..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListRequestQuoteSearchRequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequestRequestPreamble; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequestRetrieveQuoteRequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListRequestQuoteSearchRequest - */ -public class QuoteListRequestQuoteSearchRequestTest { - private final QuoteListRequestQuoteSearchRequest model = new QuoteListRequestQuoteSearchRequest(); - - /** - * Model tests for QuoteListRequestQuoteSearchRequest - */ - @Test - public void testQuoteListRequestQuoteSearchRequest() { - // TODO: test QuoteListRequestQuoteSearchRequest - } - - /** - * Test the property 'requestPreamble' - */ - @Test - public void requestPreambleTest() { - // TODO: test requestPreamble - } - - /** - * Test the property 'retrieveQuoteRequest' - */ - @Test - public void retrieveQuoteRequestTest() { - // TODO: test retrieveQuoteRequest - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListRequestTest.java b/src/test/java/xiresellers/client/model/QuoteListRequestTest.java deleted file mode 100644 index 38b80e90..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.QuoteListRequestQuoteSearchRequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListRequest - */ -public class QuoteListRequestTest { - private final QuoteListRequest model = new QuoteListRequest(); - - /** - * Model tests for QuoteListRequest - */ - @Test - public void testQuoteListRequest() { - // TODO: test QuoteListRequest - } - - /** - * Test the property 'quoteSearchRequest' - */ - @Test - public void quoteSearchRequestTest() { - // TODO: test quoteSearchRequest - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java index 367e7ef4..9825c090 100644 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java index ec51b566..770a81ae 100644 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java +++ b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java index 4b98f20c..0b742de1 100644 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseTest.java index 4d4b498b..1edbe272 100644 --- a/src/test/java/xiresellers/client/model/QuoteListResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteListResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java b/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java index c8f5de2d..c44446db 100644 --- a/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java +++ b/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteProductListTest.java b/src/test/java/xiresellers/client/model/QuoteProductListTest.java index 652dac9a..ae635da2 100644 --- a/src/test/java/xiresellers/client/model/QuoteProductListTest.java +++ b/src/test/java/xiresellers/client/model/QuoteProductListTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java index 1e1e35fb..2277a8d3 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java index bebef03a..eafee047 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java index b8351bee..a6f83434 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java index 6086e01f..ebf6968f 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java index be9cbc12..f8c2b937 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java index 4faee5ca..4306c9cb 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java index c7843194..84740bb2 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java index c0ea3bb0..d37f83be 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java index 2ceb6ac5..82e6870d 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java index 454799a2..006b3cf4 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java index fbbe2823..29b5c1b5 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java index 5851f61e..9b21f0ef 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java index ecd963e8..661bb415 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java index f05fe78c..bac5b35a 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java index c7f5a753..e063d4c7 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java index eaee21fd..213bbcb2 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java index efad8118..644e9d1a 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java index 1009eb65..290420c6 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java index a00d3d0f..a9394c50 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java index 64262ae4..92146f12 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java index 25aaf24b..f187a21f 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java index 1aef8498..f28b05b2 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java index 213d8692..512fb472 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java index 9f2d9030..fa476e1f 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java index e22f6d2e..48788123 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java index fedbf279..90c71162 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java index ed069df8..1acbd43e 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java index e94e3a96..623e7209 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java index 1ffc2142..d5c03a00 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java index 96b45c5c..3fbae93a 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java index d778c3ea..b3226598 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java index 3049316b..869bef0a 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java index fae1ff2d..4fea9f84 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java index 4989e386..1c81dbf7 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java index 6d930c42..2565f493 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java index d29fe725..e88c92b8 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java index 137fce2f..d5988be8 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java index 9c1d4850..8bcd1436 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java index 9d8701c6..f4bcbafc 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI Sdk Resellers + * XI SDK Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/WarehouseListTypeTest.java b/src/test/java/xiresellers/client/model/WarehouseListTypeTest.java deleted file mode 100644 index a3efd964..00000000 --- a/src/test/java/xiresellers/client/model/WarehouseListTypeTest.java +++ /dev/null @@ -1,88 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for WarehouseListType - */ -public class WarehouseListTypeTest { - private final WarehouseListType model = new WarehouseListType(); - - /** - * Model tests for WarehouseListType - */ - @Test - public void testWarehouseListType() { - // TODO: test WarehouseListType - } - - /** - * Test the property 'warehouseid' - */ - @Test - public void warehouseidTest() { - // TODO: test warehouseid - } - - /** - * Test the property 'warehousedescription' - */ - @Test - public void warehousedescriptionTest() { - // TODO: test warehousedescription - } - - /** - * Test the property 'availablequantity' - */ - @Test - public void availablequantityTest() { - // TODO: test availablequantity - } - - /** - * Test the property 'onorderquantity' - */ - @Test - public void onorderquantityTest() { - // TODO: test onorderquantity - } - - /** - * Test the property 'onholdquantity' - */ - @Test - public void onholdquantityTest() { - // TODO: test onholdquantity - } - - /** - * Test the property 'etadate' - */ - @Test - public void etadateTest() { - // TODO: test etadate - } - -} From d2dea9110511c8b14a177468f43616b849336633 Mon Sep 17 00:00:00 2001 From: ingrammicro-xvantage Date: Fri, 16 Feb 2024 07:02:50 +0000 Subject: [PATCH 2/6] Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispec/commit/9120ec8dea0327a82eeec835889b463029a51afd --- .openapi-generator/FILES | 201 +- README.md | 71 +- api/openapi.yaml | 2468 ++++------------- docs/InvoiceDetailRequest.md | 13 - docs/InvoiceDetailRequestServicerequest.md | 14 - ...questServicerequestInvoicedetailrequest.md | 13 - ...ailRequestServicerequestRequestpreamble.md | 14 - ...nseServiceresponseInvoicedetailresponse.md | 25 +- docs/MultiSKUPriceAndStockRequest.md | 14 - ...tiSKUPriceAndStockRequestServicerequest.md | 14 - ...questServicerequestPriceandstockrequest.md | 16 - ...tServicerequestPriceandstockrequestItem.md | 18 - ...ockRequestServicerequestRequestpreamble.md | 14 - docs/MultiSKUPriceAndStockResponse.md | 14 - ...SKUPriceAndStockResponseServiceresponse.md | 14 - ...nseServiceresponsePriceandstockresponse.md | 13 - ...sponsePriceandstockresponseDetailsInner.md | 70 - ...sponseDetailsInnerWarehousedetailsInner.md | 30 - ...ResponseServiceresponseResponsepreamble.md | 15 - docs/OrderDeleteRequest.md | 14 - docs/OrderDeleteRequestServicerequest.md | 14 - ...ServicerequestOrderDeleteRequestDetails.md | 19 - ...eteRequestServicerequestRequestpreamble.md | 14 - docs/OrderDeleteResponse.md | 14 - docs/OrderDeleteResponseServiceresponse.md | 13 - ...ResponseServiceresponseResponsepreamble.md | 15 - docs/OrderDetailRequest.md | 14 - docs/OrderDetailRequestServicerequest.md | 14 - ...RequestServicerequestOrderdetailrequest.md | 16 - docs/OrderModifyRequest.md | 6 +- docs/OrderModifyRequestServicerequest.md | 14 - ...RequestServicerequestOrdermodifyrequest.md | 20 - ...vicerequestOrdermodifyrequestHeaderdata.md | 14 - ...erequestOrdermodifyrequestLinedataInner.md | 19 - ...tServicerequestOrdermodifyrequestShipto.md | 19 - ...ifyRequestServicerequestRequestpreamble.md | 14 - docs/OrderModifyResponse.md | 18 +- docs/OrderModifyResponseServiceresponse.md | 14 - ...ponseServiceresponseOrdermodifyresponse.md | 17 - ...ResponseServiceresponseResponsepreamble.md | 14 - docs/OrderSearchRequest.md | 14 - docs/OrderSearchRequestServicerequest.md | 14 - ...RequestServicerequestOrderLookupRequest.md | 14 - ...stOrderLookupRequestCustomerOrderNumber.md | 13 - ...icerequestOrderLookupRequestOrderNumber.md | 17 - ...rchRequestServicerequestRequestpreamble.md | 14 - docs/ProductSearchRequest.md | 14 - docs/ProductSearchRequestServicerequest.md | 14 - ...questServicerequestProductsearchrequest.md | 13 - ...questProductsearchrequestSearchcriteria.md | 17 - ...rchRequestServicerequestRequestpreamble.md | 15 - docs/QuoteDetails.md | 14 - docs/QuoteDetailsQuoteDetailResponse.md | 19 - ...ailsQuoteDetailResponseResponsePreamble.md | 15 - ...uoteDetailResponseRetrieveQuoteResponse.md | 35 - ...esponseRetrieveQuoteResponseAccountInfo.md | 15 - ...esponseRetrieveQuoteResponseContactInfo.md | 14 - ...ailResponseRetrieveQuoteResponseEndUser.md | 23 - ...seRetrieveQuoteResponseVendorAttributes.md | 16 - docs/QuoteDetailsRequest.md | 14 - ...QuoteDetailsRequestQuoteProductsRequest.md | 14 - ...uestQuoteProductsRequestRequestpreamble.md | 14 - ...uctsRequestRetrieveQuoteProductsRequest.md | 14 - docs/QuoteDetailsResponse.md | 27 +- ...QuoteDetailsResponseQuoteDetailResponse.md | 14 - ...uoteDetailResponseRetrieveQuoteResponse.md | 40 - docs/QuoteListResponse.md | 14 - docs/QuoteListResponseQuoteSearchResponse.md | 15 - ...sponseQuoteSearchResponseQuoteListInner.md | 22 - ...onseQuoteSearchResponseResponsePreamble.md | 15 - docs/QuoteProductList.md | 28 - docs/QuoteProductListPrice.md | 16 - docs/QuoteToOrderDetailsDTOLinesInner.md | 2 +- ...InnerVmfAdditionalAttributesLinesInner.md} | 2 +- docs/ValidateQuoteResponseLinesInner.md | 2 +- .../java/xiresellers/client/ApiCallback.java | 2 +- .../java/xiresellers/client/ApiClient.java | 2 +- .../java/xiresellers/client/ApiException.java | 4 +- .../java/xiresellers/client/ApiResponse.java | 2 +- .../xiresellers/client/Configuration.java | 4 +- .../client/GzipRequestInterceptor.java | 2 +- src/main/java/xiresellers/client/JSON.java | 69 +- src/main/java/xiresellers/client/Pair.java | 4 +- .../client/ProgressRequestBody.java | 2 +- .../client/ProgressResponseBody.java | 2 +- .../java/xiresellers/client/StringUtil.java | 4 +- .../java/xiresellers/client/api/DealsApi.java | 2 +- .../client/api/FreightEstimateApi.java | 2 +- .../xiresellers/client/api/InvoicesApi.java | 2 +- .../xiresellers/client/api/InvoicesV6Api.java | 2 +- .../client/api/OrderStatusApi.java | 2 +- .../xiresellers/client/api/OrdersApi.java | 2 +- .../xiresellers/client/api/OrdersV6Api.java | 2 +- .../client/api/ProductCatalogApi.java | 2 +- .../client/api/QuoteToOrderApi.java | 2 +- .../xiresellers/client/api/QuotesApi.java | 2 +- .../xiresellers/client/api/RenewalsApi.java | 2 +- .../xiresellers/client/api/ReturnsApi.java | 2 +- .../client/api/StockUpdateApi.java | 2 +- .../xiresellers/client/auth/ApiKeyAuth.java | 4 +- .../client/auth/Authentication.java | 2 +- .../client/auth/HttpBasicAuth.java | 2 +- .../client/auth/HttpBearerAuth.java | 4 +- .../java/xiresellers/client/auth/OAuth.java | 4 +- .../xiresellers/client/auth/OAuthFlow.java | 4 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../xiresellers/client/model/AddressType.java | 4 +- .../AvailabilityAsyncNotificationRequest.java | 4 +- ...AsyncNotificationRequestResourceInner.java | 4 +- ...icationRequestResourceInnerLinksInner.java | 4 +- .../client/model/DealsDetailsResponse.java | 4 +- .../DealsDetailsResponseProductsInner.java | 4 +- .../client/model/DealsSearchResponse.java | 4 +- .../model/DealsSearchResponseDealsInner.java | 4 +- .../java/xiresellers/client/model/Error.java | 4 +- .../client/model/ErrorResponse.java | 4 +- .../client/model/ErrorResponseDTO.java | 4 +- .../model/ErrorResponseErrorsInner.java | 4 +- .../ErrorResponseErrorsInnerFieldsInner.java | 4 +- .../java/xiresellers/client/model/Fields.java | 4 +- .../client/model/FreightRequest.java | 4 +- .../model/FreightRequestLinesInner.java | 4 +- .../FreightRequestShipToAddressInner.java | 4 +- .../client/model/FreightResponse.java | 4 +- ...reightResponseFreightEstimateResponse.java | 4 +- ...ightEstimateResponseDistributionInner.java | 4 +- ...onseDistributionInnerCarrierListInner.java | 4 +- ...onseFreightEstimateResponseLinesInner.java | 4 +- ...GetResellerV6ValidateQuote400Response.java | 4 +- ...V6ValidateQuote400ResponseFieldsInner.java | 4 +- ...GetResellerV6ValidateQuote500Response.java | 4 +- .../client/model/InvoiceDetailRequest.java | 208 -- .../InvoiceDetailRequestServicerequest.java | 239 -- ...estServicerequestInvoicedetailrequest.java | 214 -- ...lRequestServicerequestRequestpreamble.java | 244 -- .../client/model/InvoiceDetailResponse.java | 4 +- .../InvoiceDetailResponseServiceresponse.java | 4 +- ...eServiceresponseInvoicedetailresponse.java | 706 ++++- ...voicedetailresponseExtendedspecsInner.java | 4 +- ...InvoicedetailresponseMiscfeelineInner.java | 4 +- ...sponseServiceresponseResponsepreamble.java | 4 +- .../model/InvoiceDetailsv61Response.java | 4 +- .../InvoiceDetailsv61ResponseBillToInfo.java | 4 +- .../InvoiceDetailsv61ResponseFxRateInfo.java | 4 +- .../InvoiceDetailsv61ResponseLinesInner.java | 4 +- ...1ResponseLinesInnerSerialNumbersInner.java | 4 +- ...iceDetailsv61ResponsePaymentTermsInfo.java | 4 +- .../InvoiceDetailsv61ResponseShipToInfo.java | 4 +- .../InvoiceDetailsv61ResponseSummary.java | 4 +- ...ailsv61ResponseSummaryForeignFxTotals.java | 4 +- ...InvoiceDetailsv61ResponseSummaryLines.java | 4 +- ...ilsv61ResponseSummaryMiscChargesInner.java | 4 +- ...nvoiceDetailsv61ResponseSummaryTotals.java | 4 +- .../client/model/InvoiceSearchResponse.java | 4 +- .../InvoiceSearchResponseInvoicesInner.java | 4 +- .../model/MultiSKUPriceAndStockRequest.java | 208 -- ...SKUPriceAndStockRequestServicerequest.java | 239 -- ...estServicerequestPriceandstockrequest.java | 292 -- ...ervicerequestPriceandstockrequestItem.java | 348 --- ...kRequestServicerequestRequestpreamble.java | 244 -- .../model/MultiSKUPriceAndStockResponse.java | 208 -- ...UPriceAndStockResponseServiceresponse.java | 239 -- ...eServiceresponsePriceandstockresponse.java | 228 -- ...onsePriceandstockresponseDetailsInner.java | 1029 ------- ...onseDetailsInnerWarehousedetailsInner.java | 407 --- ...sponseServiceresponseResponsepreamble.java | 264 -- .../client/model/OrderCreateRequest.java | 4 +- ...reateRequestAdditionalAttributesInner.java | 4 +- .../model/OrderCreateRequestEndUserInfo.java | 4 +- .../model/OrderCreateRequestLinesInner.java | 4 +- ...stLinesInnerAdditionalAttributesInner.java | 4 +- ...eateRequestLinesInnerEndUserInfoInner.java | 4 +- ...ateRequestLinesInnerWarrantyInfoInner.java | 4 +- ...InnerWarrantyInfoInnerSerialInfoInner.java | 4 +- .../model/OrderCreateRequestResellerInfo.java | 4 +- .../model/OrderCreateRequestShipToInfo.java | 4 +- .../OrderCreateRequestShipmentDetails.java | 4 +- .../client/model/OrderCreateRequestVmf.java | 4 +- .../client/model/OrderCreateResponse.java | 4 +- .../model/OrderCreateResponseEndUserInfo.java | 4 +- .../model/OrderCreateResponseOrdersInner.java | 4 +- ...eOrdersInnerAdditionalAttributesInner.java | 4 +- ...erCreateResponseOrdersInnerLinesInner.java | 4 +- ...erLinesInnerAdditionalAttributesInner.java | 4 +- ...rsInnerLinesInnerShipmentDetailsInner.java | 4 +- ...erCreateResponseOrdersInnerLinksInner.java | 4 +- ...eOrdersInnerMiscellaneousChargesInner.java | 4 +- ...onseOrdersInnerRejectedLineItemsInner.java | 4 +- .../model/OrderCreateResponseShipToInfo.java | 4 +- .../client/model/OrderDeleteRequest.java | 208 -- .../OrderDeleteRequestServicerequest.java | 245 -- ...rvicerequestOrderDeleteRequestDetails.java | 390 --- ...eRequestServicerequestRequestpreamble.java | 244 -- .../client/model/OrderDeleteResponse.java | 208 -- .../OrderDeleteResponseServiceresponse.java | 208 -- ...sponseServiceresponseResponsepreamble.java | 264 -- .../client/model/OrderDetailB2B.java | 4 +- ...derDetailB2BAdditionalAttributesInner.java | 4 +- .../model/OrderDetailB2BBillToInfo.java | 4 +- .../model/OrderDetailB2BEndUserInfo.java | 4 +- .../model/OrderDetailB2BLinesInner.java | 4 +- ...2BLinesInnerAdditionalAttributesInner.java | 4 +- ...etailB2BLinesInnerEstimatedDatesInner.java | 4 +- ...LinesInnerEstimatedDatesInnerDelivery.java | 4 +- ...edDatesInnerDeliveryDeliveryDateRange.java | 4 +- ...lB2BLinesInnerEstimatedDatesInnerShip.java | 4 +- ...rEstimatedDatesInnerShipShipDateRange.java | 4 +- .../OrderDetailB2BLinesInnerLinksInner.java | 4 +- ...ilB2BLinesInnerMultipleShipmentsInner.java | 4 +- ...DetailB2BLinesInnerScheduleLinesInner.java | 4 +- ...etailB2BLinesInnerServiceContractInfo.java | 4 +- ...sInnerServiceContractInfoContractInfo.java | 4 +- ...esInnerServiceContractInfoLicenseInfo.java | 4 +- ...InnerServiceContractInfoSubscriptions.java | 4 +- ...tailB2BLinesInnerShipmentDetailsInner.java | 4 +- ...ipmentDetailsInnerCarrierDetailsInner.java | 4 +- ...rrierDetailsInnerTrackingDetailsInner.java | 4 +- ...rackingDetailsInnerSerialNumbersInner.java | 4 +- ...derDetailB2BMiscellaneousChargesInner.java | 4 +- .../model/OrderDetailB2BShipToInfo.java | 4 +- .../client/model/OrderDetailRequest.java | 208 -- .../OrderDetailRequestServicerequest.java | 245 -- ...questServicerequestOrderdetailrequest.java | 301 -- .../client/model/OrderDetailResponse.java | 4 +- .../model/OrderDetailResponseBillToInfo.java | 4 +- .../model/OrderDetailResponseEndUserInfo.java | 4 +- .../model/OrderDetailResponseLinesInner.java | 4 +- ...seLinesInnerAdditionalAttributesInner.java | 4 +- ...derDetailResponseLinesInnerLinksInner.java | 4 +- ...esponseLinesInnerShipmentDetailsInner.java | 4 +- ...nerShipmentDetailsInnerCarrierDetails.java | 4 +- ...nerCarrierDetailsTrackingDetailsInner.java | 4 +- ...rackingDetailsInnerSerialNumbersInner.java | 4 +- ...tailResponseMiscellaneousChargesInner.java | 4 +- .../model/OrderDetailResponseShipToInfo.java | 4 +- .../client/model/OrderModifyRequest.java | 173 +- ...odifyRequestAdditionalAttributesInner.java | 4 +- .../model/OrderModifyRequestLinesInner.java | 4 +- .../OrderModifyRequestServicerequest.java | 239 -- ...questServicerequestOrdermodifyrequest.java | 435 --- ...cerequestOrdermodifyrequestHeaderdata.java | 235 -- ...equestOrdermodifyrequestLinedataInner.java | 377 --- ...ervicerequestOrdermodifyrequestShipto.java | 380 --- ...yRequestServicerequestRequestpreamble.java | 235 -- .../model/OrderModifyRequestShipToInfo.java | 4 +- .../client/model/OrderModifyResponse.java | 530 +++- .../model/OrderModifyResponseLinesInner.java | 4 +- ...seLinesInnerAdditionalAttributesInner.java | 4 +- ...difyResponseLinesInnerShipmentDetails.java | 4 +- ...rModifyResponseRejectedLineItemsInner.java | 4 +- .../OrderModifyResponseServiceresponse.java | 239 -- ...nseServiceresponseOrdermodifyresponse.java | 322 --- ...sponseServiceresponseResponsepreamble.java | 235 -- .../model/OrderModifyResponseShipToInfo.java | 4 +- .../client/model/OrderSearchRequest.java | 208 -- .../OrderSearchRequestServicerequest.java | 245 -- ...questServicerequestOrderLookupRequest.java | 239 -- ...OrderLookupRequestCustomerOrderNumber.java | 206 -- ...erequestOrderLookupRequestOrderNumber.java | 331 --- ...hRequestServicerequestRequestpreamble.java | 244 -- .../client/model/OrderSearchResponse.java | 4 +- .../model/OrderSearchResponseOrdersInner.java | 4 +- .../OrderSearchResponseOrdersInnerLinks.java | 4 +- ...archResponseOrdersInnerSubOrdersInner.java | 4 +- ...seOrdersInnerSubOrdersInnerLinksInner.java | 4 +- .../OrderStatusAsyncNotificationRequest.java | 4 +- ...AsyncNotificationRequestResourceInner.java | 4 +- ...icationRequestResourceInnerLinesInner.java | 4 +- ...nerLinesInnerSerialNumberDetailsInner.java | 4 +- ...ceInnerLinesInnerShipmentDetailsInner.java | 4 +- ...ipmentDetailsInnerPackageDetailsInner.java | 4 +- ...icationRequestResourceInnerLinksInner.java | 4 +- .../model/PostQuoteToOrderV6400Response.java | 4 +- ...tQuoteToOrderV6400ResponseFieldsInner.java | 4 +- .../model/PostRenewalssearch400Response.java | 4 +- .../model/PriceAndAvailabilityRequest.java | 4 +- ...ilityRequestAdditionalAttributesInner.java | 4 +- ...tyRequestAvailabilityByWarehouseInner.java | 4 +- ...ceAndAvailabilityRequestProductsInner.java | 4 +- ...roductsInnerAdditionalAttributesInner.java | 4 +- .../PriceAndAvailabilityResponseInner.java | 4 +- ...AvailabilityResponseInnerAvailability.java | 4 +- ...ilabilityAvailabilityByWarehouseInner.java | 4 +- ...ityByWarehouseInnerBackOrderInfoInner.java | 4 +- ...ailabilityResponseInnerDiscountsInner.java | 4 +- ...rDiscountsInnerQuantityDiscountsInner.java | 4 +- ...nnerDiscountsInnerSpecialPricingInner.java | 4 +- ...ceAndAvailabilityResponseInnerPricing.java | 4 +- ...onseInnerReserveInventoryDetailsInner.java | 4 +- ...labilityResponseInnerServiceFeesInner.java | 4 +- .../client/model/ProductDetailResponse.java | 4 +- ...ctDetailResponseAdditionalInformation.java | 4 +- ...ditionalInformationProductWeightInner.java | 4 +- .../ProductDetailResponseCiscoFields.java | 4 +- .../ProductDetailResponseIndicators.java | 4 +- ...lResponseTechnicalSpecificationsInner.java | 4 +- .../client/model/ProductLineType.java | 4 +- ...oductLineTypeSerialnumberdetailsInner.java | 4 +- ...uctLineTypeTrackingnumberdetailsInner.java | 4 +- .../client/model/ProductSearchRequest.java | 208 -- .../ProductSearchRequestServicerequest.java | 239 -- ...estServicerequestProductsearchrequest.java | 208 -- ...estProductsearchrequestSearchcriteria.java | 322 --- ...hRequestServicerequestRequestpreamble.java | 273 -- .../client/model/ProductSearchResponse.java | 4 +- .../ProductSearchResponseCatalogInner.java | 4 +- ...tSearchResponseCatalogInnerLinksInner.java | 4 +- .../client/model/QuoteDetails.java | 208 -- .../QuoteDetailsQuoteDetailResponse.java | 403 --- ...lsQuoteDetailResponseResponsePreamble.java | 264 -- ...teDetailResponseRetrieveQuoteResponse.java | 838 ------ ...ponseRetrieveQuoteResponseAccountInfo.java | 264 -- ...ponseRetrieveQuoteResponseContactInfo.java | 235 -- ...lResponseRetrieveQuoteResponseEndUser.java | 496 ---- ...RetrieveQuoteResponseVendorAttributes.java | 293 -- .../client/model/QuoteDetailsRequest.java | 208 -- ...oteDetailsRequestQuoteProductsRequest.java | 239 -- ...stQuoteProductsRequestRequestpreamble.java | 244 -- ...tsRequestRetrieveQuoteProductsRequest.java | 235 -- .../client/model/QuoteDetailsResponse.java | 799 +++++- ...ailsResponseAdditionalAttributesInner.java | 4 +- .../QuoteDetailsResponseEndUserInfo.java | 4 +- .../QuoteDetailsResponseProductsInner.java | 4 +- ...uoteDetailsResponseProductsInnerPrice.java | 4 +- ...oteDetailsResponseQuoteDetailResponse.java | 239 -- ...teDetailResponseRetrieveQuoteResponse.java | 1019 ------- .../QuoteDetailsResponseResellerInfo.java | 4 +- .../client/model/QuoteListResponse.java | 208 -- .../QuoteListResponseQuoteSearchResponse.java | 285 -- ...onseQuoteSearchResponseQuoteListInner.java | 456 --- ...seQuoteSearchResponseResponsePreamble.java | 264 -- .../client/model/QuoteProductList.java | 614 ---- .../client/model/QuoteProductListPrice.java | 282 -- .../client/model/QuoteSearchResponse.java | 4 +- .../model/QuoteSearchResponseQuotesInner.java | 4 +- .../client/model/QuoteToOrderDetailsDTO.java | 4 +- ...erDetailsDTOAdditionalAttributesInner.java | 4 +- ...uoteToOrderDetailsDTOEndUserInfoInner.java | 4 +- .../QuoteToOrderDetailsDTOLinesInner.java | 18 +- ...nerVmfAdditionalAttributesLinesInner.java} | 62 +- ...QuoteToOrderDetailsDTOShipToInfoInner.java | 4 +- ...etailsDTOVmfadditionalAttributesInner.java | 4 +- .../client/model/QuoteToOrderResponse.java | 4 +- .../client/model/RenewalsDetailsResponse.java | 4 +- ...ailsResponseAdditionalAttributesInner.java | 4 +- ...newalsDetailsResponseEndUserInfoInner.java | 4 +- .../RenewalsDetailsResponseProductsInner.java | 4 +- ...lsDetailsResponseReferenceNumberInner.java | 4 +- .../client/model/RenewalsSearchRequest.java | 4 +- .../model/RenewalsSearchRequestDataType.java | 4 +- .../RenewalsSearchRequestDataTypeEndDate.java | 4 +- ...lsSearchRequestDataTypeExpirationDate.java | 4 +- ...ewalsSearchRequestDataTypeInvoiceDate.java | 4 +- ...enewalsSearchRequestDataTypeStartDate.java | 4 +- .../model/RenewalsSearchRequestStatus.java | 4 +- ...lsSearchRequestStatusOpporutinyStatus.java | 4 +- .../client/model/RenewalsSearchResponse.java | 4 +- .../RenewalsSearchResponseRenewalsInner.java | 4 +- ...SearchResponseRenewalsInnerLinksInner.java | 4 +- .../client/model/ReturnsCreateRequest.java | 4 +- .../model/ReturnsCreateRequestListInner.java | 4 +- ...eateRequestListInnerShipFromInfoInner.java | 4 +- .../client/model/ReturnsCreateResponse.java | 4 +- ...turnsCreateResponseReturnsClaimsInner.java | 4 +- .../client/model/ReturnsDetailsResponse.java | 4 +- .../ReturnsDetailsResponseProductsInner.java | 4 +- .../client/model/ReturnsSearchResponse.java | 4 +- ...turnsSearchResponseReturnsClaimsInner.java | 4 +- ...hResponseReturnsClaimsInnerLinksInner.java | 4 +- .../client/model/ValidateQuoteResponse.java | 4 +- .../ValidateQuoteResponseLinesInner.java | 18 +- ...eResponseVmfAdditionalAttributesInner.java | 4 +- .../xiresellers/client/api/DealsApiTest.java | 2 +- .../client/api/FreightEstimateApiTest.java | 2 +- .../client/api/InvoicesApiTest.java | 2 +- .../client/api/InvoicesV6ApiTest.java | 2 +- .../client/api/OrderStatusApiTest.java | 2 +- .../xiresellers/client/api/OrdersApiTest.java | 2 +- .../client/api/OrdersV6ApiTest.java | 2 +- .../client/api/ProductCatalogApiTest.java | 2 +- .../client/api/QuoteToOrderApiTest.java | 2 +- .../xiresellers/client/api/QuotesApiTest.java | 2 +- .../client/api/RenewalsApiTest.java | 2 +- .../client/api/ReturnsApiTest.java | 2 +- .../client/api/StockUpdateApiTest.java | 2 +- .../client/model/AddressTypeTest.java | 2 +- ...ionRequestResourceInnerLinksInnerTest.java | 2 +- ...cNotificationRequestResourceInnerTest.java | 2 +- ...ilabilityAsyncNotificationRequestTest.java | 2 +- ...DealsDetailsResponseProductsInnerTest.java | 2 +- .../model/DealsDetailsResponseTest.java | 2 +- .../DealsSearchResponseDealsInnerTest.java | 2 +- .../client/model/DealsSearchResponseTest.java | 2 +- .../client/model/ErrorResponseDTOTest.java | 2 +- ...rorResponseErrorsInnerFieldsInnerTest.java | 2 +- .../model/ErrorResponseErrorsInnerTest.java | 2 +- .../client/model/ErrorResponseTest.java | 2 +- .../xiresellers/client/model/ErrorTest.java | 2 +- .../xiresellers/client/model/FieldsTest.java | 2 +- .../model/FreightRequestLinesInnerTest.java | 2 +- .../FreightRequestShipToAddressInnerTest.java | 2 +- .../client/model/FreightRequestTest.java | 2 +- ...DistributionInnerCarrierListInnerTest.java | 2 +- ...EstimateResponseDistributionInnerTest.java | 2 +- ...FreightEstimateResponseLinesInnerTest.java | 2 +- ...htResponseFreightEstimateResponseTest.java | 2 +- .../client/model/FreightResponseTest.java | 2 +- ...lidateQuote400ResponseFieldsInnerTest.java | 2 +- ...esellerV6ValidateQuote400ResponseTest.java | 2 +- ...esellerV6ValidateQuote500ResponseTest.java | 2 +- ...ervicerequestInvoicedetailrequestTest.java | 48 - ...uestServicerequestRequestpreambleTest.java | 56 - ...nvoiceDetailRequestServicerequestTest.java | 58 - .../model/InvoiceDetailRequestTest.java | 49 - ...edetailresponseExtendedspecsInnerTest.java | 2 +- ...icedetailresponseMiscfeelineInnerTest.java | 2 +- ...viceresponseInvoicedetailresponseTest.java | 177 +- ...seServiceresponseResponsepreambleTest.java | 2 +- ...oiceDetailResponseServiceresponseTest.java | 2 +- .../model/InvoiceDetailResponseTest.java | 2 +- ...voiceDetailsv61ResponseBillToInfoTest.java | 2 +- ...voiceDetailsv61ResponseFxRateInfoTest.java | 2 +- ...ponseLinesInnerSerialNumbersInnerTest.java | 2 +- ...voiceDetailsv61ResponseLinesInnerTest.java | 2 +- ...etailsv61ResponsePaymentTermsInfoTest.java | 2 +- ...voiceDetailsv61ResponseShipToInfoTest.java | 2 +- ...v61ResponseSummaryForeignFxTotalsTest.java | 2 +- ...iceDetailsv61ResponseSummaryLinesTest.java | 2 +- ...61ResponseSummaryMiscChargesInnerTest.java | 2 +- .../InvoiceDetailsv61ResponseSummaryTest.java | 2 +- ...ceDetailsv61ResponseSummaryTotalsTest.java | 2 +- .../model/InvoiceDetailsv61ResponseTest.java | 2 +- ...nvoiceSearchResponseInvoicesInnerTest.java | 2 +- .../model/InvoiceSearchResponseTest.java | 2 +- ...cerequestPriceandstockrequestItemTest.java | 88 - ...ervicerequestPriceandstockrequestTest.java | 73 - ...uestServicerequestRequestpreambleTest.java | 56 - ...riceAndStockRequestServicerequestTest.java | 58 - .../MultiSKUPriceAndStockRequestTest.java | 49 - ...PriceandstockresponseDetailsInnerTest.java | 220 -- ...DetailsInnerWarehousedetailsInnerTest.java | 88 - ...viceresponsePriceandstockresponseTest.java | 51 - ...seServiceresponseResponsepreambleTest.java | 64 - ...ceAndStockResponseServiceresponseTest.java | 58 - .../MultiSKUPriceAndStockResponseTest.java | 49 - ...eRequestAdditionalAttributesInnerTest.java | 2 +- .../OrderCreateRequestEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...RequestLinesInnerEndUserInfoInnerTest.java | 2 +- .../OrderCreateRequestLinesInnerTest.java | 2 +- ...rWarrantyInfoInnerSerialInfoInnerTest.java | 2 +- ...equestLinesInnerWarrantyInfoInnerTest.java | 2 +- .../OrderCreateRequestResellerInfoTest.java | 2 +- .../OrderCreateRequestShipToInfoTest.java | 2 +- ...OrderCreateRequestShipmentDetailsTest.java | 2 +- .../client/model/OrderCreateRequestTest.java | 2 +- .../model/OrderCreateRequestVmfTest.java | 2 +- .../OrderCreateResponseEndUserInfoTest.java | 2 +- ...ersInnerAdditionalAttributesInnerTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...nerLinesInnerShipmentDetailsInnerTest.java | 2 +- ...eateResponseOrdersInnerLinesInnerTest.java | 2 +- ...eateResponseOrdersInnerLinksInnerTest.java | 2 +- ...ersInnerMiscellaneousChargesInnerTest.java | 2 +- ...OrdersInnerRejectedLineItemsInnerTest.java | 2 +- .../OrderCreateResponseOrdersInnerTest.java | 2 +- .../OrderCreateResponseShipToInfoTest.java | 2 +- .../client/model/OrderCreateResponseTest.java | 2 +- ...erequestOrderDeleteRequestDetailsTest.java | 96 - ...uestServicerequestRequestpreambleTest.java | 56 - .../OrderDeleteRequestServicerequestTest.java | 58 - .../client/model/OrderDeleteRequestTest.java | 49 - ...seServiceresponseResponsepreambleTest.java | 64 - ...rderDeleteResponseServiceresponseTest.java | 49 - .../client/model/OrderDeleteResponseTest.java | 49 - ...etailB2BAdditionalAttributesInnerTest.java | 2 +- .../model/OrderDetailB2BBillToInfoTest.java | 2 +- .../model/OrderDetailB2BEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...tesInnerDeliveryDeliveryDateRangeTest.java | 2 +- ...sInnerEstimatedDatesInnerDeliveryTest.java | 2 +- ...imatedDatesInnerShipShipDateRangeTest.java | 2 +- ...LinesInnerEstimatedDatesInnerShipTest.java | 2 +- ...lB2BLinesInnerEstimatedDatesInnerTest.java | 2 +- ...rderDetailB2BLinesInnerLinksInnerTest.java | 2 +- ...BLinesInnerMultipleShipmentsInnerTest.java | 2 +- ...ilB2BLinesInnerScheduleLinesInnerTest.java | 2 +- ...erServiceContractInfoContractInfoTest.java | 2 +- ...nerServiceContractInfoLicenseInfoTest.java | 2 +- ...rServiceContractInfoSubscriptionsTest.java | 2 +- ...lB2BLinesInnerServiceContractInfoTest.java | 2 +- ...ntDetailsInnerCarrierDetailsInnerTest.java | 2 +- ...ingDetailsInnerSerialNumbersInnerTest.java | 2 +- ...rDetailsInnerTrackingDetailsInnerTest.java | 2 +- ...B2BLinesInnerShipmentDetailsInnerTest.java | 2 +- .../model/OrderDetailB2BLinesInnerTest.java | 2 +- ...etailB2BMiscellaneousChargesInnerTest.java | 2 +- .../model/OrderDetailB2BShipToInfoTest.java | 2 +- .../client/model/OrderDetailB2BTest.java | 2 +- ...tServicerequestOrderdetailrequestTest.java | 72 - .../OrderDetailRequestServicerequestTest.java | 58 - .../client/model/OrderDetailRequestTest.java | 49 - .../OrderDetailResponseBillToInfoTest.java | 2 +- .../OrderDetailResponseEndUserInfoTest.java | 2 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...etailResponseLinesInnerLinksInnerTest.java | 2 +- ...hipmentDetailsInnerCarrierDetailsTest.java | 2 +- ...ingDetailsInnerSerialNumbersInnerTest.java | 2 +- ...arrierDetailsTrackingDetailsInnerTest.java | 2 +- ...nseLinesInnerShipmentDetailsInnerTest.java | 2 +- .../OrderDetailResponseLinesInnerTest.java | 2 +- ...ResponseMiscellaneousChargesInnerTest.java | 2 +- .../OrderDetailResponseShipToInfoTest.java | 2 +- .../client/model/OrderDetailResponseTest.java | 2 +- ...yRequestAdditionalAttributesInnerTest.java | 2 +- .../OrderModifyRequestLinesInnerTest.java | 2 +- ...questOrdermodifyrequestHeaderdataTest.java | 56 - ...stOrdermodifyrequestLinedataInnerTest.java | 96 - ...cerequestOrdermodifyrequestShiptoTest.java | 96 - ...tServicerequestOrdermodifyrequestTest.java | 109 - ...uestServicerequestRequestpreambleTest.java | 56 - .../OrderModifyRequestServicerequestTest.java | 58 - .../OrderModifyRequestShipToInfoTest.java | 2 +- .../client/model/OrderModifyRequestTest.java | 38 +- ...nesInnerAdditionalAttributesInnerTest.java | 2 +- ...ResponseLinesInnerShipmentDetailsTest.java | 2 +- .../OrderModifyResponseLinesInnerTest.java | 2 +- ...ifyResponseRejectedLineItemsInnerTest.java | 2 +- ...erviceresponseOrdermodifyresponseTest.java | 80 - ...seServiceresponseResponsepreambleTest.java | 56 - ...rderModifyResponseServiceresponseTest.java | 58 - .../OrderModifyResponseShipToInfoTest.java | 2 +- .../client/model/OrderModifyResponseTest.java | 136 +- ...rLookupRequestCustomerOrderNumberTest.java | 48 - ...uestOrderLookupRequestOrderNumberTest.java | 80 - ...tServicerequestOrderLookupRequestTest.java | 58 - ...uestServicerequestRequestpreambleTest.java | 56 - .../OrderSearchRequestServicerequestTest.java | 58 - .../client/model/OrderSearchRequestTest.java | 49 - ...derSearchResponseOrdersInnerLinksTest.java | 2 +- ...dersInnerSubOrdersInnerLinksInnerTest.java | 2 +- ...ResponseOrdersInnerSubOrdersInnerTest.java | 2 +- .../OrderSearchResponseOrdersInnerTest.java | 2 +- .../client/model/OrderSearchResponseTest.java | 2 +- ...inesInnerSerialNumberDetailsInnerTest.java | 2 +- ...ntDetailsInnerPackageDetailsInnerTest.java | 2 +- ...nerLinesInnerShipmentDetailsInnerTest.java | 2 +- ...ionRequestResourceInnerLinesInnerTest.java | 2 +- ...ionRequestResourceInnerLinksInnerTest.java | 2 +- ...cNotificationRequestResourceInnerTest.java | 2 +- ...derStatusAsyncNotificationRequestTest.java | 2 +- ...teToOrderV6400ResponseFieldsInnerTest.java | 2 +- .../PostQuoteToOrderV6400ResponseTest.java | 2 +- .../PostRenewalssearch400ResponseTest.java | 2 +- ...yRequestAdditionalAttributesInnerTest.java | 2 +- ...questAvailabilityByWarehouseInnerTest.java | 2 +- ...ctsInnerAdditionalAttributesInnerTest.java | 2 +- ...dAvailabilityRequestProductsInnerTest.java | 2 +- .../PriceAndAvailabilityRequestTest.java | 2 +- ...yWarehouseInnerBackOrderInfoInnerTest.java | 2 +- ...ilityAvailabilityByWarehouseInnerTest.java | 2 +- ...labilityResponseInnerAvailabilityTest.java | 2 +- ...countsInnerQuantityDiscountsInnerTest.java | 2 +- ...DiscountsInnerSpecialPricingInnerTest.java | 2 +- ...bilityResponseInnerDiscountsInnerTest.java | 2 +- ...dAvailabilityResponseInnerPricingTest.java | 2 +- ...InnerReserveInventoryDetailsInnerTest.java | 2 +- ...lityResponseInnerServiceFeesInnerTest.java | 2 +- ...PriceAndAvailabilityResponseInnerTest.java | 2 +- ...onalInformationProductWeightInnerTest.java | 2 +- ...tailResponseAdditionalInformationTest.java | 2 +- .../ProductDetailResponseCiscoFieldsTest.java | 2 +- .../ProductDetailResponseIndicatorsTest.java | 2 +- ...ponseTechnicalSpecificationsInnerTest.java | 2 +- .../model/ProductDetailResponseTest.java | 2 +- ...tLineTypeSerialnumberdetailsInnerTest.java | 2 +- .../client/model/ProductLineTypeTest.java | 2 +- ...ineTypeTrackingnumberdetailsInnerTest.java | 2 +- ...roductsearchrequestSearchcriteriaTest.java | 80 - ...ervicerequestProductsearchrequestTest.java | 49 - ...uestServicerequestRequestpreambleTest.java | 64 - ...roductSearchRequestServicerequestTest.java | 58 - .../model/ProductSearchRequestTest.java | 49 - ...rchResponseCatalogInnerLinksInnerTest.java | 2 +- ...ProductSearchResponseCatalogInnerTest.java | 2 +- .../model/ProductSearchResponseTest.java | 2 +- ...oteDetailResponseResponsePreambleTest.java | 64 - ...eRetrieveQuoteResponseAccountInfoTest.java | 64 - ...eRetrieveQuoteResponseContactInfoTest.java | 56 - ...ponseRetrieveQuoteResponseEndUserTest.java | 128 - ...tailResponseRetrieveQuoteResponseTest.java | 229 -- ...ieveQuoteResponseVendorAttributesTest.java | 72 - .../QuoteDetailsQuoteDetailResponseTest.java | 101 - ...oteProductsRequestRequestpreambleTest.java | 56 - ...questRetrieveQuoteProductsRequestTest.java | 56 - ...etailsRequestQuoteProductsRequestTest.java | 58 - .../client/model/QuoteDetailsRequestTest.java | 49 - ...ResponseAdditionalAttributesInnerTest.java | 2 +- .../QuoteDetailsResponseEndUserInfoTest.java | 2 +- ...DetailsResponseProductsInnerPriceTest.java | 2 +- ...QuoteDetailsResponseProductsInnerTest.java | 2 +- ...tailResponseRetrieveQuoteResponseTest.java | 271 -- ...etailsResponseQuoteDetailResponseTest.java | 58 - .../QuoteDetailsResponseResellerInfoTest.java | 2 +- .../model/QuoteDetailsResponseTest.java | 215 +- .../client/model/QuoteDetailsTest.java | 49 - ...QuoteSearchResponseQuoteListInnerTest.java | 121 - ...oteSearchResponseResponsePreambleTest.java | 64 - ...teListResponseQuoteSearchResponseTest.java | 68 - .../client/model/QuoteListResponseTest.java | 49 - .../model/QuoteProductListPriceTest.java | 73 - .../client/model/QuoteProductListTest.java | 161 -- .../QuoteSearchResponseQuotesInnerTest.java | 2 +- .../client/model/QuoteSearchResponseTest.java | 2 +- ...tailsDTOAdditionalAttributesInnerTest.java | 2 +- ...ToOrderDetailsDTOEndUserInfoInnerTest.java | 2 +- .../QuoteToOrderDetailsDTOLinesInnerTest.java | 4 +- ...mfAdditionalAttributesLinesInnerTest.java} | 14 +- ...eToOrderDetailsDTOShipToInfoInnerTest.java | 2 +- .../model/QuoteToOrderDetailsDTOTest.java | 2 +- ...lsDTOVmfadditionalAttributesInnerTest.java | 2 +- .../model/QuoteToOrderResponseTest.java | 2 +- ...ResponseAdditionalAttributesInnerTest.java | 2 +- ...lsDetailsResponseEndUserInfoInnerTest.java | 2 +- ...ewalsDetailsResponseProductsInnerTest.java | 2 +- ...tailsResponseReferenceNumberInnerTest.java | 2 +- .../model/RenewalsDetailsResponseTest.java | 2 +- ...ewalsSearchRequestDataTypeEndDateTest.java | 2 +- ...archRequestDataTypeExpirationDateTest.java | 2 +- ...sSearchRequestDataTypeInvoiceDateTest.java | 2 +- ...alsSearchRequestDataTypeStartDateTest.java | 2 +- .../RenewalsSearchRequestDataTypeTest.java | 2 +- ...archRequestStatusOpporutinyStatusTest.java | 2 +- .../RenewalsSearchRequestStatusTest.java | 2 +- .../model/RenewalsSearchRequestTest.java | 2 +- ...chResponseRenewalsInnerLinksInnerTest.java | 2 +- ...newalsSearchResponseRenewalsInnerTest.java | 2 +- .../model/RenewalsSearchResponseTest.java | 2 +- ...RequestListInnerShipFromInfoInnerTest.java | 2 +- .../ReturnsCreateRequestListInnerTest.java | 2 +- .../model/ReturnsCreateRequestTest.java | 2 +- ...sCreateResponseReturnsClaimsInnerTest.java | 2 +- .../model/ReturnsCreateResponseTest.java | 2 +- ...turnsDetailsResponseProductsInnerTest.java | 2 +- .../model/ReturnsDetailsResponseTest.java | 2 +- ...ponseReturnsClaimsInnerLinksInnerTest.java | 2 +- ...sSearchResponseReturnsClaimsInnerTest.java | 2 +- .../model/ReturnsSearchResponseTest.java | 2 +- .../ValidateQuoteResponseLinesInnerTest.java | 4 +- .../model/ValidateQuoteResponseTest.java | 2 +- ...ponseVmfAdditionalAttributesInnerTest.java | 2 +- 651 files changed, 4029 insertions(+), 28804 deletions(-) delete mode 100644 docs/InvoiceDetailRequest.md delete mode 100644 docs/InvoiceDetailRequestServicerequest.md delete mode 100644 docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md delete mode 100644 docs/InvoiceDetailRequestServicerequestRequestpreamble.md delete mode 100644 docs/MultiSKUPriceAndStockRequest.md delete mode 100644 docs/MultiSKUPriceAndStockRequestServicerequest.md delete mode 100644 docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md delete mode 100644 docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md delete mode 100644 docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md delete mode 100644 docs/MultiSKUPriceAndStockResponse.md delete mode 100644 docs/MultiSKUPriceAndStockResponseServiceresponse.md delete mode 100644 docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md delete mode 100644 docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md delete mode 100644 docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md delete mode 100644 docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md delete mode 100644 docs/OrderDeleteRequest.md delete mode 100644 docs/OrderDeleteRequestServicerequest.md delete mode 100644 docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md delete mode 100644 docs/OrderDeleteRequestServicerequestRequestpreamble.md delete mode 100644 docs/OrderDeleteResponse.md delete mode 100644 docs/OrderDeleteResponseServiceresponse.md delete mode 100644 docs/OrderDeleteResponseServiceresponseResponsepreamble.md delete mode 100644 docs/OrderDetailRequest.md delete mode 100644 docs/OrderDetailRequestServicerequest.md delete mode 100644 docs/OrderDetailRequestServicerequestOrderdetailrequest.md delete mode 100644 docs/OrderModifyRequestServicerequest.md delete mode 100644 docs/OrderModifyRequestServicerequestOrdermodifyrequest.md delete mode 100644 docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md delete mode 100644 docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md delete mode 100644 docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md delete mode 100644 docs/OrderModifyRequestServicerequestRequestpreamble.md delete mode 100644 docs/OrderModifyResponseServiceresponse.md delete mode 100644 docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md delete mode 100644 docs/OrderModifyResponseServiceresponseResponsepreamble.md delete mode 100644 docs/OrderSearchRequest.md delete mode 100644 docs/OrderSearchRequestServicerequest.md delete mode 100644 docs/OrderSearchRequestServicerequestOrderLookupRequest.md delete mode 100644 docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md delete mode 100644 docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md delete mode 100644 docs/OrderSearchRequestServicerequestRequestpreamble.md delete mode 100644 docs/ProductSearchRequest.md delete mode 100644 docs/ProductSearchRequestServicerequest.md delete mode 100644 docs/ProductSearchRequestServicerequestProductsearchrequest.md delete mode 100644 docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md delete mode 100644 docs/ProductSearchRequestServicerequestRequestpreamble.md delete mode 100644 docs/QuoteDetails.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponse.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md delete mode 100644 docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md delete mode 100644 docs/QuoteDetailsRequest.md delete mode 100644 docs/QuoteDetailsRequestQuoteProductsRequest.md delete mode 100644 docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md delete mode 100644 docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md delete mode 100644 docs/QuoteDetailsResponseQuoteDetailResponse.md delete mode 100644 docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md delete mode 100644 docs/QuoteListResponse.md delete mode 100644 docs/QuoteListResponseQuoteSearchResponse.md delete mode 100644 docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md delete mode 100644 docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md delete mode 100644 docs/QuoteProductList.md delete mode 100644 docs/QuoteProductListPrice.md rename docs/{ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md => QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md} (85%) delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailRequest.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteRequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteResponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailRequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java delete mode 100644 src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchRequest.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java delete mode 100644 src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetails.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsRequest.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteProductList.java delete mode 100644 src/main/java/xiresellers/client/model/QuoteProductListPrice.java rename src/main/java/xiresellers/client/model/{ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java => QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java} (67%) delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderSearchRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductSearchRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteDetailsTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteListResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java delete mode 100644 src/test/java/xiresellers/client/model/QuoteProductListTest.java rename src/test/java/xiresellers/client/model/{ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java => QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java} (69%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index cf126249..682fb185 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -33,10 +33,6 @@ docs/FreightResponseFreightEstimateResponseLinesInner.md docs/GetResellerV6ValidateQuote400Response.md docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md docs/GetResellerV6ValidateQuote500Response.md -docs/InvoiceDetailRequest.md -docs/InvoiceDetailRequestServicerequest.md -docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md -docs/InvoiceDetailRequestServicerequestRequestpreamble.md docs/InvoiceDetailResponse.md docs/InvoiceDetailResponseServiceresponse.md docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md @@ -59,17 +55,6 @@ docs/InvoiceSearchResponse.md docs/InvoiceSearchResponseInvoicesInner.md docs/InvoicesApi.md docs/InvoicesV6Api.md -docs/MultiSKUPriceAndStockRequest.md -docs/MultiSKUPriceAndStockRequestServicerequest.md -docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md -docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md -docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md -docs/MultiSKUPriceAndStockResponse.md -docs/MultiSKUPriceAndStockResponseServiceresponse.md -docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md -docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md -docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md -docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md docs/OrderCreateRequest.md docs/OrderCreateRequestAdditionalAttributesInner.md docs/OrderCreateRequestEndUserInfo.md @@ -93,13 +78,6 @@ docs/OrderCreateResponseOrdersInnerLinksInner.md docs/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.md docs/OrderCreateResponseOrdersInnerRejectedLineItemsInner.md docs/OrderCreateResponseShipToInfo.md -docs/OrderDeleteRequest.md -docs/OrderDeleteRequestServicerequest.md -docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md -docs/OrderDeleteRequestServicerequestRequestpreamble.md -docs/OrderDeleteResponse.md -docs/OrderDeleteResponseServiceresponse.md -docs/OrderDeleteResponseServiceresponseResponsepreamble.md docs/OrderDetailB2B.md docs/OrderDetailB2BAdditionalAttributesInner.md docs/OrderDetailB2BBillToInfo.md @@ -124,9 +102,6 @@ docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDeta docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.md docs/OrderDetailB2BMiscellaneousChargesInner.md docs/OrderDetailB2BShipToInfo.md -docs/OrderDetailRequest.md -docs/OrderDetailRequestServicerequest.md -docs/OrderDetailRequestServicerequestOrderdetailrequest.md docs/OrderDetailResponse.md docs/OrderDetailResponseBillToInfo.md docs/OrderDetailResponseEndUserInfo.md @@ -142,28 +117,13 @@ docs/OrderDetailResponseShipToInfo.md docs/OrderModifyRequest.md docs/OrderModifyRequestAdditionalAttributesInner.md docs/OrderModifyRequestLinesInner.md -docs/OrderModifyRequestServicerequest.md -docs/OrderModifyRequestServicerequestOrdermodifyrequest.md -docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md -docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md -docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md -docs/OrderModifyRequestServicerequestRequestpreamble.md docs/OrderModifyRequestShipToInfo.md docs/OrderModifyResponse.md docs/OrderModifyResponseLinesInner.md docs/OrderModifyResponseLinesInnerAdditionalAttributesInner.md docs/OrderModifyResponseLinesInnerShipmentDetails.md docs/OrderModifyResponseRejectedLineItemsInner.md -docs/OrderModifyResponseServiceresponse.md -docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md -docs/OrderModifyResponseServiceresponseResponsepreamble.md docs/OrderModifyResponseShipToInfo.md -docs/OrderSearchRequest.md -docs/OrderSearchRequestServicerequest.md -docs/OrderSearchRequestServicerequestOrderLookupRequest.md -docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md -docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md -docs/OrderSearchRequestServicerequestRequestpreamble.md docs/OrderSearchResponse.md docs/OrderSearchResponseOrdersInner.md docs/OrderSearchResponseOrdersInnerLinks.md @@ -207,40 +167,15 @@ docs/ProductDetailResponseTechnicalSpecificationsInner.md docs/ProductLineType.md docs/ProductLineTypeSerialnumberdetailsInner.md docs/ProductLineTypeTrackingnumberdetailsInner.md -docs/ProductSearchRequest.md -docs/ProductSearchRequestServicerequest.md -docs/ProductSearchRequestServicerequestProductsearchrequest.md -docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md -docs/ProductSearchRequestServicerequestRequestpreamble.md docs/ProductSearchResponse.md docs/ProductSearchResponseCatalogInner.md docs/ProductSearchResponseCatalogInnerLinksInner.md -docs/QuoteDetails.md -docs/QuoteDetailsQuoteDetailResponse.md -docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md -docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md -docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md -docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md -docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md -docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md -docs/QuoteDetailsRequest.md -docs/QuoteDetailsRequestQuoteProductsRequest.md -docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md -docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md docs/QuoteDetailsResponse.md docs/QuoteDetailsResponseAdditionalAttributesInner.md docs/QuoteDetailsResponseEndUserInfo.md docs/QuoteDetailsResponseProductsInner.md docs/QuoteDetailsResponseProductsInnerPrice.md -docs/QuoteDetailsResponseQuoteDetailResponse.md -docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md docs/QuoteDetailsResponseResellerInfo.md -docs/QuoteListResponse.md -docs/QuoteListResponseQuoteSearchResponse.md -docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md -docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md -docs/QuoteProductList.md -docs/QuoteProductListPrice.md docs/QuoteSearchResponse.md docs/QuoteSearchResponseQuotesInner.md docs/QuoteToOrderApi.md @@ -248,6 +183,7 @@ docs/QuoteToOrderDetailsDTO.md docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md docs/QuoteToOrderDetailsDTOEndUserInfoInner.md docs/QuoteToOrderDetailsDTOLinesInner.md +docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md docs/QuoteToOrderDetailsDTOShipToInfoInner.md docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md docs/QuoteToOrderResponse.md @@ -283,7 +219,6 @@ docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md docs/StockUpdateApi.md docs/ValidateQuoteResponse.md docs/ValidateQuoteResponseLinesInner.md -docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md git_push.sh gradle.properties @@ -354,10 +289,6 @@ src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLin 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/InvoiceDetailRequest.java -src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java -src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java -src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java src/main/java/xiresellers/client/model/InvoiceDetailResponse.java src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java @@ -378,17 +309,6 @@ src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscCharg src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java src/main/java/xiresellers/client/model/InvoiceSearchResponse.java src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java -src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderCreateRequest.java src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -412,13 +332,6 @@ src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner. src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java -src/main/java/xiresellers/client/model/OrderDeleteRequest.java -src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java -src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java -src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java -src/main/java/xiresellers/client/model/OrderDeleteResponse.java -src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java -src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderDetailB2B.java src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -443,9 +356,6 @@ src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsIn src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java -src/main/java/xiresellers/client/model/OrderDetailRequest.java -src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java -src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java src/main/java/xiresellers/client/model/OrderDetailResponse.java src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java @@ -461,28 +371,13 @@ src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java src/main/java/xiresellers/client/model/OrderModifyRequest.java src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java -src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java src/main/java/xiresellers/client/model/OrderModifyResponse.java src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java -src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java -src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java -src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java -src/main/java/xiresellers/client/model/OrderSearchRequest.java -src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java -src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java -src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java -src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java -src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java src/main/java/xiresellers/client/model/OrderSearchResponse.java src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -522,46 +417,22 @@ src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificati src/main/java/xiresellers/client/model/ProductLineType.java src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java -src/main/java/xiresellers/client/model/ProductSearchRequest.java -src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java -src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java -src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java -src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java src/main/java/xiresellers/client/model/ProductSearchResponse.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java -src/main/java/xiresellers/client/model/QuoteDetails.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java -src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java -src/main/java/xiresellers/client/model/QuoteDetailsRequest.java -src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java -src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java -src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java 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/QuoteDetailsResponseProductsInnerPrice.java -src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java -src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java -src/main/java/xiresellers/client/model/QuoteListResponse.java -src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java -src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java -src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java -src/main/java/xiresellers/client/model/QuoteProductList.java -src/main/java/xiresellers/client/model/QuoteProductListPrice.java src/main/java/xiresellers/client/model/QuoteSearchResponse.java src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -593,7 +464,6 @@ 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/DealsApiTest.java src/test/java/xiresellers/client/api/FreightEstimateApiTest.java @@ -633,10 +503,6 @@ src/test/java/xiresellers/client/model/FreightResponseTest.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/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java -src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java -src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java @@ -657,17 +523,6 @@ src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTes src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java -src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java @@ -691,13 +546,6 @@ src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLin src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java src/test/java/xiresellers/client/model/OrderCreateResponseTest.java -src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java -src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java -src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java -src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java -src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java @@ -722,9 +570,6 @@ src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailB2BTest.java -src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java -src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java -src/test/java/xiresellers/client/model/OrderDetailRequestTest.java src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java @@ -739,29 +584,14 @@ src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailResponseTest.java src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java src/test/java/xiresellers/client/model/OrderModifyRequestTest.java src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java -src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java -src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java src/test/java/xiresellers/client/model/OrderModifyResponseTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java -src/test/java/xiresellers/client/model/OrderSearchRequestTest.java src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java @@ -801,45 +631,21 @@ src/test/java/xiresellers/client/model/ProductDetailResponseTest.java src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java src/test/java/xiresellers/client/model/ProductLineTypeTest.java src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java -src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java -src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java -src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java -src/test/java/xiresellers/client/model/ProductSearchRequestTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java -src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java -src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java -src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java -src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java -src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java -src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java -src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java -src/test/java/xiresellers/client/model/QuoteDetailsTest.java -src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java -src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java -src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java -src/test/java/xiresellers/client/model/QuoteListResponseTest.java -src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java -src/test/java/xiresellers/client/model/QuoteProductListTest.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/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java +src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java @@ -871,6 +677,5 @@ 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/README.md b/README.md index 43426f14..8387f529 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # xi.sdk.resellers -XI SDK Resellers +XI Sdk Resellers - API version: 1.0.0 - - Build date: 2024-02-16T05:46:16.662413Z[Etc/UTC] + - Build date: 2024-02-16T07:02:17.403456Z[Etc/UTC] For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. @@ -179,10 +179,6 @@ Class | Method | HTTP request | Description - [GetResellerV6ValidateQuote400Response](docs/GetResellerV6ValidateQuote400Response.md) - [GetResellerV6ValidateQuote400ResponseFieldsInner](docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md) - [GetResellerV6ValidateQuote500Response](docs/GetResellerV6ValidateQuote500Response.md) - - [InvoiceDetailRequest](docs/InvoiceDetailRequest.md) - - [InvoiceDetailRequestServicerequest](docs/InvoiceDetailRequestServicerequest.md) - - [InvoiceDetailRequestServicerequestInvoicedetailrequest](docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md) - - [InvoiceDetailRequestServicerequestRequestpreamble](docs/InvoiceDetailRequestServicerequestRequestpreamble.md) - [InvoiceDetailResponse](docs/InvoiceDetailResponse.md) - [InvoiceDetailResponseServiceresponse](docs/InvoiceDetailResponseServiceresponse.md) - [InvoiceDetailResponseServiceresponseInvoicedetailresponse](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md) @@ -203,17 +199,6 @@ Class | Method | HTTP request | Description - [InvoiceDetailsv61ResponseSummaryTotals](docs/InvoiceDetailsv61ResponseSummaryTotals.md) - [InvoiceSearchResponse](docs/InvoiceSearchResponse.md) - [InvoiceSearchResponseInvoicesInner](docs/InvoiceSearchResponseInvoicesInner.md) - - [MultiSKUPriceAndStockRequest](docs/MultiSKUPriceAndStockRequest.md) - - [MultiSKUPriceAndStockRequestServicerequest](docs/MultiSKUPriceAndStockRequestServicerequest.md) - - [MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest](docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md) - - [MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem](docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md) - - [MultiSKUPriceAndStockRequestServicerequestRequestpreamble](docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md) - - [MultiSKUPriceAndStockResponse](docs/MultiSKUPriceAndStockResponse.md) - - [MultiSKUPriceAndStockResponseServiceresponse](docs/MultiSKUPriceAndStockResponseServiceresponse.md) - - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md) - - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md) - - [MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner](docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md) - - [MultiSKUPriceAndStockResponseServiceresponseResponsepreamble](docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md) - [OrderCreateRequest](docs/OrderCreateRequest.md) - [OrderCreateRequestAdditionalAttributesInner](docs/OrderCreateRequestAdditionalAttributesInner.md) - [OrderCreateRequestEndUserInfo](docs/OrderCreateRequestEndUserInfo.md) @@ -237,13 +222,6 @@ Class | Method | HTTP request | Description - [OrderCreateResponseOrdersInnerMiscellaneousChargesInner](docs/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.md) - [OrderCreateResponseOrdersInnerRejectedLineItemsInner](docs/OrderCreateResponseOrdersInnerRejectedLineItemsInner.md) - [OrderCreateResponseShipToInfo](docs/OrderCreateResponseShipToInfo.md) - - [OrderDeleteRequest](docs/OrderDeleteRequest.md) - - [OrderDeleteRequestServicerequest](docs/OrderDeleteRequestServicerequest.md) - - [OrderDeleteRequestServicerequestOrderDeleteRequestDetails](docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md) - - [OrderDeleteRequestServicerequestRequestpreamble](docs/OrderDeleteRequestServicerequestRequestpreamble.md) - - [OrderDeleteResponse](docs/OrderDeleteResponse.md) - - [OrderDeleteResponseServiceresponse](docs/OrderDeleteResponseServiceresponse.md) - - [OrderDeleteResponseServiceresponseResponsepreamble](docs/OrderDeleteResponseServiceresponseResponsepreamble.md) - [OrderDetailB2B](docs/OrderDetailB2B.md) - [OrderDetailB2BAdditionalAttributesInner](docs/OrderDetailB2BAdditionalAttributesInner.md) - [OrderDetailB2BBillToInfo](docs/OrderDetailB2BBillToInfo.md) @@ -268,9 +246,6 @@ Class | Method | HTTP request | Description - [OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner](docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.md) - [OrderDetailB2BMiscellaneousChargesInner](docs/OrderDetailB2BMiscellaneousChargesInner.md) - [OrderDetailB2BShipToInfo](docs/OrderDetailB2BShipToInfo.md) - - [OrderDetailRequest](docs/OrderDetailRequest.md) - - [OrderDetailRequestServicerequest](docs/OrderDetailRequestServicerequest.md) - - [OrderDetailRequestServicerequestOrderdetailrequest](docs/OrderDetailRequestServicerequestOrderdetailrequest.md) - [OrderDetailResponse](docs/OrderDetailResponse.md) - [OrderDetailResponseBillToInfo](docs/OrderDetailResponseBillToInfo.md) - [OrderDetailResponseEndUserInfo](docs/OrderDetailResponseEndUserInfo.md) @@ -286,28 +261,13 @@ Class | Method | HTTP request | Description - [OrderModifyRequest](docs/OrderModifyRequest.md) - [OrderModifyRequestAdditionalAttributesInner](docs/OrderModifyRequestAdditionalAttributesInner.md) - [OrderModifyRequestLinesInner](docs/OrderModifyRequestLinesInner.md) - - [OrderModifyRequestServicerequest](docs/OrderModifyRequestServicerequest.md) - - [OrderModifyRequestServicerequestOrdermodifyrequest](docs/OrderModifyRequestServicerequestOrdermodifyrequest.md) - - [OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata](docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md) - - [OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner](docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md) - - [OrderModifyRequestServicerequestOrdermodifyrequestShipto](docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md) - - [OrderModifyRequestServicerequestRequestpreamble](docs/OrderModifyRequestServicerequestRequestpreamble.md) - [OrderModifyRequestShipToInfo](docs/OrderModifyRequestShipToInfo.md) - [OrderModifyResponse](docs/OrderModifyResponse.md) - [OrderModifyResponseLinesInner](docs/OrderModifyResponseLinesInner.md) - [OrderModifyResponseLinesInnerAdditionalAttributesInner](docs/OrderModifyResponseLinesInnerAdditionalAttributesInner.md) - [OrderModifyResponseLinesInnerShipmentDetails](docs/OrderModifyResponseLinesInnerShipmentDetails.md) - [OrderModifyResponseRejectedLineItemsInner](docs/OrderModifyResponseRejectedLineItemsInner.md) - - [OrderModifyResponseServiceresponse](docs/OrderModifyResponseServiceresponse.md) - - [OrderModifyResponseServiceresponseOrdermodifyresponse](docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md) - - [OrderModifyResponseServiceresponseResponsepreamble](docs/OrderModifyResponseServiceresponseResponsepreamble.md) - [OrderModifyResponseShipToInfo](docs/OrderModifyResponseShipToInfo.md) - - [OrderSearchRequest](docs/OrderSearchRequest.md) - - [OrderSearchRequestServicerequest](docs/OrderSearchRequestServicerequest.md) - - [OrderSearchRequestServicerequestOrderLookupRequest](docs/OrderSearchRequestServicerequestOrderLookupRequest.md) - - [OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber](docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md) - - [OrderSearchRequestServicerequestOrderLookupRequestOrderNumber](docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md) - - [OrderSearchRequestServicerequestRequestpreamble](docs/OrderSearchRequestServicerequestRequestpreamble.md) - [OrderSearchResponse](docs/OrderSearchResponse.md) - [OrderSearchResponseOrdersInner](docs/OrderSearchResponseOrdersInner.md) - [OrderSearchResponseOrdersInnerLinks](docs/OrderSearchResponseOrdersInnerLinks.md) @@ -347,46 +307,22 @@ Class | Method | HTTP request | Description - [ProductLineType](docs/ProductLineType.md) - [ProductLineTypeSerialnumberdetailsInner](docs/ProductLineTypeSerialnumberdetailsInner.md) - [ProductLineTypeTrackingnumberdetailsInner](docs/ProductLineTypeTrackingnumberdetailsInner.md) - - [ProductSearchRequest](docs/ProductSearchRequest.md) - - [ProductSearchRequestServicerequest](docs/ProductSearchRequestServicerequest.md) - - [ProductSearchRequestServicerequestProductsearchrequest](docs/ProductSearchRequestServicerequestProductsearchrequest.md) - - [ProductSearchRequestServicerequestProductsearchrequestSearchcriteria](docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md) - - [ProductSearchRequestServicerequestRequestpreamble](docs/ProductSearchRequestServicerequestRequestpreamble.md) - [ProductSearchResponse](docs/ProductSearchResponse.md) - [ProductSearchResponseCatalogInner](docs/ProductSearchResponseCatalogInner.md) - [ProductSearchResponseCatalogInnerLinksInner](docs/ProductSearchResponseCatalogInnerLinksInner.md) - - [QuoteDetails](docs/QuoteDetails.md) - - [QuoteDetailsQuoteDetailResponse](docs/QuoteDetailsQuoteDetailResponse.md) - - [QuoteDetailsQuoteDetailResponseResponsePreamble](docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md) - - [QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse](docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md) - - [QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo](docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md) - - [QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo](docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md) - - [QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser](docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md) - - [QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes](docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md) - - [QuoteDetailsRequest](docs/QuoteDetailsRequest.md) - - [QuoteDetailsRequestQuoteProductsRequest](docs/QuoteDetailsRequestQuoteProductsRequest.md) - - [QuoteDetailsRequestQuoteProductsRequestRequestpreamble](docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md) - - [QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest](docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md) - [QuoteDetailsResponse](docs/QuoteDetailsResponse.md) - [QuoteDetailsResponseAdditionalAttributesInner](docs/QuoteDetailsResponseAdditionalAttributesInner.md) - [QuoteDetailsResponseEndUserInfo](docs/QuoteDetailsResponseEndUserInfo.md) - [QuoteDetailsResponseProductsInner](docs/QuoteDetailsResponseProductsInner.md) - [QuoteDetailsResponseProductsInnerPrice](docs/QuoteDetailsResponseProductsInnerPrice.md) - - [QuoteDetailsResponseQuoteDetailResponse](docs/QuoteDetailsResponseQuoteDetailResponse.md) - - [QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse](docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md) - [QuoteDetailsResponseResellerInfo](docs/QuoteDetailsResponseResellerInfo.md) - - [QuoteListResponse](docs/QuoteListResponse.md) - - [QuoteListResponseQuoteSearchResponse](docs/QuoteListResponseQuoteSearchResponse.md) - - [QuoteListResponseQuoteSearchResponseQuoteListInner](docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md) - - [QuoteListResponseQuoteSearchResponseResponsePreamble](docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md) - - [QuoteProductList](docs/QuoteProductList.md) - - [QuoteProductListPrice](docs/QuoteProductListPrice.md) - [QuoteSearchResponse](docs/QuoteSearchResponse.md) - [QuoteSearchResponseQuotesInner](docs/QuoteSearchResponseQuotesInner.md) - [QuoteToOrderDetailsDTO](docs/QuoteToOrderDetailsDTO.md) - [QuoteToOrderDetailsDTOAdditionalAttributesInner](docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md) - [QuoteToOrderDetailsDTOEndUserInfoInner](docs/QuoteToOrderDetailsDTOEndUserInfoInner.md) - [QuoteToOrderDetailsDTOLinesInner](docs/QuoteToOrderDetailsDTOLinesInner.md) + - [QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner](docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) - [QuoteToOrderDetailsDTOShipToInfoInner](docs/QuoteToOrderDetailsDTOShipToInfoInner.md) - [QuoteToOrderDetailsDTOVmfadditionalAttributesInner](docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) - [QuoteToOrderResponse](docs/QuoteToOrderResponse.md) @@ -418,7 +354,6 @@ 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 df29791d..a5075fd3 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ 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. - title: XI SDK Resellers + title: XI Sdk Resellers version: 1.0.0 servers: - description: Sandbox @@ -8678,6 +8678,200 @@ components: required: - customerOrderNumber type: object + QuoteToOrderDetailsDTO: + additionalProperties: false + example: + endUserInfo: + - phoneNumber: phoneNumber + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + - phoneNumber: phoneNumber + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + shipToInfo: + - city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId + - city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + email: email + addressId: addressId + billToAddressId: billToAddressId + enduserOrderNumber: enduserOrderNumber + lines: + - ingramPartNumber: ingramPartNumber + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: quantity + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: quantity + customerLineNumber: customerLineNumber + 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: + description: The contact information for the end user/customer provided + by the reseller. Used to determine pricing and discounts. + items: + $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo_inner' + type: array + shipToInfo: + description: The shipping information provided by the reseller for order + delivery. + items: + $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo_inner' + type: array + 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 + 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 + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: "1" + customerLineNumber: "11" + quoteNumber: QUO-14551943-D2Y9L9 + properties: + quoteNumber: + description: A unique identifier generated by Ingram Micro's CRM specific + to each quote. + example: QUO-14551943-D2Y9L9 + type: string + vendorName: + description: The name of the vendor. + example: Cisco + type: string + vmfAdditionalAttributes: + description: The object containing the list of fields required at a header + level by the vendor. + items: + $ref: '#/components/schemas/ValidateQuoteResponse_vmfAdditionalAttributes_inner' + type: array + lines: + description: The object containing the lines from the quote. + items: + $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner' + type: array + type: object OrderCreateResponse: example: purchaseOrderTotal: 0.8008281904610115 @@ -11604,790 +11798,191 @@ components: $ref: '#/components/schemas/ErrorResponse_errors_inner' type: array type: object - quoteListResponse: - description: Response schema for get quote list endpoint - properties: - quoteSearchResponse: - $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse' - title: quoteList.Response - type: object - x-examples: - Success: - quoteSearchResponse: - responsePreamble: - responseStatus: Passed - responseStatusCode: "200" - responseMessage: Records Found - quotelist: - - quoteGuid: dbabb2a5-02ea-e911-a97b-000d3a30e34c - quoteName: TEST-9771006-1920_CW EndUser11 - quoteNumber: QUO-11048-S9P1R3 - revisionNumber: 0 - endUserName: CW EndUser11 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: ec14fd96-02ea-e911-a98d-000d3a30e941 - quoteName: TEST-9771006-1920_CW EndUser12 - quoteNumber: QUO-11047-M1K1Z6 - revisionNumber: 0 - endUserName: CW EndUser12 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: f3d7d186-02ea-e911-a98d-000d3a30e941 - quoteName: TEST-9771006-1920_CW EndUser10 - quoteNumber: QUO-11045-G1X9S8 - revisionNumber: 0 - endUserName: CW EndUser10 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: 43ae3e7f-02ea-e911-a97a-000d3a30eb04 - quoteName: TEST-9771006-1920_CW EndUser9 - quoteNumber: QUO-11044-V2F8F9 - revisionNumber: 0 - endUserName: CW EndUser9 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - - quoteGuid: 88062b6f-02ea-e911-a97a-000d3a30eb04 - quoteName: TEST-9771006-1920_CW EndUser8 - quoteNumber: QUO-11043-W2X1T5 - revisionNumber: 0 - endUserName: CW EndUser8 - bidNumber: TEST-9771006-1920 - totalAmount: "60766.2" - quoteStatus: Active - createdDate: 2019-10-08 - lastModifiedDate: 2019-10-08 - quoteExpiryDate: 0001-01-01 - totalCount: 5 - Customer Not Found: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Customer Not Found - totalCount: 0 - Wrong sort column: - quoteSearchResponse: - responsePreamble: - responseStatus: Failed - responseStatusCode: "400" - responseMessage: Provide valid sort column name - totalCount: 0 - x-tags: - - quotes - quoteDetailsRequest: - description: Request schema for get quote details endpoint - properties: - quoteProductsRequest: - $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest' - title: quoteDetails.Request - type: object - x-examples: - Example: - quoteProductsRequest: - requestPreamble: - customerNumber: "21222222" - isoCountryCode: US - retrieveQuoteProductsRequest: - quoteNumber: QUO-04959-C3V6L4 - thirdPartySource: 3RDPIDCONWISE - x-tags: - - quotes - quoteDetails: - description: Response schema for quote details - properties: - quoteDetailResponse: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse' - title: quoteDetails.Response - type: object - x-tags: - - quotes - quoteProductList: - description: "" + QuoteToOrderResponse: + example: + confirmationNumber: 987654322 + message: message + quoteNumber: QUO-14551943-D2Y9L9 properties: - quoteProductGuid: - type: string - quantity: - type: string - comments: - type: string - bidStartDate: - type: string - bidExpiryDate: - type: string - sku: - type: string - lineNumber: - type: string - description: + quoteNumber: + description: Unique identifier generated by Ingram Micro's CRM specific + to each quote. + example: QUO-14551943-D2Y9L9 type: string - vendorPartNumber: + confirmationNumber: + description: A unique confirmation number for tracking purposes. + example: 987654322 + type: number + message: + description: A confirmation message. type: string - weight: + type: object + Error: + additionalProperties: false + example: + id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + properties: + id: + nullable: true type: string - isSuggestionProduct: + type: + nullable: true type: string - vpnCategory: + message: + nullable: true type: string - quoteProductsSupplierPartAuxiliaryId: - type: string - quoteProductsVendor: - type: string - price: - $ref: '#/components/schemas/quoteProductList_price' - title: quoteDetails.quoteProductList.Response - type: object - x-tags: - - quotes - productSearchRequest: - description: Request object model for the product search endpoint - properties: - servicerequest: - $ref: '#/components/schemas/productSearchRequest_servicerequest' - title: productSearchRequest - type: object - x-examples: - 'Using Vendor Part #': - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - productsearchrequest: - searchcriteria: - vendorpartnumber: TESTE IS - x-tags: - - product catalog - multiSKUPriceAndStockResponse: - description: Response object model for the multi sku price and stock API endpoint - properties: - serviceresponse: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse' - title: multiSKUPriceAndStockResponse - type: object - x-examples: - Success: - serviceresponse: - responsepreamble: - responsestatus: SUCCESS - statuscode: "200" - responsemessage: Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: A-No qty breaks availa - ingrampartnumber: TB6489 - vendorpartnumber: H1180HD - globalskuid: A300-TB6489 - customerprice: 850.54 - currency: USD - partdescription1: H1180HD DLP 3D PROJ 2000L 1080PPROJ - partdescription2: 10000:1 VGA HDMI RCA - vendornumber: Q680 - vendorname: VIVITEK - cpucode: DLP-PR - class: X - skustatus: ACTIVE - mediacpu: PROJ DLP-PR - categorysubcategory: 04 25 - retailprice: 899 - newmedia: PROJ - backorderflag: "N" - skuauthorized: "Y" - warehousedetails: - - warehouseid: "80" - warehousedescription: "Jonestown, PA" - availablequantity: 0 - onorderquantity: 0 - - warehouseid: "10" - warehousedescription: "Mira Loma, CA" - availablequantity: 0 - onorderquantity: 0 - Invalid Customer: - serviceresponse: - responsepreamble: - responsestatus: FAILED - statuscode: "500" - responsemessage: Data Not Found - priceandstockresponse: - details: - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - - itemstatus: FAILED - statusmessage: E-INVALID CUSTOMER NUMBER - 'Invalid Country ': - serviceresponse: - responsepreamble: - responsestatus: SUCCESSWITHERROR - statuscode: "046" - responsemessage: Partial Data Found - priceandstockresponse: - details: - - itemstatus: SUCCESS - statusmessage: edv 2 - ingrampartnumber: NaN - globalskuid: A001-NaN - customernumber: 20-222222 - quantity: 0 - customerprice: 0 - vendornumber: NaN - retailprice: 0 - enduserrequired: "false" - specialpromoflag: "false" - isavailable: false - isstocakable: false - isbom: false - hasquantitybreaks: false - haswebdiscounts: false - issboprice: false - extendednetamount: 0 - taxamount: 0 - totalfeeamount: 0 - totalpromotionamount: 0 - totalenvironmentalfees: 0 - x-tags: - - product catalog - multiSKUPriceAndStockRequest: - description: Request object model for the multi sku price and stock API endpoint - properties: - servicerequest: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest' - title: multiSKUPriceAndStockRequest - type: object - x-examples: - Example: - servicerequest: - requestpreamble: - customernumber: 20-222222 - isocountrycode: US - priceandstockrequest: - showwarehouseavailability: "True" - extravailabilityflag: "Y" - item: - - ingrampartnumber: M93592 - quantity: 1 - includeallsystems: false - x-tags: - - product catalog - invoiceDetailRequest: - properties: - servicerequest: - $ref: '#/components/schemas/invoiceDetailRequest_servicerequest' - title: invoiceDetailRequest - type: object - x-tags: - - invoices - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - invoicedetailrequest: - invoicenumber: 60ABCDE11 - invoiceDetailResponse: - properties: - serviceresponse: - $ref: '#/components/schemas/invoiceDetailResponse_serviceresponse' - title: invoiceDetailResponse - type: object - x-tags: - - invoices - orderModifyResponse: - description: Response schema for order modify endpoint - properties: - serviceresponse: - $ref: '#/components/schemas/orderModifyResponse_serviceresponse' - title: orderModifyResponse - type: object - x-tags: - - orders - orderModifyRequest: - description: Request schema for order modify endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderModifyRequest_servicerequest' - title: orderModifyRequest - type: object - x-tags: - - orders - orderSearchRequest: - description: Request schema for order search endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderSearchRequest_servicerequest' - title: orderSearchRequest - type: object - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderlookuprequest: - status: - fromdate: 2020-01-07 - todate: 2020-01-14 - x-tags: - - orders - orderDeleteResponse: - description: Response schema for order delete endpoint - properties: - serviceresponse: - $ref: '#/components/schemas/orderDeleteResponse_serviceresponse' - title: orderDeleteResponse - type: object - x-tags: - - orders - x-examples: - Example: - serviceresponse: - responsepreamble: - requestStatus: SUCCESS - returnCode: "00" - returnMessage: Order Deleted Successfully - orderDeleteRequest: - description: Request schema for order delete endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderDeleteRequest_servicerequest' - title: orderDeleteRequest - type: object - x-tags: - - orders - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customerumber: 20-222222 - OrderDeleteRequestDetails: - entryDate: 2019-01-22 - orderBranch: "20" - orderNumber: RC62Z - orderDetailRequest: - description: Request schema for order details endpoint - properties: - servicerequest: - $ref: '#/components/schemas/orderDetailRequest_servicerequest' - title: orderDetailRequest + fields: + items: + $ref: '#/components/schemas/Fields' + nullable: true + type: array type: object - x-tags: - - orders - x-examples: - Example: - servicerequest: - requestpreamble: - isocountrycode: US - customernumber: 20-222222 - orderdetailrequest: - ordernumber: 10-H07XB - orderdate: 2018-07-15 - systemid: A300 - quoteDetailsResponse: + ErrorResponseDTO: + additionalProperties: false + example: + errors: + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value + - id: id + type: type + message: message + fields: + - field: field + message: message + value: value + - field: field + message: message + value: value properties: - quoteDetailResponse: - $ref: '#/components/schemas/quoteDetailsResponse_quoteDetailResponse' - title: quoteDetailsResponse + errors: + items: + $ref: '#/components/schemas/Error' + nullable: true + type: array type: object - x-tags: - - quotes - ValidateQuoteResponse: + Fields: + additionalProperties: false example: - vmfAdditionalAttributes: - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - 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 - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: "1" - customerLineNumber: "11" - quoteNumber: QUO-14551943-D2Y9L9 + field: field + message: message + value: value properties: - quoteNumber: - description: A unique identifier generated by Ingram Micro's CRM specific - to each quote. - example: QUO-14551943-D2Y9L9 + field: + nullable: true type: string - vendorName: - description: The name of the vendor. - example: Cisco + message: + nullable: true + type: string + value: + nullable: true type: string - vmfAdditionalAttributes: - description: The object containing the list of fields required at a header - level by the vendor. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_vmfAdditionalAttributes_inner' - type: array - lines: - description: The object containing the lines from the quote. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner' - type: array type: object - QuoteToOrderDetailsDTO: + OrderDetailB2B: additionalProperties: false example: + orderType: orderType + miscellaneousCharges: + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: chargeAmount + chargeDescription: chargeDescription + - chargeLineReference: chargeLineReference + subOrderNumber: subOrderNumber + chargeAmount: chargeAmount + chargeDescription: chargeDescription + notes: notes endUserInfo: - - phoneNumber: phoneNumber + phoneNumber: phoneNumber city: city countryCode: countryCode - companyName: companyName contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - - phoneNumber: phoneNumber - city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state email: email + endCustomerOrderNumber: endCustomerOrderNumber + vendorSalesOrderNumber: vendorSalesOrderNumber + webOrderId: webOrderId + orderStatus: orderStatus + customerOrderNumber: customerOrderNumber + orderTotal: 0.8008281904610115 + orderSubTotal: 6.027456183070403 + ingramOrderNumber: ingramOrderNumber + totalTax: 5.637376656633329 shipToInfo: - - city: city + phoneNumber: phoneNumber + city: city countryCode: countryCode - companyName: companyName contact: contact + companyName: companyName postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state email: email - addressId: addressId - - city: city + billToInfo: + phoneNumber: phoneNumber + city: city countryCode: countryCode - companyName: companyName contact: contact + companyName: companyName postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state email: email - addressId: addressId - billToAddressId: billToAddressId - enduserOrderNumber: enduserOrderNumber + ingramPurchaseOrderNumber: ingramPurchaseOrderNumber + totalWeight: 5.962133916683182 lines: - - ingramPartNumber: ingramPartNumber - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - 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: - description: The contact information for the end user/customer provided - by the reseller. Used to determine pricing and discounts. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo_inner' - type: array - shipToInfo: - description: The shipping information provided by the reseller for order - delivery. - items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo_inner' - type: array - 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 - QuoteToOrderResponse: - example: - confirmationNumber: 987654322 - message: message - quoteNumber: QUO-14551943-D2Y9L9 - properties: - quoteNumber: - description: Unique identifier generated by Ingram Micro's CRM specific - to each quote. - example: QUO-14551943-D2Y9L9 - type: string - confirmationNumber: - description: A unique confirmation number for tracking purposes. - example: 987654322 - type: number - message: - description: A confirmation message. - type: string - type: object - Error: - additionalProperties: false - example: - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - id: - nullable: true - type: string - type: - nullable: true - type: string - message: - nullable: true - type: string - fields: - items: - $ref: '#/components/schemas/Fields' - nullable: true - type: array - type: object - ErrorResponseDTO: - additionalProperties: false - example: - errors: - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - - id: id - type: type - message: message - fields: - - field: field - message: message - value: value - - field: field - message: message - value: value - properties: - errors: - items: - $ref: '#/components/schemas/Error' - nullable: true - type: array - type: object - Fields: - additionalProperties: false - example: - field: field - message: message - value: value - properties: - field: - nullable: true - type: string - message: - nullable: true - type: string - value: - nullable: true - type: string - type: object - OrderDetailB2B: - additionalProperties: false - example: - orderType: orderType - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: chargeAmount - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: chargeAmount - chargeDescription: chargeDescription - notes: notes - endUserInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - endCustomerOrderNumber: endCustomerOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - webOrderId: webOrderId - orderStatus: orderStatus - customerOrderNumber: customerOrderNumber - orderTotal: 0.8008281904610115 - orderSubTotal: 6.027456183070403 - ingramOrderNumber: ingramOrderNumber - totalTax: 5.637376656633329 - shipToInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - billToInfo: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - contact: contact - companyName: companyName - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - ingramPurchaseOrderNumber: ingramPurchaseOrderNumber - totalWeight: 5.962133916683182 - lines: - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - requestedDeliverydate: requestedDeliverydate - multipleShipments: - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - - date: date - dateRange: - endDate: endDate - startDate: startDate - dataType: dataType - requestedQuantity: requestedQuantity - description: description - source: source - lineNumber: lineNumber - deliveryDate: deliveryDate - confirmedQuantity: confirmedQuantity - quantityOrdered: 2 + - unitWeight: 2.3021358869347655 + vendorSalesOrderLineNumber: vendorSalesOrderLineNumber + requestedDeliverydate: requestedDeliverydate + multipleShipments: + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + - date: date + dateRange: + endDate: endDate + startDate: startDate + dataType: dataType + requestedQuantity: requestedQuantity + description: description + source: source + lineNumber: lineNumber + deliveryDate: deliveryDate + confirmedQuantity: confirmedQuantity + quantityOrdered: 2 customerLineNumber: customerLineNumber lineStatus: lineStatus extendedPrice: 9.301444243932576 @@ -13646,31 +13241,257 @@ components: description: attributefield data type: string type: object - OrderCreateResponse_shipToInfo: - description: The shipping information provided by the reseller. + QuoteToOrderDetailsDTO_endUserInfo_inner: example: - city: city - companyName: companyName - postalCode: postalCode - addressId: addressId phoneNumber: phoneNumber + city: city countryCode: countryCode + companyName: companyName contact: contact + postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state - name2: name2 - addressLine4: addressLine4 - name1: name1 email: email properties: - addressId: - description: The ID references the resellers address in Ingram Micro's system - for shipping. Provided to resellers during the onboarding process. + companyName: + description: The company name for the end user/customer. type: string contact: - description: The company contact provided by the reseller. + description: The contact name 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 + 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 + countryCode: + description: The end user/customer's two character ISO country code. + type: string + email: + description: The end user/customer's phone number. + type: string + phoneNumber: + description: The end user/customer's phone number. + type: string + type: object + QuoteToOrderDetailsDTO_shipToInfo_inner: + example: + city: city + countryCode: countryCode + companyName: companyName + contact: contact + postalCode: postalCode + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + 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 + addressLine1: + description: The address line 1 the order will be shipped to. + type: string + addressLine2: + description: The address line 2 the order will be shipped to. + type: string + addressLine3: + description: The address line 3 the order will be shipped to. + nullable: true + 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. + 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 + type: object + QuoteToOrderDetailsDTO_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 + QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner: + additionalProperties: false + example: + attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + properties: + attributeName: + description: The name of the header level field. + type: string + attributeValue: + description: The value of the header level field. + type: string + attributeDescription: + description: The description of the header level field. + type: string + type: object + QuoteToOrderDetailsDTO_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 + QuoteToOrderDetailsDTO_lines_inner: + example: + ingramPartNumber: ingramPartNumber + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: quantity + 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 + 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' + type: array + type: object + ValidateQuoteResponse_vmfAdditionalAttributes_inner: + example: + attributeValue: ABC1234 + attributeName: VEND_AUTH_NBR_FLG + attributeDescription: Authorization Number + properties: + attributeName: + description: The name of the header level field. + example: VEND_AUTH_NBR_FLG + type: string + attributeValue: + description: The value of the header level field. + example: ABC1234 + type: string + attributeDescription: + description: The description of the header level field. + example: Authorization Number + type: string + type: object + ValidateQuoteResponse_lines_inner: + example: + ingramPartNumber: YN6551 + vmfAdditionalAttributesLines: + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + - attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + quantity: "1" + customerLineNumber: "11" + properties: + customerLineNumber: + description: The reseller's line item number for reference in their system. + example: "11" + type: string + ingramPartNumber: + description: Unique Ingram Micro part number. + example: YN6551 + type: string + quantity: + description: The quantity of the line item. + example: "1" + type: string + 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' + type: array + type: object + OrderCreateResponse_shipToInfo: + description: The shipping information provided by the reseller. + example: + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + properties: + addressId: + description: The ID references the resellers address in Ingram Micro's system + for shipping. Provided to resellers during the onboarding process. + type: string + contact: + description: The company contact provided by the reseller. type: string companyName: description: The name of the company the order will be shipped to. @@ -18638,1147 +18459,6 @@ components: $ref: '#/components/schemas/ErrorResponse_errors_inner_fields_inner' type: array type: object - quoteListResponse_quoteSearchResponse_responsePreamble: - properties: - responseStatus: - description: "Status of the Request - \"Passed\", \"Failed\"" - type: string - responseStatusCode: - description: "responseStatusCode is the code returned in response to a request.\ - \ The following Codes are returned: 200 400 500" - type: string - responseMessage: - description: "200 = Action was successfully received, understood and accepted.\ - \ 400 = The request contains bad syntax or can not be fullfilled. This\ - \ means there is a problem with the request. 500 = The server failed to\ - \ fulfill an apparently valid request. This is a temporary problem, the\ - \ request should be resubmitted." - type: string - type: object - quoteListResponse_quoteSearchResponse_quoteList_inner: - properties: - quoteName: - description: Quote Name given to quote by sales team or system generated. - Generally used as a reference to identify the quote. - type: string - quoteNumber: - description: "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." - type: string - revisionNumber: - description: "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." - type: integer - endUserName: - description: End User Name is the end customer name that is associated with - a quote in Ingram Micro's CRM - type: string - bidNumber: - description: "Special Pricing Bid Number, also refers to as Dart Number\ - \ relates to a unique pricing deal associated with a vendor for the quote." - type: string - totalAmount: - description: Total amount of quoted price for all products in the quote. - type: string - quoteStatus: - description: "This refers to the primary status of the quote. API responses\ - \ will return: Active" - type: string - createdDate: - description: Date the Quote was initially Created - example: 2019-10-08 - format: date - type: string - lastModifiedDate: - description: Date the Quote was last updated or modified. - example: 2019-10-08 - format: date - type: string - quoteExpiryDate: - description: Date the Quote Expires - example: 2019-10-08 - format: date - type: string - type: object - quoteListResponse_quoteSearchResponse: - properties: - responsePreamble: - $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse_responsePreamble' - quoteList: - items: - $ref: '#/components/schemas/quoteListResponse_quoteSearchResponse_quoteList_inner' - type: array - totalCount: - description: Total count of quotes retrieved in the request response. - type: integer - type: object - quoteDetailsRequest_quoteProductsRequest_requestpreamble: - properties: - customerNumber: - description: Reseller Number (referred to as the account BCN) is the unique - identifier for an Ingram Micro customer account. - type: string - isoCountryCode: - description: The ISO country codes are internationally recognized codes - designated for each country represented by a two-letter combination (alpha-2). - type: string - required: - - customerNumber - - isoCountryCode - type: object - quoteDetailsRequest_quoteProductsRequest_retrieveQuoteProductsRequest: - properties: - quoteNumber: - description: "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." - type: string - thirdPartySource: - description: Unique identifier used to identify the third party source accessing - the services. - type: string - type: object - quoteDetailsRequest_quoteProductsRequest: - properties: - requestpreamble: - $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest_requestpreamble' - retrieveQuoteProductsRequest: - $ref: '#/components/schemas/quoteDetailsRequest_quoteProductsRequest_retrieveQuoteProductsRequest' - type: object - quoteDetails_quoteDetailResponse_responsePreamble: - properties: - responseStatus: - type: string - statusCode: - type: string - responseMessage: - type: string - type: object - quoteDetails_quoteDetailResponse_retrieveQuoteResponse_accountInfo: - properties: - accountName: - type: string - bcn: - type: string - phone: - type: string - type: object - quoteDetails_quoteDetailResponse_retrieveQuoteResponse_contactInfo: - properties: - contactEmail: - type: string - contactName: - type: string - type: object - quoteDetails_quoteDetailResponse_retrieveQuoteResponse_vendorAttributes: - properties: - estimateId: - type: string - dealId: - type: string - vendorName: - type: string - vendorSettingMessage: - type: string - type: object - quoteDetails_quoteDetailResponse_retrieveQuoteResponse_endUser: - properties: - endUserName: - type: string - endUserAddress: - type: string - endUserAddress2: - type: string - endUserAddress3: - type: string - endUserCity: - type: string - endUserState: - type: string - endUserEmail: - type: string - endUserPhone: - type: string - endUserZipCode: - type: string - endUserContactName: - type: string - endUserMarketSegment: - type: string - type: object - quoteDetails_quoteDetailResponse_retrieveQuoteResponse: - properties: - quoteGuid: - type: string - quoteName: - type: string - quoteNumber: - type: string - quoteExpiryDate: - example: 2020-01-01 - format: date - type: string - revisionNumber: - type: string - introPreamble: - type: string - purchaseInstructions: - type: string - legalTerms: - type: string - currencyCode: - type: string - priceDeviationId: - type: string - priceDeviationStartDate: - format: date - type: string - priceDeviationExpiryDate: - format: date - type: string - customerNeed: - type: string - solutionProposed: - type: string - status: - type: string - created: - example: 2019-10-04 - format: date - type: string - modified: - example: 2019-10-04 - format: date - type: string - leasingCalculations: - type: string - leasingInstructions: - type: string - accountInfo: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_accountInfo' - contactInfo: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_contactInfo' - vendorAttributes: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_vendorAttributes' - endUser: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_endUser' - type: object - quoteDetails_quoteDetailResponse: - properties: - responsePreamble: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_responsePreamble' - retrieveQuoteResponse: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse' - quoteProductList: - items: - $ref: '#/components/schemas/quoteProductList' - type: array - totalQuoteProductCount: - type: string - totalExtendedMsrp: - type: string - totalQuantity: - type: integer - totalExtendedQuotePrice: - type: string - type: object - quoteProductList_price: - properties: - quotePrice: - type: number - msrp: - type: number - extendedMsrp: - type: number - extendedQuotePrice: - type: number - type: object - productSearchRequest_servicerequest_requestpreamble: - properties: - isocountrycode: - type: string - customernumber: - type: string - vendornumber: - type: string - required: - - customernumber - - isocountrycode - type: object - productSearchRequest_servicerequest_productsearchrequest_searchcriteria: - properties: - vendor: - description: Name of the vendor or manufacturer or brand of the product - type: string - vendorpartnumber: - description: Vendor provided part number - example: WKB-1500GB - type: string - partdescription: - description: This field seraches the decriptioon of the product. - example: WRLS ERGO KEYBOARD & MOUSE - type: string - UPC: - description: Universal Product Code - example: "783750005524" - type: string - customerpartnumber: - description: 'Customer’s designated part number ' - type: string - type: object - productSearchRequest_servicerequest_productsearchrequest: - properties: - searchcriteria: - $ref: '#/components/schemas/productSearchRequest_servicerequest_productsearchrequest_searchcriteria' - type: object - productSearchRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/productSearchRequest_servicerequest_requestpreamble' - productsearchrequest: - $ref: '#/components/schemas/productSearchRequest_servicerequest_productsearchrequest' - type: object - multiSKUPriceAndStockResponse_serviceresponse_responsepreamble: - properties: - responsestatus: - description: "SUCCESS or FAILED, sometimes PARTIAL SUCCESS if connection\ - \ to 1 of the systems fails" - type: string - responsemessage: - description: Overall status message including error message - type: string - statuscode: - description: Statuscode Message - type: string - type: object - multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner_warehousedetails_inner: - properties: - warehouseid: - description: Unique 2-digit code of the Ingram Micro warehouse - enum: - - 10-Mira Loma CA - - 20-Carrollton TX - - 30-Millington TN - - 40-Carol Stream IL - - 80-Jonestown PA - type: string - warehousedescription: - description: City of the Ingram Micro warehouse location - type: string - availablequantity: - description: On hand available quantity - type: integer - onorderquantity: - description: On Order quantity - type: integer - onholdquantity: - type: string - etadate: - type: string - type: object - multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner: - properties: - itemstatus: - type: string - statusmessage: - type: string - ingrampartnumber: - description: SKU number for the product for which order needs to be created - with Ingram Micro - maxLength: 6 - type: string - vendorpartnumber: - description: Vendor Part number for the product - maxLength: 21 - type: string - globalskuid: - type: string - customerprice: - description: "Customer specific price for the product, excluding taxes" - type: string - partdescription1: - description: Description on the part number that is being requested - type: string - partdescription2: - description: Contuiation of description on the part number that is being - requested - type: string - vendornumber: - description: Internal four digit code assigned by Ingram - maxLength: 4 - type: string - vendorname: - description: Name of the vendor - type: string - cpucode: - description: Ingram internal code for a product - maxLength: 6 - type: string - class: - description: Ingram Micro assigned product classification. - enum: - - A-Stocked product in all IM warehouses - - B-Limited stock in IM warehouses - - C-Stocked in fewer wareshouses - - D-Ingram discontinued - - E-Planned to be phased out as per the vendor - - F-Carried for specific customer as per the contract - - N-New SKU - - O-Discontinued to be liquidated - - S-Order for specialized demand - - V-Discontinued by vendor - - X-Direct Ship products from vendor - maxLength: 1 - type: string - skustatus: - description: Identifies if the SKU has been discontinued. Rules must be - defined on the values to be sent out to partner. - maxLength: 1 - type: string - mediacpu: - type: string - categorysubcategory: - description: Ingram's internal categorization of the product - type: string - retailprice: - description: MSRP Price 0.00 - type: number - newmedia: - description: Internal four-digit code assigned by Ingram to represent the - item group - type: string - enduserrequired: - description: Y - End user required N - Not required End user - enum: - - Y-End user data required - - N-End user data not required - maxLength: 1 - type: string - backorderflag: - description: Y- Allow Backorder Flag N- Not allowed - enum: - - Y- Can be backordered - - N-Cannot be backordered - maxLength: 1 - type: string - skuauthorized: - type: string - extendedvendorpartnumber: - type: string - warehousedetails: - items: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner_warehousedetails_inner' - type: array - required: - - retailprice - type: object - multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse: - properties: - details: - items: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse_details_inner' - type: array - type: object - multiSKUPriceAndStockResponse_serviceresponse: - properties: - responsepreamble: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_responsepreamble' - priceandstockresponse: - $ref: '#/components/schemas/multiSKUPriceAndStockResponse_serviceresponse_priceandstockresponse' - type: object - multiSKUPriceAndStockRequest_servicerequest_requestpreamble: - properties: - isocountrycode: - description: |- - 2 Digit code - “US”-United States - “CA”-Canada - example: US - maxLength: 2 - minLength: 2 - type: string - customernumber: - description: |- - Ingram Micro customer number - 10-12389 - example: 20-222222 - type: string - required: - - customernumber - - isocountrycode - type: object - multiSKUPriceAndStockRequest_servicerequest_priceandstockrequest_item: - properties: - index: - type: integer - ingrampartnumber: - description: Ingram Micro system specific SKU number for the product for - which the price is requested at Ingram Micro - type: string - vendorpartnumber: - description: Vendor Part Number for the product for which the price is requested - at Ingram Micro - type: string - UPC: - description: Universal Product code for the product for which the price - is requested at Ingram Micro - type: string - customerpartnumber: - description: 'Unique identification number of customer. For this option - the Ingram Micro Sales rep must set up a cross reference table. ' - type: string - warehouseidlist: - description: Unique identity for Ingram Micro warehouses against which stock - details are returned. - type: string - type: object - multiSKUPriceAndStockRequest_servicerequest_priceandstockrequest: - properties: - showwarehouseavailability: - description: True/false to show the availability of individual warehouses - type: string - extravailabilityflag: - description: Y/N to show extra availability flag - type: string - includeallsystems: - description: "Flag to indicate if the price and stock information is required\ - \ for all Ingram Micro systems. If it is set to true, the price and stock\ - \ details will be returned from all Ingram Micro systems and if false,\ - \ the price and stock will have returned from the system where the reseller\ - \ number is set up in." - type: boolean - item: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest_priceandstockrequest_item' - type: object - multiSKUPriceAndStockRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest_requestpreamble' - priceandstockrequest: - $ref: '#/components/schemas/multiSKUPriceAndStockRequest_servicerequest_priceandstockrequest' - type: object - invoiceDetailRequest_servicerequest_requestpreamble: - properties: - isocountrycode: - type: string - customernumber: - type: string - required: - - customernumber - - isocountrycode - type: object - invoiceDetailRequest_servicerequest_invoicedetailrequest: - properties: - invoicenumber: - type: string - required: - - invoicenumber - type: object - invoiceDetailRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/invoiceDetailRequest_servicerequest_requestpreamble' - invoicedetailrequest: - $ref: '#/components/schemas/invoiceDetailRequest_servicerequest_invoicedetailrequest' - type: object - invoiceDetailResponse_serviceresponse_invoicedetailresponse: - properties: - customernumber: - type: string - invoicenumber: - type: string - invoicedate: - format: date - type: string - invoicetype: - type: string - customerordernumber: - type: string - customerfreightamount: - format: double - type: number - customerforeignfrightamt: - format: float - type: number - totaltaxamount: - format: double - type: number - totalamount: - format: double - type: number - shiptosuffix: - type: string - billtosuffix: - type: string - freightamount: - format: double - type: number - paymentterms: - type: string - orderdate: - type: string - carrier: - type: string - carrierdescription: - type: string - discountamount: - format: double - type: number - taxtype: - type: string - enduserponumber: - type: string - freightforwardercode: - type: string - creditmemoreasoncode: - type: string - type: object - invoiceDetailResponse_serviceresponse: - properties: - responsepreamble: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' - invoicedetailresponse: - $ref: '#/components/schemas/invoiceDetailResponse_serviceresponse_invoicedetailresponse' - type: object - orderModifyResponse_serviceresponse_responsepreamble: - properties: - responsestatus: - type: string - responsemessage: - type: string - type: object - orderModifyResponse_serviceresponse_ordermodifyresponse: - properties: - responseflag: - type: string - errortype: - type: string - acktriggered: - type: string - warncode: - type: string - headerresponse: - type: string - type: object - orderModifyResponse_serviceresponse: - properties: - responsepreamble: - $ref: '#/components/schemas/orderModifyResponse_serviceresponse_responsepreamble' - ordermodifyresponse: - $ref: '#/components/schemas/orderModifyResponse_serviceresponse_ordermodifyresponse' - type: object - orderModifyRequest_servicerequest_requestpreamble: - properties: - isocountrycode: - type: string - customernumber: - type: string - type: object - orderModifyRequest_servicerequest_ordermodifyrequest_shipto: - properties: - Id: - type: string - name: - type: string - addressline: - type: string - city: - type: string - state: - type: string - postalcode: - type: string - countrycode: - type: string - type: object - orderModifyRequest_servicerequest_ordermodifyrequest_headerdata: - properties: - actioncode: - type: string - shipviacode: - type: string - type: object - orderModifyRequest_servicerequest_ordermodifyrequest_linedata_inner: - properties: - addlineorupdateline: - type: string - linenumber: - type: string - customerlinenumber: - type: string - ingrampartnumber: - type: string - quantityordered: - type: integer - customerpartnumber: - type: string - linetype: - type: string - type: object - orderModifyRequest_servicerequest_ordermodifyrequest: - properties: - ingramorderbranch: - type: string - ingramordernumber: - type: string - ingramorderdist: - type: string - ingramordership: - type: string - customerponumber: - type: string - shipto: - $ref: '#/components/schemas/orderModifyRequest_servicerequest_ordermodifyrequest_shipto' - headerdata: - $ref: '#/components/schemas/orderModifyRequest_servicerequest_ordermodifyrequest_headerdata' - linedata: - items: - $ref: '#/components/schemas/orderModifyRequest_servicerequest_ordermodifyrequest_linedata_inner' - type: array - type: object - orderModifyRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/orderModifyRequest_servicerequest_requestpreamble' - ordermodifyrequest: - $ref: '#/components/schemas/orderModifyRequest_servicerequest_ordermodifyrequest' - type: object - orderSearchRequest_servicerequest_requestpreamble: - properties: - isoCountryCode: - type: string - customerNumber: - type: string - required: - - customerNumber - - isoCountryCode - type: object - orderSearchRequest_servicerequest_orderLookupRequest_orderNumber: - properties: - entryDate: - type: string - orderBranch: - type: string - orderNumber: - type: string - distributionNumber: - type: string - shipmentNumber: - type: string - required: - - entryDate - - orderBranch - type: object - orderSearchRequest_servicerequest_orderLookupRequest_customerOrderNumber: - properties: - customerOrderNumber: - type: string - type: object - orderSearchRequest_servicerequest_orderLookupRequest: - properties: - orderNumber: - $ref: '#/components/schemas/orderSearchRequest_servicerequest_orderLookupRequest_orderNumber' - customerOrderNumber: - $ref: '#/components/schemas/orderSearchRequest_servicerequest_orderLookupRequest_customerOrderNumber' - type: object - orderSearchRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/orderSearchRequest_servicerequest_requestpreamble' - orderLookupRequest: - $ref: '#/components/schemas/orderSearchRequest_servicerequest_orderLookupRequest' - required: - - requestpreamble - type: object - orderDeleteResponse_serviceresponse_responsepreamble: - properties: - requestStatus: - type: string - returnCode: - type: string - returnMessage: - type: string - type: object - orderDeleteResponse_serviceresponse: - properties: - responsepreamble: - $ref: '#/components/schemas/orderDeleteResponse_serviceresponse_responsepreamble' - type: object - orderDeleteRequest_servicerequest_requestpreamble: - properties: - isocountrycode: - description: Country that Order is being place in. - type: string - customerNumber: - description: |- - Account number order will be billed to. - INGRAM MICRO ACCOUNT NUMBER REQUIRED - type: string - required: - - customerNumber - - isocountrycode - type: object - orderDeleteRequest_servicerequest_OrderDeleteRequestDetails: - properties: - entryDate: - description: Date order entered - example: 8/25/2018 - type: string - orderBranch: - description: Ingram Micro's first 2 numbers of the order number - type: string - orderNumber: - description: Ingram Micro's middle 6 numbers of the order# - type: string - rejectionCode: - type: string - distributionNumber: - description: Ingram Micro's suffix number of the order# - type: string - shipmentNumber: - description: Ingram Micro's last number of the order# - type: string - operatorID: - description: Ingram ID(not required) - type: string - required: - - entryDate - - orderBranch - - orderNumber - type: object - orderDeleteRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/orderDeleteRequest_servicerequest_requestpreamble' - OrderDeleteRequestDetails: - $ref: '#/components/schemas/orderDeleteRequest_servicerequest_OrderDeleteRequestDetails' - required: - - requestpreamble - type: object - orderDetailRequest_servicerequest_orderdetailrequest: - properties: - ordernumber: - description: Ingram Micro Order Number - type: string - customerponumber: - type: string - orderdate: - type: string - systemid: - type: string - required: - - ordernumber - type: object - orderDetailRequest_servicerequest: - properties: - requestpreamble: - $ref: '#/components/schemas/invoiceDetailRequest_servicerequest_requestpreamble' - orderdetailrequest: - $ref: '#/components/schemas/orderDetailRequest_servicerequest_orderdetailrequest' - required: - - requestpreamble - type: object - quoteDetailsResponse_quoteDetailResponse_retrieveQuoteResponse: - properties: - quoteGuid: - type: string - quoteName: - type: string - quoteNumber: - type: string - quoteExpiryDate: - type: string - revisionNumber: - type: string - introPreamble: - type: string - purchaseInstructions: - type: string - legalTerms: - type: string - currencyCode: - type: string - priceDeviationId: - type: string - priceDeviationStartDate: - type: string - priceDeviationExpiryDate: - type: string - customerNeed: - type: string - solutionProposed: - type: string - status: - type: string - created: - type: string - modified: - type: string - leasingCalculations: - type: string - leasingInstructions: - type: string - accountInfo: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_accountInfo' - contactInfo: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_contactInfo' - vendorAttributes: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_vendorAttributes' - endUser: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_retrieveQuoteResponse_endUser' - quoteProductList: - items: - $ref: '#/components/schemas/quoteProductList' - type: array - totalQuoteProductCount: - type: string - totalExtendedMsrp: - type: string - totalQuantity: - type: string - totalExtendedQuotePrice: - type: string - type: object - quoteDetailsResponse_quoteDetailResponse: - properties: - responsePreamble: - $ref: '#/components/schemas/quoteDetails_quoteDetailResponse_responsePreamble' - retrieveQuoteResponse: - $ref: '#/components/schemas/quoteDetailsResponse_quoteDetailResponse_retrieveQuoteResponse' - type: object - ValidateQuoteResponse_vmfAdditionalAttributes_inner: - example: - attributeValue: ABC1234 - attributeName: VEND_AUTH_NBR_FLG - attributeDescription: Authorization Number - properties: - attributeName: - description: The name of the header level field. - example: VEND_AUTH_NBR_FLG - type: string - attributeValue: - description: The value of the header level field. - example: ABC1234 - type: string - attributeDescription: - description: The description of the header level field. - 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 - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: "1" - customerLineNumber: "11" - properties: - customerLineNumber: - description: The reseller's line item number for reference in their system. - example: "11" - type: string - ingramPartNumber: - description: Unique Ingram Micro part number. - example: YN6551 - type: string - quantity: - description: The quantity of the line item. - example: "1" - type: string - vmfAdditionalAttributesLines: - description: The object containing the list of fields required at a line - level by the vendor. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner' - type: array - type: object - QuoteToOrderDetailsDTO_endUserInfo_inner: - example: - phoneNumber: phoneNumber - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - properties: - companyName: - description: The company name for the end user/customer. - type: string - contact: - description: The contact name 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 - 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 - countryCode: - description: The end user/customer's two character ISO country code. - type: string - email: - description: The end user/customer's phone number. - type: string - phoneNumber: - description: The end user/customer's phone number. - type: string - type: object - QuoteToOrderDetailsDTO_shipToInfo_inner: - example: - city: city - countryCode: countryCode - companyName: companyName - contact: contact - postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - 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 - addressLine1: - description: The address line 1 the order will be shipped to. - type: string - addressLine2: - description: The address line 2 the order will be shipped to. - type: string - addressLine3: - description: The address line 3 the order will be shipped to. - nullable: true - 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. - 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 - type: object - QuoteToOrderDetailsDTO_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 - QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner: - additionalProperties: false - example: - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - properties: - attributeName: - description: The name of the header level field. - type: string - attributeValue: - description: The value of the header level field. - type: string - attributeDescription: - description: The description of the header level field. - type: string - type: object - QuoteToOrderDetailsDTO_lines_inner: - example: - ingramPartNumber: ingramPartNumber - vmfAdditionalAttributesLines: - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - - attributeValue: attributeValue - attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - 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 - vmfAdditionalAttributesLines: - description: The object containing the list of fields required at a line - level by the vendor. - items: - $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner' - type: array - type: object OrderDetailB2B_billToInfo: additionalProperties: false description: The billing information provided by the reseller. diff --git a/docs/InvoiceDetailRequest.md b/docs/InvoiceDetailRequest.md deleted file mode 100644 index 5d39b686..00000000 --- a/docs/InvoiceDetailRequest.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InvoiceDetailRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**InvoiceDetailRequestServicerequest**](InvoiceDetailRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/InvoiceDetailRequestServicerequest.md b/docs/InvoiceDetailRequestServicerequest.md deleted file mode 100644 index d741baac..00000000 --- a/docs/InvoiceDetailRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# InvoiceDetailRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**InvoiceDetailRequestServicerequestRequestpreamble**](InvoiceDetailRequestServicerequestRequestpreamble.md) | | [optional] | -|**invoicedetailrequest** | [**InvoiceDetailRequestServicerequestInvoicedetailrequest**](InvoiceDetailRequestServicerequestInvoicedetailrequest.md) | | [optional] | - - - diff --git a/docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md b/docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md deleted file mode 100644 index cd1d7640..00000000 --- a/docs/InvoiceDetailRequestServicerequestInvoicedetailrequest.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InvoiceDetailRequestServicerequestInvoicedetailrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**invoicenumber** | **String** | | | - - - diff --git a/docs/InvoiceDetailRequestServicerequestRequestpreamble.md b/docs/InvoiceDetailRequestServicerequestRequestpreamble.md deleted file mode 100644 index 2d81eb9a..00000000 --- a/docs/InvoiceDetailRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# InvoiceDetailRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | | | -|**customernumber** | **String** | | | - - - diff --git a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md b/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md index 8f26dbed..b78aae82 100644 --- a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md +++ b/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md @@ -18,9 +18,9 @@ |**totalamount** | **Double** | | [optional] | |**shiptosuffix** | **String** | | [optional] | |**billtosuffix** | **String** | | [optional] | -|**freightamount** | **Double** | | [optional] | +|**freightamount** | **Double** | May not be available in all countries | [optional] | |**paymentterms** | **String** | | [optional] | -|**orderdate** | **String** | | [optional] | +|**orderdate** | **LocalDate** | | [optional] | |**carrier** | **String** | | [optional] | |**carrierdescription** | **String** | | [optional] | |**discountamount** | **Double** | | [optional] | @@ -28,6 +28,27 @@ |**enduserponumber** | **String** | | [optional] | |**freightforwardercode** | **String** | | [optional] | |**creditmemoreasoncode** | **String** | | [optional] | +|**fulfillmentflag** | **String** | | [optional] | +|**holdreason** | **String** | | [optional] | +|**shipcomplete** | **String** | | [optional] | +|**shipdate** | **LocalDate** | | [optional] | +|**companycurrency** | **String** | | [optional] | +|**currencycode** | **String** | | [optional] | +|**currencyrate** | **String** | | [optional] | +|**globalorderid** | **String** | | [optional] | +|**originalshipcode** | **String** | | [optional] | +|**ordertype** | **String** | | [optional] | +|**orderstatus** | **String** | | [optional] | +|**totalotherfees** | **BigDecimal** | | [optional] | +|**totalsales** | **String** | | [optional] | +|**weight** | **String** | | [optional] | +|**shippableswitch** | **String** | | [optional] | +|**soldto** | [**AddressType**](AddressType.md) | | [optional] | +|**billto** | [**AddressType**](AddressType.md) | | [optional] | +|**shoptoaddress** | [**AddressType**](AddressType.md) | | [optional] | +|**lines** | [**List<ProductLineType>**](ProductLineType.md) | | [optional] | +|**extendedspecs** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) | | [optional] | +|**miscfeeline** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md) | | [optional] | diff --git a/docs/MultiSKUPriceAndStockRequest.md b/docs/MultiSKUPriceAndStockRequest.md deleted file mode 100644 index 0412840a..00000000 --- a/docs/MultiSKUPriceAndStockRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MultiSKUPriceAndStockRequest - -Request object model for the multi sku price and stock API endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**MultiSKUPriceAndStockRequestServicerequest**](MultiSKUPriceAndStockRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockRequestServicerequest.md b/docs/MultiSKUPriceAndStockRequestServicerequest.md deleted file mode 100644 index 450cc7c1..00000000 --- a/docs/MultiSKUPriceAndStockRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MultiSKUPriceAndStockRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**MultiSKUPriceAndStockRequestServicerequestRequestpreamble**](MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md) | | [optional] | -|**priceandstockrequest** | [**MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest**](MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md b/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md deleted file mode 100644 index e00081ad..00000000 --- a/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**showwarehouseavailability** | **String** | True/false to show the availability of individual warehouses | [optional] | -|**extravailabilityflag** | **String** | Y/N to show extra availability flag | [optional] | -|**includeallsystems** | **Boolean** | Flag to indicate if the price and stock information is required for all Ingram Micro systems. If it is set to true, the price and stock details will be returned from all Ingram Micro systems and if false, the price and stock will have returned from the system where the reseller number is set up in. | [optional] | -|**item** | [**MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem**](MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md b/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md deleted file mode 100644 index 78561938..00000000 --- a/docs/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**index** | **Integer** | | [optional] | -|**ingrampartnumber** | **String** | Ingram Micro system specific SKU number for the product for which the price is requested at Ingram Micro | [optional] | -|**vendorpartnumber** | **String** | Vendor Part Number for the product for which the price is requested at Ingram Micro | [optional] | -|**UPC** | **String** | Universal Product code for the product for which the price is requested at Ingram Micro | [optional] | -|**customerpartnumber** | **String** | Unique identification number of customer. For this option the Ingram Micro Sales rep must set up a cross reference table. | [optional] | -|**warehouseidlist** | **String** | Unique identity for Ingram Micro warehouses against which stock details are returned. | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md b/docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md deleted file mode 100644 index 0fa7baf3..00000000 --- a/docs/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MultiSKUPriceAndStockRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | 2 Digit code “US”-United States “CA”-Canada | | -|**customernumber** | **String** | Ingram Micro customer number 10-12389 | | - - - diff --git a/docs/MultiSKUPriceAndStockResponse.md b/docs/MultiSKUPriceAndStockResponse.md deleted file mode 100644 index 4c735085..00000000 --- a/docs/MultiSKUPriceAndStockResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MultiSKUPriceAndStockResponse - -Response object model for the multi sku price and stock API endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**MultiSKUPriceAndStockResponseServiceresponse**](MultiSKUPriceAndStockResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponse.md b/docs/MultiSKUPriceAndStockResponseServiceresponse.md deleted file mode 100644 index 9626f141..00000000 --- a/docs/MultiSKUPriceAndStockResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MultiSKUPriceAndStockResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**MultiSKUPriceAndStockResponseServiceresponseResponsepreamble**](MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md) | | [optional] | -|**priceandstockresponse** | [**MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse**](MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md b/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md deleted file mode 100644 index 70339b98..00000000 --- a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**details** | [**List<MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner>**](MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md) | | [optional] | - - - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md b/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md deleted file mode 100644 index 23582018..00000000 --- a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.md +++ /dev/null @@ -1,70 +0,0 @@ - - -# MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**itemstatus** | **String** | | [optional] | -|**statusmessage** | **String** | | [optional] | -|**ingrampartnumber** | **String** | SKU number for the product for which order needs to be created with Ingram Micro | [optional] | -|**vendorpartnumber** | **String** | Vendor Part number for the product | [optional] | -|**globalskuid** | **String** | | [optional] | -|**customerprice** | **String** | Customer specific price for the product, excluding taxes | [optional] | -|**partdescription1** | **String** | Description on the part number that is being requested | [optional] | -|**partdescription2** | **String** | Contuiation of description on the part number that is being requested | [optional] | -|**vendornumber** | **String** | Internal four digit code assigned by Ingram | [optional] | -|**vendorname** | **String** | Name of the vendor | [optional] | -|**cpucode** | **String** | Ingram internal code for a product | [optional] | -|**propertyClass** | [**PropertyClassEnum**](#PropertyClassEnum) | Ingram Micro assigned product classification. | [optional] | -|**skustatus** | **String** | Identifies if the SKU has been discontinued. Rules must be defined on the values to be sent out to partner. | [optional] | -|**mediacpu** | **String** | | [optional] | -|**categorysubcategory** | **String** | Ingram's internal categorization of the product | [optional] | -|**retailprice** | **BigDecimal** | MSRP Price 0.00 | | -|**newmedia** | **String** | Internal four-digit code assigned by Ingram to represent the item group | [optional] | -|**enduserrequired** | [**EnduserrequiredEnum**](#EnduserrequiredEnum) | Y - End user required N - Not required End user | [optional] | -|**backorderflag** | [**BackorderflagEnum**](#BackorderflagEnum) | Y- Allow Backorder Flag N- Not allowed | [optional] | -|**skuauthorized** | **String** | | [optional] | -|**extendedvendorpartnumber** | **String** | | [optional] | -|**warehousedetails** | [**List<MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner>**](MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md) | | [optional] | - - - -## Enum: PropertyClassEnum - -| Name | Value | -|---- | -----| -| A_STOCKED_PRODUCT_IN_ALL_IM_WAREHOUSES | "A-Stocked product in all IM warehouses" | -| B_LIMITED_STOCK_IN_IM_WAREHOUSES | "B-Limited stock in IM warehouses" | -| C_STOCKED_IN_FEWER_WARESHOUSES | "C-Stocked in fewer wareshouses" | -| D_INGRAM_DISCONTINUED | "D-Ingram discontinued" | -| E_PLANNED_TO_BE_PHASED_OUT_AS_PER_THE_VENDOR | "E-Planned to be phased out as per the vendor" | -| F_CARRIED_FOR_SPECIFIC_CUSTOMER_AS_PER_THE_CONTRACT | "F-Carried for specific customer as per the contract" | -| N_NEW_SKU | "N-New SKU" | -| O_DISCONTINUED_TO_BE_LIQUIDATED | "O-Discontinued to be liquidated" | -| S_ORDER_FOR_SPECIALIZED_DEMAND | "S-Order for specialized demand" | -| V_DISCONTINUED_BY_VENDOR | "V-Discontinued by vendor" | -| X_DIRECT_SHIP_PRODUCTS_FROM_VENDOR | "X-Direct Ship products from vendor" | - - - -## Enum: EnduserrequiredEnum - -| Name | Value | -|---- | -----| -| Y_END_USER_DATA_REQUIRED | "Y-End user data required" | -| N_END_USER_DATA_NOT_REQUIRED | "N-End user data not required" | - - - -## Enum: BackorderflagEnum - -| Name | Value | -|---- | -----| -| Y_CAN_BE_BACKORDERED | "Y- Can be backordered" | -| N_CANNOT_BE_BACKORDERED | "N-Cannot be backordered" | - - - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md b/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md deleted file mode 100644 index fe2710ae..00000000 --- a/docs/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**warehouseid** | [**WarehouseidEnum**](#WarehouseidEnum) | Unique 2-digit code of the Ingram Micro warehouse | [optional] | -|**warehousedescription** | **String** | City of the Ingram Micro warehouse location | [optional] | -|**availablequantity** | **Integer** | On hand available quantity | [optional] | -|**onorderquantity** | **Integer** | On Order quantity | [optional] | -|**onholdquantity** | **String** | | [optional] | -|**etadate** | **String** | | [optional] | - - - -## Enum: WarehouseidEnum - -| Name | Value | -|---- | -----| -| _10_MIRA_LOMA_CA | "10-Mira Loma CA" | -| _20_CARROLLTON_TX | "20-Carrollton TX" | -| _30_MILLINGTON_TN | "30-Millington TN" | -| _40_CAROL_STREAM_IL | "40-Carol Stream IL" | -| _80_JONESTOWN_PA | "80-Jonestown PA" | - - - diff --git a/docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md b/docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md deleted file mode 100644 index 5b8604ac..00000000 --- a/docs/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsestatus** | **String** | SUCCESS or FAILED, sometimes PARTIAL SUCCESS if connection to 1 of the systems fails | [optional] | -|**responsemessage** | **String** | Overall status message including error message | [optional] | -|**statuscode** | **String** | Statuscode Message | [optional] | - - - diff --git a/docs/OrderDeleteRequest.md b/docs/OrderDeleteRequest.md deleted file mode 100644 index 180e7c3a..00000000 --- a/docs/OrderDeleteRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDeleteRequest - -Request schema for order delete endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**OrderDeleteRequestServicerequest**](OrderDeleteRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/OrderDeleteRequestServicerequest.md b/docs/OrderDeleteRequestServicerequest.md deleted file mode 100644 index 06a130b5..00000000 --- a/docs/OrderDeleteRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDeleteRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**OrderDeleteRequestServicerequestRequestpreamble**](OrderDeleteRequestServicerequestRequestpreamble.md) | | | -|**orderDeleteRequestDetails** | [**OrderDeleteRequestServicerequestOrderDeleteRequestDetails**](OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md) | | [optional] | - - - diff --git a/docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md b/docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md deleted file mode 100644 index 55bf40dc..00000000 --- a/docs/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# OrderDeleteRequestServicerequestOrderDeleteRequestDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**entryDate** | **String** | Date order entered | | -|**orderBranch** | **String** | Ingram Micro's first 2 numbers of the order number | | -|**orderNumber** | **String** | Ingram Micro's middle 6 numbers of the order# | | -|**rejectionCode** | **String** | | [optional] | -|**distributionNumber** | **String** | Ingram Micro's suffix number of the order# | [optional] | -|**shipmentNumber** | **String** | Ingram Micro's last number of the order# | [optional] | -|**operatorID** | **String** | Ingram ID(not required) | [optional] | - - - diff --git a/docs/OrderDeleteRequestServicerequestRequestpreamble.md b/docs/OrderDeleteRequestServicerequestRequestpreamble.md deleted file mode 100644 index 0f756378..00000000 --- a/docs/OrderDeleteRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDeleteRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | Country that Order is being place in. | | -|**customerNumber** | **String** | Account number order will be billed to. INGRAM MICRO ACCOUNT NUMBER REQUIRED | | - - - diff --git a/docs/OrderDeleteResponse.md b/docs/OrderDeleteResponse.md deleted file mode 100644 index 178d66e4..00000000 --- a/docs/OrderDeleteResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDeleteResponse - -Response schema for order delete endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderDeleteResponseServiceresponse**](OrderDeleteResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/OrderDeleteResponseServiceresponse.md b/docs/OrderDeleteResponseServiceresponse.md deleted file mode 100644 index fbc143d8..00000000 --- a/docs/OrderDeleteResponseServiceresponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# OrderDeleteResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**OrderDeleteResponseServiceresponseResponsepreamble**](OrderDeleteResponseServiceresponseResponsepreamble.md) | | [optional] | - - - diff --git a/docs/OrderDeleteResponseServiceresponseResponsepreamble.md b/docs/OrderDeleteResponseServiceresponseResponsepreamble.md deleted file mode 100644 index f92fb22a..00000000 --- a/docs/OrderDeleteResponseServiceresponseResponsepreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# OrderDeleteResponseServiceresponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestStatus** | **String** | | [optional] | -|**returnCode** | **String** | | [optional] | -|**returnMessage** | **String** | | [optional] | - - - diff --git a/docs/OrderDetailRequest.md b/docs/OrderDetailRequest.md deleted file mode 100644 index a13f57a9..00000000 --- a/docs/OrderDetailRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailRequest - -Request schema for order details endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**OrderDetailRequestServicerequest**](OrderDetailRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/OrderDetailRequestServicerequest.md b/docs/OrderDetailRequestServicerequest.md deleted file mode 100644 index b3df43fb..00000000 --- a/docs/OrderDetailRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**InvoiceDetailRequestServicerequestRequestpreamble**](InvoiceDetailRequestServicerequestRequestpreamble.md) | | | -|**orderdetailrequest** | [**OrderDetailRequestServicerequestOrderdetailrequest**](OrderDetailRequestServicerequestOrderdetailrequest.md) | | [optional] | - - - diff --git a/docs/OrderDetailRequestServicerequestOrderdetailrequest.md b/docs/OrderDetailRequestServicerequestOrderdetailrequest.md deleted file mode 100644 index 4855a0ef..00000000 --- a/docs/OrderDetailRequestServicerequestOrderdetailrequest.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderDetailRequestServicerequestOrderdetailrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ordernumber** | **String** | Ingram Micro Order Number | | -|**customerponumber** | **String** | | [optional] | -|**orderdate** | **String** | | [optional] | -|**systemid** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyRequest.md b/docs/OrderModifyRequest.md index e53bb1ad..f82b6141 100644 --- a/docs/OrderModifyRequest.md +++ b/docs/OrderModifyRequest.md @@ -2,13 +2,15 @@ # OrderModifyRequest -Request schema for order modify endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**OrderModifyRequestServicerequest**](OrderModifyRequestServicerequest.md) | | [optional] | +|**notes** | **String** | Shipment-level notes. | [optional] | +|**shipToInfo** | [**OrderModifyRequestShipToInfo**](OrderModifyRequestShipToInfo.md) | | [optional] | +|**lines** | [**List<OrderModifyRequestLinesInner>**](OrderModifyRequestLinesInner.md) | The order line items. | [optional] | +|**additionalAttributes** | [**List<OrderModifyRequestAdditionalAttributesInner>**](OrderModifyRequestAdditionalAttributesInner.md) | Header-level additional attributes. | [optional] | diff --git a/docs/OrderModifyRequestServicerequest.md b/docs/OrderModifyRequestServicerequest.md deleted file mode 100644 index ace4f3a1..00000000 --- a/docs/OrderModifyRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderModifyRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**OrderModifyRequestServicerequestRequestpreamble**](OrderModifyRequestServicerequestRequestpreamble.md) | | [optional] | -|**ordermodifyrequest** | [**OrderModifyRequestServicerequestOrdermodifyrequest**](OrderModifyRequestServicerequestOrdermodifyrequest.md) | | [optional] | - - - diff --git a/docs/OrderModifyRequestServicerequestOrdermodifyrequest.md b/docs/OrderModifyRequestServicerequestOrdermodifyrequest.md deleted file mode 100644 index 9181b0e9..00000000 --- a/docs/OrderModifyRequestServicerequestOrdermodifyrequest.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# OrderModifyRequestServicerequestOrdermodifyrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ingramorderbranch** | **String** | | [optional] | -|**ingramordernumber** | **String** | | [optional] | -|**ingramorderdist** | **String** | | [optional] | -|**ingramordership** | **String** | | [optional] | -|**customerponumber** | **String** | | [optional] | -|**shipto** | [**OrderModifyRequestServicerequestOrdermodifyrequestShipto**](OrderModifyRequestServicerequestOrdermodifyrequestShipto.md) | | [optional] | -|**headerdata** | [**OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata**](OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md) | | [optional] | -|**linedata** | [**List<OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner>**](OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md) | | [optional] | - - - diff --git a/docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md b/docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md deleted file mode 100644 index b0859241..00000000 --- a/docs/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**actioncode** | **String** | | [optional] | -|**shipviacode** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md b/docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md deleted file mode 100644 index f950cb47..00000000 --- a/docs/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**addlineorupdateline** | **String** | | [optional] | -|**linenumber** | **String** | | [optional] | -|**customerlinenumber** | **String** | | [optional] | -|**ingrampartnumber** | **String** | | [optional] | -|**quantityordered** | **Integer** | | [optional] | -|**customerpartnumber** | **String** | | [optional] | -|**linetype** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md b/docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md deleted file mode 100644 index 5868388f..00000000 --- a/docs/OrderModifyRequestServicerequestOrdermodifyrequestShipto.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# OrderModifyRequestServicerequestOrdermodifyrequestShipto - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**addressline** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyRequestServicerequestRequestpreamble.md b/docs/OrderModifyRequestServicerequestRequestpreamble.md deleted file mode 100644 index d6ea804a..00000000 --- a/docs/OrderModifyRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderModifyRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | | [optional] | -|**customernumber** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyResponse.md b/docs/OrderModifyResponse.md index 86596f0f..68c13004 100644 --- a/docs/OrderModifyResponse.md +++ b/docs/OrderModifyResponse.md @@ -2,13 +2,27 @@ # OrderModifyResponse -Response schema for order modify endpoint ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**OrderModifyResponseServiceresponse**](OrderModifyResponseServiceresponse.md) | | [optional] | +|**ingramOrderNumber** | **String** | The IngramMicro order number. | [optional] | +|**changeDescription** | **String** | The description of the change. | [optional] | +|**orderModifiedDate** | **String** | The date the order was modified. | [optional] | +|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] | +|**endCustomerOrderNumber** | **String** | The end user/customer's order number for reference in their system. | [optional] | +|**orderTotal** | **BigDecimal** | The total for the order. | [optional] | +|**notes** | **String** | Order-level notes. | [optional] | +|**orderSubTotal** | **BigDecimal** | The sub total for the order. | [optional] | +|**freightCharges** | **BigDecimal** | The freight charges for the order. | [optional] | +|**totalTax** | **BigDecimal** | The total tax for the order. | [optional] | +|**orderStatus** | **String** | The status of the order. One of the following. Backordered, In Progress, Shipped, Delivered, Canceled, On Hold | [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] | +|**shipToInfo** | [**OrderModifyResponseShipToInfo**](OrderModifyResponseShipToInfo.md) | | [optional] | +|**lines** | [**List<OrderModifyResponseLinesInner>**](OrderModifyResponseLinesInner.md) | The line-level details for the order. | [optional] | +|**rejectedLineItems** | [**List<OrderModifyResponseRejectedLineItemsInner>**](OrderModifyResponseRejectedLineItemsInner.md) | Details for failed lines in the order. | [optional] | +|**additionalAttributes** | [**List<OrderModifyResponseLinesInnerAdditionalAttributesInner>**](OrderModifyResponseLinesInnerAdditionalAttributesInner.md) | Header-level additional attributes. | [optional] | diff --git a/docs/OrderModifyResponseServiceresponse.md b/docs/OrderModifyResponseServiceresponse.md deleted file mode 100644 index baa0d45b..00000000 --- a/docs/OrderModifyResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderModifyResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**OrderModifyResponseServiceresponseResponsepreamble**](OrderModifyResponseServiceresponseResponsepreamble.md) | | [optional] | -|**ordermodifyresponse** | [**OrderModifyResponseServiceresponseOrdermodifyresponse**](OrderModifyResponseServiceresponseOrdermodifyresponse.md) | | [optional] | - - - diff --git a/docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md b/docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md deleted file mode 100644 index 872607e1..00000000 --- a/docs/OrderModifyResponseServiceresponseOrdermodifyresponse.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# OrderModifyResponseServiceresponseOrdermodifyresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responseflag** | **String** | | [optional] | -|**errortype** | **String** | | [optional] | -|**acktriggered** | **String** | | [optional] | -|**warncode** | **String** | | [optional] | -|**headerresponse** | **String** | | [optional] | - - - diff --git a/docs/OrderModifyResponseServiceresponseResponsepreamble.md b/docs/OrderModifyResponseServiceresponseResponsepreamble.md deleted file mode 100644 index 5dddc0b4..00000000 --- a/docs/OrderModifyResponseServiceresponseResponsepreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderModifyResponseServiceresponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsestatus** | **String** | | [optional] | -|**responsemessage** | **String** | | [optional] | - - - diff --git a/docs/OrderSearchRequest.md b/docs/OrderSearchRequest.md deleted file mode 100644 index 9dd98e44..00000000 --- a/docs/OrderSearchRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchRequest - -Request schema for order search endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**OrderSearchRequestServicerequest**](OrderSearchRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/OrderSearchRequestServicerequest.md b/docs/OrderSearchRequestServicerequest.md deleted file mode 100644 index 40ebb466..00000000 --- a/docs/OrderSearchRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**OrderSearchRequestServicerequestRequestpreamble**](OrderSearchRequestServicerequestRequestpreamble.md) | | | -|**orderLookupRequest** | [**OrderSearchRequestServicerequestOrderLookupRequest**](OrderSearchRequestServicerequestOrderLookupRequest.md) | | [optional] | - - - diff --git a/docs/OrderSearchRequestServicerequestOrderLookupRequest.md b/docs/OrderSearchRequestServicerequestOrderLookupRequest.md deleted file mode 100644 index 0c411a71..00000000 --- a/docs/OrderSearchRequestServicerequestOrderLookupRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchRequestServicerequestOrderLookupRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**orderNumber** | [**OrderSearchRequestServicerequestOrderLookupRequestOrderNumber**](OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md) | | [optional] | -|**customerOrderNumber** | [**OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber**](OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md) | | [optional] | - - - diff --git a/docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md b/docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md deleted file mode 100644 index f8fb6cab..00000000 --- a/docs/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerOrderNumber** | **String** | | [optional] | - - - diff --git a/docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md b/docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md deleted file mode 100644 index b89dc875..00000000 --- a/docs/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**entryDate** | **String** | | | -|**orderBranch** | **String** | | | -|**orderNumber** | **String** | | [optional] | -|**distributionNumber** | **String** | | [optional] | -|**shipmentNumber** | **String** | | [optional] | - - - diff --git a/docs/OrderSearchRequestServicerequestRequestpreamble.md b/docs/OrderSearchRequestServicerequestRequestpreamble.md deleted file mode 100644 index 1f51eaca..00000000 --- a/docs/OrderSearchRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderSearchRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isoCountryCode** | **String** | | | -|**customerNumber** | **String** | | | - - - diff --git a/docs/ProductSearchRequest.md b/docs/ProductSearchRequest.md deleted file mode 100644 index 70521129..00000000 --- a/docs/ProductSearchRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ProductSearchRequest - -Request object model for the product search endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**servicerequest** | [**ProductSearchRequestServicerequest**](ProductSearchRequestServicerequest.md) | | [optional] | - - - diff --git a/docs/ProductSearchRequestServicerequest.md b/docs/ProductSearchRequestServicerequest.md deleted file mode 100644 index f1d2843c..00000000 --- a/docs/ProductSearchRequestServicerequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ProductSearchRequestServicerequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**ProductSearchRequestServicerequestRequestpreamble**](ProductSearchRequestServicerequestRequestpreamble.md) | | [optional] | -|**productsearchrequest** | [**ProductSearchRequestServicerequestProductsearchrequest**](ProductSearchRequestServicerequestProductsearchrequest.md) | | [optional] | - - - diff --git a/docs/ProductSearchRequestServicerequestProductsearchrequest.md b/docs/ProductSearchRequestServicerequestProductsearchrequest.md deleted file mode 100644 index e590093b..00000000 --- a/docs/ProductSearchRequestServicerequestProductsearchrequest.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ProductSearchRequestServicerequestProductsearchrequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**searchcriteria** | [**ProductSearchRequestServicerequestProductsearchrequestSearchcriteria**](ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md) | | [optional] | - - - diff --git a/docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md b/docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md deleted file mode 100644 index 4ec31d14..00000000 --- a/docs/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**vendor** | **String** | Name of the vendor or manufacturer or brand of the product | [optional] | -|**vendorpartnumber** | **String** | Vendor provided part number | [optional] | -|**partdescription** | **String** | This field seraches the decriptioon of the product. | [optional] | -|**UPC** | **String** | Universal Product Code | [optional] | -|**customerpartnumber** | **String** | Customer’s designated part number | [optional] | - - - diff --git a/docs/ProductSearchRequestServicerequestRequestpreamble.md b/docs/ProductSearchRequestServicerequestRequestpreamble.md deleted file mode 100644 index 097bbadb..00000000 --- a/docs/ProductSearchRequestServicerequestRequestpreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ProductSearchRequestServicerequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**isocountrycode** | **String** | | | -|**customernumber** | **String** | | | -|**vendornumber** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetails.md b/docs/QuoteDetails.md deleted file mode 100644 index fd41d9b6..00000000 --- a/docs/QuoteDetails.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetails - -Response schema for quote details - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteDetailResponse** | [**QuoteDetailsQuoteDetailResponse**](QuoteDetailsQuoteDetailResponse.md) | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponse.md b/docs/QuoteDetailsQuoteDetailResponse.md deleted file mode 100644 index 97e94822..00000000 --- a/docs/QuoteDetailsQuoteDetailResponse.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsePreamble** | [**QuoteDetailsQuoteDetailResponseResponsePreamble**](QuoteDetailsQuoteDetailResponseResponsePreamble.md) | | [optional] | -|**retrieveQuoteResponse** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md) | | [optional] | -|**quoteProductList** | [**List<QuoteProductList>**](QuoteProductList.md) | | [optional] | -|**totalQuoteProductCount** | **String** | | [optional] | -|**totalExtendedMsrp** | **String** | | [optional] | -|**totalQuantity** | **Integer** | | [optional] | -|**totalExtendedQuotePrice** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md b/docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md deleted file mode 100644 index 884ee26c..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseResponsePreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseResponsePreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responseStatus** | **String** | | [optional] | -|**statusCode** | **String** | | [optional] | -|**responseMessage** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md b/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md deleted file mode 100644 index 7e27d9f7..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteGuid** | **String** | | [optional] | -|**quoteName** | **String** | | [optional] | -|**quoteNumber** | **String** | | [optional] | -|**quoteExpiryDate** | **LocalDate** | | [optional] | -|**revisionNumber** | **String** | | [optional] | -|**introPreamble** | **String** | | [optional] | -|**purchaseInstructions** | **String** | | [optional] | -|**legalTerms** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**priceDeviationId** | **String** | | [optional] | -|**priceDeviationStartDate** | **LocalDate** | | [optional] | -|**priceDeviationExpiryDate** | **LocalDate** | | [optional] | -|**customerNeed** | **String** | | [optional] | -|**solutionProposed** | **String** | | [optional] | -|**status** | **String** | | [optional] | -|**created** | **LocalDate** | | [optional] | -|**modified** | **LocalDate** | | [optional] | -|**leasingCalculations** | **String** | | [optional] | -|**leasingInstructions** | **String** | | [optional] | -|**accountInfo** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md) | | [optional] | -|**contactInfo** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md) | | [optional] | -|**vendorAttributes** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md) | | [optional] | -|**endUser** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md) | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md b/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md deleted file mode 100644 index b6aebaf8..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**accountName** | **String** | | [optional] | -|**bcn** | **String** | | [optional] | -|**phone** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md b/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md deleted file mode 100644 index 6febeae9..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**contactEmail** | **String** | | [optional] | -|**contactName** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md b/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md deleted file mode 100644 index 23502ed8..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md +++ /dev/null @@ -1,23 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**endUserName** | **String** | | [optional] | -|**endUserAddress** | **String** | | [optional] | -|**endUserAddress2** | **String** | | [optional] | -|**endUserAddress3** | **String** | | [optional] | -|**endUserCity** | **String** | | [optional] | -|**endUserState** | **String** | | [optional] | -|**endUserEmail** | **String** | | [optional] | -|**endUserPhone** | **String** | | [optional] | -|**endUserZipCode** | **String** | | [optional] | -|**endUserContactName** | **String** | | [optional] | -|**endUserMarketSegment** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md b/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md deleted file mode 100644 index 832a90c2..00000000 --- a/docs/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**estimateId** | **String** | | [optional] | -|**dealId** | **String** | | [optional] | -|**vendorName** | **String** | | [optional] | -|**vendorSettingMessage** | **String** | | [optional] | - - - diff --git a/docs/QuoteDetailsRequest.md b/docs/QuoteDetailsRequest.md deleted file mode 100644 index 0bfd594c..00000000 --- a/docs/QuoteDetailsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsRequest - -Request schema for get quote details endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteProductsRequest** | [**QuoteDetailsRequestQuoteProductsRequest**](QuoteDetailsRequestQuoteProductsRequest.md) | | [optional] | - - - diff --git a/docs/QuoteDetailsRequestQuoteProductsRequest.md b/docs/QuoteDetailsRequestQuoteProductsRequest.md deleted file mode 100644 index 6cb7b332..00000000 --- a/docs/QuoteDetailsRequestQuoteProductsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsRequestQuoteProductsRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requestpreamble** | [**QuoteDetailsRequestQuoteProductsRequestRequestpreamble**](QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md) | | [optional] | -|**retrieveQuoteProductsRequest** | [**QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest**](QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md) | | [optional] | - - - diff --git a/docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md b/docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md deleted file mode 100644 index c7505b6d..00000000 --- a/docs/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsRequestQuoteProductsRequestRequestpreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customerNumber** | **String** | Reseller Number (referred to as the account BCN) is the unique identifier for an Ingram Micro customer account. | | -|**isoCountryCode** | **String** | The ISO country codes are internationally recognized codes designated for each country represented by a two-letter combination (alpha-2). | | - - - diff --git a/docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md b/docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md deleted file mode 100644 index d0556f00..00000000 --- a/docs/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**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] | -|**thirdPartySource** | **String** | Unique identifier used to identify the third party source accessing the services. | [optional] | - - - diff --git a/docs/QuoteDetailsResponse.md b/docs/QuoteDetailsResponse.md index ebf143f5..e91f4366 100644 --- a/docs/QuoteDetailsResponse.md +++ b/docs/QuoteDetailsResponse.md @@ -7,7 +7,32 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**quoteDetailResponse** | [**QuoteDetailsResponseQuoteDetailResponse**](QuoteDetailsResponseQuoteDetailResponse.md) | | [optional] | +|**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] | +|**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] | +|**ingramQuoteExpiryDate** | **String** | Quote expiration date. | [optional] | +|**currencyCode** | **String** | Three letter currency code. | [optional] | +|**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] | +|**status** | **String** | This refers to the primary status of the quote. API responses will return | [optional] | +|**customerNeed** | **String** | Details related to the customer's request for the quote entered by the sales representative or system generated. | [optional] | +|**proposedSolution** | **String** | Ingram Micro proposed solution and summary of quote. | [optional] | +|**introPreamble** | **String** | Introductory paragraph included in each quote. Legally required - must be included when presenting the quote details. | [optional] | +|**purchaseInstructions** | **String** | Purchase instructions. Legally required - must be included when presenting the quote details. | [optional] | +|**legalTerms** | **String** | Legal terms - Legally required - must be included when presenting the quote details. | [optional] | +|**leaseInfo** | **String** | Lease information. | [optional] | +|**leasingInstructions** | **String** | Leasing information | [optional] | +|**resellerInfo** | [**QuoteDetailsResponseResellerInfo**](QuoteDetailsResponseResellerInfo.md) | | [optional] | +|**endUserInfo** | [**QuoteDetailsResponseEndUserInfo**](QuoteDetailsResponseEndUserInfo.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] | +|**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] | +|**additionalAttributes** | [**List<QuoteDetailsResponseAdditionalAttributesInner>**](QuoteDetailsResponseAdditionalAttributesInner.md) | | [optional] | diff --git a/docs/QuoteDetailsResponseQuoteDetailResponse.md b/docs/QuoteDetailsResponseQuoteDetailResponse.md deleted file mode 100644 index 852c2914..00000000 --- a/docs/QuoteDetailsResponseQuoteDetailResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteDetailsResponseQuoteDetailResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsePreamble** | [**QuoteDetailsQuoteDetailResponseResponsePreamble**](QuoteDetailsQuoteDetailResponseResponsePreamble.md) | | [optional] | -|**retrieveQuoteResponse** | [**QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse**](QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md) | | [optional] | - - - diff --git a/docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md b/docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md deleted file mode 100644 index ae338b74..00000000 --- a/docs/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.md +++ /dev/null @@ -1,40 +0,0 @@ - - -# QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteGuid** | **String** | | [optional] | -|**quoteName** | **String** | | [optional] | -|**quoteNumber** | **String** | | [optional] | -|**quoteExpiryDate** | **String** | | [optional] | -|**revisionNumber** | **String** | | [optional] | -|**introPreamble** | **String** | | [optional] | -|**purchaseInstructions** | **String** | | [optional] | -|**legalTerms** | **String** | | [optional] | -|**currencyCode** | **String** | | [optional] | -|**priceDeviationId** | **String** | | [optional] | -|**priceDeviationStartDate** | **String** | | [optional] | -|**priceDeviationExpiryDate** | **String** | | [optional] | -|**customerNeed** | **String** | | [optional] | -|**solutionProposed** | **String** | | [optional] | -|**status** | **String** | | [optional] | -|**created** | **String** | | [optional] | -|**modified** | **String** | | [optional] | -|**leasingCalculations** | **String** | | [optional] | -|**leasingInstructions** | **String** | | [optional] | -|**accountInfo** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.md) | | [optional] | -|**contactInfo** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.md) | | [optional] | -|**vendorAttributes** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.md) | | [optional] | -|**endUser** | [**QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser**](QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.md) | | [optional] | -|**quoteProductList** | [**List<QuoteProductList>**](QuoteProductList.md) | | [optional] | -|**totalQuoteProductCount** | **String** | | [optional] | -|**totalExtendedMsrp** | **String** | | [optional] | -|**totalQuantity** | **String** | | [optional] | -|**totalExtendedQuotePrice** | **String** | | [optional] | - - - diff --git a/docs/QuoteListResponse.md b/docs/QuoteListResponse.md deleted file mode 100644 index 513595d0..00000000 --- a/docs/QuoteListResponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# QuoteListResponse - -Response schema for get quote list endpoint - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteSearchResponse** | [**QuoteListResponseQuoteSearchResponse**](QuoteListResponseQuoteSearchResponse.md) | | [optional] | - - - diff --git a/docs/QuoteListResponseQuoteSearchResponse.md b/docs/QuoteListResponseQuoteSearchResponse.md deleted file mode 100644 index 1f8f4b9c..00000000 --- a/docs/QuoteListResponseQuoteSearchResponse.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# QuoteListResponseQuoteSearchResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsePreamble** | [**QuoteListResponseQuoteSearchResponseResponsePreamble**](QuoteListResponseQuoteSearchResponseResponsePreamble.md) | | [optional] | -|**quoteList** | [**List<QuoteListResponseQuoteSearchResponseQuoteListInner>**](QuoteListResponseQuoteSearchResponseQuoteListInner.md) | | [optional] | -|**totalCount** | **Integer** | Total count of quotes retrieved in the request response. | [optional] | - - - diff --git a/docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md b/docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md deleted file mode 100644 index ae0d48a5..00000000 --- a/docs/QuoteListResponseQuoteSearchResponseQuoteListInner.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# QuoteListResponseQuoteSearchResponseQuoteListInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**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] | -|**revisionNumber** | **Integer** | 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] | -|**endUserName** | **String** | End User Name is the end customer name that is associated with a quote in Ingram Micro's CRM | [optional] | -|**bidNumber** | **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] | -|**totalAmount** | **String** | Total amount of quoted price for all products in the quote. | [optional] | -|**quoteStatus** | **String** | This refers to the primary status of the quote. API responses will return: Active | [optional] | -|**createdDate** | **LocalDate** | Date the Quote was initially Created | [optional] | -|**lastModifiedDate** | **LocalDate** | Date the Quote was last updated or modified. | [optional] | -|**quoteExpiryDate** | **LocalDate** | Date the Quote Expires | [optional] | - - - diff --git a/docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md b/docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md deleted file mode 100644 index fe06c5ac..00000000 --- a/docs/QuoteListResponseQuoteSearchResponseResponsePreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# QuoteListResponseQuoteSearchResponseResponsePreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responseStatus** | **String** | Status of the Request - \"Passed\", \"Failed\" | [optional] | -|**responseStatusCode** | **String** | responseStatusCode is the code returned in response to a request. The following Codes are returned: 200 400 500 | [optional] | -|**responseMessage** | **String** | 200 = Action was successfully received, understood and accepted. 400 = The request contains bad syntax or can not be fullfilled. This means there is a problem with the request. 500 = The server failed to fulfill an apparently valid request. This is a temporary problem, the request should be resubmitted. | [optional] | - - - diff --git a/docs/QuoteProductList.md b/docs/QuoteProductList.md deleted file mode 100644 index bdbe3875..00000000 --- a/docs/QuoteProductList.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# QuoteProductList - - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quoteProductGuid** | **String** | | [optional] | -|**quantity** | **String** | | [optional] | -|**comments** | **String** | | [optional] | -|**bidStartDate** | **String** | | [optional] | -|**bidExpiryDate** | **String** | | [optional] | -|**sku** | **String** | | [optional] | -|**lineNumber** | **String** | | [optional] | -|**description** | **String** | | [optional] | -|**vendorPartNumber** | **String** | | [optional] | -|**weight** | **String** | | [optional] | -|**isSuggestionProduct** | **String** | | [optional] | -|**vpnCategory** | **String** | | [optional] | -|**quoteProductsSupplierPartAuxiliaryId** | **String** | | [optional] | -|**quoteProductsVendor** | **String** | | [optional] | -|**price** | [**QuoteProductListPrice**](QuoteProductListPrice.md) | | [optional] | - - - diff --git a/docs/QuoteProductListPrice.md b/docs/QuoteProductListPrice.md deleted file mode 100644 index a9477b26..00000000 --- a/docs/QuoteProductListPrice.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# QuoteProductListPrice - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quotePrice** | **BigDecimal** | | [optional] | -|**msrp** | **BigDecimal** | | [optional] | -|**extendedMsrp** | **BigDecimal** | | [optional] | -|**extendedQuotePrice** | **BigDecimal** | | [optional] | - - - diff --git a/docs/QuoteToOrderDetailsDTOLinesInner.md b/docs/QuoteToOrderDetailsDTOLinesInner.md index 6d95d8fb..d5623092 100644 --- a/docs/QuoteToOrderDetailsDTOLinesInner.md +++ b/docs/QuoteToOrderDetailsDTOLinesInner.md @@ -10,7 +10,7 @@ |**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<ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner>**](ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [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/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md b/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md similarity index 85% rename from docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md rename to docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md index d9c9ca4b..9cd88422 100644 --- a/docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md +++ b/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md @@ -1,6 +1,6 @@ -# ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner +# QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner ## Properties diff --git a/docs/ValidateQuoteResponseLinesInner.md b/docs/ValidateQuoteResponseLinesInner.md index 8235fcf5..857e5553 100644 --- a/docs/ValidateQuoteResponseLinesInner.md +++ b/docs/ValidateQuoteResponseLinesInner.md @@ -10,7 +10,7 @@ |**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<ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner>**](ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [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/src/main/java/xiresellers/client/ApiCallback.java b/src/main/java/xiresellers/client/ApiCallback.java index 28eef8d0..2a27fc34 100644 --- a/src/main/java/xiresellers/client/ApiCallback.java +++ b/src/main/java/xiresellers/client/ApiCallback.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ApiClient.java b/src/main/java/xiresellers/client/ApiClient.java index e83d3ef3..9fca53e5 100644 --- a/src/main/java/xiresellers/client/ApiClient.java +++ b/src/main/java/xiresellers/client/ApiClient.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index 3981f6c5..33f904df 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 c40eeb07..5c973b30 100644 --- a/src/main/java/xiresellers/client/ApiResponse.java +++ b/src/main/java/xiresellers/client/ApiResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 6b79d0e8..08410b82 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 b2a143a5..e86f99bd 100644 --- a/src/main/java/xiresellers/client/GzipRequestInterceptor.java +++ b/src/main/java/xiresellers/client/GzipRequestInterceptor.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/JSON.java b/src/main/java/xiresellers/client/JSON.java index 012948fa..529047ec 100644 --- a/src/main/java/xiresellers/client/JSON.java +++ b/src/main/java/xiresellers/client/JSON.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -125,10 +125,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri 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.InvoiceDetailRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailRequestServicerequestInvoicedetailrequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponse.CustomTypeAdapterFactory()); @@ -149,17 +145,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailsv61ResponseSummaryTotals.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceSearchResponseInvoicesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateRequestEndUserInfo.CustomTypeAdapterFactory()); @@ -183,13 +168,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseOrdersInnerMiscellaneousChargesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseOrdersInnerRejectedLineItemsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderCreateResponseShipToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequestOrderDeleteRequestDetails.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2B.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BBillToInfo.CustomTypeAdapterFactory()); @@ -214,9 +192,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BMiscellaneousChargesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BShipToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailRequestServicerequestOrderdetailrequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseBillToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseEndUserInfo.CustomTypeAdapterFactory()); @@ -232,28 +207,13 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestShipto.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestShipToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseLinesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseLinesInnerAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseLinesInnerShipmentDetails.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseRejectedLineItemsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseServiceresponseOrdermodifyresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseServiceresponseResponsepreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyResponseShipToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseOrdersInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderSearchResponseOrdersInnerLinks.CustomTypeAdapterFactory()); @@ -293,46 +253,22 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineType.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineTypeSerialnumberdetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineTypeTrackingnumberdetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchRequestServicerequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchRequestServicerequestRequestpreamble.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetails.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseResponsePreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRequestpreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponse.CustomTypeAdapterFactory()); 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.QuoteDetailsResponseProductsInnerPrice.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteDetailsResponseResellerInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponseQuoteSearchResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponseQuoteSearchResponseQuoteListInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteListResponseQuoteSearchResponseResponsePreamble.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteProductList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteProductListPrice.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponseQuotesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTO.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfoInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfoInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOVmfadditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderResponse.CustomTypeAdapterFactory()); @@ -364,7 +300,6 @@ 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 1a37d1b3..1e1316f5 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2e622ff3..eebd806d 100644 --- a/src/main/java/xiresellers/client/ProgressRequestBody.java +++ b/src/main/java/xiresellers/client/ProgressRequestBody.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/ProgressResponseBody.java b/src/main/java/xiresellers/client/ProgressResponseBody.java index 23404241..1d8fab3b 100644 --- a/src/main/java/xiresellers/client/ProgressResponseBody.java +++ b/src/main/java/xiresellers/client/ProgressResponseBody.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index 0630d299..a2da134c 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/DealsApi.java b/src/main/java/xiresellers/client/api/DealsApi.java index 3a6e83c7..40ac41dd 100644 --- a/src/main/java/xiresellers/client/api/DealsApi.java +++ b/src/main/java/xiresellers/client/api/DealsApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/FreightEstimateApi.java b/src/main/java/xiresellers/client/api/FreightEstimateApi.java index 669d3507..b386dcca 100644 --- a/src/main/java/xiresellers/client/api/FreightEstimateApi.java +++ b/src/main/java/xiresellers/client/api/FreightEstimateApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/InvoicesApi.java b/src/main/java/xiresellers/client/api/InvoicesApi.java index 6334889a..ab22af29 100644 --- a/src/main/java/xiresellers/client/api/InvoicesApi.java +++ b/src/main/java/xiresellers/client/api/InvoicesApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/InvoicesV6Api.java b/src/main/java/xiresellers/client/api/InvoicesV6Api.java index 9125d736..02e6537e 100644 --- a/src/main/java/xiresellers/client/api/InvoicesV6Api.java +++ b/src/main/java/xiresellers/client/api/InvoicesV6Api.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrderStatusApi.java b/src/main/java/xiresellers/client/api/OrderStatusApi.java index c979cbe5..f1685555 100644 --- a/src/main/java/xiresellers/client/api/OrderStatusApi.java +++ b/src/main/java/xiresellers/client/api/OrderStatusApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrdersApi.java b/src/main/java/xiresellers/client/api/OrdersApi.java index d7875864..4406831b 100644 --- a/src/main/java/xiresellers/client/api/OrdersApi.java +++ b/src/main/java/xiresellers/client/api/OrdersApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/OrdersV6Api.java b/src/main/java/xiresellers/client/api/OrdersV6Api.java index af3ee585..24af2878 100644 --- a/src/main/java/xiresellers/client/api/OrdersV6Api.java +++ b/src/main/java/xiresellers/client/api/OrdersV6Api.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/ProductCatalogApi.java b/src/main/java/xiresellers/client/api/ProductCatalogApi.java index 41c45c5a..020acf01 100644 --- a/src/main/java/xiresellers/client/api/ProductCatalogApi.java +++ b/src/main/java/xiresellers/client/api/ProductCatalogApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java b/src/main/java/xiresellers/client/api/QuoteToOrderApi.java index 8a35a239..25db6fa8 100644 --- a/src/main/java/xiresellers/client/api/QuoteToOrderApi.java +++ b/src/main/java/xiresellers/client/api/QuoteToOrderApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/QuotesApi.java b/src/main/java/xiresellers/client/api/QuotesApi.java index 6158cc15..e7451780 100644 --- a/src/main/java/xiresellers/client/api/QuotesApi.java +++ b/src/main/java/xiresellers/client/api/QuotesApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/RenewalsApi.java b/src/main/java/xiresellers/client/api/RenewalsApi.java index 85091d38..009fa310 100644 --- a/src/main/java/xiresellers/client/api/RenewalsApi.java +++ b/src/main/java/xiresellers/client/api/RenewalsApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/ReturnsApi.java b/src/main/java/xiresellers/client/api/ReturnsApi.java index b73f5a8f..9f46cb7e 100644 --- a/src/main/java/xiresellers/client/api/ReturnsApi.java +++ b/src/main/java/xiresellers/client/api/ReturnsApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/api/StockUpdateApi.java b/src/main/java/xiresellers/client/api/StockUpdateApi.java index f904e4d3..79aaa612 100644 --- a/src/main/java/xiresellers/client/api/StockUpdateApi.java +++ b/src/main/java/xiresellers/client/api/StockUpdateApi.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index 885c1957..70bc9d40 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 29e2ca37..56dcd66e 100644 --- a/src/main/java/xiresellers/client/auth/Authentication.java +++ b/src/main/java/xiresellers/client/auth/Authentication.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java index 07b8dd10..096c9f24 100644 --- a/src/main/java/xiresellers/client/auth/HttpBasicAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBasicAuth.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index f03e20e9..bd689578 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 6a2f1739..2daa61cd 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 45523af0..fc23b8f7 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 13da9299..fbe89b27 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AddressType.java b/src/main/java/xiresellers/client/model/AddressType.java index 6e06aff5..f7434c7f 100644 --- a/src/main/java/xiresellers/client/model/AddressType.java +++ b/src/main/java/xiresellers/client/model/AddressType.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Address type object */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class AddressType { public static final String SERIALIZED_NAME_ATTENTION = "attention"; @SerializedName(SERIALIZED_NAME_ATTENTION) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index 103ae120..d4791697 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index 6b77664f..7d2a3d3d 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 443cfd42..0c0913d6 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 d4043e2f..e095cada 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index ca089f09..993ee0de 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 ffeec5a0..a545aa24 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index 5fb4727a..dac22b8c 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 c8d5a775..b9cd118f 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 e993b423..8ff2b8ff 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index 9eb958dc..8109bff7 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 57094cd7..a4ca0d06 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index 7aa33750..ba9ada45 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 75ebd81f..424d6f00 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 66704633..bcde26b4 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index 61e99e28..d84bf185 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2c250862..a84c5cab 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 622e8257..c7cd1132 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 23a6d4df..9a4e47e5 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index af8ceac1..3c3136a7 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index 6db96f81..ae921dd9 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index 37050795..41cb1c6e 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index 23b3210a..5e4772a0 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index 2bc6cf7c..47c75515 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java index 560e6929..02be6697 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * GetResellerV6ValidateQuote500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java deleted file mode 100644 index 300e4854..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequest; - -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; - -/** - * InvoiceDetailRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class InvoiceDetailRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private InvoiceDetailRequestServicerequest servicerequest; - - public InvoiceDetailRequest() { - } - - public InvoiceDetailRequest servicerequest(InvoiceDetailRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public InvoiceDetailRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(InvoiceDetailRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailRequest invoiceDetailRequest = (InvoiceDetailRequest) o; - return Objects.equals(this.servicerequest, invoiceDetailRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 InvoiceDetailRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailRequest is not found in the empty JSON string", InvoiceDetailRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - InvoiceDetailRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailRequest - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailRequest - */ - public static InvoiceDetailRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailRequest.class); - } - - /** - * Convert an instance of InvoiceDetailRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java deleted file mode 100644 index 45fd59bb..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequestInvoicedetailrequest; -import xiresellers.client.model.InvoiceDetailRequestServicerequestRequestpreamble; - -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; - -/** - * InvoiceDetailRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class InvoiceDetailRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private InvoiceDetailRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_INVOICEDETAILREQUEST = "invoicedetailrequest"; - @SerializedName(SERIALIZED_NAME_INVOICEDETAILREQUEST) - private InvoiceDetailRequestServicerequestInvoicedetailrequest invoicedetailrequest; - - public InvoiceDetailRequestServicerequest() { - } - - public InvoiceDetailRequestServicerequest requestpreamble(InvoiceDetailRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public InvoiceDetailRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(InvoiceDetailRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public InvoiceDetailRequestServicerequest invoicedetailrequest(InvoiceDetailRequestServicerequestInvoicedetailrequest invoicedetailrequest) { - this.invoicedetailrequest = invoicedetailrequest; - return this; - } - - /** - * Get invoicedetailrequest - * @return invoicedetailrequest - **/ - @javax.annotation.Nullable - public InvoiceDetailRequestServicerequestInvoicedetailrequest getInvoicedetailrequest() { - return invoicedetailrequest; - } - - public void setInvoicedetailrequest(InvoiceDetailRequestServicerequestInvoicedetailrequest invoicedetailrequest) { - this.invoicedetailrequest = invoicedetailrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailRequestServicerequest invoiceDetailRequestServicerequest = (InvoiceDetailRequestServicerequest) o; - return Objects.equals(this.requestpreamble, invoiceDetailRequestServicerequest.requestpreamble) && - Objects.equals(this.invoicedetailrequest, invoiceDetailRequestServicerequest.invoicedetailrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, invoicedetailrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" invoicedetailrequest: ").append(toIndentedString(invoicedetailrequest)).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("requestpreamble"); - openapiFields.add("invoicedetailrequest"); - - // 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 InvoiceDetailRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailRequestServicerequest is not found in the empty JSON string", InvoiceDetailRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - InvoiceDetailRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `invoicedetailrequest` - if (jsonObj.get("invoicedetailrequest") != null && !jsonObj.get("invoicedetailrequest").isJsonNull()) { - InvoiceDetailRequestServicerequestInvoicedetailrequest.validateJsonElement(jsonObj.get("invoicedetailrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailRequestServicerequest - */ - public static InvoiceDetailRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailRequestServicerequest.class); - } - - /** - * Convert an instance of InvoiceDetailRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java deleted file mode 100644 index 0205158b..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequest.java +++ /dev/null @@ -1,214 +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.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; - -/** - * InvoiceDetailRequestServicerequestInvoicedetailrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class InvoiceDetailRequestServicerequestInvoicedetailrequest { - public static final String SERIALIZED_NAME_INVOICENUMBER = "invoicenumber"; - @SerializedName(SERIALIZED_NAME_INVOICENUMBER) - private String invoicenumber; - - public InvoiceDetailRequestServicerequestInvoicedetailrequest() { - } - - public InvoiceDetailRequestServicerequestInvoicedetailrequest invoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - return this; - } - - /** - * Get invoicenumber - * @return invoicenumber - **/ - @javax.annotation.Nonnull - public String getInvoicenumber() { - return invoicenumber; - } - - public void setInvoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailRequestServicerequestInvoicedetailrequest invoiceDetailRequestServicerequestInvoicedetailrequest = (InvoiceDetailRequestServicerequestInvoicedetailrequest) o; - return Objects.equals(this.invoicenumber, invoiceDetailRequestServicerequestInvoicedetailrequest.invoicenumber); - } - - @Override - public int hashCode() { - return Objects.hash(invoicenumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailRequestServicerequestInvoicedetailrequest {\n"); - sb.append(" invoicenumber: ").append(toIndentedString(invoicenumber)).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("invoicenumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("invoicenumber"); - } - - /** - * 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 InvoiceDetailRequestServicerequestInvoicedetailrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailRequestServicerequestInvoicedetailrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailRequestServicerequestInvoicedetailrequest is not found in the empty JSON string", InvoiceDetailRequestServicerequestInvoicedetailrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailRequestServicerequestInvoicedetailrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailRequestServicerequestInvoicedetailrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : InvoiceDetailRequestServicerequestInvoicedetailrequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("invoicenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicenumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailRequestServicerequestInvoicedetailrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailRequestServicerequestInvoicedetailrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailRequestServicerequestInvoicedetailrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailRequestServicerequestInvoicedetailrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailRequestServicerequestInvoicedetailrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailRequestServicerequestInvoicedetailrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailRequestServicerequestInvoicedetailrequest - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailRequestServicerequestInvoicedetailrequest - */ - public static InvoiceDetailRequestServicerequestInvoicedetailrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailRequestServicerequestInvoicedetailrequest.class); - } - - /** - * Convert an instance of InvoiceDetailRequestServicerequestInvoicedetailrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java deleted file mode 100644 index c9a5a12d..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * InvoiceDetailRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class InvoiceDetailRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public InvoiceDetailRequestServicerequestRequestpreamble() { - } - - public InvoiceDetailRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * Get isocountrycode - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public InvoiceDetailRequestServicerequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Get customernumber - * @return customernumber - **/ - @javax.annotation.Nonnull - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailRequestServicerequestRequestpreamble invoiceDetailRequestServicerequestRequestpreamble = (InvoiceDetailRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, invoiceDetailRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, invoiceDetailRequestServicerequestRequestpreamble.customernumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customernumber"); - } - - /** - * 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 InvoiceDetailRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailRequestServicerequestRequestpreamble is not found in the empty JSON string", InvoiceDetailRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : InvoiceDetailRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailRequestServicerequestRequestpreamble - */ - public static InvoiceDetailRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of InvoiceDetailRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java index 58288ba3..f0a8afff 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java index 559a4b27..65a9c5d1 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * InvoiceDetailResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java index 4b4f0b9c..4c8a49ba 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,15 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.time.LocalDate; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AddressType; +import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; +import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner; +import xiresellers.client.model.ProductLineType; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,7 +57,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) @@ -106,7 +113,7 @@ public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { public static final String SERIALIZED_NAME_ORDERDATE = "orderdate"; @SerializedName(SERIALIZED_NAME_ORDERDATE) - private String orderdate; + private LocalDate orderdate; public static final String SERIALIZED_NAME_CARRIER = "carrier"; @SerializedName(SERIALIZED_NAME_CARRIER) @@ -136,6 +143,90 @@ public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { @SerializedName(SERIALIZED_NAME_CREDITMEMOREASONCODE) private String creditmemoreasoncode; + public static final String SERIALIZED_NAME_FULFILLMENTFLAG = "fulfillmentflag"; + @SerializedName(SERIALIZED_NAME_FULFILLMENTFLAG) + private String fulfillmentflag; + + public static final String SERIALIZED_NAME_HOLDREASON = "holdreason"; + @SerializedName(SERIALIZED_NAME_HOLDREASON) + private String holdreason; + + public static final String SERIALIZED_NAME_SHIPCOMPLETE = "shipcomplete"; + @SerializedName(SERIALIZED_NAME_SHIPCOMPLETE) + private String shipcomplete; + + public static final String SERIALIZED_NAME_SHIPDATE = "shipdate"; + @SerializedName(SERIALIZED_NAME_SHIPDATE) + private LocalDate shipdate; + + public static final String SERIALIZED_NAME_COMPANYCURRENCY = "companycurrency"; + @SerializedName(SERIALIZED_NAME_COMPANYCURRENCY) + private String companycurrency; + + public static final String SERIALIZED_NAME_CURRENCYCODE = "currencycode"; + @SerializedName(SERIALIZED_NAME_CURRENCYCODE) + private String currencycode; + + public static final String SERIALIZED_NAME_CURRENCYRATE = "currencyrate"; + @SerializedName(SERIALIZED_NAME_CURRENCYRATE) + private String currencyrate; + + public static final String SERIALIZED_NAME_GLOBALORDERID = "globalorderid"; + @SerializedName(SERIALIZED_NAME_GLOBALORDERID) + private String globalorderid; + + public static final String SERIALIZED_NAME_ORIGINALSHIPCODE = "originalshipcode"; + @SerializedName(SERIALIZED_NAME_ORIGINALSHIPCODE) + private String originalshipcode; + + public static final String SERIALIZED_NAME_ORDERTYPE = "ordertype"; + @SerializedName(SERIALIZED_NAME_ORDERTYPE) + private String ordertype; + + public static final String SERIALIZED_NAME_ORDERSTATUS = "orderstatus"; + @SerializedName(SERIALIZED_NAME_ORDERSTATUS) + private String orderstatus; + + public static final String SERIALIZED_NAME_TOTALOTHERFEES = "totalotherfees"; + @SerializedName(SERIALIZED_NAME_TOTALOTHERFEES) + private BigDecimal totalotherfees; + + public static final String SERIALIZED_NAME_TOTALSALES = "totalsales"; + @SerializedName(SERIALIZED_NAME_TOTALSALES) + private String totalsales; + + public static final String SERIALIZED_NAME_WEIGHT = "weight"; + @SerializedName(SERIALIZED_NAME_WEIGHT) + private String weight; + + public static final String SERIALIZED_NAME_SHIPPABLESWITCH = "shippableswitch"; + @SerializedName(SERIALIZED_NAME_SHIPPABLESWITCH) + private String shippableswitch; + + public static final String SERIALIZED_NAME_SOLDTO = "soldto"; + @SerializedName(SERIALIZED_NAME_SOLDTO) + private AddressType soldto; + + public static final String SERIALIZED_NAME_BILLTO = "billto"; + @SerializedName(SERIALIZED_NAME_BILLTO) + private AddressType billto; + + public static final String SERIALIZED_NAME_SHOPTOADDRESS = "shoptoaddress"; + @SerializedName(SERIALIZED_NAME_SHOPTOADDRESS) + private AddressType shoptoaddress; + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines; + + public static final String SERIALIZED_NAME_EXTENDEDSPECS = "extendedspecs"; + @SerializedName(SERIALIZED_NAME_EXTENDEDSPECS) + private List extendedspecs; + + public static final String SERIALIZED_NAME_MISCFEELINE = "miscfeeline"; + @SerializedName(SERIALIZED_NAME_MISCFEELINE) + private List miscfeeline; + public InvoiceDetailResponseServiceresponseInvoicedetailresponse() { } @@ -354,7 +445,7 @@ public InvoiceDetailResponseServiceresponseInvoicedetailresponse freightamount(D } /** - * Get freightamount + * May not be available in all countries * @return freightamount **/ @javax.annotation.Nullable @@ -386,7 +477,7 @@ public void setPaymentterms(String paymentterms) { } - public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderdate(String orderdate) { + public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderdate(LocalDate orderdate) { this.orderdate = orderdate; return this; } @@ -396,11 +487,11 @@ public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderdate(Strin * @return orderdate **/ @javax.annotation.Nullable - public String getOrderdate() { + public LocalDate getOrderdate() { return orderdate; } - public void setOrderdate(String orderdate) { + public void setOrderdate(LocalDate orderdate) { this.orderdate = orderdate; } @@ -538,6 +629,429 @@ public void setCreditmemoreasoncode(String creditmemoreasoncode) { } + public InvoiceDetailResponseServiceresponseInvoicedetailresponse fulfillmentflag(String fulfillmentflag) { + this.fulfillmentflag = fulfillmentflag; + return this; + } + + /** + * Get fulfillmentflag + * @return fulfillmentflag + **/ + @javax.annotation.Nullable + public String getFulfillmentflag() { + return fulfillmentflag; + } + + public void setFulfillmentflag(String fulfillmentflag) { + this.fulfillmentflag = fulfillmentflag; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse holdreason(String holdreason) { + this.holdreason = holdreason; + return this; + } + + /** + * Get holdreason + * @return holdreason + **/ + @javax.annotation.Nullable + public String getHoldreason() { + return holdreason; + } + + public void setHoldreason(String holdreason) { + this.holdreason = holdreason; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse shipcomplete(String shipcomplete) { + this.shipcomplete = shipcomplete; + return this; + } + + /** + * Get shipcomplete + * @return shipcomplete + **/ + @javax.annotation.Nullable + public String getShipcomplete() { + return shipcomplete; + } + + public void setShipcomplete(String shipcomplete) { + this.shipcomplete = shipcomplete; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse shipdate(LocalDate shipdate) { + this.shipdate = shipdate; + return this; + } + + /** + * Get shipdate + * @return shipdate + **/ + @javax.annotation.Nullable + public LocalDate getShipdate() { + return shipdate; + } + + public void setShipdate(LocalDate shipdate) { + this.shipdate = shipdate; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse companycurrency(String companycurrency) { + this.companycurrency = companycurrency; + return this; + } + + /** + * Get companycurrency + * @return companycurrency + **/ + @javax.annotation.Nullable + public String getCompanycurrency() { + return companycurrency; + } + + public void setCompanycurrency(String companycurrency) { + this.companycurrency = companycurrency; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse currencycode(String currencycode) { + this.currencycode = currencycode; + return this; + } + + /** + * Get currencycode + * @return currencycode + **/ + @javax.annotation.Nullable + public String getCurrencycode() { + return currencycode; + } + + public void setCurrencycode(String currencycode) { + this.currencycode = currencycode; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse currencyrate(String currencyrate) { + this.currencyrate = currencyrate; + return this; + } + + /** + * Get currencyrate + * @return currencyrate + **/ + @javax.annotation.Nullable + public String getCurrencyrate() { + return currencyrate; + } + + public void setCurrencyrate(String currencyrate) { + this.currencyrate = currencyrate; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse globalorderid(String globalorderid) { + this.globalorderid = globalorderid; + return this; + } + + /** + * Get globalorderid + * @return globalorderid + **/ + @javax.annotation.Nullable + public String getGlobalorderid() { + return globalorderid; + } + + public void setGlobalorderid(String globalorderid) { + this.globalorderid = globalorderid; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse originalshipcode(String originalshipcode) { + this.originalshipcode = originalshipcode; + return this; + } + + /** + * Get originalshipcode + * @return originalshipcode + **/ + @javax.annotation.Nullable + public String getOriginalshipcode() { + return originalshipcode; + } + + public void setOriginalshipcode(String originalshipcode) { + this.originalshipcode = originalshipcode; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse ordertype(String ordertype) { + this.ordertype = ordertype; + return this; + } + + /** + * Get ordertype + * @return ordertype + **/ + @javax.annotation.Nullable + public String getOrdertype() { + return ordertype; + } + + public void setOrdertype(String ordertype) { + this.ordertype = ordertype; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderstatus(String orderstatus) { + this.orderstatus = orderstatus; + return this; + } + + /** + * Get orderstatus + * @return orderstatus + **/ + @javax.annotation.Nullable + public String getOrderstatus() { + return orderstatus; + } + + public void setOrderstatus(String orderstatus) { + this.orderstatus = orderstatus; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse totalotherfees(BigDecimal totalotherfees) { + this.totalotherfees = totalotherfees; + return this; + } + + /** + * Get totalotherfees + * @return totalotherfees + **/ + @javax.annotation.Nullable + public BigDecimal getTotalotherfees() { + return totalotherfees; + } + + public void setTotalotherfees(BigDecimal totalotherfees) { + this.totalotherfees = totalotherfees; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse totalsales(String totalsales) { + this.totalsales = totalsales; + return this; + } + + /** + * Get totalsales + * @return totalsales + **/ + @javax.annotation.Nullable + public String getTotalsales() { + return totalsales; + } + + public void setTotalsales(String totalsales) { + this.totalsales = totalsales; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse weight(String weight) { + this.weight = weight; + return this; + } + + /** + * Get weight + * @return weight + **/ + @javax.annotation.Nullable + public String getWeight() { + return weight; + } + + public void setWeight(String weight) { + this.weight = weight; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse shippableswitch(String shippableswitch) { + this.shippableswitch = shippableswitch; + return this; + } + + /** + * Get shippableswitch + * @return shippableswitch + **/ + @javax.annotation.Nullable + public String getShippableswitch() { + return shippableswitch; + } + + public void setShippableswitch(String shippableswitch) { + this.shippableswitch = shippableswitch; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse soldto(AddressType soldto) { + this.soldto = soldto; + return this; + } + + /** + * Get soldto + * @return soldto + **/ + @javax.annotation.Nullable + public AddressType getSoldto() { + return soldto; + } + + public void setSoldto(AddressType soldto) { + this.soldto = soldto; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse billto(AddressType billto) { + this.billto = billto; + return this; + } + + /** + * Get billto + * @return billto + **/ + @javax.annotation.Nullable + public AddressType getBillto() { + return billto; + } + + public void setBillto(AddressType billto) { + this.billto = billto; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse shoptoaddress(AddressType shoptoaddress) { + this.shoptoaddress = shoptoaddress; + return this; + } + + /** + * Get shoptoaddress + * @return shoptoaddress + **/ + @javax.annotation.Nullable + public AddressType getShoptoaddress() { + return shoptoaddress; + } + + public void setShoptoaddress(AddressType shoptoaddress) { + this.shoptoaddress = shoptoaddress; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse lines(List lines) { + this.lines = lines; + return this; + } + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse addLinesItem(ProductLineType linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * Get lines + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse extendedspecs(List extendedspecs) { + this.extendedspecs = extendedspecs; + return this; + } + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse addExtendedspecsItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner extendedspecsItem) { + if (this.extendedspecs == null) { + this.extendedspecs = new ArrayList<>(); + } + this.extendedspecs.add(extendedspecsItem); + return this; + } + + /** + * Get extendedspecs + * @return extendedspecs + **/ + @javax.annotation.Nullable + public List getExtendedspecs() { + return extendedspecs; + } + + public void setExtendedspecs(List extendedspecs) { + this.extendedspecs = extendedspecs; + } + + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse miscfeeline(List miscfeeline) { + this.miscfeeline = miscfeeline; + return this; + } + + public InvoiceDetailResponseServiceresponseInvoicedetailresponse addMiscfeelineItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner miscfeelineItem) { + if (this.miscfeeline == null) { + this.miscfeeline = new ArrayList<>(); + } + this.miscfeeline.add(miscfeelineItem); + return this; + } + + /** + * Get miscfeeline + * @return miscfeeline + **/ + @javax.annotation.Nullable + public List getMiscfeeline() { + return miscfeeline; + } + + public void setMiscfeeline(List miscfeeline) { + this.miscfeeline = miscfeeline; + } + + @Override public boolean equals(Object o) { @@ -568,12 +1082,33 @@ public boolean equals(Object o) { Objects.equals(this.taxtype, invoiceDetailResponseServiceresponseInvoicedetailresponse.taxtype) && Objects.equals(this.enduserponumber, invoiceDetailResponseServiceresponseInvoicedetailresponse.enduserponumber) && Objects.equals(this.freightforwardercode, invoiceDetailResponseServiceresponseInvoicedetailresponse.freightforwardercode) && - Objects.equals(this.creditmemoreasoncode, invoiceDetailResponseServiceresponseInvoicedetailresponse.creditmemoreasoncode); + Objects.equals(this.creditmemoreasoncode, invoiceDetailResponseServiceresponseInvoicedetailresponse.creditmemoreasoncode) && + Objects.equals(this.fulfillmentflag, invoiceDetailResponseServiceresponseInvoicedetailresponse.fulfillmentflag) && + Objects.equals(this.holdreason, invoiceDetailResponseServiceresponseInvoicedetailresponse.holdreason) && + Objects.equals(this.shipcomplete, invoiceDetailResponseServiceresponseInvoicedetailresponse.shipcomplete) && + Objects.equals(this.shipdate, invoiceDetailResponseServiceresponseInvoicedetailresponse.shipdate) && + Objects.equals(this.companycurrency, invoiceDetailResponseServiceresponseInvoicedetailresponse.companycurrency) && + Objects.equals(this.currencycode, invoiceDetailResponseServiceresponseInvoicedetailresponse.currencycode) && + Objects.equals(this.currencyrate, invoiceDetailResponseServiceresponseInvoicedetailresponse.currencyrate) && + Objects.equals(this.globalorderid, invoiceDetailResponseServiceresponseInvoicedetailresponse.globalorderid) && + Objects.equals(this.originalshipcode, invoiceDetailResponseServiceresponseInvoicedetailresponse.originalshipcode) && + Objects.equals(this.ordertype, invoiceDetailResponseServiceresponseInvoicedetailresponse.ordertype) && + Objects.equals(this.orderstatus, invoiceDetailResponseServiceresponseInvoicedetailresponse.orderstatus) && + Objects.equals(this.totalotherfees, invoiceDetailResponseServiceresponseInvoicedetailresponse.totalotherfees) && + Objects.equals(this.totalsales, invoiceDetailResponseServiceresponseInvoicedetailresponse.totalsales) && + Objects.equals(this.weight, invoiceDetailResponseServiceresponseInvoicedetailresponse.weight) && + Objects.equals(this.shippableswitch, invoiceDetailResponseServiceresponseInvoicedetailresponse.shippableswitch) && + Objects.equals(this.soldto, invoiceDetailResponseServiceresponseInvoicedetailresponse.soldto) && + Objects.equals(this.billto, invoiceDetailResponseServiceresponseInvoicedetailresponse.billto) && + Objects.equals(this.shoptoaddress, invoiceDetailResponseServiceresponseInvoicedetailresponse.shoptoaddress) && + Objects.equals(this.lines, invoiceDetailResponseServiceresponseInvoicedetailresponse.lines) && + Objects.equals(this.extendedspecs, invoiceDetailResponseServiceresponseInvoicedetailresponse.extendedspecs) && + Objects.equals(this.miscfeeline, invoiceDetailResponseServiceresponseInvoicedetailresponse.miscfeeline); } @Override public int hashCode() { - return Objects.hash(customernumber, invoicenumber, invoicedate, invoicetype, customerordernumber, customerfreightamount, customerforeignfrightamt, totaltaxamount, totalamount, shiptosuffix, billtosuffix, freightamount, paymentterms, orderdate, carrier, carrierdescription, discountamount, taxtype, enduserponumber, freightforwardercode, creditmemoreasoncode); + return Objects.hash(customernumber, invoicenumber, invoicedate, invoicetype, customerordernumber, customerfreightamount, customerforeignfrightamt, totaltaxamount, totalamount, shiptosuffix, billtosuffix, freightamount, paymentterms, orderdate, carrier, carrierdescription, discountamount, taxtype, enduserponumber, freightforwardercode, creditmemoreasoncode, fulfillmentflag, holdreason, shipcomplete, shipdate, companycurrency, currencycode, currencyrate, globalorderid, originalshipcode, ordertype, orderstatus, totalotherfees, totalsales, weight, shippableswitch, soldto, billto, shoptoaddress, lines, extendedspecs, miscfeeline); } @Override @@ -601,6 +1136,27 @@ public String toString() { sb.append(" enduserponumber: ").append(toIndentedString(enduserponumber)).append("\n"); sb.append(" freightforwardercode: ").append(toIndentedString(freightforwardercode)).append("\n"); sb.append(" creditmemoreasoncode: ").append(toIndentedString(creditmemoreasoncode)).append("\n"); + sb.append(" fulfillmentflag: ").append(toIndentedString(fulfillmentflag)).append("\n"); + sb.append(" holdreason: ").append(toIndentedString(holdreason)).append("\n"); + sb.append(" shipcomplete: ").append(toIndentedString(shipcomplete)).append("\n"); + sb.append(" shipdate: ").append(toIndentedString(shipdate)).append("\n"); + sb.append(" companycurrency: ").append(toIndentedString(companycurrency)).append("\n"); + sb.append(" currencycode: ").append(toIndentedString(currencycode)).append("\n"); + sb.append(" currencyrate: ").append(toIndentedString(currencyrate)).append("\n"); + sb.append(" globalorderid: ").append(toIndentedString(globalorderid)).append("\n"); + sb.append(" originalshipcode: ").append(toIndentedString(originalshipcode)).append("\n"); + sb.append(" ordertype: ").append(toIndentedString(ordertype)).append("\n"); + sb.append(" orderstatus: ").append(toIndentedString(orderstatus)).append("\n"); + sb.append(" totalotherfees: ").append(toIndentedString(totalotherfees)).append("\n"); + sb.append(" totalsales: ").append(toIndentedString(totalsales)).append("\n"); + sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); + sb.append(" shippableswitch: ").append(toIndentedString(shippableswitch)).append("\n"); + sb.append(" soldto: ").append(toIndentedString(soldto)).append("\n"); + sb.append(" billto: ").append(toIndentedString(billto)).append("\n"); + sb.append(" shoptoaddress: ").append(toIndentedString(shoptoaddress)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" extendedspecs: ").append(toIndentedString(extendedspecs)).append("\n"); + sb.append(" miscfeeline: ").append(toIndentedString(miscfeeline)).append("\n"); sb.append("}"); return sb.toString(); } @@ -644,6 +1200,27 @@ private String toIndentedString(Object o) { openapiFields.add("enduserponumber"); openapiFields.add("freightforwardercode"); openapiFields.add("creditmemoreasoncode"); + openapiFields.add("fulfillmentflag"); + openapiFields.add("holdreason"); + openapiFields.add("shipcomplete"); + openapiFields.add("shipdate"); + openapiFields.add("companycurrency"); + openapiFields.add("currencycode"); + openapiFields.add("currencyrate"); + openapiFields.add("globalorderid"); + openapiFields.add("originalshipcode"); + openapiFields.add("ordertype"); + openapiFields.add("orderstatus"); + openapiFields.add("totalotherfees"); + openapiFields.add("totalsales"); + openapiFields.add("weight"); + openapiFields.add("shippableswitch"); + openapiFields.add("soldto"); + openapiFields.add("billto"); + openapiFields.add("shoptoaddress"); + openapiFields.add("lines"); + openapiFields.add("extendedspecs"); + openapiFields.add("miscfeeline"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -682,18 +1259,30 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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("customerfreightamount") != null && !jsonObj.get("customerfreightamount").isJsonNull()) && !jsonObj.get("customerfreightamount").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerfreightamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerfreightamount").toString())); + } + if ((jsonObj.get("customerforeignfrightamt") != null && !jsonObj.get("customerforeignfrightamt").isJsonNull()) && !jsonObj.get("customerforeignfrightamt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerforeignfrightamt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerforeignfrightamt").toString())); + } + if ((jsonObj.get("totaltaxamount") != null && !jsonObj.get("totaltaxamount").isJsonNull()) && !jsonObj.get("totaltaxamount").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `totaltaxamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totaltaxamount").toString())); + } + if ((jsonObj.get("totalamount") != null && !jsonObj.get("totalamount").isJsonNull()) && !jsonObj.get("totalamount").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `totalamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalamount").toString())); + } if ((jsonObj.get("shiptosuffix") != null && !jsonObj.get("shiptosuffix").isJsonNull()) && !jsonObj.get("shiptosuffix").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `shiptosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shiptosuffix").toString())); } if ((jsonObj.get("billtosuffix") != null && !jsonObj.get("billtosuffix").isJsonNull()) && !jsonObj.get("billtosuffix").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `billtosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("billtosuffix").toString())); } + if ((jsonObj.get("freightamount") != null && !jsonObj.get("freightamount").isJsonNull()) && !jsonObj.get("freightamount").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `freightamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("freightamount").toString())); + } if ((jsonObj.get("paymentterms") != null && !jsonObj.get("paymentterms").isJsonNull()) && !jsonObj.get("paymentterms").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `paymentterms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentterms").toString())); } - if ((jsonObj.get("orderdate") != null && !jsonObj.get("orderdate").isJsonNull()) && !jsonObj.get("orderdate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderdate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderdate").toString())); - } if ((jsonObj.get("carrier") != null && !jsonObj.get("carrier").isJsonNull()) && !jsonObj.get("carrier").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `carrier` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrier").toString())); } @@ -712,6 +1301,99 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("creditmemoreasoncode") != null && !jsonObj.get("creditmemoreasoncode").isJsonNull()) && !jsonObj.get("creditmemoreasoncode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `creditmemoreasoncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("creditmemoreasoncode").toString())); } + if ((jsonObj.get("fulfillmentflag") != null && !jsonObj.get("fulfillmentflag").isJsonNull()) && !jsonObj.get("fulfillmentflag").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fulfillmentflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fulfillmentflag").toString())); + } + if ((jsonObj.get("holdreason") != null && !jsonObj.get("holdreason").isJsonNull()) && !jsonObj.get("holdreason").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `holdreason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("holdreason").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("companycurrency") != null && !jsonObj.get("companycurrency").isJsonNull()) && !jsonObj.get("companycurrency").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `companycurrency` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companycurrency").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("currencyrate") != null && !jsonObj.get("currencyrate").isJsonNull()) && !jsonObj.get("currencyrate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `currencyrate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyrate").toString())); + } + if ((jsonObj.get("globalorderid") != null && !jsonObj.get("globalorderid").isJsonNull()) && !jsonObj.get("globalorderid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `globalorderid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalorderid").toString())); + } + if ((jsonObj.get("originalshipcode") != null && !jsonObj.get("originalshipcode").isJsonNull()) && !jsonObj.get("originalshipcode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `originalshipcode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("originalshipcode").toString())); + } + if ((jsonObj.get("ordertype") != null && !jsonObj.get("ordertype").isJsonNull()) && !jsonObj.get("ordertype").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ordertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertype").toString())); + } + if ((jsonObj.get("orderstatus") != null && !jsonObj.get("orderstatus").isJsonNull()) && !jsonObj.get("orderstatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderstatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderstatus").toString())); + } + if ((jsonObj.get("totalsales") != null && !jsonObj.get("totalsales").isJsonNull()) && !jsonObj.get("totalsales").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `totalsales` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalsales").toString())); + } + if ((jsonObj.get("weight") != null && !jsonObj.get("weight").isJsonNull()) && !jsonObj.get("weight").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `weight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("weight").toString())); + } + if ((jsonObj.get("shippableswitch") != null && !jsonObj.get("shippableswitch").isJsonNull()) && !jsonObj.get("shippableswitch").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shippableswitch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippableswitch").toString())); + } + // validate the optional field `soldto` + if (jsonObj.get("soldto") != null && !jsonObj.get("soldto").isJsonNull()) { + AddressType.validateJsonElement(jsonObj.get("soldto")); + } + // validate the optional field `billto` + if (jsonObj.get("billto") != null && !jsonObj.get("billto").isJsonNull()) { + AddressType.validateJsonElement(jsonObj.get("billto")); + } + // validate the optional field `shoptoaddress` + if (jsonObj.get("shoptoaddress") != null && !jsonObj.get("shoptoaddress").isJsonNull()) { + AddressType.validateJsonElement(jsonObj.get("shoptoaddress")); + } + 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++) { + ProductLineType.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + if (jsonObj.get("extendedspecs") != null && !jsonObj.get("extendedspecs").isJsonNull()) { + JsonArray jsonArrayextendedspecs = jsonObj.getAsJsonArray("extendedspecs"); + if (jsonArrayextendedspecs != null) { + // ensure the json data is an array + if (!jsonObj.get("extendedspecs").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `extendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("extendedspecs").toString())); + } + + // validate the optional field `extendedspecs` (array) + for (int i = 0; i < jsonArrayextendedspecs.size(); i++) { + InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.validateJsonElement(jsonArrayextendedspecs.get(i)); + }; + } + } + if (jsonObj.get("miscfeeline") != null && !jsonObj.get("miscfeeline").isJsonNull()) { + JsonArray jsonArraymiscfeeline = jsonObj.getAsJsonArray("miscfeeline"); + if (jsonArraymiscfeeline != null) { + // ensure the json data is an array + if (!jsonObj.get("miscfeeline").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `miscfeeline` to be an array in the JSON string but got `%s`", jsonObj.get("miscfeeline").toString())); + } + + // validate the optional field `miscfeeline` (array) + for (int i = 0; i < jsonArraymiscfeeline.size(); i++) { + InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.validateJsonElement(jsonArraymiscfeeline.get(i)); + }; + } + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java index 2e841421..c5bcec74 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner { public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java index 1edbcff2..4b2d1fa4 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java index cda3fb3f..7b638f65 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index f3acb076..16b24f77 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -58,7 +58,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index f823ca85..7a724961 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 f36b8615..cf116cb0 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 40d72c50..d34bacca 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1f4e0abb..49bc9bf5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 0fc685ae..86098c37 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 a8709a20..2a9a42fe 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 d4e8065f..c4f56150 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1bd43930..2288616b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 0a97a26b..4d8497e4 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 d5270e3a..75a9e32b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 52017a7f..5fbcb195 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index ac952f49..fbcafb5c 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index 37a32470..742c69e5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java deleted file mode 100644 index 4cf01857..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequest; - -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; - -/** - * Request object model for the multi sku price and stock API endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private MultiSKUPriceAndStockRequestServicerequest servicerequest; - - public MultiSKUPriceAndStockRequest() { - } - - public MultiSKUPriceAndStockRequest servicerequest(MultiSKUPriceAndStockRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(MultiSKUPriceAndStockRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockRequest multiSKUPriceAndStockRequest = (MultiSKUPriceAndStockRequest) o; - return Objects.equals(this.servicerequest, multiSKUPriceAndStockRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 MultiSKUPriceAndStockRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockRequest is not found in the empty JSON string", MultiSKUPriceAndStockRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - MultiSKUPriceAndStockRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockRequest - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockRequest - */ - public static MultiSKUPriceAndStockRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockRequest.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java deleted file mode 100644 index fdf5d07a..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestRequestpreamble; - -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; - -/** - * MultiSKUPriceAndStockRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private MultiSKUPriceAndStockRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_PRICEANDSTOCKREQUEST = "priceandstockrequest"; - @SerializedName(SERIALIZED_NAME_PRICEANDSTOCKREQUEST) - private MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest priceandstockrequest; - - public MultiSKUPriceAndStockRequestServicerequest() { - } - - public MultiSKUPriceAndStockRequestServicerequest requestpreamble(MultiSKUPriceAndStockRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(MultiSKUPriceAndStockRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public MultiSKUPriceAndStockRequestServicerequest priceandstockrequest(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest priceandstockrequest) { - this.priceandstockrequest = priceandstockrequest; - return this; - } - - /** - * Get priceandstockrequest - * @return priceandstockrequest - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest getPriceandstockrequest() { - return priceandstockrequest; - } - - public void setPriceandstockrequest(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest priceandstockrequest) { - this.priceandstockrequest = priceandstockrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockRequestServicerequest multiSKUPriceAndStockRequestServicerequest = (MultiSKUPriceAndStockRequestServicerequest) o; - return Objects.equals(this.requestpreamble, multiSKUPriceAndStockRequestServicerequest.requestpreamble) && - Objects.equals(this.priceandstockrequest, multiSKUPriceAndStockRequestServicerequest.priceandstockrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, priceandstockrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" priceandstockrequest: ").append(toIndentedString(priceandstockrequest)).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("requestpreamble"); - openapiFields.add("priceandstockrequest"); - - // 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 MultiSKUPriceAndStockRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockRequestServicerequest is not found in the empty JSON string", MultiSKUPriceAndStockRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - MultiSKUPriceAndStockRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `priceandstockrequest` - if (jsonObj.get("priceandstockrequest") != null && !jsonObj.get("priceandstockrequest").isJsonNull()) { - MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.validateJsonElement(jsonObj.get("priceandstockrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockRequestServicerequest - */ - public static MultiSKUPriceAndStockRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockRequestServicerequest.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java deleted file mode 100644 index 4448bb2f..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.java +++ /dev/null @@ -1,292 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem; - -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; - -/** - * MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest { - public static final String SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY = "showwarehouseavailability"; - @SerializedName(SERIALIZED_NAME_SHOWWAREHOUSEAVAILABILITY) - private String showwarehouseavailability; - - public static final String SERIALIZED_NAME_EXTRAVAILABILITYFLAG = "extravailabilityflag"; - @SerializedName(SERIALIZED_NAME_EXTRAVAILABILITYFLAG) - private String extravailabilityflag; - - public static final String SERIALIZED_NAME_INCLUDEALLSYSTEMS = "includeallsystems"; - @SerializedName(SERIALIZED_NAME_INCLUDEALLSYSTEMS) - private Boolean includeallsystems; - - public static final String SERIALIZED_NAME_ITEM = "item"; - @SerializedName(SERIALIZED_NAME_ITEM) - private MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem item; - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest() { - } - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest showwarehouseavailability(String showwarehouseavailability) { - this.showwarehouseavailability = showwarehouseavailability; - return this; - } - - /** - * True/false to show the availability of individual warehouses - * @return showwarehouseavailability - **/ - @javax.annotation.Nullable - public String getShowwarehouseavailability() { - return showwarehouseavailability; - } - - public void setShowwarehouseavailability(String showwarehouseavailability) { - this.showwarehouseavailability = showwarehouseavailability; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest extravailabilityflag(String extravailabilityflag) { - this.extravailabilityflag = extravailabilityflag; - return this; - } - - /** - * Y/N to show extra availability flag - * @return extravailabilityflag - **/ - @javax.annotation.Nullable - public String getExtravailabilityflag() { - return extravailabilityflag; - } - - public void setExtravailabilityflag(String extravailabilityflag) { - this.extravailabilityflag = extravailabilityflag; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest includeallsystems(Boolean includeallsystems) { - this.includeallsystems = includeallsystems; - return this; - } - - /** - * Flag to indicate if the price and stock information is required for all Ingram Micro systems. If it is set to true, the price and stock details will be returned from all Ingram Micro systems and if false, the price and stock will have returned from the system where the reseller number is set up in. - * @return includeallsystems - **/ - @javax.annotation.Nullable - public Boolean getIncludeallsystems() { - return includeallsystems; - } - - public void setIncludeallsystems(Boolean includeallsystems) { - this.includeallsystems = includeallsystems; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest item(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem item) { - this.item = item; - return this; - } - - /** - * Get item - * @return item - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem getItem() { - return item; - } - - public void setItem(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem item) { - this.item = item; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest multiSKUPriceAndStockRequestServicerequestPriceandstockrequest = (MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest) o; - return Objects.equals(this.showwarehouseavailability, multiSKUPriceAndStockRequestServicerequestPriceandstockrequest.showwarehouseavailability) && - Objects.equals(this.extravailabilityflag, multiSKUPriceAndStockRequestServicerequestPriceandstockrequest.extravailabilityflag) && - Objects.equals(this.includeallsystems, multiSKUPriceAndStockRequestServicerequestPriceandstockrequest.includeallsystems) && - Objects.equals(this.item, multiSKUPriceAndStockRequestServicerequestPriceandstockrequest.item); - } - - @Override - public int hashCode() { - return Objects.hash(showwarehouseavailability, extravailabilityflag, includeallsystems, item); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest {\n"); - sb.append(" showwarehouseavailability: ").append(toIndentedString(showwarehouseavailability)).append("\n"); - sb.append(" extravailabilityflag: ").append(toIndentedString(extravailabilityflag)).append("\n"); - sb.append(" includeallsystems: ").append(toIndentedString(includeallsystems)).append("\n"); - sb.append(" item: ").append(toIndentedString(item)).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("showwarehouseavailability"); - openapiFields.add("extravailabilityflag"); - openapiFields.add("includeallsystems"); - openapiFields.add("item"); - - // 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 MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest is not found in the empty JSON string", MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("showwarehouseavailability") != null && !jsonObj.get("showwarehouseavailability").isJsonNull()) && !jsonObj.get("showwarehouseavailability").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `showwarehouseavailability` to be a primitive type in the JSON string but got `%s`", jsonObj.get("showwarehouseavailability").toString())); - } - if ((jsonObj.get("extravailabilityflag") != null && !jsonObj.get("extravailabilityflag").isJsonNull()) && !jsonObj.get("extravailabilityflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extravailabilityflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extravailabilityflag").toString())); - } - // validate the optional field `item` - if (jsonObj.get("item") != null && !jsonObj.get("item").isJsonNull()) { - MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.validateJsonElement(jsonObj.get("item")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - */ - public static MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java deleted file mode 100644 index e5d5ea66..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.java +++ /dev/null @@ -1,348 +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.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; - -/** - * MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem { - public static final String SERIALIZED_NAME_INDEX = "index"; - @SerializedName(SERIALIZED_NAME_INDEX) - private Integer index; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_U_P_C = "UPC"; - @SerializedName(SERIALIZED_NAME_U_P_C) - private String UPC; - - public static final String SERIALIZED_NAME_CUSTOMERPARTNUMBER = "customerpartnumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPARTNUMBER) - private String customerpartnumber; - - public static final String SERIALIZED_NAME_WAREHOUSEIDLIST = "warehouseidlist"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEIDLIST) - private String warehouseidlist; - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem() { - } - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem index(Integer index) { - this.index = index; - return this; - } - - /** - * Get index - * @return index - **/ - @javax.annotation.Nullable - public Integer getIndex() { - return index; - } - - public void setIndex(Integer index) { - this.index = index; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * Ingram Micro system specific SKU number for the product for which the price is requested at Ingram Micro - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Vendor Part Number for the product for which the price is requested at Ingram Micro - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem UPC(String UPC) { - this.UPC = UPC; - return this; - } - - /** - * Universal Product code for the product for which the price is requested at Ingram Micro - * @return UPC - **/ - @javax.annotation.Nullable - public String getUPC() { - return UPC; - } - - public void setUPC(String UPC) { - this.UPC = UPC; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem customerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - return this; - } - - /** - * Unique identification number of customer. For this option the Ingram Micro Sales rep must set up a cross reference table. - * @return customerpartnumber - **/ - @javax.annotation.Nullable - public String getCustomerpartnumber() { - return customerpartnumber; - } - - public void setCustomerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - } - - - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem warehouseidlist(String warehouseidlist) { - this.warehouseidlist = warehouseidlist; - return this; - } - - /** - * Unique identity for Ingram Micro warehouses against which stock details are returned. - * @return warehouseidlist - **/ - @javax.annotation.Nullable - public String getWarehouseidlist() { - return warehouseidlist; - } - - public void setWarehouseidlist(String warehouseidlist) { - this.warehouseidlist = warehouseidlist; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem = (MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem) o; - return Objects.equals(this.index, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.index) && - Objects.equals(this.ingrampartnumber, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.ingrampartnumber) && - Objects.equals(this.vendorpartnumber, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.vendorpartnumber) && - Objects.equals(this.UPC, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.UPC) && - Objects.equals(this.customerpartnumber, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.customerpartnumber) && - Objects.equals(this.warehouseidlist, multiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.warehouseidlist); - } - - @Override - public int hashCode() { - return Objects.hash(index, ingrampartnumber, vendorpartnumber, UPC, customerpartnumber, warehouseidlist); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem {\n"); - sb.append(" index: ").append(toIndentedString(index)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" UPC: ").append(toIndentedString(UPC)).append("\n"); - sb.append(" customerpartnumber: ").append(toIndentedString(customerpartnumber)).append("\n"); - sb.append(" warehouseidlist: ").append(toIndentedString(warehouseidlist)).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("index"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("UPC"); - openapiFields.add("customerpartnumber"); - openapiFields.add("warehouseidlist"); - - // 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 MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem is not found in the empty JSON string", MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("UPC") != null && !jsonObj.get("UPC").isJsonNull()) && !jsonObj.get("UPC").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UPC` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UPC").toString())); - } - if ((jsonObj.get("customerpartnumber") != null && !jsonObj.get("customerpartnumber").isJsonNull()) && !jsonObj.get("customerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerpartnumber").toString())); - } - if ((jsonObj.get("warehouseidlist") != null && !jsonObj.get("warehouseidlist").isJsonNull()) && !jsonObj.get("warehouseidlist").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseidlist` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehouseidlist").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - */ - public static MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java deleted file mode 100644 index 3ab71551..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * MultiSKUPriceAndStockRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public MultiSKUPriceAndStockRequestServicerequestRequestpreamble() { - } - - public MultiSKUPriceAndStockRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * 2 Digit code “US”-United States “CA”-Canada - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public MultiSKUPriceAndStockRequestServicerequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Ingram Micro customer number 10-12389 - * @return customernumber - **/ - @javax.annotation.Nonnull - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockRequestServicerequestRequestpreamble multiSKUPriceAndStockRequestServicerequestRequestpreamble = (MultiSKUPriceAndStockRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, multiSKUPriceAndStockRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, multiSKUPriceAndStockRequestServicerequestRequestpreamble.customernumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customernumber"); - } - - /** - * 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 MultiSKUPriceAndStockRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockRequestServicerequestRequestpreamble is not found in the empty JSON string", MultiSKUPriceAndStockRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : MultiSKUPriceAndStockRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockRequestServicerequestRequestpreamble - */ - public static MultiSKUPriceAndStockRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java deleted file mode 100644 index f1b48728..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponse; - -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; - -/** - * Response object model for the multi sku price and stock API endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private MultiSKUPriceAndStockResponseServiceresponse serviceresponse; - - public MultiSKUPriceAndStockResponse() { - } - - public MultiSKUPriceAndStockResponse serviceresponse(MultiSKUPriceAndStockResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(MultiSKUPriceAndStockResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponse multiSKUPriceAndStockResponse = (MultiSKUPriceAndStockResponse) o; - return Objects.equals(this.serviceresponse, multiSKUPriceAndStockResponse.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 MultiSKUPriceAndStockResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponse is not found in the empty JSON string", MultiSKUPriceAndStockResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - MultiSKUPriceAndStockResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponse - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponse - */ - public static MultiSKUPriceAndStockResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponse.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java deleted file mode 100644 index 1365d07d..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble; - -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; - -/** - * MultiSKUPriceAndStockResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_PRICEANDSTOCKRESPONSE = "priceandstockresponse"; - @SerializedName(SERIALIZED_NAME_PRICEANDSTOCKRESPONSE) - private MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse priceandstockresponse; - - public MultiSKUPriceAndStockResponseServiceresponse() { - } - - public MultiSKUPriceAndStockResponseServiceresponse responsepreamble(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public MultiSKUPriceAndStockResponseServiceresponse priceandstockresponse(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse priceandstockresponse) { - this.priceandstockresponse = priceandstockresponse; - return this; - } - - /** - * Get priceandstockresponse - * @return priceandstockresponse - **/ - @javax.annotation.Nullable - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse getPriceandstockresponse() { - return priceandstockresponse; - } - - public void setPriceandstockresponse(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse priceandstockresponse) { - this.priceandstockresponse = priceandstockresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponseServiceresponse multiSKUPriceAndStockResponseServiceresponse = (MultiSKUPriceAndStockResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, multiSKUPriceAndStockResponseServiceresponse.responsepreamble) && - Objects.equals(this.priceandstockresponse, multiSKUPriceAndStockResponseServiceresponse.priceandstockresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, priceandstockresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" priceandstockresponse: ").append(toIndentedString(priceandstockresponse)).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("responsepreamble"); - openapiFields.add("priceandstockresponse"); - - // 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 MultiSKUPriceAndStockResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponse is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `priceandstockresponse` - if (jsonObj.get("priceandstockresponse") != null && !jsonObj.get("priceandstockresponse").isJsonNull()) { - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.validateJsonElement(jsonObj.get("priceandstockresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponse - */ - public static MultiSKUPriceAndStockResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponse.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java deleted file mode 100644 index bf45beb0..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.java +++ /dev/null @@ -1,228 +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.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner; - -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; - -/** - * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse { - public static final String SERIALIZED_NAME_DETAILS = "details"; - @SerializedName(SERIALIZED_NAME_DETAILS) - private List details; - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse() { - } - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse details(List details) { - this.details = details; - return this; - } - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse addDetailsItem(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner detailsItem) { - if (this.details == null) { - this.details = new ArrayList<>(); - } - this.details.add(detailsItem); - return this; - } - - /** - * Get details - * @return details - **/ - @javax.annotation.Nullable - public List getDetails() { - return details; - } - - public void setDetails(List details) { - this.details = details; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse multiSKUPriceAndStockResponseServiceresponsePriceandstockresponse = (MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse) o; - return Objects.equals(this.details, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.details); - } - - @Override - public int hashCode() { - return Objects.hash(details); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse {\n"); - sb.append(" details: ").append(toIndentedString(details)).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("details"); - - // 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 MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("details") != null && !jsonObj.get("details").isJsonNull()) { - JsonArray jsonArraydetails = jsonObj.getAsJsonArray("details"); - if (jsonArraydetails != null) { - // ensure the json data is an array - if (!jsonObj.get("details").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `details` to be an array in the JSON string but got `%s`", jsonObj.get("details").toString())); - } - - // validate the optional field `details` (array) - for (int i = 0; i < jsonArraydetails.size(); i++) { - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.validateJsonElement(jsonArraydetails.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - */ - public static MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java deleted file mode 100644 index b1a9cbcd..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.java +++ /dev/null @@ -1,1029 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner; - -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; - -/** - * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner { - public static final String SERIALIZED_NAME_ITEMSTATUS = "itemstatus"; - @SerializedName(SERIALIZED_NAME_ITEMSTATUS) - private String itemstatus; - - public static final String SERIALIZED_NAME_STATUSMESSAGE = "statusmessage"; - @SerializedName(SERIALIZED_NAME_STATUSMESSAGE) - private String statusmessage; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_GLOBALSKUID = "globalskuid"; - @SerializedName(SERIALIZED_NAME_GLOBALSKUID) - private String globalskuid; - - public static final String SERIALIZED_NAME_CUSTOMERPRICE = "customerprice"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPRICE) - private String customerprice; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION1 = "partdescription1"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION1) - private String partdescription1; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION2 = "partdescription2"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION2) - private String partdescription2; - - public static final String SERIALIZED_NAME_VENDORNUMBER = "vendornumber"; - @SerializedName(SERIALIZED_NAME_VENDORNUMBER) - private String vendornumber; - - public static final String SERIALIZED_NAME_VENDORNAME = "vendorname"; - @SerializedName(SERIALIZED_NAME_VENDORNAME) - private String vendorname; - - public static final String SERIALIZED_NAME_CPUCODE = "cpucode"; - @SerializedName(SERIALIZED_NAME_CPUCODE) - private String cpucode; - - /** - * Ingram Micro assigned product classification. - */ - @JsonAdapter(PropertyClassEnum.Adapter.class) - public enum PropertyClassEnum { - A_STOCKED_PRODUCT_IN_ALL_IM_WAREHOUSES("A-Stocked product in all IM warehouses"), - - B_LIMITED_STOCK_IN_IM_WAREHOUSES("B-Limited stock in IM warehouses"), - - C_STOCKED_IN_FEWER_WARESHOUSES("C-Stocked in fewer wareshouses"), - - D_INGRAM_DISCONTINUED("D-Ingram discontinued"), - - E_PLANNED_TO_BE_PHASED_OUT_AS_PER_THE_VENDOR("E-Planned to be phased out as per the vendor"), - - F_CARRIED_FOR_SPECIFIC_CUSTOMER_AS_PER_THE_CONTRACT("F-Carried for specific customer as per the contract"), - - N_NEW_SKU("N-New SKU"), - - O_DISCONTINUED_TO_BE_LIQUIDATED("O-Discontinued to be liquidated"), - - S_ORDER_FOR_SPECIALIZED_DEMAND("S-Order for specialized demand"), - - V_DISCONTINUED_BY_VENDOR("V-Discontinued by vendor"), - - X_DIRECT_SHIP_PRODUCTS_FROM_VENDOR("X-Direct Ship products from vendor"); - - private String value; - - PropertyClassEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static PropertyClassEnum fromValue(String value) { - for (PropertyClassEnum b : PropertyClassEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final PropertyClassEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public PropertyClassEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return PropertyClassEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - PropertyClassEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; - @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - private PropertyClassEnum propertyClass; - - public static final String SERIALIZED_NAME_SKUSTATUS = "skustatus"; - @SerializedName(SERIALIZED_NAME_SKUSTATUS) - private String skustatus; - - public static final String SERIALIZED_NAME_MEDIACPU = "mediacpu"; - @SerializedName(SERIALIZED_NAME_MEDIACPU) - private String mediacpu; - - public static final String SERIALIZED_NAME_CATEGORYSUBCATEGORY = "categorysubcategory"; - @SerializedName(SERIALIZED_NAME_CATEGORYSUBCATEGORY) - private String categorysubcategory; - - public static final String SERIALIZED_NAME_RETAILPRICE = "retailprice"; - @SerializedName(SERIALIZED_NAME_RETAILPRICE) - private BigDecimal retailprice; - - public static final String SERIALIZED_NAME_NEWMEDIA = "newmedia"; - @SerializedName(SERIALIZED_NAME_NEWMEDIA) - private String newmedia; - - /** - * Y - End user required N - Not required End user - */ - @JsonAdapter(EnduserrequiredEnum.Adapter.class) - public enum EnduserrequiredEnum { - Y_END_USER_DATA_REQUIRED("Y-End user data required"), - - N_END_USER_DATA_NOT_REQUIRED("N-End user data not required"); - - private String value; - - EnduserrequiredEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static EnduserrequiredEnum fromValue(String value) { - for (EnduserrequiredEnum b : EnduserrequiredEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final EnduserrequiredEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public EnduserrequiredEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return EnduserrequiredEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - EnduserrequiredEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_ENDUSERREQUIRED = "enduserrequired"; - @SerializedName(SERIALIZED_NAME_ENDUSERREQUIRED) - private EnduserrequiredEnum enduserrequired; - - /** - * Y- Allow Backorder Flag N- Not allowed - */ - @JsonAdapter(BackorderflagEnum.Adapter.class) - public enum BackorderflagEnum { - Y_CAN_BE_BACKORDERED("Y- Can be backordered"), - - N_CANNOT_BE_BACKORDERED("N-Cannot be backordered"); - - private String value; - - BackorderflagEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static BackorderflagEnum fromValue(String value) { - for (BackorderflagEnum b : BackorderflagEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final BackorderflagEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public BackorderflagEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return BackorderflagEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - BackorderflagEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_BACKORDERFLAG = "backorderflag"; - @SerializedName(SERIALIZED_NAME_BACKORDERFLAG) - private BackorderflagEnum backorderflag; - - public static final String SERIALIZED_NAME_SKUAUTHORIZED = "skuauthorized"; - @SerializedName(SERIALIZED_NAME_SKUAUTHORIZED) - private String skuauthorized; - - public static final String SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER = "extendedvendorpartnumber"; - @SerializedName(SERIALIZED_NAME_EXTENDEDVENDORPARTNUMBER) - private String extendedvendorpartnumber; - - public static final String SERIALIZED_NAME_WAREHOUSEDETAILS = "warehousedetails"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEDETAILS) - private List warehousedetails; - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner() { - } - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner itemstatus(String itemstatus) { - this.itemstatus = itemstatus; - return this; - } - - /** - * Get itemstatus - * @return itemstatus - **/ - @javax.annotation.Nullable - public String getItemstatus() { - return itemstatus; - } - - public void setItemstatus(String itemstatus) { - this.itemstatus = itemstatus; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner statusmessage(String statusmessage) { - this.statusmessage = statusmessage; - return this; - } - - /** - * Get statusmessage - * @return statusmessage - **/ - @javax.annotation.Nullable - public String getStatusmessage() { - return statusmessage; - } - - public void setStatusmessage(String statusmessage) { - this.statusmessage = statusmessage; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * SKU number for the product for which order needs to be created with Ingram Micro - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Vendor Part number for the product - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner globalskuid(String globalskuid) { - this.globalskuid = globalskuid; - return this; - } - - /** - * Get globalskuid - * @return globalskuid - **/ - @javax.annotation.Nullable - public String getGlobalskuid() { - return globalskuid; - } - - public void setGlobalskuid(String globalskuid) { - this.globalskuid = globalskuid; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner customerprice(String customerprice) { - this.customerprice = customerprice; - return this; - } - - /** - * Customer specific price for the product, excluding taxes - * @return customerprice - **/ - @javax.annotation.Nullable - public String getCustomerprice() { - return customerprice; - } - - public void setCustomerprice(String customerprice) { - this.customerprice = customerprice; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner partdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - return this; - } - - /** - * Description on the part number that is being requested - * @return partdescription1 - **/ - @javax.annotation.Nullable - public String getPartdescription1() { - return partdescription1; - } - - public void setPartdescription1(String partdescription1) { - this.partdescription1 = partdescription1; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner partdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - return this; - } - - /** - * Contuiation of description on the part number that is being requested - * @return partdescription2 - **/ - @javax.annotation.Nullable - public String getPartdescription2() { - return partdescription2; - } - - public void setPartdescription2(String partdescription2) { - this.partdescription2 = partdescription2; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner vendornumber(String vendornumber) { - this.vendornumber = vendornumber; - return this; - } - - /** - * Internal four digit code assigned by Ingram - * @return vendornumber - **/ - @javax.annotation.Nullable - public String getVendornumber() { - return vendornumber; - } - - public void setVendornumber(String vendornumber) { - this.vendornumber = vendornumber; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner vendorname(String vendorname) { - this.vendorname = vendorname; - return this; - } - - /** - * Name of the vendor - * @return vendorname - **/ - @javax.annotation.Nullable - public String getVendorname() { - return vendorname; - } - - public void setVendorname(String vendorname) { - this.vendorname = vendorname; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner cpucode(String cpucode) { - this.cpucode = cpucode; - return this; - } - - /** - * Ingram internal code for a product - * @return cpucode - **/ - @javax.annotation.Nullable - public String getCpucode() { - return cpucode; - } - - public void setCpucode(String cpucode) { - this.cpucode = cpucode; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner propertyClass(PropertyClassEnum propertyClass) { - this.propertyClass = propertyClass; - return this; - } - - /** - * Ingram Micro assigned product classification. - * @return propertyClass - **/ - @javax.annotation.Nullable - public PropertyClassEnum getPropertyClass() { - return propertyClass; - } - - public void setPropertyClass(PropertyClassEnum propertyClass) { - this.propertyClass = propertyClass; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner skustatus(String skustatus) { - this.skustatus = skustatus; - return this; - } - - /** - * Identifies if the SKU has been discontinued. Rules must be defined on the values to be sent out to partner. - * @return skustatus - **/ - @javax.annotation.Nullable - public String getSkustatus() { - return skustatus; - } - - public void setSkustatus(String skustatus) { - this.skustatus = skustatus; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner mediacpu(String mediacpu) { - this.mediacpu = mediacpu; - return this; - } - - /** - * Get mediacpu - * @return mediacpu - **/ - @javax.annotation.Nullable - public String getMediacpu() { - return mediacpu; - } - - public void setMediacpu(String mediacpu) { - this.mediacpu = mediacpu; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner categorysubcategory(String categorysubcategory) { - this.categorysubcategory = categorysubcategory; - return this; - } - - /** - * Ingram's internal categorization of the product - * @return categorysubcategory - **/ - @javax.annotation.Nullable - public String getCategorysubcategory() { - return categorysubcategory; - } - - public void setCategorysubcategory(String categorysubcategory) { - this.categorysubcategory = categorysubcategory; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner retailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - return this; - } - - /** - * MSRP Price 0.00 - * @return retailprice - **/ - @javax.annotation.Nonnull - public BigDecimal getRetailprice() { - return retailprice; - } - - public void setRetailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner newmedia(String newmedia) { - this.newmedia = newmedia; - return this; - } - - /** - * Internal four-digit code assigned by Ingram to represent the item group - * @return newmedia - **/ - @javax.annotation.Nullable - public String getNewmedia() { - return newmedia; - } - - public void setNewmedia(String newmedia) { - this.newmedia = newmedia; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner enduserrequired(EnduserrequiredEnum enduserrequired) { - this.enduserrequired = enduserrequired; - return this; - } - - /** - * Y - End user required N - Not required End user - * @return enduserrequired - **/ - @javax.annotation.Nullable - public EnduserrequiredEnum getEnduserrequired() { - return enduserrequired; - } - - public void setEnduserrequired(EnduserrequiredEnum enduserrequired) { - this.enduserrequired = enduserrequired; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner backorderflag(BackorderflagEnum backorderflag) { - this.backorderflag = backorderflag; - return this; - } - - /** - * Y- Allow Backorder Flag N- Not allowed - * @return backorderflag - **/ - @javax.annotation.Nullable - public BackorderflagEnum getBackorderflag() { - return backorderflag; - } - - public void setBackorderflag(BackorderflagEnum backorderflag) { - this.backorderflag = backorderflag; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner skuauthorized(String skuauthorized) { - this.skuauthorized = skuauthorized; - return this; - } - - /** - * Get skuauthorized - * @return skuauthorized - **/ - @javax.annotation.Nullable - public String getSkuauthorized() { - return skuauthorized; - } - - public void setSkuauthorized(String skuauthorized) { - this.skuauthorized = skuauthorized; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner extendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - return this; - } - - /** - * Get extendedvendorpartnumber - * @return extendedvendorpartnumber - **/ - @javax.annotation.Nullable - public String getExtendedvendorpartnumber() { - return extendedvendorpartnumber; - } - - public void setExtendedvendorpartnumber(String extendedvendorpartnumber) { - this.extendedvendorpartnumber = extendedvendorpartnumber; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner warehousedetails(List warehousedetails) { - this.warehousedetails = warehousedetails; - return this; - } - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner addWarehousedetailsItem(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner warehousedetailsItem) { - if (this.warehousedetails == null) { - this.warehousedetails = new ArrayList<>(); - } - this.warehousedetails.add(warehousedetailsItem); - return this; - } - - /** - * Get warehousedetails - * @return warehousedetails - **/ - @javax.annotation.Nullable - public List getWarehousedetails() { - return warehousedetails; - } - - public void setWarehousedetails(List warehousedetails) { - this.warehousedetails = warehousedetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner = (MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner) o; - return Objects.equals(this.itemstatus, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.itemstatus) && - Objects.equals(this.statusmessage, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.statusmessage) && - Objects.equals(this.ingrampartnumber, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.ingrampartnumber) && - Objects.equals(this.vendorpartnumber, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.vendorpartnumber) && - Objects.equals(this.globalskuid, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.globalskuid) && - Objects.equals(this.customerprice, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.customerprice) && - Objects.equals(this.partdescription1, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.partdescription1) && - Objects.equals(this.partdescription2, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.partdescription2) && - Objects.equals(this.vendornumber, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.vendornumber) && - Objects.equals(this.vendorname, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.vendorname) && - Objects.equals(this.cpucode, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.cpucode) && - Objects.equals(this.propertyClass, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.propertyClass) && - Objects.equals(this.skustatus, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.skustatus) && - Objects.equals(this.mediacpu, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.mediacpu) && - Objects.equals(this.categorysubcategory, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.categorysubcategory) && - Objects.equals(this.retailprice, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.retailprice) && - Objects.equals(this.newmedia, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.newmedia) && - Objects.equals(this.enduserrequired, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.enduserrequired) && - Objects.equals(this.backorderflag, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.backorderflag) && - Objects.equals(this.skuauthorized, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.skuauthorized) && - Objects.equals(this.extendedvendorpartnumber, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.extendedvendorpartnumber) && - Objects.equals(this.warehousedetails, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.warehousedetails); - } - - @Override - public int hashCode() { - return Objects.hash(itemstatus, statusmessage, ingrampartnumber, vendorpartnumber, globalskuid, customerprice, partdescription1, partdescription2, vendornumber, vendorname, cpucode, propertyClass, skustatus, mediacpu, categorysubcategory, retailprice, newmedia, enduserrequired, backorderflag, skuauthorized, extendedvendorpartnumber, warehousedetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner {\n"); - sb.append(" itemstatus: ").append(toIndentedString(itemstatus)).append("\n"); - sb.append(" statusmessage: ").append(toIndentedString(statusmessage)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" globalskuid: ").append(toIndentedString(globalskuid)).append("\n"); - sb.append(" customerprice: ").append(toIndentedString(customerprice)).append("\n"); - sb.append(" partdescription1: ").append(toIndentedString(partdescription1)).append("\n"); - sb.append(" partdescription2: ").append(toIndentedString(partdescription2)).append("\n"); - sb.append(" vendornumber: ").append(toIndentedString(vendornumber)).append("\n"); - sb.append(" vendorname: ").append(toIndentedString(vendorname)).append("\n"); - sb.append(" cpucode: ").append(toIndentedString(cpucode)).append("\n"); - sb.append(" propertyClass: ").append(toIndentedString(propertyClass)).append("\n"); - sb.append(" skustatus: ").append(toIndentedString(skustatus)).append("\n"); - sb.append(" mediacpu: ").append(toIndentedString(mediacpu)).append("\n"); - sb.append(" categorysubcategory: ").append(toIndentedString(categorysubcategory)).append("\n"); - sb.append(" retailprice: ").append(toIndentedString(retailprice)).append("\n"); - sb.append(" newmedia: ").append(toIndentedString(newmedia)).append("\n"); - sb.append(" enduserrequired: ").append(toIndentedString(enduserrequired)).append("\n"); - sb.append(" backorderflag: ").append(toIndentedString(backorderflag)).append("\n"); - sb.append(" skuauthorized: ").append(toIndentedString(skuauthorized)).append("\n"); - sb.append(" extendedvendorpartnumber: ").append(toIndentedString(extendedvendorpartnumber)).append("\n"); - sb.append(" warehousedetails: ").append(toIndentedString(warehousedetails)).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("itemstatus"); - openapiFields.add("statusmessage"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("globalskuid"); - openapiFields.add("customerprice"); - openapiFields.add("partdescription1"); - openapiFields.add("partdescription2"); - openapiFields.add("vendornumber"); - openapiFields.add("vendorname"); - openapiFields.add("cpucode"); - openapiFields.add("class"); - openapiFields.add("skustatus"); - openapiFields.add("mediacpu"); - openapiFields.add("categorysubcategory"); - openapiFields.add("retailprice"); - openapiFields.add("newmedia"); - openapiFields.add("enduserrequired"); - openapiFields.add("backorderflag"); - openapiFields.add("skuauthorized"); - openapiFields.add("extendedvendorpartnumber"); - openapiFields.add("warehousedetails"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("retailprice"); - } - - /** - * 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 MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("itemstatus") != null && !jsonObj.get("itemstatus").isJsonNull()) && !jsonObj.get("itemstatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `itemstatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemstatus").toString())); - } - if ((jsonObj.get("statusmessage") != null && !jsonObj.get("statusmessage").isJsonNull()) && !jsonObj.get("statusmessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statusmessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statusmessage").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("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("globalskuid") != null && !jsonObj.get("globalskuid").isJsonNull()) && !jsonObj.get("globalskuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalskuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalskuid").toString())); - } - if ((jsonObj.get("customerprice") != null && !jsonObj.get("customerprice").isJsonNull()) && !jsonObj.get("customerprice").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerprice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerprice").toString())); - } - if ((jsonObj.get("partdescription1") != null && !jsonObj.get("partdescription1").isJsonNull()) && !jsonObj.get("partdescription1").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription1").toString())); - } - if ((jsonObj.get("partdescription2") != null && !jsonObj.get("partdescription2").isJsonNull()) && !jsonObj.get("partdescription2").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription2").toString())); - } - if ((jsonObj.get("vendornumber") != null && !jsonObj.get("vendornumber").isJsonNull()) && !jsonObj.get("vendornumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendornumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendornumber").toString())); - } - if ((jsonObj.get("vendorname") != null && !jsonObj.get("vendorname").isJsonNull()) && !jsonObj.get("vendorname").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorname").toString())); - } - if ((jsonObj.get("cpucode") != null && !jsonObj.get("cpucode").isJsonNull()) && !jsonObj.get("cpucode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cpucode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cpucode").toString())); - } - if ((jsonObj.get("class") != null && !jsonObj.get("class").isJsonNull()) && !jsonObj.get("class").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `class` to be a primitive type in the JSON string but got `%s`", jsonObj.get("class").toString())); - } - // validate the optional field `class` - if (jsonObj.get("class") != null && !jsonObj.get("class").isJsonNull()) { - PropertyClassEnum.validateJsonElement(jsonObj.get("class")); - } - if ((jsonObj.get("skustatus") != null && !jsonObj.get("skustatus").isJsonNull()) && !jsonObj.get("skustatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `skustatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("skustatus").toString())); - } - if ((jsonObj.get("mediacpu") != null && !jsonObj.get("mediacpu").isJsonNull()) && !jsonObj.get("mediacpu").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `mediacpu` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mediacpu").toString())); - } - if ((jsonObj.get("categorysubcategory") != null && !jsonObj.get("categorysubcategory").isJsonNull()) && !jsonObj.get("categorysubcategory").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `categorysubcategory` to be a primitive type in the JSON string but got `%s`", jsonObj.get("categorysubcategory").toString())); - } - if ((jsonObj.get("newmedia") != null && !jsonObj.get("newmedia").isJsonNull()) && !jsonObj.get("newmedia").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `newmedia` to be a primitive type in the JSON string but got `%s`", jsonObj.get("newmedia").toString())); - } - if ((jsonObj.get("enduserrequired") != null && !jsonObj.get("enduserrequired").isJsonNull()) && !jsonObj.get("enduserrequired").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `enduserrequired` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enduserrequired").toString())); - } - // validate the optional field `enduserrequired` - if (jsonObj.get("enduserrequired") != null && !jsonObj.get("enduserrequired").isJsonNull()) { - EnduserrequiredEnum.validateJsonElement(jsonObj.get("enduserrequired")); - } - if ((jsonObj.get("backorderflag") != null && !jsonObj.get("backorderflag").isJsonNull()) && !jsonObj.get("backorderflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `backorderflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("backorderflag").toString())); - } - // validate the optional field `backorderflag` - if (jsonObj.get("backorderflag") != null && !jsonObj.get("backorderflag").isJsonNull()) { - BackorderflagEnum.validateJsonElement(jsonObj.get("backorderflag")); - } - if ((jsonObj.get("skuauthorized") != null && !jsonObj.get("skuauthorized").isJsonNull()) && !jsonObj.get("skuauthorized").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `skuauthorized` to be a primitive type in the JSON string but got `%s`", jsonObj.get("skuauthorized").toString())); - } - if ((jsonObj.get("extendedvendorpartnumber") != null && !jsonObj.get("extendedvendorpartnumber").isJsonNull()) && !jsonObj.get("extendedvendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedvendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedvendorpartnumber").toString())); - } - if (jsonObj.get("warehousedetails") != null && !jsonObj.get("warehousedetails").isJsonNull()) { - JsonArray jsonArraywarehousedetails = jsonObj.getAsJsonArray("warehousedetails"); - if (jsonArraywarehousedetails != null) { - // ensure the json data is an array - if (!jsonObj.get("warehousedetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `warehousedetails` to be an array in the JSON string but got `%s`", jsonObj.get("warehousedetails").toString())); - } - - // validate the optional field `warehousedetails` (array) - for (int i = 0; i < jsonArraywarehousedetails.size(); i++) { - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.validateJsonElement(jsonArraywarehousedetails.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - */ - public static MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java deleted file mode 100644 index cd3a1541..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.java +++ /dev/null @@ -1,407 +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.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; - -/** - * MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner { - /** - * Unique 2-digit code of the Ingram Micro warehouse - */ - @JsonAdapter(WarehouseidEnum.Adapter.class) - public enum WarehouseidEnum { - _10_MIRA_LOMA_CA("10-Mira Loma CA"), - - _20_CARROLLTON_TX("20-Carrollton TX"), - - _30_MILLINGTON_TN("30-Millington TN"), - - _40_CAROL_STREAM_IL("40-Carol Stream IL"), - - _80_JONESTOWN_PA("80-Jonestown PA"); - - private String value; - - WarehouseidEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static WarehouseidEnum fromValue(String value) { - for (WarehouseidEnum b : WarehouseidEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final WarehouseidEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public WarehouseidEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return WarehouseidEnum.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - WarehouseidEnum.fromValue(value); - } - } - - public static final String SERIALIZED_NAME_WAREHOUSEID = "warehouseid"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEID) - private WarehouseidEnum warehouseid; - - public static final String SERIALIZED_NAME_WAREHOUSEDESCRIPTION = "warehousedescription"; - @SerializedName(SERIALIZED_NAME_WAREHOUSEDESCRIPTION) - private String warehousedescription; - - public static final String SERIALIZED_NAME_AVAILABLEQUANTITY = "availablequantity"; - @SerializedName(SERIALIZED_NAME_AVAILABLEQUANTITY) - private Integer availablequantity; - - public static final String SERIALIZED_NAME_ONORDERQUANTITY = "onorderquantity"; - @SerializedName(SERIALIZED_NAME_ONORDERQUANTITY) - private Integer onorderquantity; - - public static final String SERIALIZED_NAME_ONHOLDQUANTITY = "onholdquantity"; - @SerializedName(SERIALIZED_NAME_ONHOLDQUANTITY) - private String onholdquantity; - - public static final String SERIALIZED_NAME_ETADATE = "etadate"; - @SerializedName(SERIALIZED_NAME_ETADATE) - private String etadate; - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner() { - } - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner warehouseid(WarehouseidEnum warehouseid) { - this.warehouseid = warehouseid; - return this; - } - - /** - * Unique 2-digit code of the Ingram Micro warehouse - * @return warehouseid - **/ - @javax.annotation.Nullable - public WarehouseidEnum getWarehouseid() { - return warehouseid; - } - - public void setWarehouseid(WarehouseidEnum warehouseid) { - this.warehouseid = warehouseid; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner warehousedescription(String warehousedescription) { - this.warehousedescription = warehousedescription; - return this; - } - - /** - * City of the Ingram Micro warehouse location - * @return warehousedescription - **/ - @javax.annotation.Nullable - public String getWarehousedescription() { - return warehousedescription; - } - - public void setWarehousedescription(String warehousedescription) { - this.warehousedescription = warehousedescription; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner availablequantity(Integer availablequantity) { - this.availablequantity = availablequantity; - return this; - } - - /** - * On hand available quantity - * @return availablequantity - **/ - @javax.annotation.Nullable - public Integer getAvailablequantity() { - return availablequantity; - } - - public void setAvailablequantity(Integer availablequantity) { - this.availablequantity = availablequantity; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner onorderquantity(Integer onorderquantity) { - this.onorderquantity = onorderquantity; - return this; - } - - /** - * On Order quantity - * @return onorderquantity - **/ - @javax.annotation.Nullable - public Integer getOnorderquantity() { - return onorderquantity; - } - - public void setOnorderquantity(Integer onorderquantity) { - this.onorderquantity = onorderquantity; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner onholdquantity(String onholdquantity) { - this.onholdquantity = onholdquantity; - return this; - } - - /** - * Get onholdquantity - * @return onholdquantity - **/ - @javax.annotation.Nullable - public String getOnholdquantity() { - return onholdquantity; - } - - public void setOnholdquantity(String onholdquantity) { - this.onholdquantity = onholdquantity; - } - - - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner etadate(String etadate) { - this.etadate = etadate; - return this; - } - - /** - * Get etadate - * @return etadate - **/ - @javax.annotation.Nullable - public String getEtadate() { - return etadate; - } - - public void setEtadate(String etadate) { - this.etadate = etadate; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner = (MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner) o; - return Objects.equals(this.warehouseid, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.warehouseid) && - Objects.equals(this.warehousedescription, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.warehousedescription) && - Objects.equals(this.availablequantity, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.availablequantity) && - Objects.equals(this.onorderquantity, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.onorderquantity) && - Objects.equals(this.onholdquantity, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.onholdquantity) && - Objects.equals(this.etadate, multiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.etadate); - } - - @Override - public int hashCode() { - return Objects.hash(warehouseid, warehousedescription, availablequantity, onorderquantity, onholdquantity, etadate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner {\n"); - sb.append(" warehouseid: ").append(toIndentedString(warehouseid)).append("\n"); - sb.append(" warehousedescription: ").append(toIndentedString(warehousedescription)).append("\n"); - sb.append(" availablequantity: ").append(toIndentedString(availablequantity)).append("\n"); - sb.append(" onorderquantity: ").append(toIndentedString(onorderquantity)).append("\n"); - sb.append(" onholdquantity: ").append(toIndentedString(onholdquantity)).append("\n"); - sb.append(" etadate: ").append(toIndentedString(etadate)).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("warehouseid"); - openapiFields.add("warehousedescription"); - openapiFields.add("availablequantity"); - openapiFields.add("onorderquantity"); - openapiFields.add("onholdquantity"); - openapiFields.add("etadate"); - - // 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 MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("warehouseid") != null && !jsonObj.get("warehouseid").isJsonNull()) && !jsonObj.get("warehouseid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehouseid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehouseid").toString())); - } - // validate the optional field `warehouseid` - if (jsonObj.get("warehouseid") != null && !jsonObj.get("warehouseid").isJsonNull()) { - WarehouseidEnum.validateJsonElement(jsonObj.get("warehouseid")); - } - if ((jsonObj.get("warehousedescription") != null && !jsonObj.get("warehousedescription").isJsonNull()) && !jsonObj.get("warehousedescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warehousedescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warehousedescription").toString())); - } - if ((jsonObj.get("onholdquantity") != null && !jsonObj.get("onholdquantity").isJsonNull()) && !jsonObj.get("onholdquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `onholdquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("onholdquantity").toString())); - } - if ((jsonObj.get("etadate") != null && !jsonObj.get("etadate").isJsonNull()) && !jsonObj.get("etadate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `etadate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("etadate").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - */ - public static MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java deleted file mode 100644 index 4d193f2f..00000000 --- a/src/main/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class MultiSKUPriceAndStockResponseServiceresponseResponsepreamble { - public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; - @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) - private String responsestatus; - - public static final String SERIALIZED_NAME_RESPONSEMESSAGE = "responsemessage"; - @SerializedName(SERIALIZED_NAME_RESPONSEMESSAGE) - private String responsemessage; - - public static final String SERIALIZED_NAME_STATUSCODE = "statuscode"; - @SerializedName(SERIALIZED_NAME_STATUSCODE) - private String statuscode; - - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble() { - } - - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsestatus(String responsestatus) { - this.responsestatus = responsestatus; - return this; - } - - /** - * SUCCESS or FAILED, sometimes PARTIAL SUCCESS if connection to 1 of the systems fails - * @return responsestatus - **/ - @javax.annotation.Nullable - public String getResponsestatus() { - return responsestatus; - } - - public void setResponsestatus(String responsestatus) { - this.responsestatus = responsestatus; - } - - - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble responsemessage(String responsemessage) { - this.responsemessage = responsemessage; - return this; - } - - /** - * Overall status message including error message - * @return responsemessage - **/ - @javax.annotation.Nullable - public String getResponsemessage() { - return responsemessage; - } - - public void setResponsemessage(String responsemessage) { - this.responsemessage = responsemessage; - } - - - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble statuscode(String statuscode) { - this.statuscode = statuscode; - return this; - } - - /** - * Statuscode Message - * @return statuscode - **/ - @javax.annotation.Nullable - public String getStatuscode() { - return statuscode; - } - - public void setStatuscode(String statuscode) { - this.statuscode = statuscode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MultiSKUPriceAndStockResponseServiceresponseResponsepreamble multiSKUPriceAndStockResponseServiceresponseResponsepreamble = (MultiSKUPriceAndStockResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.responsestatus, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.responsestatus) && - Objects.equals(this.responsemessage, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.responsemessage) && - Objects.equals(this.statuscode, multiSKUPriceAndStockResponseServiceresponseResponsepreamble.statuscode); - } - - @Override - public int hashCode() { - return Objects.hash(responsestatus, responsemessage, statuscode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MultiSKUPriceAndStockResponseServiceresponseResponsepreamble {\n"); - sb.append(" responsestatus: ").append(toIndentedString(responsestatus)).append("\n"); - sb.append(" responsemessage: ").append(toIndentedString(responsemessage)).append("\n"); - sb.append(" statuscode: ").append(toIndentedString(statuscode)).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("responsestatus"); - openapiFields.add("responsemessage"); - openapiFields.add("statuscode"); - - // 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 MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MultiSKUPriceAndStockResponseServiceresponseResponsepreamble is not found in the empty JSON string", MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MultiSKUPriceAndStockResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responsestatus") != null && !jsonObj.get("responsestatus").isJsonNull()) && !jsonObj.get("responsestatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsestatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsestatus").toString())); - } - if ((jsonObj.get("responsemessage") != null && !jsonObj.get("responsemessage").isJsonNull()) && !jsonObj.get("responsemessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsemessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsemessage").toString())); - } - if ((jsonObj.get("statuscode") != null && !jsonObj.get("statuscode").isJsonNull()) && !jsonObj.get("statuscode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statuscode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statuscode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MultiSKUPriceAndStockResponseServiceresponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MultiSKUPriceAndStockResponseServiceresponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MultiSKUPriceAndStockResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - */ - public static MultiSKUPriceAndStockResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MultiSKUPriceAndStockResponseServiceresponseResponsepreamble.class); - } - - /** - * Convert an instance of MultiSKUPriceAndStockResponseServiceresponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index 7acf1eb6..74146208 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -58,7 +58,7 @@ /** * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateRequest { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index bd0f9095..5b626415 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 914d04a1..d63eac8d 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateRequestEndUserInfo { 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/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index 50e502af..89d771f6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateRequestLinesInner { 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/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index abb336e1..93773327 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 a96f149f..6ded138e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 34d9b503..13c796ae 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index eba9b1c0..009b4ef7 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2df88bd6..a180d1a6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1b7ef96d..dbbe1949 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 cd06a796..5d676104 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 a3f919b7..125f3f6a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 90f02740..f1cbbf29 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateResponse { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index c3fb206a..e62422df 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 ec463913..404359e9 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index a471524b..ececd47e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 5b21ec6b..fc07cabb 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderCreateResponseOrdersInnerLinesInner { 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/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index da7b96dc..7edce9e4 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 873422ee..26dcfb9c 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 07a231df..ae424ce1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2277f14b..ca1c9d1a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 19686f56..3ebb878b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 87553831..28de3322 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/OrderDeleteRequest.java b/src/main/java/xiresellers/client/model/OrderDeleteRequest.java deleted file mode 100644 index ad6b88ec..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderDeleteRequestServicerequest; - -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; - -/** - * Request schema for order delete endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private OrderDeleteRequestServicerequest servicerequest; - - public OrderDeleteRequest() { - } - - public OrderDeleteRequest servicerequest(OrderDeleteRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public OrderDeleteRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(OrderDeleteRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteRequest orderDeleteRequest = (OrderDeleteRequest) o; - return Objects.equals(this.servicerequest, orderDeleteRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 OrderDeleteRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteRequest is not found in the empty JSON string", OrderDeleteRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - OrderDeleteRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteRequest - * @throws IOException if the JSON string is invalid with respect to OrderDeleteRequest - */ - public static OrderDeleteRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteRequest.class); - } - - /** - * Convert an instance of OrderDeleteRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java deleted file mode 100644 index 477cb032..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequest.java +++ /dev/null @@ -1,245 +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.Arrays; -import xiresellers.client.model.OrderDeleteRequestServicerequestOrderDeleteRequestDetails; -import xiresellers.client.model.OrderDeleteRequestServicerequestRequestpreamble; - -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; - -/** - * OrderDeleteRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private OrderDeleteRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_ORDER_DELETE_REQUEST_DETAILS = "OrderDeleteRequestDetails"; - @SerializedName(SERIALIZED_NAME_ORDER_DELETE_REQUEST_DETAILS) - private OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderDeleteRequestDetails; - - public OrderDeleteRequestServicerequest() { - } - - public OrderDeleteRequestServicerequest requestpreamble(OrderDeleteRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nonnull - public OrderDeleteRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(OrderDeleteRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public OrderDeleteRequestServicerequest orderDeleteRequestDetails(OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderDeleteRequestDetails) { - this.orderDeleteRequestDetails = orderDeleteRequestDetails; - return this; - } - - /** - * Get orderDeleteRequestDetails - * @return orderDeleteRequestDetails - **/ - @javax.annotation.Nullable - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails getOrderDeleteRequestDetails() { - return orderDeleteRequestDetails; - } - - public void setOrderDeleteRequestDetails(OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderDeleteRequestDetails) { - this.orderDeleteRequestDetails = orderDeleteRequestDetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteRequestServicerequest orderDeleteRequestServicerequest = (OrderDeleteRequestServicerequest) o; - return Objects.equals(this.requestpreamble, orderDeleteRequestServicerequest.requestpreamble) && - Objects.equals(this.orderDeleteRequestDetails, orderDeleteRequestServicerequest.orderDeleteRequestDetails); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, orderDeleteRequestDetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" orderDeleteRequestDetails: ").append(toIndentedString(orderDeleteRequestDetails)).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("requestpreamble"); - openapiFields.add("OrderDeleteRequestDetails"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("requestpreamble"); - } - - /** - * 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 OrderDeleteRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteRequestServicerequest is not found in the empty JSON string", OrderDeleteRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderDeleteRequestServicerequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the required field `requestpreamble` - OrderDeleteRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - // validate the optional field `OrderDeleteRequestDetails` - if (jsonObj.get("OrderDeleteRequestDetails") != null && !jsonObj.get("OrderDeleteRequestDetails").isJsonNull()) { - OrderDeleteRequestServicerequestOrderDeleteRequestDetails.validateJsonElement(jsonObj.get("OrderDeleteRequestDetails")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to OrderDeleteRequestServicerequest - */ - public static OrderDeleteRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteRequestServicerequest.class); - } - - /** - * Convert an instance of OrderDeleteRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java deleted file mode 100644 index bd33e242..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetails.java +++ /dev/null @@ -1,390 +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.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; - -/** - * OrderDeleteRequestServicerequestOrderDeleteRequestDetails - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteRequestServicerequestOrderDeleteRequestDetails { - public static final String SERIALIZED_NAME_ENTRY_DATE = "entryDate"; - @SerializedName(SERIALIZED_NAME_ENTRY_DATE) - private String entryDate; - - public static final String SERIALIZED_NAME_ORDER_BRANCH = "orderBranch"; - @SerializedName(SERIALIZED_NAME_ORDER_BRANCH) - private String orderBranch; - - public static final String SERIALIZED_NAME_ORDER_NUMBER = "orderNumber"; - @SerializedName(SERIALIZED_NAME_ORDER_NUMBER) - private String orderNumber; - - public static final String SERIALIZED_NAME_REJECTION_CODE = "rejectionCode"; - @SerializedName(SERIALIZED_NAME_REJECTION_CODE) - private String rejectionCode; - - public static final String SERIALIZED_NAME_DISTRIBUTION_NUMBER = "distributionNumber"; - @SerializedName(SERIALIZED_NAME_DISTRIBUTION_NUMBER) - private String distributionNumber; - - public static final String SERIALIZED_NAME_SHIPMENT_NUMBER = "shipmentNumber"; - @SerializedName(SERIALIZED_NAME_SHIPMENT_NUMBER) - private String shipmentNumber; - - public static final String SERIALIZED_NAME_OPERATOR_I_D = "operatorID"; - @SerializedName(SERIALIZED_NAME_OPERATOR_I_D) - private String operatorID; - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails() { - } - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails entryDate(String entryDate) { - this.entryDate = entryDate; - return this; - } - - /** - * Date order entered - * @return entryDate - **/ - @javax.annotation.Nonnull - public String getEntryDate() { - return entryDate; - } - - public void setEntryDate(String entryDate) { - this.entryDate = entryDate; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderBranch(String orderBranch) { - this.orderBranch = orderBranch; - return this; - } - - /** - * Ingram Micro's first 2 numbers of the order number - * @return orderBranch - **/ - @javax.annotation.Nonnull - public String getOrderBranch() { - return orderBranch; - } - - public void setOrderBranch(String orderBranch) { - this.orderBranch = orderBranch; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderNumber(String orderNumber) { - this.orderNumber = orderNumber; - return this; - } - - /** - * Ingram Micro's middle 6 numbers of the order# - * @return orderNumber - **/ - @javax.annotation.Nonnull - public String getOrderNumber() { - return orderNumber; - } - - public void setOrderNumber(String orderNumber) { - this.orderNumber = orderNumber; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails rejectionCode(String rejectionCode) { - this.rejectionCode = rejectionCode; - return this; - } - - /** - * Get rejectionCode - * @return rejectionCode - **/ - @javax.annotation.Nullable - public String getRejectionCode() { - return rejectionCode; - } - - public void setRejectionCode(String rejectionCode) { - this.rejectionCode = rejectionCode; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails distributionNumber(String distributionNumber) { - this.distributionNumber = distributionNumber; - return this; - } - - /** - * Ingram Micro's suffix number of the order# - * @return distributionNumber - **/ - @javax.annotation.Nullable - public String getDistributionNumber() { - return distributionNumber; - } - - public void setDistributionNumber(String distributionNumber) { - this.distributionNumber = distributionNumber; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails shipmentNumber(String shipmentNumber) { - this.shipmentNumber = shipmentNumber; - return this; - } - - /** - * Ingram Micro's last number of the order# - * @return shipmentNumber - **/ - @javax.annotation.Nullable - public String getShipmentNumber() { - return shipmentNumber; - } - - public void setShipmentNumber(String shipmentNumber) { - this.shipmentNumber = shipmentNumber; - } - - - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails operatorID(String operatorID) { - this.operatorID = operatorID; - return this; - } - - /** - * Ingram ID(not required) - * @return operatorID - **/ - @javax.annotation.Nullable - public String getOperatorID() { - return operatorID; - } - - public void setOperatorID(String operatorID) { - this.operatorID = operatorID; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteRequestServicerequestOrderDeleteRequestDetails orderDeleteRequestServicerequestOrderDeleteRequestDetails = (OrderDeleteRequestServicerequestOrderDeleteRequestDetails) o; - return Objects.equals(this.entryDate, orderDeleteRequestServicerequestOrderDeleteRequestDetails.entryDate) && - Objects.equals(this.orderBranch, orderDeleteRequestServicerequestOrderDeleteRequestDetails.orderBranch) && - Objects.equals(this.orderNumber, orderDeleteRequestServicerequestOrderDeleteRequestDetails.orderNumber) && - Objects.equals(this.rejectionCode, orderDeleteRequestServicerequestOrderDeleteRequestDetails.rejectionCode) && - Objects.equals(this.distributionNumber, orderDeleteRequestServicerequestOrderDeleteRequestDetails.distributionNumber) && - Objects.equals(this.shipmentNumber, orderDeleteRequestServicerequestOrderDeleteRequestDetails.shipmentNumber) && - Objects.equals(this.operatorID, orderDeleteRequestServicerequestOrderDeleteRequestDetails.operatorID); - } - - @Override - public int hashCode() { - return Objects.hash(entryDate, orderBranch, orderNumber, rejectionCode, distributionNumber, shipmentNumber, operatorID); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteRequestServicerequestOrderDeleteRequestDetails {\n"); - sb.append(" entryDate: ").append(toIndentedString(entryDate)).append("\n"); - sb.append(" orderBranch: ").append(toIndentedString(orderBranch)).append("\n"); - sb.append(" orderNumber: ").append(toIndentedString(orderNumber)).append("\n"); - sb.append(" rejectionCode: ").append(toIndentedString(rejectionCode)).append("\n"); - sb.append(" distributionNumber: ").append(toIndentedString(distributionNumber)).append("\n"); - sb.append(" shipmentNumber: ").append(toIndentedString(shipmentNumber)).append("\n"); - sb.append(" operatorID: ").append(toIndentedString(operatorID)).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("entryDate"); - openapiFields.add("orderBranch"); - openapiFields.add("orderNumber"); - openapiFields.add("rejectionCode"); - openapiFields.add("distributionNumber"); - openapiFields.add("shipmentNumber"); - openapiFields.add("operatorID"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("entryDate"); - openapiRequiredFields.add("orderBranch"); - openapiRequiredFields.add("orderNumber"); - } - - /** - * 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 OrderDeleteRequestServicerequestOrderDeleteRequestDetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteRequestServicerequestOrderDeleteRequestDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteRequestServicerequestOrderDeleteRequestDetails is not found in the empty JSON string", OrderDeleteRequestServicerequestOrderDeleteRequestDetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteRequestServicerequestOrderDeleteRequestDetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteRequestServicerequestOrderDeleteRequestDetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderDeleteRequestServicerequestOrderDeleteRequestDetails.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("entryDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `entryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("entryDate").toString())); - } - if (!jsonObj.get("orderBranch").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderBranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderBranch").toString())); - } - if (!jsonObj.get("orderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderNumber").toString())); - } - if ((jsonObj.get("rejectionCode") != null && !jsonObj.get("rejectionCode").isJsonNull()) && !jsonObj.get("rejectionCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `rejectionCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rejectionCode").toString())); - } - if ((jsonObj.get("distributionNumber") != null && !jsonObj.get("distributionNumber").isJsonNull()) && !jsonObj.get("distributionNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `distributionNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("distributionNumber").toString())); - } - if ((jsonObj.get("shipmentNumber") != null && !jsonObj.get("shipmentNumber").isJsonNull()) && !jsonObj.get("shipmentNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipmentNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipmentNumber").toString())); - } - if ((jsonObj.get("operatorID") != null && !jsonObj.get("operatorID").isJsonNull()) && !jsonObj.get("operatorID").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `operatorID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operatorID").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteRequestServicerequestOrderDeleteRequestDetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteRequestServicerequestOrderDeleteRequestDetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteRequestServicerequestOrderDeleteRequestDetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteRequestServicerequestOrderDeleteRequestDetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteRequestServicerequestOrderDeleteRequestDetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteRequestServicerequestOrderDeleteRequestDetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteRequestServicerequestOrderDeleteRequestDetails - * @throws IOException if the JSON string is invalid with respect to OrderDeleteRequestServicerequestOrderDeleteRequestDetails - */ - public static OrderDeleteRequestServicerequestOrderDeleteRequestDetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteRequestServicerequestOrderDeleteRequestDetails.class); - } - - /** - * Convert an instance of OrderDeleteRequestServicerequestOrderDeleteRequestDetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java deleted file mode 100644 index 0bf337b2..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * OrderDeleteRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMER_NUMBER = "customerNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NUMBER) - private String customerNumber; - - public OrderDeleteRequestServicerequestRequestpreamble() { - } - - public OrderDeleteRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * Country that Order is being place in. - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public OrderDeleteRequestServicerequestRequestpreamble customerNumber(String customerNumber) { - this.customerNumber = customerNumber; - return this; - } - - /** - * Account number order will be billed to. INGRAM MICRO ACCOUNT NUMBER REQUIRED - * @return customerNumber - **/ - @javax.annotation.Nonnull - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteRequestServicerequestRequestpreamble orderDeleteRequestServicerequestRequestpreamble = (OrderDeleteRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, orderDeleteRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customerNumber, orderDeleteRequestServicerequestRequestpreamble.customerNumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customerNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customerNumber: ").append(toIndentedString(customerNumber)).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("isocountrycode"); - openapiFields.add("customerNumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customerNumber"); - } - - /** - * 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 OrderDeleteRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteRequestServicerequestRequestpreamble is not found in the empty JSON string", OrderDeleteRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderDeleteRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customerNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to OrderDeleteRequestServicerequestRequestpreamble - */ - public static OrderDeleteRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of OrderDeleteRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteResponse.java b/src/main/java/xiresellers/client/model/OrderDeleteResponse.java deleted file mode 100644 index 1a344627..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderDeleteResponseServiceresponse; - -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; - -/** - * Response schema for order delete endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderDeleteResponseServiceresponse serviceresponse; - - public OrderDeleteResponse() { - } - - public OrderDeleteResponse serviceresponse(OrderDeleteResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public OrderDeleteResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(OrderDeleteResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteResponse orderDeleteResponse = (OrderDeleteResponse) o; - return Objects.equals(this.serviceresponse, orderDeleteResponse.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 OrderDeleteResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteResponse is not found in the empty JSON string", OrderDeleteResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderDeleteResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteResponse - * @throws IOException if the JSON string is invalid with respect to OrderDeleteResponse - */ - public static OrderDeleteResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteResponse.class); - } - - /** - * Convert an instance of OrderDeleteResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java deleted file mode 100644 index 511d6918..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble; - -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; - -/** - * OrderDeleteResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private OrderDeleteResponseServiceresponseResponsepreamble responsepreamble; - - public OrderDeleteResponseServiceresponse() { - } - - public OrderDeleteResponseServiceresponse responsepreamble(OrderDeleteResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public OrderDeleteResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(OrderDeleteResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteResponseServiceresponse orderDeleteResponseServiceresponse = (OrderDeleteResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, orderDeleteResponseServiceresponse.responsepreamble); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).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("responsepreamble"); - - // 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 OrderDeleteResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteResponseServiceresponse is not found in the empty JSON string", OrderDeleteResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - OrderDeleteResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to OrderDeleteResponseServiceresponse - */ - public static OrderDeleteResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteResponseServiceresponse.class); - } - - /** - * Convert an instance of OrderDeleteResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java deleted file mode 100644 index 8ffe3f6b..00000000 --- a/src/main/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * OrderDeleteResponseServiceresponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDeleteResponseServiceresponseResponsepreamble { - public static final String SERIALIZED_NAME_REQUEST_STATUS = "requestStatus"; - @SerializedName(SERIALIZED_NAME_REQUEST_STATUS) - private String requestStatus; - - public static final String SERIALIZED_NAME_RETURN_CODE = "returnCode"; - @SerializedName(SERIALIZED_NAME_RETURN_CODE) - private String returnCode; - - public static final String SERIALIZED_NAME_RETURN_MESSAGE = "returnMessage"; - @SerializedName(SERIALIZED_NAME_RETURN_MESSAGE) - private String returnMessage; - - public OrderDeleteResponseServiceresponseResponsepreamble() { - } - - public OrderDeleteResponseServiceresponseResponsepreamble requestStatus(String requestStatus) { - this.requestStatus = requestStatus; - return this; - } - - /** - * Get requestStatus - * @return requestStatus - **/ - @javax.annotation.Nullable - public String getRequestStatus() { - return requestStatus; - } - - public void setRequestStatus(String requestStatus) { - this.requestStatus = requestStatus; - } - - - public OrderDeleteResponseServiceresponseResponsepreamble returnCode(String returnCode) { - this.returnCode = returnCode; - return this; - } - - /** - * Get returnCode - * @return returnCode - **/ - @javax.annotation.Nullable - public String getReturnCode() { - return returnCode; - } - - public void setReturnCode(String returnCode) { - this.returnCode = returnCode; - } - - - public OrderDeleteResponseServiceresponseResponsepreamble returnMessage(String returnMessage) { - this.returnMessage = returnMessage; - return this; - } - - /** - * Get returnMessage - * @return returnMessage - **/ - @javax.annotation.Nullable - public String getReturnMessage() { - return returnMessage; - } - - public void setReturnMessage(String returnMessage) { - this.returnMessage = returnMessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDeleteResponseServiceresponseResponsepreamble orderDeleteResponseServiceresponseResponsepreamble = (OrderDeleteResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.requestStatus, orderDeleteResponseServiceresponseResponsepreamble.requestStatus) && - Objects.equals(this.returnCode, orderDeleteResponseServiceresponseResponsepreamble.returnCode) && - Objects.equals(this.returnMessage, orderDeleteResponseServiceresponseResponsepreamble.returnMessage); - } - - @Override - public int hashCode() { - return Objects.hash(requestStatus, returnCode, returnMessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDeleteResponseServiceresponseResponsepreamble {\n"); - sb.append(" requestStatus: ").append(toIndentedString(requestStatus)).append("\n"); - sb.append(" returnCode: ").append(toIndentedString(returnCode)).append("\n"); - sb.append(" returnMessage: ").append(toIndentedString(returnMessage)).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("requestStatus"); - openapiFields.add("returnCode"); - openapiFields.add("returnMessage"); - - // 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 OrderDeleteResponseServiceresponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDeleteResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDeleteResponseServiceresponseResponsepreamble is not found in the empty JSON string", OrderDeleteResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDeleteResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDeleteResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("requestStatus") != null && !jsonObj.get("requestStatus").isJsonNull()) && !jsonObj.get("requestStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `requestStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestStatus").toString())); - } - if ((jsonObj.get("returnCode") != null && !jsonObj.get("returnCode").isJsonNull()) && !jsonObj.get("returnCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `returnCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnCode").toString())); - } - if ((jsonObj.get("returnMessage") != null && !jsonObj.get("returnMessage").isJsonNull()) && !jsonObj.get("returnMessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `returnMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnMessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDeleteResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDeleteResponseServiceresponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDeleteResponseServiceresponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDeleteResponseServiceresponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDeleteResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDeleteResponseServiceresponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDeleteResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to OrderDeleteResponseServiceresponseResponsepreamble - */ - public static OrderDeleteResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDeleteResponseServiceresponseResponsepreamble.class); - } - - /** - * Convert an instance of OrderDeleteResponseServiceresponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2B.java b/src/main/java/xiresellers/client/model/OrderDetailB2B.java index 4b848db8..d9ec95a1 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -59,7 +59,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 5d96f4d6..7acefe6f 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 54c5bef8..062c7038 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 3f0f9215..80392229 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 f8d4df1c..48d1aab5 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailB2BLinesInner { 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/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index c5bcb4df..0f113b6a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 70dd24d0..0fc08515 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 8074faa2..48edd91c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index d1ab554a..500b70af 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 46b82fc1..82d488e4 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 36c08f56..b12907e7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 f8f3f9a0..ebccf2c6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 8bdc4726..89f98a7b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 4b42682e..48d8eb06 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 3f3f05da..2ad48161 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 308effe8..d5714fc2 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 5c8eceea..7eeecc1f 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 7ee32300..c461b094 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 8b1155cb..406fc530 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 51d822f6..b9d1cb9b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1f346609..12087160 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1eda663b..f4cbb9c9 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 00942541..5b6ecfdb 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 601d328a..9037e4e4 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailB2BShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequest.java deleted file mode 100644 index e0011eca..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderDetailRequestServicerequest; - -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; - -/** - * Request schema for order details endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDetailRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private OrderDetailRequestServicerequest servicerequest; - - public OrderDetailRequest() { - } - - public OrderDetailRequest servicerequest(OrderDetailRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public OrderDetailRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(OrderDetailRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailRequest orderDetailRequest = (OrderDetailRequest) o; - return Objects.equals(this.servicerequest, orderDetailRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 OrderDetailRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailRequest is not found in the empty JSON string", OrderDetailRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - OrderDetailRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailRequest - * @throws IOException if the JSON string is invalid with respect to OrderDetailRequest - */ - public static OrderDetailRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailRequest.class); - } - - /** - * Convert an instance of OrderDetailRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java deleted file mode 100644 index 5de7c5cf..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequest.java +++ /dev/null @@ -1,245 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequestRequestpreamble; -import xiresellers.client.model.OrderDetailRequestServicerequestOrderdetailrequest; - -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; - -/** - * OrderDetailRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDetailRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private InvoiceDetailRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_ORDERDETAILREQUEST = "orderdetailrequest"; - @SerializedName(SERIALIZED_NAME_ORDERDETAILREQUEST) - private OrderDetailRequestServicerequestOrderdetailrequest orderdetailrequest; - - public OrderDetailRequestServicerequest() { - } - - public OrderDetailRequestServicerequest requestpreamble(InvoiceDetailRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nonnull - public InvoiceDetailRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(InvoiceDetailRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public OrderDetailRequestServicerequest orderdetailrequest(OrderDetailRequestServicerequestOrderdetailrequest orderdetailrequest) { - this.orderdetailrequest = orderdetailrequest; - return this; - } - - /** - * Get orderdetailrequest - * @return orderdetailrequest - **/ - @javax.annotation.Nullable - public OrderDetailRequestServicerequestOrderdetailrequest getOrderdetailrequest() { - return orderdetailrequest; - } - - public void setOrderdetailrequest(OrderDetailRequestServicerequestOrderdetailrequest orderdetailrequest) { - this.orderdetailrequest = orderdetailrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailRequestServicerequest orderDetailRequestServicerequest = (OrderDetailRequestServicerequest) o; - return Objects.equals(this.requestpreamble, orderDetailRequestServicerequest.requestpreamble) && - Objects.equals(this.orderdetailrequest, orderDetailRequestServicerequest.orderdetailrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, orderdetailrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" orderdetailrequest: ").append(toIndentedString(orderdetailrequest)).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("requestpreamble"); - openapiFields.add("orderdetailrequest"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("requestpreamble"); - } - - /** - * 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 OrderDetailRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailRequestServicerequest is not found in the empty JSON string", OrderDetailRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderDetailRequestServicerequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the required field `requestpreamble` - InvoiceDetailRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - // validate the optional field `orderdetailrequest` - if (jsonObj.get("orderdetailrequest") != null && !jsonObj.get("orderdetailrequest").isJsonNull()) { - OrderDetailRequestServicerequestOrderdetailrequest.validateJsonElement(jsonObj.get("orderdetailrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to OrderDetailRequestServicerequest - */ - public static OrderDetailRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailRequestServicerequest.class); - } - - /** - * Convert an instance of OrderDetailRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java b/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java deleted file mode 100644 index bd8e8cfb..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequest.java +++ /dev/null @@ -1,301 +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.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; - -/** - * OrderDetailRequestServicerequestOrderdetailrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderDetailRequestServicerequestOrderdetailrequest { - public static final String SERIALIZED_NAME_ORDERNUMBER = "ordernumber"; - @SerializedName(SERIALIZED_NAME_ORDERNUMBER) - private String ordernumber; - - public static final String SERIALIZED_NAME_CUSTOMERPONUMBER = "customerponumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPONUMBER) - private String customerponumber; - - public static final String SERIALIZED_NAME_ORDERDATE = "orderdate"; - @SerializedName(SERIALIZED_NAME_ORDERDATE) - private String orderdate; - - public static final String SERIALIZED_NAME_SYSTEMID = "systemid"; - @SerializedName(SERIALIZED_NAME_SYSTEMID) - private String systemid; - - public OrderDetailRequestServicerequestOrderdetailrequest() { - } - - public OrderDetailRequestServicerequestOrderdetailrequest ordernumber(String ordernumber) { - this.ordernumber = ordernumber; - return this; - } - - /** - * Ingram Micro Order Number - * @return ordernumber - **/ - @javax.annotation.Nonnull - public String getOrdernumber() { - return ordernumber; - } - - public void setOrdernumber(String ordernumber) { - this.ordernumber = ordernumber; - } - - - public OrderDetailRequestServicerequestOrderdetailrequest customerponumber(String customerponumber) { - this.customerponumber = customerponumber; - return this; - } - - /** - * Get customerponumber - * @return customerponumber - **/ - @javax.annotation.Nullable - public String getCustomerponumber() { - return customerponumber; - } - - public void setCustomerponumber(String customerponumber) { - this.customerponumber = customerponumber; - } - - - public OrderDetailRequestServicerequestOrderdetailrequest orderdate(String orderdate) { - this.orderdate = orderdate; - return this; - } - - /** - * Get orderdate - * @return orderdate - **/ - @javax.annotation.Nullable - public String getOrderdate() { - return orderdate; - } - - public void setOrderdate(String orderdate) { - this.orderdate = orderdate; - } - - - public OrderDetailRequestServicerequestOrderdetailrequest systemid(String systemid) { - this.systemid = systemid; - return this; - } - - /** - * Get systemid - * @return systemid - **/ - @javax.annotation.Nullable - public String getSystemid() { - return systemid; - } - - public void setSystemid(String systemid) { - this.systemid = systemid; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailRequestServicerequestOrderdetailrequest orderDetailRequestServicerequestOrderdetailrequest = (OrderDetailRequestServicerequestOrderdetailrequest) o; - return Objects.equals(this.ordernumber, orderDetailRequestServicerequestOrderdetailrequest.ordernumber) && - Objects.equals(this.customerponumber, orderDetailRequestServicerequestOrderdetailrequest.customerponumber) && - Objects.equals(this.orderdate, orderDetailRequestServicerequestOrderdetailrequest.orderdate) && - Objects.equals(this.systemid, orderDetailRequestServicerequestOrderdetailrequest.systemid); - } - - @Override - public int hashCode() { - return Objects.hash(ordernumber, customerponumber, orderdate, systemid); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailRequestServicerequestOrderdetailrequest {\n"); - sb.append(" ordernumber: ").append(toIndentedString(ordernumber)).append("\n"); - sb.append(" customerponumber: ").append(toIndentedString(customerponumber)).append("\n"); - sb.append(" orderdate: ").append(toIndentedString(orderdate)).append("\n"); - sb.append(" systemid: ").append(toIndentedString(systemid)).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("ordernumber"); - openapiFields.add("customerponumber"); - openapiFields.add("orderdate"); - openapiFields.add("systemid"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("ordernumber"); - } - - /** - * 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 OrderDetailRequestServicerequestOrderdetailrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailRequestServicerequestOrderdetailrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailRequestServicerequestOrderdetailrequest is not found in the empty JSON string", OrderDetailRequestServicerequestOrderdetailrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailRequestServicerequestOrderdetailrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailRequestServicerequestOrderdetailrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderDetailRequestServicerequestOrderdetailrequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("ordernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordernumber").toString())); - } - if ((jsonObj.get("customerponumber") != null && !jsonObj.get("customerponumber").isJsonNull()) && !jsonObj.get("customerponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerponumber").toString())); - } - if ((jsonObj.get("orderdate") != null && !jsonObj.get("orderdate").isJsonNull()) && !jsonObj.get("orderdate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderdate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderdate").toString())); - } - if ((jsonObj.get("systemid") != null && !jsonObj.get("systemid").isJsonNull()) && !jsonObj.get("systemid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `systemid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("systemid").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailRequestServicerequestOrderdetailrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailRequestServicerequestOrderdetailrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailRequestServicerequestOrderdetailrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailRequestServicerequestOrderdetailrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailRequestServicerequestOrderdetailrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailRequestServicerequestOrderdetailrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailRequestServicerequestOrderdetailrequest - * @throws IOException if the JSON string is invalid with respect to OrderDetailRequestServicerequestOrderdetailrequest - */ - public static OrderDetailRequestServicerequestOrderdetailrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailRequestServicerequestOrderdetailrequest.class); - } - - /** - * Convert an instance of OrderDetailRequestServicerequestOrderdetailrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponse.java index 8ccb3abe..dd240593 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponse.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -58,7 +58,7 @@ /** * OrderDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponse { 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/OrderDetailResponseBillToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java index 4d831c45..f416117b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseBillToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java index 69a79974..3458b742 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java index 5a1b34cb..6001a9c3 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * OrderDetailResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInner { 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/OrderDetailResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java index 902d93c4..64184b20 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java index 82a079de..34dd8a9c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java index 2a6476ef..edbfaa20 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * Shipping details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java index 6d75a4af..2859191d 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * The shipment carrier details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java index 12f56b1e..2a8f2b5e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * The tracking details for the shipment containing the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner { public static final String SERIALIZED_NAME_TRACKING_NUMBER = "trackingNumber"; @SerializedName(SERIALIZED_NAME_TRACKING_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java index 789a85ce..0f0445b7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * A list of serial numbers of the line items contained in the shipment. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java index 58a88153..e3102e39 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderDetailResponseMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseMiscellaneousChargesInner { 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/OrderDetailResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java index 17e66ce4..2712a8b9 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderDetailResponseShipToInfo { 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 3869adeb..53fdd389 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,12 @@ 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 xiresellers.client.model.OrderModifyRequestServicerequest; +import java.util.List; +import xiresellers.client.model.OrderModifyRequestAdditionalAttributesInner; +import xiresellers.client.model.OrderModifyRequestLinesInner; +import xiresellers.client.model.OrderModifyRequestShipToInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +52,118 @@ import xiresellers.client.JSON; /** - * Request schema for order modify endpoint + * OrderModifyRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderModifyRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private OrderModifyRequestServicerequest servicerequest; + public static final String SERIALIZED_NAME_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private OrderModifyRequestShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public OrderModifyRequest() { } - public OrderModifyRequest servicerequest(OrderModifyRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; + public OrderModifyRequest notes(String notes) { + this.notes = notes; + return this; + } + + /** + * Shipment-level notes. + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public OrderModifyRequest shipToInfo(OrderModifyRequestShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + return this; + } + + /** + * Get shipToInfo + * @return shipToInfo + **/ + @javax.annotation.Nullable + public OrderModifyRequestShipToInfo getShipToInfo() { + return shipToInfo; + } + + public void setShipToInfo(OrderModifyRequestShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public OrderModifyRequest lines(List lines) { + this.lines = lines; + return this; + } + + public OrderModifyRequest addLinesItem(OrderModifyRequestLinesInner linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * The order line items. + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public OrderModifyRequest additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public OrderModifyRequest addAdditionalAttributesItem(OrderModifyRequestAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); return this; } /** - * Get servicerequest - * @return servicerequest + * Header-level additional attributes. + * @return additionalAttributes **/ @javax.annotation.Nullable - public OrderModifyRequestServicerequest getServicerequest() { - return servicerequest; + public List getAdditionalAttributes() { + return additionalAttributes; } - public void setServicerequest(OrderModifyRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +177,25 @@ public boolean equals(Object o) { return false; } OrderModifyRequest orderModifyRequest = (OrderModifyRequest) o; - return Objects.equals(this.servicerequest, orderModifyRequest.servicerequest); + return Objects.equals(this.notes, orderModifyRequest.notes) && + Objects.equals(this.shipToInfo, orderModifyRequest.shipToInfo) && + Objects.equals(this.lines, orderModifyRequest.lines) && + Objects.equals(this.additionalAttributes, orderModifyRequest.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(servicerequest); + return Objects.hash(notes, shipToInfo, lines, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderModifyRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +218,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("servicerequest"); + openapiFields.add("notes"); + openapiFields.add("shipToInfo"); + openapiFields.add("lines"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +248,40 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - OrderModifyRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); + 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())); + } + // validate the optional field `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + OrderModifyRequestShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + 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++) { + OrderModifyRequestLinesInner.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + 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++) { + OrderModifyRequestAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index ffa8dda6..c816387a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 925342b6..c832bc8f 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/OrderModifyRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java deleted file mode 100644 index 4e47bb0d..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequest; -import xiresellers.client.model.OrderModifyRequestServicerequestRequestpreamble; - -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; - -/** - * OrderModifyRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private OrderModifyRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_ORDERMODIFYREQUEST = "ordermodifyrequest"; - @SerializedName(SERIALIZED_NAME_ORDERMODIFYREQUEST) - private OrderModifyRequestServicerequestOrdermodifyrequest ordermodifyrequest; - - public OrderModifyRequestServicerequest() { - } - - public OrderModifyRequestServicerequest requestpreamble(OrderModifyRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public OrderModifyRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(OrderModifyRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public OrderModifyRequestServicerequest ordermodifyrequest(OrderModifyRequestServicerequestOrdermodifyrequest ordermodifyrequest) { - this.ordermodifyrequest = ordermodifyrequest; - return this; - } - - /** - * Get ordermodifyrequest - * @return ordermodifyrequest - **/ - @javax.annotation.Nullable - public OrderModifyRequestServicerequestOrdermodifyrequest getOrdermodifyrequest() { - return ordermodifyrequest; - } - - public void setOrdermodifyrequest(OrderModifyRequestServicerequestOrdermodifyrequest ordermodifyrequest) { - this.ordermodifyrequest = ordermodifyrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequest orderModifyRequestServicerequest = (OrderModifyRequestServicerequest) o; - return Objects.equals(this.requestpreamble, orderModifyRequestServicerequest.requestpreamble) && - Objects.equals(this.ordermodifyrequest, orderModifyRequestServicerequest.ordermodifyrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, ordermodifyrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" ordermodifyrequest: ").append(toIndentedString(ordermodifyrequest)).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("requestpreamble"); - openapiFields.add("ordermodifyrequest"); - - // 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 OrderModifyRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequest is not found in the empty JSON string", OrderModifyRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - OrderModifyRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `ordermodifyrequest` - if (jsonObj.get("ordermodifyrequest") != null && !jsonObj.get("ordermodifyrequest").isJsonNull()) { - OrderModifyRequestServicerequestOrdermodifyrequest.validateJsonElement(jsonObj.get("ordermodifyrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequest - */ - public static OrderModifyRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequest.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java deleted file mode 100644 index 71b58ab0..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequest.java +++ /dev/null @@ -1,435 +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.OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestShipto; - -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; - -/** - * OrderModifyRequestServicerequestOrdermodifyrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequestOrdermodifyrequest { - public static final String SERIALIZED_NAME_INGRAMORDERBRANCH = "ingramorderbranch"; - @SerializedName(SERIALIZED_NAME_INGRAMORDERBRANCH) - private String ingramorderbranch; - - public static final String SERIALIZED_NAME_INGRAMORDERNUMBER = "ingramordernumber"; - @SerializedName(SERIALIZED_NAME_INGRAMORDERNUMBER) - private String ingramordernumber; - - public static final String SERIALIZED_NAME_INGRAMORDERDIST = "ingramorderdist"; - @SerializedName(SERIALIZED_NAME_INGRAMORDERDIST) - private String ingramorderdist; - - public static final String SERIALIZED_NAME_INGRAMORDERSHIP = "ingramordership"; - @SerializedName(SERIALIZED_NAME_INGRAMORDERSHIP) - private String ingramordership; - - public static final String SERIALIZED_NAME_CUSTOMERPONUMBER = "customerponumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPONUMBER) - private String customerponumber; - - public static final String SERIALIZED_NAME_SHIPTO = "shipto"; - @SerializedName(SERIALIZED_NAME_SHIPTO) - private OrderModifyRequestServicerequestOrdermodifyrequestShipto shipto; - - public static final String SERIALIZED_NAME_HEADERDATA = "headerdata"; - @SerializedName(SERIALIZED_NAME_HEADERDATA) - private OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata headerdata; - - public static final String SERIALIZED_NAME_LINEDATA = "linedata"; - @SerializedName(SERIALIZED_NAME_LINEDATA) - private List linedata; - - public OrderModifyRequestServicerequestOrdermodifyrequest() { - } - - public OrderModifyRequestServicerequestOrdermodifyrequest ingramorderbranch(String ingramorderbranch) { - this.ingramorderbranch = ingramorderbranch; - return this; - } - - /** - * Get ingramorderbranch - * @return ingramorderbranch - **/ - @javax.annotation.Nullable - public String getIngramorderbranch() { - return ingramorderbranch; - } - - public void setIngramorderbranch(String ingramorderbranch) { - this.ingramorderbranch = ingramorderbranch; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest ingramordernumber(String ingramordernumber) { - this.ingramordernumber = ingramordernumber; - return this; - } - - /** - * Get ingramordernumber - * @return ingramordernumber - **/ - @javax.annotation.Nullable - public String getIngramordernumber() { - return ingramordernumber; - } - - public void setIngramordernumber(String ingramordernumber) { - this.ingramordernumber = ingramordernumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest ingramorderdist(String ingramorderdist) { - this.ingramorderdist = ingramorderdist; - return this; - } - - /** - * Get ingramorderdist - * @return ingramorderdist - **/ - @javax.annotation.Nullable - public String getIngramorderdist() { - return ingramorderdist; - } - - public void setIngramorderdist(String ingramorderdist) { - this.ingramorderdist = ingramorderdist; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest ingramordership(String ingramordership) { - this.ingramordership = ingramordership; - return this; - } - - /** - * Get ingramordership - * @return ingramordership - **/ - @javax.annotation.Nullable - public String getIngramordership() { - return ingramordership; - } - - public void setIngramordership(String ingramordership) { - this.ingramordership = ingramordership; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest customerponumber(String customerponumber) { - this.customerponumber = customerponumber; - return this; - } - - /** - * Get customerponumber - * @return customerponumber - **/ - @javax.annotation.Nullable - public String getCustomerponumber() { - return customerponumber; - } - - public void setCustomerponumber(String customerponumber) { - this.customerponumber = customerponumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest shipto(OrderModifyRequestServicerequestOrdermodifyrequestShipto shipto) { - this.shipto = shipto; - return this; - } - - /** - * Get shipto - * @return shipto - **/ - @javax.annotation.Nullable - public OrderModifyRequestServicerequestOrdermodifyrequestShipto getShipto() { - return shipto; - } - - public void setShipto(OrderModifyRequestServicerequestOrdermodifyrequestShipto shipto) { - this.shipto = shipto; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest headerdata(OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata headerdata) { - this.headerdata = headerdata; - return this; - } - - /** - * Get headerdata - * @return headerdata - **/ - @javax.annotation.Nullable - public OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata getHeaderdata() { - return headerdata; - } - - public void setHeaderdata(OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata headerdata) { - this.headerdata = headerdata; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequest linedata(List linedata) { - this.linedata = linedata; - return this; - } - - public OrderModifyRequestServicerequestOrdermodifyrequest addLinedataItem(OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner linedataItem) { - if (this.linedata == null) { - this.linedata = new ArrayList<>(); - } - this.linedata.add(linedataItem); - return this; - } - - /** - * Get linedata - * @return linedata - **/ - @javax.annotation.Nullable - public List getLinedata() { - return linedata; - } - - public void setLinedata(List linedata) { - this.linedata = linedata; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequestOrdermodifyrequest orderModifyRequestServicerequestOrdermodifyrequest = (OrderModifyRequestServicerequestOrdermodifyrequest) o; - return Objects.equals(this.ingramorderbranch, orderModifyRequestServicerequestOrdermodifyrequest.ingramorderbranch) && - Objects.equals(this.ingramordernumber, orderModifyRequestServicerequestOrdermodifyrequest.ingramordernumber) && - Objects.equals(this.ingramorderdist, orderModifyRequestServicerequestOrdermodifyrequest.ingramorderdist) && - Objects.equals(this.ingramordership, orderModifyRequestServicerequestOrdermodifyrequest.ingramordership) && - Objects.equals(this.customerponumber, orderModifyRequestServicerequestOrdermodifyrequest.customerponumber) && - Objects.equals(this.shipto, orderModifyRequestServicerequestOrdermodifyrequest.shipto) && - Objects.equals(this.headerdata, orderModifyRequestServicerequestOrdermodifyrequest.headerdata) && - Objects.equals(this.linedata, orderModifyRequestServicerequestOrdermodifyrequest.linedata); - } - - @Override - public int hashCode() { - return Objects.hash(ingramorderbranch, ingramordernumber, ingramorderdist, ingramordership, customerponumber, shipto, headerdata, linedata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequestOrdermodifyrequest {\n"); - sb.append(" ingramorderbranch: ").append(toIndentedString(ingramorderbranch)).append("\n"); - sb.append(" ingramordernumber: ").append(toIndentedString(ingramordernumber)).append("\n"); - sb.append(" ingramorderdist: ").append(toIndentedString(ingramorderdist)).append("\n"); - sb.append(" ingramordership: ").append(toIndentedString(ingramordership)).append("\n"); - sb.append(" customerponumber: ").append(toIndentedString(customerponumber)).append("\n"); - sb.append(" shipto: ").append(toIndentedString(shipto)).append("\n"); - sb.append(" headerdata: ").append(toIndentedString(headerdata)).append("\n"); - sb.append(" linedata: ").append(toIndentedString(linedata)).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("ingramorderbranch"); - openapiFields.add("ingramordernumber"); - openapiFields.add("ingramorderdist"); - openapiFields.add("ingramordership"); - openapiFields.add("customerponumber"); - openapiFields.add("shipto"); - openapiFields.add("headerdata"); - openapiFields.add("linedata"); - - // 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 OrderModifyRequestServicerequestOrdermodifyrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequestOrdermodifyrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequestOrdermodifyrequest is not found in the empty JSON string", OrderModifyRequestServicerequestOrdermodifyrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequestOrdermodifyrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequestOrdermodifyrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("ingramorderbranch") != null && !jsonObj.get("ingramorderbranch").isJsonNull()) && !jsonObj.get("ingramorderbranch").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramorderbranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramorderbranch").toString())); - } - if ((jsonObj.get("ingramordernumber") != null && !jsonObj.get("ingramordernumber").isJsonNull()) && !jsonObj.get("ingramordernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramordernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramordernumber").toString())); - } - if ((jsonObj.get("ingramorderdist") != null && !jsonObj.get("ingramorderdist").isJsonNull()) && !jsonObj.get("ingramorderdist").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramorderdist` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramorderdist").toString())); - } - if ((jsonObj.get("ingramordership") != null && !jsonObj.get("ingramordership").isJsonNull()) && !jsonObj.get("ingramordership").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramordership` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramordership").toString())); - } - if ((jsonObj.get("customerponumber") != null && !jsonObj.get("customerponumber").isJsonNull()) && !jsonObj.get("customerponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerponumber").toString())); - } - // validate the optional field `shipto` - if (jsonObj.get("shipto") != null && !jsonObj.get("shipto").isJsonNull()) { - OrderModifyRequestServicerequestOrdermodifyrequestShipto.validateJsonElement(jsonObj.get("shipto")); - } - // validate the optional field `headerdata` - if (jsonObj.get("headerdata") != null && !jsonObj.get("headerdata").isJsonNull()) { - OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.validateJsonElement(jsonObj.get("headerdata")); - } - if (jsonObj.get("linedata") != null && !jsonObj.get("linedata").isJsonNull()) { - JsonArray jsonArraylinedata = jsonObj.getAsJsonArray("linedata"); - if (jsonArraylinedata != null) { - // ensure the json data is an array - if (!jsonObj.get("linedata").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `linedata` to be an array in the JSON string but got `%s`", jsonObj.get("linedata").toString())); - } - - // validate the optional field `linedata` (array) - for (int i = 0; i < jsonArraylinedata.size(); i++) { - OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.validateJsonElement(jsonArraylinedata.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequestOrdermodifyrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequestOrdermodifyrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequestOrdermodifyrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequestOrdermodifyrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequestOrdermodifyrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequestOrdermodifyrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequestOrdermodifyrequest - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequestOrdermodifyrequest - */ - public static OrderModifyRequestServicerequestOrdermodifyrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequestOrdermodifyrequest.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequestOrdermodifyrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java deleted file mode 100644 index 8db430b9..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata { - public static final String SERIALIZED_NAME_ACTIONCODE = "actioncode"; - @SerializedName(SERIALIZED_NAME_ACTIONCODE) - private String actioncode; - - public static final String SERIALIZED_NAME_SHIPVIACODE = "shipviacode"; - @SerializedName(SERIALIZED_NAME_SHIPVIACODE) - private String shipviacode; - - public OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata() { - } - - public OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata actioncode(String actioncode) { - this.actioncode = actioncode; - return this; - } - - /** - * Get actioncode - * @return actioncode - **/ - @javax.annotation.Nullable - public String getActioncode() { - return actioncode; - } - - public void setActioncode(String actioncode) { - this.actioncode = actioncode; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata shipviacode(String shipviacode) { - this.shipviacode = shipviacode; - return this; - } - - /** - * Get shipviacode - * @return shipviacode - **/ - @javax.annotation.Nullable - public String getShipviacode() { - return shipviacode; - } - - public void setShipviacode(String shipviacode) { - this.shipviacode = shipviacode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata orderModifyRequestServicerequestOrdermodifyrequestHeaderdata = (OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata) o; - return Objects.equals(this.actioncode, orderModifyRequestServicerequestOrdermodifyrequestHeaderdata.actioncode) && - Objects.equals(this.shipviacode, orderModifyRequestServicerequestOrdermodifyrequestHeaderdata.shipviacode); - } - - @Override - public int hashCode() { - return Objects.hash(actioncode, shipviacode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata {\n"); - sb.append(" actioncode: ").append(toIndentedString(actioncode)).append("\n"); - sb.append(" shipviacode: ").append(toIndentedString(shipviacode)).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("actioncode"); - openapiFields.add("shipviacode"); - - // 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 OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata is not found in the empty JSON string", OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("actioncode") != null && !jsonObj.get("actioncode").isJsonNull()) && !jsonObj.get("actioncode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `actioncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("actioncode").toString())); - } - if ((jsonObj.get("shipviacode") != null && !jsonObj.get("shipviacode").isJsonNull()) && !jsonObj.get("shipviacode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipviacode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipviacode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - */ - public static OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java deleted file mode 100644 index 81901377..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.java +++ /dev/null @@ -1,377 +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.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; - -/** - * OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner { - public static final String SERIALIZED_NAME_ADDLINEORUPDATELINE = "addlineorupdateline"; - @SerializedName(SERIALIZED_NAME_ADDLINEORUPDATELINE) - private String addlineorupdateline; - - public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; - @SerializedName(SERIALIZED_NAME_LINENUMBER) - private String linenumber; - - public static final String SERIALIZED_NAME_CUSTOMERLINENUMBER = "customerlinenumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERLINENUMBER) - private String customerlinenumber; - - public static final String SERIALIZED_NAME_INGRAMPARTNUMBER = "ingrampartnumber"; - @SerializedName(SERIALIZED_NAME_INGRAMPARTNUMBER) - private String ingrampartnumber; - - public static final String SERIALIZED_NAME_QUANTITYORDERED = "quantityordered"; - @SerializedName(SERIALIZED_NAME_QUANTITYORDERED) - private Integer quantityordered; - - public static final String SERIALIZED_NAME_CUSTOMERPARTNUMBER = "customerpartnumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPARTNUMBER) - private String customerpartnumber; - - public static final String SERIALIZED_NAME_LINETYPE = "linetype"; - @SerializedName(SERIALIZED_NAME_LINETYPE) - private String linetype; - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner() { - } - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner addlineorupdateline(String addlineorupdateline) { - this.addlineorupdateline = addlineorupdateline; - return this; - } - - /** - * Get addlineorupdateline - * @return addlineorupdateline - **/ - @javax.annotation.Nullable - public String getAddlineorupdateline() { - return addlineorupdateline; - } - - public void setAddlineorupdateline(String addlineorupdateline) { - this.addlineorupdateline = addlineorupdateline; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner linenumber(String linenumber) { - this.linenumber = linenumber; - return this; - } - - /** - * Get linenumber - * @return linenumber - **/ - @javax.annotation.Nullable - public String getLinenumber() { - return linenumber; - } - - public void setLinenumber(String linenumber) { - this.linenumber = linenumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner customerlinenumber(String customerlinenumber) { - this.customerlinenumber = customerlinenumber; - return this; - } - - /** - * Get customerlinenumber - * @return customerlinenumber - **/ - @javax.annotation.Nullable - public String getCustomerlinenumber() { - return customerlinenumber; - } - - public void setCustomerlinenumber(String customerlinenumber) { - this.customerlinenumber = customerlinenumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner ingrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - return this; - } - - /** - * Get ingrampartnumber - * @return ingrampartnumber - **/ - @javax.annotation.Nullable - public String getIngrampartnumber() { - return ingrampartnumber; - } - - public void setIngrampartnumber(String ingrampartnumber) { - this.ingrampartnumber = ingrampartnumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner quantityordered(Integer quantityordered) { - this.quantityordered = quantityordered; - return this; - } - - /** - * Get quantityordered - * @return quantityordered - **/ - @javax.annotation.Nullable - public Integer getQuantityordered() { - return quantityordered; - } - - public void setQuantityordered(Integer quantityordered) { - this.quantityordered = quantityordered; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner customerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - return this; - } - - /** - * Get customerpartnumber - * @return customerpartnumber - **/ - @javax.annotation.Nullable - public String getCustomerpartnumber() { - return customerpartnumber; - } - - public void setCustomerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner linetype(String linetype) { - this.linetype = linetype; - return this; - } - - /** - * Get linetype - * @return linetype - **/ - @javax.annotation.Nullable - public String getLinetype() { - return linetype; - } - - public void setLinetype(String linetype) { - this.linetype = linetype; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner orderModifyRequestServicerequestOrdermodifyrequestLinedataInner = (OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner) o; - return Objects.equals(this.addlineorupdateline, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.addlineorupdateline) && - Objects.equals(this.linenumber, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.linenumber) && - Objects.equals(this.customerlinenumber, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.customerlinenumber) && - Objects.equals(this.ingrampartnumber, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.ingrampartnumber) && - Objects.equals(this.quantityordered, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.quantityordered) && - Objects.equals(this.customerpartnumber, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.customerpartnumber) && - Objects.equals(this.linetype, orderModifyRequestServicerequestOrdermodifyrequestLinedataInner.linetype); - } - - @Override - public int hashCode() { - return Objects.hash(addlineorupdateline, linenumber, customerlinenumber, ingrampartnumber, quantityordered, customerpartnumber, linetype); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner {\n"); - sb.append(" addlineorupdateline: ").append(toIndentedString(addlineorupdateline)).append("\n"); - sb.append(" linenumber: ").append(toIndentedString(linenumber)).append("\n"); - sb.append(" customerlinenumber: ").append(toIndentedString(customerlinenumber)).append("\n"); - sb.append(" ingrampartnumber: ").append(toIndentedString(ingrampartnumber)).append("\n"); - sb.append(" quantityordered: ").append(toIndentedString(quantityordered)).append("\n"); - sb.append(" customerpartnumber: ").append(toIndentedString(customerpartnumber)).append("\n"); - sb.append(" linetype: ").append(toIndentedString(linetype)).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("addlineorupdateline"); - openapiFields.add("linenumber"); - openapiFields.add("customerlinenumber"); - openapiFields.add("ingrampartnumber"); - openapiFields.add("quantityordered"); - openapiFields.add("customerpartnumber"); - openapiFields.add("linetype"); - - // 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 OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner is not found in the empty JSON string", OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("addlineorupdateline") != null && !jsonObj.get("addlineorupdateline").isJsonNull()) && !jsonObj.get("addlineorupdateline").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `addlineorupdateline` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addlineorupdateline").toString())); - } - if ((jsonObj.get("linenumber") != null && !jsonObj.get("linenumber").isJsonNull()) && !jsonObj.get("linenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linenumber").toString())); - } - 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("customerpartnumber") != null && !jsonObj.get("customerpartnumber").isJsonNull()) && !jsonObj.get("customerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerpartnumber").toString())); - } - if ((jsonObj.get("linetype") != null && !jsonObj.get("linetype").isJsonNull()) && !jsonObj.get("linetype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linetype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linetype").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - */ - public static OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java deleted file mode 100644 index 9db25889..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShipto.java +++ /dev/null @@ -1,380 +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.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; - -/** - * OrderModifyRequestServicerequestOrdermodifyrequestShipto - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequestOrdermodifyrequestShipto { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_ADDRESSLINE = "addressline"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE) - private String addressline; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto() { - } - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto id(String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto addressline(String addressline) { - this.addressline = addressline; - return this; - } - - /** - * Get addressline - * @return addressline - **/ - @javax.annotation.Nullable - public String getAddressline() { - return addressline; - } - - public void setAddressline(String addressline) { - this.addressline = addressline; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public OrderModifyRequestServicerequestOrdermodifyrequestShipto countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequestOrdermodifyrequestShipto orderModifyRequestServicerequestOrdermodifyrequestShipto = (OrderModifyRequestServicerequestOrdermodifyrequestShipto) o; - return Objects.equals(this.id, orderModifyRequestServicerequestOrdermodifyrequestShipto.id) && - Objects.equals(this.name, orderModifyRequestServicerequestOrdermodifyrequestShipto.name) && - Objects.equals(this.addressline, orderModifyRequestServicerequestOrdermodifyrequestShipto.addressline) && - Objects.equals(this.city, orderModifyRequestServicerequestOrdermodifyrequestShipto.city) && - Objects.equals(this.state, orderModifyRequestServicerequestOrdermodifyrequestShipto.state) && - Objects.equals(this.postalcode, orderModifyRequestServicerequestOrdermodifyrequestShipto.postalcode) && - Objects.equals(this.countrycode, orderModifyRequestServicerequestOrdermodifyrequestShipto.countrycode); - } - - @Override - public int hashCode() { - return Objects.hash(id, name, addressline, city, state, postalcode, countrycode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequestOrdermodifyrequestShipto {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" addressline: ").append(toIndentedString(addressline)).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("}"); - 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("Id"); - openapiFields.add("name"); - openapiFields.add("addressline"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - - // 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 OrderModifyRequestServicerequestOrdermodifyrequestShipto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestShipto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequestOrdermodifyrequestShipto is not found in the empty JSON string", OrderModifyRequestServicerequestOrdermodifyrequestShipto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestShipto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequestOrdermodifyrequestShipto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } - if ((jsonObj.get("addressline") != null && !jsonObj.get("addressline").isJsonNull()) && !jsonObj.get("addressline").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `addressline` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addressline").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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequestOrdermodifyrequestShipto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequestOrdermodifyrequestShipto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequestOrdermodifyrequestShipto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequestOrdermodifyrequestShipto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequestOrdermodifyrequestShipto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequestOrdermodifyrequestShipto given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequestOrdermodifyrequestShipto - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequestOrdermodifyrequestShipto - */ - public static OrderModifyRequestServicerequestOrdermodifyrequestShipto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequestOrdermodifyrequestShipto.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequestOrdermodifyrequestShipto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java deleted file mode 100644 index c1035387..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderModifyRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public OrderModifyRequestServicerequestRequestpreamble() { - } - - public OrderModifyRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * Get isocountrycode - * @return isocountrycode - **/ - @javax.annotation.Nullable - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public OrderModifyRequestServicerequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Get customernumber - * @return customernumber - **/ - @javax.annotation.Nullable - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyRequestServicerequestRequestpreamble orderModifyRequestServicerequestRequestpreamble = (OrderModifyRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, orderModifyRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, orderModifyRequestServicerequestRequestpreamble.customernumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - - // 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 OrderModifyRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyRequestServicerequestRequestpreamble is not found in the empty JSON string", OrderModifyRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("isocountrycode") != null && !jsonObj.get("isocountrycode").isJsonNull()) && !jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if ((jsonObj.get("customernumber") != null && !jsonObj.get("customernumber").isJsonNull()) && !jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to OrderModifyRequestServicerequestRequestpreamble - */ - public static OrderModifyRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of OrderModifyRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java index e7f607d5..d5d3f029 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 baa6a0aa..2b9612b4 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,14 @@ 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 xiresellers.client.model.OrderModifyResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderModifyResponseLinesInner; +import xiresellers.client.model.OrderModifyResponseLinesInnerAdditionalAttributesInner; +import xiresellers.client.model.OrderModifyResponseRejectedLineItemsInner; +import xiresellers.client.model.OrderModifyResponseShipToInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,33 +54,402 @@ import xiresellers.client.JSON; /** - * Response schema for order modify endpoint + * OrderModifyResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderModifyResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private OrderModifyResponseServiceresponse serviceresponse; + public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; + @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) + private String ingramOrderNumber; + + public static final String SERIALIZED_NAME_CHANGE_DESCRIPTION = "changeDescription"; + @SerializedName(SERIALIZED_NAME_CHANGE_DESCRIPTION) + private String changeDescription; + + public static final String SERIALIZED_NAME_ORDER_MODIFIED_DATE = "orderModifiedDate"; + @SerializedName(SERIALIZED_NAME_ORDER_MODIFIED_DATE) + private String orderModifiedDate; + + 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_ORDER_TOTAL = "orderTotal"; + @SerializedName(SERIALIZED_NAME_ORDER_TOTAL) + private BigDecimal orderTotal; + + public static final String SERIALIZED_NAME_NOTES = "notes"; + @SerializedName(SERIALIZED_NAME_NOTES) + private String notes; + + public static final String SERIALIZED_NAME_ORDER_SUB_TOTAL = "orderSubTotal"; + @SerializedName(SERIALIZED_NAME_ORDER_SUB_TOTAL) + private BigDecimal orderSubTotal; + + public static final String SERIALIZED_NAME_FREIGHT_CHARGES = "freightCharges"; + @SerializedName(SERIALIZED_NAME_FREIGHT_CHARGES) + private BigDecimal freightCharges; + + public static final String SERIALIZED_NAME_TOTAL_TAX = "totalTax"; + @SerializedName(SERIALIZED_NAME_TOTAL_TAX) + private BigDecimal totalTax; + + public static final String SERIALIZED_NAME_ORDER_STATUS = "orderStatus"; + @SerializedName(SERIALIZED_NAME_ORDER_STATUS) + private String orderStatus; + + 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_SHIP_TO_INFO = "shipToInfo"; + @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) + private OrderModifyResponseShipToInfo shipToInfo; + + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines; + + public static final String SERIALIZED_NAME_REJECTED_LINE_ITEMS = "rejectedLineItems"; + @SerializedName(SERIALIZED_NAME_REJECTED_LINE_ITEMS) + private List rejectedLineItems; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public OrderModifyResponse() { } - public OrderModifyResponse serviceresponse(OrderModifyResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public OrderModifyResponse ingramOrderNumber(String ingramOrderNumber) { + this.ingramOrderNumber = ingramOrderNumber; + return this; + } + + /** + * The IngramMicro order number. + * @return ingramOrderNumber + **/ + @javax.annotation.Nullable + public String getIngramOrderNumber() { + return ingramOrderNumber; + } + + public void setIngramOrderNumber(String ingramOrderNumber) { + this.ingramOrderNumber = ingramOrderNumber; + } + + + public OrderModifyResponse changeDescription(String changeDescription) { + this.changeDescription = changeDescription; + return this; + } + + /** + * The description of the change. + * @return changeDescription + **/ + @javax.annotation.Nullable + public String getChangeDescription() { + return changeDescription; + } + + public void setChangeDescription(String changeDescription) { + this.changeDescription = changeDescription; + } + + + public OrderModifyResponse orderModifiedDate(String orderModifiedDate) { + this.orderModifiedDate = orderModifiedDate; + return this; + } + + /** + * The date the order was modified. + * @return orderModifiedDate + **/ + @javax.annotation.Nullable + public String getOrderModifiedDate() { + return orderModifiedDate; + } + + public void setOrderModifiedDate(String orderModifiedDate) { + this.orderModifiedDate = orderModifiedDate; + } + + + public OrderModifyResponse 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 OrderModifyResponse endCustomerOrderNumber(String endCustomerOrderNumber) { + this.endCustomerOrderNumber = endCustomerOrderNumber; + return this; + } + + /** + * The end user/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 OrderModifyResponse orderTotal(BigDecimal orderTotal) { + this.orderTotal = orderTotal; + return this; + } + + /** + * The total for the order. + * @return orderTotal + **/ + @javax.annotation.Nullable + public BigDecimal getOrderTotal() { + return orderTotal; + } + + public void setOrderTotal(BigDecimal orderTotal) { + this.orderTotal = orderTotal; + } + + + public OrderModifyResponse notes(String notes) { + this.notes = notes; + return this; + } + + /** + * Order-level notes. + * @return notes + **/ + @javax.annotation.Nullable + public String getNotes() { + return notes; + } + + public void setNotes(String notes) { + this.notes = notes; + } + + + public OrderModifyResponse orderSubTotal(BigDecimal orderSubTotal) { + this.orderSubTotal = orderSubTotal; + return this; + } + + /** + * The sub total for the order. + * @return orderSubTotal + **/ + @javax.annotation.Nullable + public BigDecimal getOrderSubTotal() { + return orderSubTotal; + } + + public void setOrderSubTotal(BigDecimal orderSubTotal) { + this.orderSubTotal = orderSubTotal; + } + + + public OrderModifyResponse freightCharges(BigDecimal freightCharges) { + this.freightCharges = freightCharges; + return this; + } + + /** + * The freight charges for the order. + * @return freightCharges + **/ + @javax.annotation.Nullable + public BigDecimal getFreightCharges() { + return freightCharges; + } + + public void setFreightCharges(BigDecimal freightCharges) { + this.freightCharges = freightCharges; + } + + + public OrderModifyResponse totalTax(BigDecimal totalTax) { + this.totalTax = totalTax; return this; } /** - * Get serviceresponse - * @return serviceresponse + * The total tax for the order. + * @return totalTax **/ @javax.annotation.Nullable - public OrderModifyResponseServiceresponse getServiceresponse() { - return serviceresponse; + public BigDecimal getTotalTax() { + return totalTax; } - public void setServiceresponse(OrderModifyResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; + public void setTotalTax(BigDecimal totalTax) { + this.totalTax = totalTax; + } + + + public OrderModifyResponse orderStatus(String orderStatus) { + this.orderStatus = orderStatus; + return this; + } + + /** + * The status of the order. One of the following. Backordered, In Progress, Shipped, Delivered, Canceled, On Hold + * @return orderStatus + **/ + @javax.annotation.Nullable + public String getOrderStatus() { + return orderStatus; + } + + public void setOrderStatus(String orderStatus) { + this.orderStatus = orderStatus; + } + + + public OrderModifyResponse 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 OrderModifyResponse shipToInfo(OrderModifyResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + return this; + } + + /** + * Get shipToInfo + * @return shipToInfo + **/ + @javax.annotation.Nullable + public OrderModifyResponseShipToInfo getShipToInfo() { + return shipToInfo; + } + + public void setShipToInfo(OrderModifyResponseShipToInfo shipToInfo) { + this.shipToInfo = shipToInfo; + } + + + public OrderModifyResponse lines(List lines) { + this.lines = lines; + return this; + } + + public OrderModifyResponse addLinesItem(OrderModifyResponseLinesInner linesItem) { + if (this.lines == null) { + this.lines = new ArrayList<>(); + } + this.lines.add(linesItem); + return this; + } + + /** + * The line-level details for the order. + * @return lines + **/ + @javax.annotation.Nullable + public List getLines() { + return lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + + + public OrderModifyResponse rejectedLineItems(List rejectedLineItems) { + this.rejectedLineItems = rejectedLineItems; + return this; + } + + public OrderModifyResponse addRejectedLineItemsItem(OrderModifyResponseRejectedLineItemsInner rejectedLineItemsItem) { + if (this.rejectedLineItems == null) { + this.rejectedLineItems = new ArrayList<>(); + } + this.rejectedLineItems.add(rejectedLineItemsItem); + return this; + } + + /** + * Details for failed lines in the order. + * @return rejectedLineItems + **/ + @javax.annotation.Nullable + public List getRejectedLineItems() { + return rejectedLineItems; + } + + public void setRejectedLineItems(List rejectedLineItems) { + this.rejectedLineItems = rejectedLineItems; + } + + + public OrderModifyResponse additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public OrderModifyResponse addAdditionalAttributesItem(OrderModifyResponseLinesInnerAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Header-level additional attributes. + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +463,49 @@ public boolean equals(Object o) { return false; } OrderModifyResponse orderModifyResponse = (OrderModifyResponse) o; - return Objects.equals(this.serviceresponse, orderModifyResponse.serviceresponse); + return Objects.equals(this.ingramOrderNumber, orderModifyResponse.ingramOrderNumber) && + Objects.equals(this.changeDescription, orderModifyResponse.changeDescription) && + Objects.equals(this.orderModifiedDate, orderModifyResponse.orderModifiedDate) && + Objects.equals(this.customerOrderNumber, orderModifyResponse.customerOrderNumber) && + Objects.equals(this.endCustomerOrderNumber, orderModifyResponse.endCustomerOrderNumber) && + Objects.equals(this.orderTotal, orderModifyResponse.orderTotal) && + Objects.equals(this.notes, orderModifyResponse.notes) && + Objects.equals(this.orderSubTotal, orderModifyResponse.orderSubTotal) && + Objects.equals(this.freightCharges, orderModifyResponse.freightCharges) && + Objects.equals(this.totalTax, orderModifyResponse.totalTax) && + Objects.equals(this.orderStatus, orderModifyResponse.orderStatus) && + Objects.equals(this.billToAddressId, orderModifyResponse.billToAddressId) && + Objects.equals(this.shipToInfo, orderModifyResponse.shipToInfo) && + Objects.equals(this.lines, orderModifyResponse.lines) && + Objects.equals(this.rejectedLineItems, orderModifyResponse.rejectedLineItems) && + Objects.equals(this.additionalAttributes, orderModifyResponse.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(serviceresponse); + return Objects.hash(ingramOrderNumber, changeDescription, orderModifiedDate, customerOrderNumber, endCustomerOrderNumber, orderTotal, notes, orderSubTotal, freightCharges, totalTax, orderStatus, billToAddressId, shipToInfo, lines, rejectedLineItems, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrderModifyResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).append("\n"); + sb.append(" ingramOrderNumber: ").append(toIndentedString(ingramOrderNumber)).append("\n"); + sb.append(" changeDescription: ").append(toIndentedString(changeDescription)).append("\n"); + sb.append(" orderModifiedDate: ").append(toIndentedString(orderModifiedDate)).append("\n"); + sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); + sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); + sb.append(" orderTotal: ").append(toIndentedString(orderTotal)).append("\n"); + sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); + sb.append(" orderSubTotal: ").append(toIndentedString(orderSubTotal)).append("\n"); + sb.append(" freightCharges: ").append(toIndentedString(freightCharges)).append("\n"); + sb.append(" totalTax: ").append(toIndentedString(totalTax)).append("\n"); + sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); + sb.append(" billToAddressId: ").append(toIndentedString(billToAddressId)).append("\n"); + sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" rejectedLineItems: ").append(toIndentedString(rejectedLineItems)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +528,22 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("serviceresponse"); + openapiFields.add("ingramOrderNumber"); + openapiFields.add("changeDescription"); + openapiFields.add("orderModifiedDate"); + openapiFields.add("customerOrderNumber"); + openapiFields.add("endCustomerOrderNumber"); + openapiFields.add("orderTotal"); + openapiFields.add("notes"); + openapiFields.add("orderSubTotal"); + openapiFields.add("freightCharges"); + openapiFields.add("totalTax"); + openapiFields.add("orderStatus"); + openapiFields.add("billToAddressId"); + openapiFields.add("shipToInfo"); + openapiFields.add("lines"); + openapiFields.add("rejectedLineItems"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +570,75 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - OrderModifyResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); + if ((jsonObj.get("ingramOrderNumber") != null && !jsonObj.get("ingramOrderNumber").isJsonNull()) && !jsonObj.get("ingramOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderNumber").toString())); + } + if ((jsonObj.get("changeDescription") != null && !jsonObj.get("changeDescription").isJsonNull()) && !jsonObj.get("changeDescription").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `changeDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("changeDescription").toString())); + } + if ((jsonObj.get("orderModifiedDate") != null && !jsonObj.get("orderModifiedDate").isJsonNull()) && !jsonObj.get("orderModifiedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderModifiedDate").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("orderStatus") != null && !jsonObj.get("orderStatus").isJsonNull()) && !jsonObj.get("orderStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderStatus").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 `shipToInfo` + if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { + OrderModifyResponseShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); + } + 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++) { + OrderModifyResponseLinesInner.validateJsonElement(jsonArraylines.get(i)); + }; + } + } + if (jsonObj.get("rejectedLineItems") != null && !jsonObj.get("rejectedLineItems").isJsonNull()) { + JsonArray jsonArrayrejectedLineItems = jsonObj.getAsJsonArray("rejectedLineItems"); + if (jsonArrayrejectedLineItems != null) { + // ensure the json data is an array + if (!jsonObj.get("rejectedLineItems").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `rejectedLineItems` to be an array in the JSON string but got `%s`", jsonObj.get("rejectedLineItems").toString())); + } + + // validate the optional field `rejectedLineItems` (array) + for (int i = 0; i < jsonArrayrejectedLineItems.size(); i++) { + OrderModifyResponseRejectedLineItemsInner.validateJsonElement(jsonArrayrejectedLineItems.get(i)); + }; + } + } + 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++) { + OrderModifyResponseLinesInnerAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index 2f22d58d..40e43b9d 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderModifyResponseLinesInner { 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/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index 9d95068e..5e80a818 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2b848101..88cb9b2a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 c04e083e..5292f64e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/OrderModifyResponseServiceresponse.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java deleted file mode 100644 index 31717617..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.OrderModifyResponseServiceresponseOrdermodifyresponse; -import xiresellers.client.model.OrderModifyResponseServiceresponseResponsepreamble; - -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; - -/** - * OrderModifyResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private OrderModifyResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_ORDERMODIFYRESPONSE = "ordermodifyresponse"; - @SerializedName(SERIALIZED_NAME_ORDERMODIFYRESPONSE) - private OrderModifyResponseServiceresponseOrdermodifyresponse ordermodifyresponse; - - public OrderModifyResponseServiceresponse() { - } - - public OrderModifyResponseServiceresponse responsepreamble(OrderModifyResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public OrderModifyResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(OrderModifyResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public OrderModifyResponseServiceresponse ordermodifyresponse(OrderModifyResponseServiceresponseOrdermodifyresponse ordermodifyresponse) { - this.ordermodifyresponse = ordermodifyresponse; - return this; - } - - /** - * Get ordermodifyresponse - * @return ordermodifyresponse - **/ - @javax.annotation.Nullable - public OrderModifyResponseServiceresponseOrdermodifyresponse getOrdermodifyresponse() { - return ordermodifyresponse; - } - - public void setOrdermodifyresponse(OrderModifyResponseServiceresponseOrdermodifyresponse ordermodifyresponse) { - this.ordermodifyresponse = ordermodifyresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyResponseServiceresponse orderModifyResponseServiceresponse = (OrderModifyResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, orderModifyResponseServiceresponse.responsepreamble) && - Objects.equals(this.ordermodifyresponse, orderModifyResponseServiceresponse.ordermodifyresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, ordermodifyresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" ordermodifyresponse: ").append(toIndentedString(ordermodifyresponse)).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("responsepreamble"); - openapiFields.add("ordermodifyresponse"); - - // 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 OrderModifyResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyResponseServiceresponse is not found in the empty JSON string", OrderModifyResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - OrderModifyResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `ordermodifyresponse` - if (jsonObj.get("ordermodifyresponse") != null && !jsonObj.get("ordermodifyresponse").isJsonNull()) { - OrderModifyResponseServiceresponseOrdermodifyresponse.validateJsonElement(jsonObj.get("ordermodifyresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to OrderModifyResponseServiceresponse - */ - public static OrderModifyResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyResponseServiceresponse.class); - } - - /** - * Convert an instance of OrderModifyResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java deleted file mode 100644 index c18fa099..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponse.java +++ /dev/null @@ -1,322 +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.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; - -/** - * OrderModifyResponseServiceresponseOrdermodifyresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyResponseServiceresponseOrdermodifyresponse { - public static final String SERIALIZED_NAME_RESPONSEFLAG = "responseflag"; - @SerializedName(SERIALIZED_NAME_RESPONSEFLAG) - private String responseflag; - - public static final String SERIALIZED_NAME_ERRORTYPE = "errortype"; - @SerializedName(SERIALIZED_NAME_ERRORTYPE) - private String errortype; - - public static final String SERIALIZED_NAME_ACKTRIGGERED = "acktriggered"; - @SerializedName(SERIALIZED_NAME_ACKTRIGGERED) - private String acktriggered; - - public static final String SERIALIZED_NAME_WARNCODE = "warncode"; - @SerializedName(SERIALIZED_NAME_WARNCODE) - private String warncode; - - public static final String SERIALIZED_NAME_HEADERRESPONSE = "headerresponse"; - @SerializedName(SERIALIZED_NAME_HEADERRESPONSE) - private String headerresponse; - - public OrderModifyResponseServiceresponseOrdermodifyresponse() { - } - - public OrderModifyResponseServiceresponseOrdermodifyresponse responseflag(String responseflag) { - this.responseflag = responseflag; - return this; - } - - /** - * Get responseflag - * @return responseflag - **/ - @javax.annotation.Nullable - public String getResponseflag() { - return responseflag; - } - - public void setResponseflag(String responseflag) { - this.responseflag = responseflag; - } - - - public OrderModifyResponseServiceresponseOrdermodifyresponse errortype(String errortype) { - this.errortype = errortype; - return this; - } - - /** - * Get errortype - * @return errortype - **/ - @javax.annotation.Nullable - public String getErrortype() { - return errortype; - } - - public void setErrortype(String errortype) { - this.errortype = errortype; - } - - - public OrderModifyResponseServiceresponseOrdermodifyresponse acktriggered(String acktriggered) { - this.acktriggered = acktriggered; - return this; - } - - /** - * Get acktriggered - * @return acktriggered - **/ - @javax.annotation.Nullable - public String getAcktriggered() { - return acktriggered; - } - - public void setAcktriggered(String acktriggered) { - this.acktriggered = acktriggered; - } - - - public OrderModifyResponseServiceresponseOrdermodifyresponse warncode(String warncode) { - this.warncode = warncode; - return this; - } - - /** - * Get warncode - * @return warncode - **/ - @javax.annotation.Nullable - public String getWarncode() { - return warncode; - } - - public void setWarncode(String warncode) { - this.warncode = warncode; - } - - - public OrderModifyResponseServiceresponseOrdermodifyresponse headerresponse(String headerresponse) { - this.headerresponse = headerresponse; - return this; - } - - /** - * Get headerresponse - * @return headerresponse - **/ - @javax.annotation.Nullable - public String getHeaderresponse() { - return headerresponse; - } - - public void setHeaderresponse(String headerresponse) { - this.headerresponse = headerresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyResponseServiceresponseOrdermodifyresponse orderModifyResponseServiceresponseOrdermodifyresponse = (OrderModifyResponseServiceresponseOrdermodifyresponse) o; - return Objects.equals(this.responseflag, orderModifyResponseServiceresponseOrdermodifyresponse.responseflag) && - Objects.equals(this.errortype, orderModifyResponseServiceresponseOrdermodifyresponse.errortype) && - Objects.equals(this.acktriggered, orderModifyResponseServiceresponseOrdermodifyresponse.acktriggered) && - Objects.equals(this.warncode, orderModifyResponseServiceresponseOrdermodifyresponse.warncode) && - Objects.equals(this.headerresponse, orderModifyResponseServiceresponseOrdermodifyresponse.headerresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responseflag, errortype, acktriggered, warncode, headerresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyResponseServiceresponseOrdermodifyresponse {\n"); - sb.append(" responseflag: ").append(toIndentedString(responseflag)).append("\n"); - sb.append(" errortype: ").append(toIndentedString(errortype)).append("\n"); - sb.append(" acktriggered: ").append(toIndentedString(acktriggered)).append("\n"); - sb.append(" warncode: ").append(toIndentedString(warncode)).append("\n"); - sb.append(" headerresponse: ").append(toIndentedString(headerresponse)).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("responseflag"); - openapiFields.add("errortype"); - openapiFields.add("acktriggered"); - openapiFields.add("warncode"); - openapiFields.add("headerresponse"); - - // 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 OrderModifyResponseServiceresponseOrdermodifyresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyResponseServiceresponseOrdermodifyresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyResponseServiceresponseOrdermodifyresponse is not found in the empty JSON string", OrderModifyResponseServiceresponseOrdermodifyresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyResponseServiceresponseOrdermodifyresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyResponseServiceresponseOrdermodifyresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responseflag") != null && !jsonObj.get("responseflag").isJsonNull()) && !jsonObj.get("responseflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseflag").toString())); - } - if ((jsonObj.get("errortype") != null && !jsonObj.get("errortype").isJsonNull()) && !jsonObj.get("errortype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `errortype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("errortype").toString())); - } - if ((jsonObj.get("acktriggered") != null && !jsonObj.get("acktriggered").isJsonNull()) && !jsonObj.get("acktriggered").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `acktriggered` to be a primitive type in the JSON string but got `%s`", jsonObj.get("acktriggered").toString())); - } - if ((jsonObj.get("warncode") != null && !jsonObj.get("warncode").isJsonNull()) && !jsonObj.get("warncode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warncode").toString())); - } - if ((jsonObj.get("headerresponse") != null && !jsonObj.get("headerresponse").isJsonNull()) && !jsonObj.get("headerresponse").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `headerresponse` to be a primitive type in the JSON string but got `%s`", jsonObj.get("headerresponse").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyResponseServiceresponseOrdermodifyresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyResponseServiceresponseOrdermodifyresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyResponseServiceresponseOrdermodifyresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyResponseServiceresponseOrdermodifyresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyResponseServiceresponseOrdermodifyresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyResponseServiceresponseOrdermodifyresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyResponseServiceresponseOrdermodifyresponse - * @throws IOException if the JSON string is invalid with respect to OrderModifyResponseServiceresponseOrdermodifyresponse - */ - public static OrderModifyResponseServiceresponseOrdermodifyresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyResponseServiceresponseOrdermodifyresponse.class); - } - - /** - * Convert an instance of OrderModifyResponseServiceresponseOrdermodifyresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java deleted file mode 100644 index a61c9d86..00000000 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreamble.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderModifyResponseServiceresponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderModifyResponseServiceresponseResponsepreamble { - public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; - @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) - private String responsestatus; - - public static final String SERIALIZED_NAME_RESPONSEMESSAGE = "responsemessage"; - @SerializedName(SERIALIZED_NAME_RESPONSEMESSAGE) - private String responsemessage; - - public OrderModifyResponseServiceresponseResponsepreamble() { - } - - public OrderModifyResponseServiceresponseResponsepreamble responsestatus(String responsestatus) { - this.responsestatus = responsestatus; - return this; - } - - /** - * Get responsestatus - * @return responsestatus - **/ - @javax.annotation.Nullable - public String getResponsestatus() { - return responsestatus; - } - - public void setResponsestatus(String responsestatus) { - this.responsestatus = responsestatus; - } - - - public OrderModifyResponseServiceresponseResponsepreamble responsemessage(String responsemessage) { - this.responsemessage = responsemessage; - return this; - } - - /** - * Get responsemessage - * @return responsemessage - **/ - @javax.annotation.Nullable - public String getResponsemessage() { - return responsemessage; - } - - public void setResponsemessage(String responsemessage) { - this.responsemessage = responsemessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderModifyResponseServiceresponseResponsepreamble orderModifyResponseServiceresponseResponsepreamble = (OrderModifyResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.responsestatus, orderModifyResponseServiceresponseResponsepreamble.responsestatus) && - Objects.equals(this.responsemessage, orderModifyResponseServiceresponseResponsepreamble.responsemessage); - } - - @Override - public int hashCode() { - return Objects.hash(responsestatus, responsemessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderModifyResponseServiceresponseResponsepreamble {\n"); - sb.append(" responsestatus: ").append(toIndentedString(responsestatus)).append("\n"); - sb.append(" responsemessage: ").append(toIndentedString(responsemessage)).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("responsestatus"); - openapiFields.add("responsemessage"); - - // 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 OrderModifyResponseServiceresponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderModifyResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderModifyResponseServiceresponseResponsepreamble is not found in the empty JSON string", OrderModifyResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderModifyResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderModifyResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responsestatus") != null && !jsonObj.get("responsestatus").isJsonNull()) && !jsonObj.get("responsestatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsestatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsestatus").toString())); - } - if ((jsonObj.get("responsemessage") != null && !jsonObj.get("responsemessage").isJsonNull()) && !jsonObj.get("responsemessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsemessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsemessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderModifyResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderModifyResponseServiceresponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderModifyResponseServiceresponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderModifyResponseServiceresponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderModifyResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderModifyResponseServiceresponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderModifyResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to OrderModifyResponseServiceresponseResponsepreamble - */ - public static OrderModifyResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderModifyResponseServiceresponseResponsepreamble.class); - } - - /** - * Convert an instance of OrderModifyResponseServiceresponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java index f7469686..c738e10e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/OrderSearchRequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequest.java deleted file mode 100644 index ad629a92..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequest; - -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; - -/** - * Request schema for order search endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private OrderSearchRequestServicerequest servicerequest; - - public OrderSearchRequest() { - } - - public OrderSearchRequest servicerequest(OrderSearchRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public OrderSearchRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(OrderSearchRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequest orderSearchRequest = (OrderSearchRequest) o; - return Objects.equals(this.servicerequest, orderSearchRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 OrderSearchRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequest is not found in the empty JSON string", OrderSearchRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - OrderSearchRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequest - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequest - */ - public static OrderSearchRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequest.class); - } - - /** - * Convert an instance of OrderSearchRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java deleted file mode 100644 index 33b448d1..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequest.java +++ /dev/null @@ -1,245 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequest; -import xiresellers.client.model.OrderSearchRequestServicerequestRequestpreamble; - -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; - -/** - * OrderSearchRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private OrderSearchRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_ORDER_LOOKUP_REQUEST = "orderLookupRequest"; - @SerializedName(SERIALIZED_NAME_ORDER_LOOKUP_REQUEST) - private OrderSearchRequestServicerequestOrderLookupRequest orderLookupRequest; - - public OrderSearchRequestServicerequest() { - } - - public OrderSearchRequestServicerequest requestpreamble(OrderSearchRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nonnull - public OrderSearchRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(OrderSearchRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public OrderSearchRequestServicerequest orderLookupRequest(OrderSearchRequestServicerequestOrderLookupRequest orderLookupRequest) { - this.orderLookupRequest = orderLookupRequest; - return this; - } - - /** - * Get orderLookupRequest - * @return orderLookupRequest - **/ - @javax.annotation.Nullable - public OrderSearchRequestServicerequestOrderLookupRequest getOrderLookupRequest() { - return orderLookupRequest; - } - - public void setOrderLookupRequest(OrderSearchRequestServicerequestOrderLookupRequest orderLookupRequest) { - this.orderLookupRequest = orderLookupRequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequestServicerequest orderSearchRequestServicerequest = (OrderSearchRequestServicerequest) o; - return Objects.equals(this.requestpreamble, orderSearchRequestServicerequest.requestpreamble) && - Objects.equals(this.orderLookupRequest, orderSearchRequestServicerequest.orderLookupRequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, orderLookupRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" orderLookupRequest: ").append(toIndentedString(orderLookupRequest)).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("requestpreamble"); - openapiFields.add("orderLookupRequest"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("requestpreamble"); - } - - /** - * 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 OrderSearchRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequestServicerequest is not found in the empty JSON string", OrderSearchRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchRequestServicerequest.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the required field `requestpreamble` - OrderSearchRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - // validate the optional field `orderLookupRequest` - if (jsonObj.get("orderLookupRequest") != null && !jsonObj.get("orderLookupRequest").isJsonNull()) { - OrderSearchRequestServicerequestOrderLookupRequest.validateJsonElement(jsonObj.get("orderLookupRequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequestServicerequest - */ - public static OrderSearchRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequestServicerequest.class); - } - - /** - * Convert an instance of OrderSearchRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java deleted file mode 100644 index 3c916352..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestOrderNumber; - -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; - -/** - * OrderSearchRequestServicerequestOrderLookupRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequestServicerequestOrderLookupRequest { - public static final String SERIALIZED_NAME_ORDER_NUMBER = "orderNumber"; - @SerializedName(SERIALIZED_NAME_ORDER_NUMBER) - private OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderNumber; - - public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) - private OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber customerOrderNumber; - - public OrderSearchRequestServicerequestOrderLookupRequest() { - } - - public OrderSearchRequestServicerequestOrderLookupRequest orderNumber(OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderNumber) { - this.orderNumber = orderNumber; - return this; - } - - /** - * Get orderNumber - * @return orderNumber - **/ - @javax.annotation.Nullable - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber getOrderNumber() { - return orderNumber; - } - - public void setOrderNumber(OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderNumber) { - this.orderNumber = orderNumber; - } - - - public OrderSearchRequestServicerequestOrderLookupRequest customerOrderNumber(OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - return this; - } - - /** - * Get customerOrderNumber - * @return customerOrderNumber - **/ - @javax.annotation.Nullable - public OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber getCustomerOrderNumber() { - return customerOrderNumber; - } - - public void setCustomerOrderNumber(OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequestServicerequestOrderLookupRequest orderSearchRequestServicerequestOrderLookupRequest = (OrderSearchRequestServicerequestOrderLookupRequest) o; - return Objects.equals(this.orderNumber, orderSearchRequestServicerequestOrderLookupRequest.orderNumber) && - Objects.equals(this.customerOrderNumber, orderSearchRequestServicerequestOrderLookupRequest.customerOrderNumber); - } - - @Override - public int hashCode() { - return Objects.hash(orderNumber, customerOrderNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequestServicerequestOrderLookupRequest {\n"); - sb.append(" orderNumber: ").append(toIndentedString(orderNumber)).append("\n"); - sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).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("orderNumber"); - openapiFields.add("customerOrderNumber"); - - // 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 OrderSearchRequestServicerequestOrderLookupRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequestServicerequestOrderLookupRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequestServicerequestOrderLookupRequest is not found in the empty JSON string", OrderSearchRequestServicerequestOrderLookupRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequestServicerequestOrderLookupRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequestServicerequestOrderLookupRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `orderNumber` - if (jsonObj.get("orderNumber") != null && !jsonObj.get("orderNumber").isJsonNull()) { - OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.validateJsonElement(jsonObj.get("orderNumber")); - } - // validate the optional field `customerOrderNumber` - if (jsonObj.get("customerOrderNumber") != null && !jsonObj.get("customerOrderNumber").isJsonNull()) { - OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.validateJsonElement(jsonObj.get("customerOrderNumber")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequestServicerequestOrderLookupRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequestServicerequestOrderLookupRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequestServicerequestOrderLookupRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequestServicerequestOrderLookupRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequestServicerequestOrderLookupRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequestServicerequestOrderLookupRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequestServicerequestOrderLookupRequest - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequestServicerequestOrderLookupRequest - */ - public static OrderSearchRequestServicerequestOrderLookupRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequestServicerequestOrderLookupRequest.class); - } - - /** - * Convert an instance of OrderSearchRequestServicerequestOrderLookupRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java deleted file mode 100644 index 6f73933b..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.java +++ /dev/null @@ -1,206 +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.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; - -/** - * OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber { - public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) - private String customerOrderNumber; - - public OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber() { - } - - public OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber customerOrderNumber(String customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - return this; - } - - /** - * Get customerOrderNumber - * @return customerOrderNumber - **/ - @javax.annotation.Nullable - public String getCustomerOrderNumber() { - return customerOrderNumber; - } - - public void setCustomerOrderNumber(String customerOrderNumber) { - this.customerOrderNumber = customerOrderNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber orderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber = (OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber) o; - return Objects.equals(this.customerOrderNumber, orderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.customerOrderNumber); - } - - @Override - public int hashCode() { - return Objects.hash(customerOrderNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber {\n"); - sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).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("customerOrderNumber"); - - // 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 OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber is not found in the empty JSON string", OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - */ - public static OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber.class); - } - - /** - * Convert an instance of OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java deleted file mode 100644 index 541e5052..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.java +++ /dev/null @@ -1,331 +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.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; - -/** - * OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequestServicerequestOrderLookupRequestOrderNumber { - public static final String SERIALIZED_NAME_ENTRY_DATE = "entryDate"; - @SerializedName(SERIALIZED_NAME_ENTRY_DATE) - private String entryDate; - - public static final String SERIALIZED_NAME_ORDER_BRANCH = "orderBranch"; - @SerializedName(SERIALIZED_NAME_ORDER_BRANCH) - private String orderBranch; - - public static final String SERIALIZED_NAME_ORDER_NUMBER = "orderNumber"; - @SerializedName(SERIALIZED_NAME_ORDER_NUMBER) - private String orderNumber; - - public static final String SERIALIZED_NAME_DISTRIBUTION_NUMBER = "distributionNumber"; - @SerializedName(SERIALIZED_NAME_DISTRIBUTION_NUMBER) - private String distributionNumber; - - public static final String SERIALIZED_NAME_SHIPMENT_NUMBER = "shipmentNumber"; - @SerializedName(SERIALIZED_NAME_SHIPMENT_NUMBER) - private String shipmentNumber; - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber() { - } - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber entryDate(String entryDate) { - this.entryDate = entryDate; - return this; - } - - /** - * Get entryDate - * @return entryDate - **/ - @javax.annotation.Nonnull - public String getEntryDate() { - return entryDate; - } - - public void setEntryDate(String entryDate) { - this.entryDate = entryDate; - } - - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderBranch(String orderBranch) { - this.orderBranch = orderBranch; - return this; - } - - /** - * Get orderBranch - * @return orderBranch - **/ - @javax.annotation.Nonnull - public String getOrderBranch() { - return orderBranch; - } - - public void setOrderBranch(String orderBranch) { - this.orderBranch = orderBranch; - } - - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderNumber(String orderNumber) { - this.orderNumber = orderNumber; - return this; - } - - /** - * Get orderNumber - * @return orderNumber - **/ - @javax.annotation.Nullable - public String getOrderNumber() { - return orderNumber; - } - - public void setOrderNumber(String orderNumber) { - this.orderNumber = orderNumber; - } - - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber distributionNumber(String distributionNumber) { - this.distributionNumber = distributionNumber; - return this; - } - - /** - * Get distributionNumber - * @return distributionNumber - **/ - @javax.annotation.Nullable - public String getDistributionNumber() { - return distributionNumber; - } - - public void setDistributionNumber(String distributionNumber) { - this.distributionNumber = distributionNumber; - } - - - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber shipmentNumber(String shipmentNumber) { - this.shipmentNumber = shipmentNumber; - return this; - } - - /** - * Get shipmentNumber - * @return shipmentNumber - **/ - @javax.annotation.Nullable - public String getShipmentNumber() { - return shipmentNumber; - } - - public void setShipmentNumber(String shipmentNumber) { - this.shipmentNumber = shipmentNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequestServicerequestOrderLookupRequestOrderNumber orderSearchRequestServicerequestOrderLookupRequestOrderNumber = (OrderSearchRequestServicerequestOrderLookupRequestOrderNumber) o; - return Objects.equals(this.entryDate, orderSearchRequestServicerequestOrderLookupRequestOrderNumber.entryDate) && - Objects.equals(this.orderBranch, orderSearchRequestServicerequestOrderLookupRequestOrderNumber.orderBranch) && - Objects.equals(this.orderNumber, orderSearchRequestServicerequestOrderLookupRequestOrderNumber.orderNumber) && - Objects.equals(this.distributionNumber, orderSearchRequestServicerequestOrderLookupRequestOrderNumber.distributionNumber) && - Objects.equals(this.shipmentNumber, orderSearchRequestServicerequestOrderLookupRequestOrderNumber.shipmentNumber); - } - - @Override - public int hashCode() { - return Objects.hash(entryDate, orderBranch, orderNumber, distributionNumber, shipmentNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequestServicerequestOrderLookupRequestOrderNumber {\n"); - sb.append(" entryDate: ").append(toIndentedString(entryDate)).append("\n"); - sb.append(" orderBranch: ").append(toIndentedString(orderBranch)).append("\n"); - sb.append(" orderNumber: ").append(toIndentedString(orderNumber)).append("\n"); - sb.append(" distributionNumber: ").append(toIndentedString(distributionNumber)).append("\n"); - sb.append(" shipmentNumber: ").append(toIndentedString(shipmentNumber)).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("entryDate"); - openapiFields.add("orderBranch"); - openapiFields.add("orderNumber"); - openapiFields.add("distributionNumber"); - openapiFields.add("shipmentNumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("entryDate"); - openapiRequiredFields.add("orderBranch"); - } - - /** - * 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 OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequestServicerequestOrderLookupRequestOrderNumber is not found in the empty JSON string", OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequestServicerequestOrderLookupRequestOrderNumber` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("entryDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `entryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("entryDate").toString())); - } - if (!jsonObj.get("orderBranch").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderBranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderBranch").toString())); - } - if ((jsonObj.get("orderNumber") != null && !jsonObj.get("orderNumber").isJsonNull()) && !jsonObj.get("orderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderNumber").toString())); - } - if ((jsonObj.get("distributionNumber") != null && !jsonObj.get("distributionNumber").isJsonNull()) && !jsonObj.get("distributionNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `distributionNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("distributionNumber").toString())); - } - if ((jsonObj.get("shipmentNumber") != null && !jsonObj.get("shipmentNumber").isJsonNull()) && !jsonObj.get("shipmentNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipmentNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipmentNumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequestServicerequestOrderLookupRequestOrderNumber' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequestServicerequestOrderLookupRequestOrderNumber value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequestServicerequestOrderLookupRequestOrderNumber read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequestServicerequestOrderLookupRequestOrderNumber given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - */ - public static OrderSearchRequestServicerequestOrderLookupRequestOrderNumber fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequestServicerequestOrderLookupRequestOrderNumber.class); - } - - /** - * Convert an instance of OrderSearchRequestServicerequestOrderLookupRequestOrderNumber to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java deleted file mode 100644 index ca61eaa0..00000000 --- a/src/main/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * OrderSearchRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class OrderSearchRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISO_COUNTRY_CODE = "isoCountryCode"; - @SerializedName(SERIALIZED_NAME_ISO_COUNTRY_CODE) - private String isoCountryCode; - - public static final String SERIALIZED_NAME_CUSTOMER_NUMBER = "customerNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NUMBER) - private String customerNumber; - - public OrderSearchRequestServicerequestRequestpreamble() { - } - - public OrderSearchRequestServicerequestRequestpreamble isoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - return this; - } - - /** - * Get isoCountryCode - * @return isoCountryCode - **/ - @javax.annotation.Nonnull - public String getIsoCountryCode() { - return isoCountryCode; - } - - public void setIsoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - } - - - public OrderSearchRequestServicerequestRequestpreamble customerNumber(String customerNumber) { - this.customerNumber = customerNumber; - return this; - } - - /** - * Get customerNumber - * @return customerNumber - **/ - @javax.annotation.Nonnull - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderSearchRequestServicerequestRequestpreamble orderSearchRequestServicerequestRequestpreamble = (OrderSearchRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isoCountryCode, orderSearchRequestServicerequestRequestpreamble.isoCountryCode) && - Objects.equals(this.customerNumber, orderSearchRequestServicerequestRequestpreamble.customerNumber); - } - - @Override - public int hashCode() { - return Objects.hash(isoCountryCode, customerNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderSearchRequestServicerequestRequestpreamble {\n"); - sb.append(" isoCountryCode: ").append(toIndentedString(isoCountryCode)).append("\n"); - sb.append(" customerNumber: ").append(toIndentedString(customerNumber)).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("isoCountryCode"); - openapiFields.add("customerNumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isoCountryCode"); - openapiRequiredFields.add("customerNumber"); - } - - /** - * 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 OrderSearchRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderSearchRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderSearchRequestServicerequestRequestpreamble is not found in the empty JSON string", OrderSearchRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderSearchRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderSearchRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OrderSearchRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isoCountryCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isoCountryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isoCountryCode").toString())); - } - if (!jsonObj.get("customerNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderSearchRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderSearchRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderSearchRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderSearchRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderSearchRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderSearchRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderSearchRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to OrderSearchRequestServicerequestRequestpreamble - */ - public static OrderSearchRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderSearchRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of OrderSearchRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponse.java b/src/main/java/xiresellers/client/model/OrderSearchResponse.java index f5a2e450..5e6a9e3d 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index 0102502b..c046d4d8 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderSearchResponseOrdersInner { 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/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index 3f0ae342..10ce1dfb 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 9621bae4..eb6ed416 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInner { 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/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index feded038..7be91e27 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 005f6910..b888f4cc 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index b01df7c9..71358de0 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index b2cff694..3d094ef3 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 2e7630d2..93f2b802 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 8bd97524..6bff476b 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index 498eb1e6..4bce3a53 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 641f7cda..47636c2e 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/PostQuoteToOrderV6400Response.java index e6748c0e..6efb6e1a 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PostQuoteToOrderV6400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java index b1ce4437..e97e03be 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PostQuoteToOrderV6400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PostQuoteToOrderV6400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index b6a634b6..6ec09cb0 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index fb93ea9d..1bbdc4ae 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index 200eefaf..bd4b57ff 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 fe2228fe..17cf145f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 bf7a4e4e..19fb0323 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityRequestProductsInner { 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/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index 90dd2409..447e1022 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 0160eb00..3c4b3779 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index 3da4df16..0d4ffd6a 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index 144312be..0b0f8aa5 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index f03d063c..4f90de19 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 0bafa8a1..83c5434d 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index 1a9a1677..69432aee 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 86981838..b1750c3f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 5a00534e..5825a471 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 10dd9bb6..ae06e100 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 944b87ce..9f8f3cfd 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 6935ec08..04dfc7ec 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductDetailResponse { 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/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index ca9e574e..1f0bcb36 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index 9de8adec..add2fcca 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 050f9e87..9015f0ae 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 1039e7fa..91c5c869 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 101e131a..9c4e28e9 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADERNAME = "headername"; @SerializedName(SERIALIZED_NAME_HEADERNAME) diff --git a/src/main/java/xiresellers/client/model/ProductLineType.java b/src/main/java/xiresellers/client/model/ProductLineType.java index 0b58e7ff..f69307b8 100644 --- a/src/main/java/xiresellers/client/model/ProductLineType.java +++ b/src/main/java/xiresellers/client/model/ProductLineType.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -55,7 +55,7 @@ /** * Product line items object under each invoice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductLineType { public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; @SerializedName(SERIALIZED_NAME_LINENUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java index efa3efbe..d44515c6 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductLineTypeSerialnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductLineTypeSerialnumberdetailsInner { public static final String SERIALIZED_NAME_SERIALNUMBER = "serialnumber"; @SerializedName(SERIALIZED_NAME_SERIALNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java index ba277559..a44537ce 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ProductLineTypeTrackingnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductLineTypeTrackingnumberdetailsInner { public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequest.java deleted file mode 100644 index 6ae602a0..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequest; - -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; - -/** - * Request object model for the product search endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ProductSearchRequest { - public static final String SERIALIZED_NAME_SERVICEREQUEST = "servicerequest"; - @SerializedName(SERIALIZED_NAME_SERVICEREQUEST) - private ProductSearchRequestServicerequest servicerequest; - - public ProductSearchRequest() { - } - - public ProductSearchRequest servicerequest(ProductSearchRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - return this; - } - - /** - * Get servicerequest - * @return servicerequest - **/ - @javax.annotation.Nullable - public ProductSearchRequestServicerequest getServicerequest() { - return servicerequest; - } - - public void setServicerequest(ProductSearchRequestServicerequest servicerequest) { - this.servicerequest = servicerequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchRequest productSearchRequest = (ProductSearchRequest) o; - return Objects.equals(this.servicerequest, productSearchRequest.servicerequest); - } - - @Override - public int hashCode() { - return Objects.hash(servicerequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchRequest {\n"); - sb.append(" servicerequest: ").append(toIndentedString(servicerequest)).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("servicerequest"); - - // 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 ProductSearchRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchRequest is not found in the empty JSON string", ProductSearchRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `servicerequest` - if (jsonObj.get("servicerequest") != null && !jsonObj.get("servicerequest").isJsonNull()) { - ProductSearchRequestServicerequest.validateJsonElement(jsonObj.get("servicerequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchRequest - * @throws IOException if the JSON string is invalid with respect to ProductSearchRequest - */ - public static ProductSearchRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchRequest.class); - } - - /** - * Convert an instance of ProductSearchRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java deleted file mode 100644 index 3621988d..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequest; -import xiresellers.client.model.ProductSearchRequestServicerequestRequestpreamble; - -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; - -/** - * ProductSearchRequestServicerequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ProductSearchRequestServicerequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private ProductSearchRequestServicerequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_PRODUCTSEARCHREQUEST = "productsearchrequest"; - @SerializedName(SERIALIZED_NAME_PRODUCTSEARCHREQUEST) - private ProductSearchRequestServicerequestProductsearchrequest productsearchrequest; - - public ProductSearchRequestServicerequest() { - } - - public ProductSearchRequestServicerequest requestpreamble(ProductSearchRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public ProductSearchRequestServicerequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(ProductSearchRequestServicerequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public ProductSearchRequestServicerequest productsearchrequest(ProductSearchRequestServicerequestProductsearchrequest productsearchrequest) { - this.productsearchrequest = productsearchrequest; - return this; - } - - /** - * Get productsearchrequest - * @return productsearchrequest - **/ - @javax.annotation.Nullable - public ProductSearchRequestServicerequestProductsearchrequest getProductsearchrequest() { - return productsearchrequest; - } - - public void setProductsearchrequest(ProductSearchRequestServicerequestProductsearchrequest productsearchrequest) { - this.productsearchrequest = productsearchrequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchRequestServicerequest productSearchRequestServicerequest = (ProductSearchRequestServicerequest) o; - return Objects.equals(this.requestpreamble, productSearchRequestServicerequest.requestpreamble) && - Objects.equals(this.productsearchrequest, productSearchRequestServicerequest.productsearchrequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, productsearchrequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchRequestServicerequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" productsearchrequest: ").append(toIndentedString(productsearchrequest)).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("requestpreamble"); - openapiFields.add("productsearchrequest"); - - // 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 ProductSearchRequestServicerequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchRequestServicerequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchRequestServicerequest is not found in the empty JSON string", ProductSearchRequestServicerequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchRequestServicerequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchRequestServicerequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - ProductSearchRequestServicerequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `productsearchrequest` - if (jsonObj.get("productsearchrequest") != null && !jsonObj.get("productsearchrequest").isJsonNull()) { - ProductSearchRequestServicerequestProductsearchrequest.validateJsonElement(jsonObj.get("productsearchrequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchRequestServicerequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchRequestServicerequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchRequestServicerequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchRequestServicerequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchRequestServicerequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchRequestServicerequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchRequestServicerequest - * @throws IOException if the JSON string is invalid with respect to ProductSearchRequestServicerequest - */ - public static ProductSearchRequestServicerequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchRequestServicerequest.class); - } - - /** - * Convert an instance of ProductSearchRequestServicerequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java deleted file mode 100644 index 85ccb205..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequestSearchcriteria; - -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; - -/** - * ProductSearchRequestServicerequestProductsearchrequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ProductSearchRequestServicerequestProductsearchrequest { - public static final String SERIALIZED_NAME_SEARCHCRITERIA = "searchcriteria"; - @SerializedName(SERIALIZED_NAME_SEARCHCRITERIA) - private ProductSearchRequestServicerequestProductsearchrequestSearchcriteria searchcriteria; - - public ProductSearchRequestServicerequestProductsearchrequest() { - } - - public ProductSearchRequestServicerequestProductsearchrequest searchcriteria(ProductSearchRequestServicerequestProductsearchrequestSearchcriteria searchcriteria) { - this.searchcriteria = searchcriteria; - return this; - } - - /** - * Get searchcriteria - * @return searchcriteria - **/ - @javax.annotation.Nullable - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria getSearchcriteria() { - return searchcriteria; - } - - public void setSearchcriteria(ProductSearchRequestServicerequestProductsearchrequestSearchcriteria searchcriteria) { - this.searchcriteria = searchcriteria; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchRequestServicerequestProductsearchrequest productSearchRequestServicerequestProductsearchrequest = (ProductSearchRequestServicerequestProductsearchrequest) o; - return Objects.equals(this.searchcriteria, productSearchRequestServicerequestProductsearchrequest.searchcriteria); - } - - @Override - public int hashCode() { - return Objects.hash(searchcriteria); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchRequestServicerequestProductsearchrequest {\n"); - sb.append(" searchcriteria: ").append(toIndentedString(searchcriteria)).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("searchcriteria"); - - // 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 ProductSearchRequestServicerequestProductsearchrequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchRequestServicerequestProductsearchrequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchRequestServicerequestProductsearchrequest is not found in the empty JSON string", ProductSearchRequestServicerequestProductsearchrequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchRequestServicerequestProductsearchrequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchRequestServicerequestProductsearchrequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `searchcriteria` - if (jsonObj.get("searchcriteria") != null && !jsonObj.get("searchcriteria").isJsonNull()) { - ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.validateJsonElement(jsonObj.get("searchcriteria")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchRequestServicerequestProductsearchrequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchRequestServicerequestProductsearchrequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchRequestServicerequestProductsearchrequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchRequestServicerequestProductsearchrequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchRequestServicerequestProductsearchrequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchRequestServicerequestProductsearchrequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchRequestServicerequestProductsearchrequest - * @throws IOException if the JSON string is invalid with respect to ProductSearchRequestServicerequestProductsearchrequest - */ - public static ProductSearchRequestServicerequestProductsearchrequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchRequestServicerequestProductsearchrequest.class); - } - - /** - * Convert an instance of ProductSearchRequestServicerequestProductsearchrequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java deleted file mode 100644 index 283e85fc..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.java +++ /dev/null @@ -1,322 +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.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; - -/** - * ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ProductSearchRequestServicerequestProductsearchrequestSearchcriteria { - public static final String SERIALIZED_NAME_VENDOR = "vendor"; - @SerializedName(SERIALIZED_NAME_VENDOR) - private String vendor; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION = "partdescription"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION) - private String partdescription; - - public static final String SERIALIZED_NAME_U_P_C = "UPC"; - @SerializedName(SERIALIZED_NAME_U_P_C) - private String UPC; - - public static final String SERIALIZED_NAME_CUSTOMERPARTNUMBER = "customerpartnumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERPARTNUMBER) - private String customerpartnumber; - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria() { - } - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria vendor(String vendor) { - this.vendor = vendor; - return this; - } - - /** - * Name of the vendor or manufacturer or brand of the product - * @return vendor - **/ - @javax.annotation.Nullable - public String getVendor() { - return vendor; - } - - public void setVendor(String vendor) { - this.vendor = vendor; - } - - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Vendor provided part number - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria partdescription(String partdescription) { - this.partdescription = partdescription; - return this; - } - - /** - * This field seraches the decriptioon of the product. - * @return partdescription - **/ - @javax.annotation.Nullable - public String getPartdescription() { - return partdescription; - } - - public void setPartdescription(String partdescription) { - this.partdescription = partdescription; - } - - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria UPC(String UPC) { - this.UPC = UPC; - return this; - } - - /** - * Universal Product Code - * @return UPC - **/ - @javax.annotation.Nullable - public String getUPC() { - return UPC; - } - - public void setUPC(String UPC) { - this.UPC = UPC; - } - - - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria customerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - return this; - } - - /** - * Customer’s designated part number - * @return customerpartnumber - **/ - @javax.annotation.Nullable - public String getCustomerpartnumber() { - return customerpartnumber; - } - - public void setCustomerpartnumber(String customerpartnumber) { - this.customerpartnumber = customerpartnumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchRequestServicerequestProductsearchrequestSearchcriteria productSearchRequestServicerequestProductsearchrequestSearchcriteria = (ProductSearchRequestServicerequestProductsearchrequestSearchcriteria) o; - return Objects.equals(this.vendor, productSearchRequestServicerequestProductsearchrequestSearchcriteria.vendor) && - Objects.equals(this.vendorpartnumber, productSearchRequestServicerequestProductsearchrequestSearchcriteria.vendorpartnumber) && - Objects.equals(this.partdescription, productSearchRequestServicerequestProductsearchrequestSearchcriteria.partdescription) && - Objects.equals(this.UPC, productSearchRequestServicerequestProductsearchrequestSearchcriteria.UPC) && - Objects.equals(this.customerpartnumber, productSearchRequestServicerequestProductsearchrequestSearchcriteria.customerpartnumber); - } - - @Override - public int hashCode() { - return Objects.hash(vendor, vendorpartnumber, partdescription, UPC, customerpartnumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchRequestServicerequestProductsearchrequestSearchcriteria {\n"); - sb.append(" vendor: ").append(toIndentedString(vendor)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" partdescription: ").append(toIndentedString(partdescription)).append("\n"); - sb.append(" UPC: ").append(toIndentedString(UPC)).append("\n"); - sb.append(" customerpartnumber: ").append(toIndentedString(customerpartnumber)).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("vendor"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("partdescription"); - openapiFields.add("UPC"); - openapiFields.add("customerpartnumber"); - - // 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 ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchRequestServicerequestProductsearchrequestSearchcriteria is not found in the empty JSON string", ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchRequestServicerequestProductsearchrequestSearchcriteria` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("vendor") != null && !jsonObj.get("vendor").isJsonNull()) && !jsonObj.get("vendor").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendor` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendor").toString())); - } - if ((jsonObj.get("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("partdescription") != null && !jsonObj.get("partdescription").isJsonNull()) && !jsonObj.get("partdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription").toString())); - } - if ((jsonObj.get("UPC") != null && !jsonObj.get("UPC").isJsonNull()) && !jsonObj.get("UPC").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UPC` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UPC").toString())); - } - if ((jsonObj.get("customerpartnumber") != null && !jsonObj.get("customerpartnumber").isJsonNull()) && !jsonObj.get("customerpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerpartnumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchRequestServicerequestProductsearchrequestSearchcriteria' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchRequestServicerequestProductsearchrequestSearchcriteria value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchRequestServicerequestProductsearchrequestSearchcriteria read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchRequestServicerequestProductsearchrequestSearchcriteria given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - * @throws IOException if the JSON string is invalid with respect to ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - */ - public static ProductSearchRequestServicerequestProductsearchrequestSearchcriteria fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchRequestServicerequestProductsearchrequestSearchcriteria.class); - } - - /** - * Convert an instance of ProductSearchRequestServicerequestProductsearchrequestSearchcriteria to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java b/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java deleted file mode 100644 index 6adee6ef..00000000 --- a/src/main/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreamble.java +++ /dev/null @@ -1,273 +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.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; - -/** - * ProductSearchRequestServicerequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ProductSearchRequestServicerequestRequestpreamble { - public static final String SERIALIZED_NAME_ISOCOUNTRYCODE = "isocountrycode"; - @SerializedName(SERIALIZED_NAME_ISOCOUNTRYCODE) - private String isocountrycode; - - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public static final String SERIALIZED_NAME_VENDORNUMBER = "vendornumber"; - @SerializedName(SERIALIZED_NAME_VENDORNUMBER) - private String vendornumber; - - public ProductSearchRequestServicerequestRequestpreamble() { - } - - public ProductSearchRequestServicerequestRequestpreamble isocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - return this; - } - - /** - * Get isocountrycode - * @return isocountrycode - **/ - @javax.annotation.Nonnull - public String getIsocountrycode() { - return isocountrycode; - } - - public void setIsocountrycode(String isocountrycode) { - this.isocountrycode = isocountrycode; - } - - - public ProductSearchRequestServicerequestRequestpreamble customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Get customernumber - * @return customernumber - **/ - @javax.annotation.Nonnull - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - public ProductSearchRequestServicerequestRequestpreamble vendornumber(String vendornumber) { - this.vendornumber = vendornumber; - return this; - } - - /** - * Get vendornumber - * @return vendornumber - **/ - @javax.annotation.Nullable - public String getVendornumber() { - return vendornumber; - } - - public void setVendornumber(String vendornumber) { - this.vendornumber = vendornumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductSearchRequestServicerequestRequestpreamble productSearchRequestServicerequestRequestpreamble = (ProductSearchRequestServicerequestRequestpreamble) o; - return Objects.equals(this.isocountrycode, productSearchRequestServicerequestRequestpreamble.isocountrycode) && - Objects.equals(this.customernumber, productSearchRequestServicerequestRequestpreamble.customernumber) && - Objects.equals(this.vendornumber, productSearchRequestServicerequestRequestpreamble.vendornumber); - } - - @Override - public int hashCode() { - return Objects.hash(isocountrycode, customernumber, vendornumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductSearchRequestServicerequestRequestpreamble {\n"); - sb.append(" isocountrycode: ").append(toIndentedString(isocountrycode)).append("\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).append("\n"); - sb.append(" vendornumber: ").append(toIndentedString(vendornumber)).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("isocountrycode"); - openapiFields.add("customernumber"); - openapiFields.add("vendornumber"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("isocountrycode"); - openapiRequiredFields.add("customernumber"); - } - - /** - * 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 ProductSearchRequestServicerequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductSearchRequestServicerequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductSearchRequestServicerequestRequestpreamble is not found in the empty JSON string", ProductSearchRequestServicerequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductSearchRequestServicerequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductSearchRequestServicerequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : ProductSearchRequestServicerequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("isocountrycode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isocountrycode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isocountrycode").toString())); - } - if (!jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - if ((jsonObj.get("vendornumber") != null && !jsonObj.get("vendornumber").isJsonNull()) && !jsonObj.get("vendornumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendornumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendornumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductSearchRequestServicerequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductSearchRequestServicerequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductSearchRequestServicerequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductSearchRequestServicerequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductSearchRequestServicerequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductSearchRequestServicerequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductSearchRequestServicerequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to ProductSearchRequestServicerequestRequestpreamble - */ - public static ProductSearchRequestServicerequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductSearchRequestServicerequestRequestpreamble.class); - } - - /** - * Convert an instance of ProductSearchRequestServicerequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index ada9682b..f3a75be5 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index e84b6ac4..bcd41edd 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index b5abe4d3..f28b09ce 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ProductSearchResponseCatalogInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/QuoteDetails.java b/src/main/java/xiresellers/client/model/QuoteDetails.java deleted file mode 100644 index 8a673607..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetails.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponse; - -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; - -/** - * Response schema for quote details - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetails { - public static final String SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE = "quoteDetailResponse"; - @SerializedName(SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE) - private QuoteDetailsQuoteDetailResponse quoteDetailResponse; - - public QuoteDetails() { - } - - public QuoteDetails quoteDetailResponse(QuoteDetailsQuoteDetailResponse quoteDetailResponse) { - this.quoteDetailResponse = quoteDetailResponse; - return this; - } - - /** - * Get quoteDetailResponse - * @return quoteDetailResponse - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponse getQuoteDetailResponse() { - return quoteDetailResponse; - } - - public void setQuoteDetailResponse(QuoteDetailsQuoteDetailResponse quoteDetailResponse) { - this.quoteDetailResponse = quoteDetailResponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetails quoteDetails = (QuoteDetails) o; - return Objects.equals(this.quoteDetailResponse, quoteDetails.quoteDetailResponse); - } - - @Override - public int hashCode() { - return Objects.hash(quoteDetailResponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetails {\n"); - sb.append(" quoteDetailResponse: ").append(toIndentedString(quoteDetailResponse)).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("quoteDetailResponse"); - - // 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 QuoteDetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetails is not found in the empty JSON string", QuoteDetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetails` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `quoteDetailResponse` - if (jsonObj.get("quoteDetailResponse") != null && !jsonObj.get("quoteDetailResponse").isJsonNull()) { - QuoteDetailsQuoteDetailResponse.validateJsonElement(jsonObj.get("quoteDetailResponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetails - * @throws IOException if the JSON string is invalid with respect to QuoteDetails - */ - public static QuoteDetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetails.class); - } - - /** - * Convert an instance of QuoteDetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java deleted file mode 100644 index f44fbfd6..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponse.java +++ /dev/null @@ -1,403 +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.QuoteDetailsQuoteDetailResponseResponsePreamble; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse; -import xiresellers.client.model.QuoteProductList; - -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; - -/** - * QuoteDetailsQuoteDetailResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponse { - public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) - private QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble; - - public static final String SERIALIZED_NAME_RETRIEVE_QUOTE_RESPONSE = "retrieveQuoteResponse"; - @SerializedName(SERIALIZED_NAME_RETRIEVE_QUOTE_RESPONSE) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse; - - public static final String SERIALIZED_NAME_QUOTE_PRODUCT_LIST = "quoteProductList"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_LIST) - private List quoteProductList; - - public static final String SERIALIZED_NAME_TOTAL_QUOTE_PRODUCT_COUNT = "totalQuoteProductCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_QUOTE_PRODUCT_COUNT) - private String totalQuoteProductCount; - - public static final String SERIALIZED_NAME_TOTAL_EXTENDED_MSRP = "totalExtendedMsrp"; - @SerializedName(SERIALIZED_NAME_TOTAL_EXTENDED_MSRP) - private String totalExtendedMsrp; - - public static final String SERIALIZED_NAME_TOTAL_QUANTITY = "totalQuantity"; - @SerializedName(SERIALIZED_NAME_TOTAL_QUANTITY) - private Integer totalQuantity; - - public static final String SERIALIZED_NAME_TOTAL_EXTENDED_QUOTE_PRICE = "totalExtendedQuotePrice"; - @SerializedName(SERIALIZED_NAME_TOTAL_EXTENDED_QUOTE_PRICE) - private String totalExtendedQuotePrice; - - public QuoteDetailsQuoteDetailResponse() { - } - - public QuoteDetailsQuoteDetailResponse responsePreamble(QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - return this; - } - - /** - * Get responsePreamble - * @return responsePreamble - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseResponsePreamble getResponsePreamble() { - return responsePreamble; - } - - public void setResponsePreamble(QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - } - - - public QuoteDetailsQuoteDetailResponse retrieveQuoteResponse(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse) { - this.retrieveQuoteResponse = retrieveQuoteResponse; - return this; - } - - /** - * Get retrieveQuoteResponse - * @return retrieveQuoteResponse - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse getRetrieveQuoteResponse() { - return retrieveQuoteResponse; - } - - public void setRetrieveQuoteResponse(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse) { - this.retrieveQuoteResponse = retrieveQuoteResponse; - } - - - public QuoteDetailsQuoteDetailResponse quoteProductList(List quoteProductList) { - this.quoteProductList = quoteProductList; - return this; - } - - public QuoteDetailsQuoteDetailResponse addQuoteProductListItem(QuoteProductList quoteProductListItem) { - if (this.quoteProductList == null) { - this.quoteProductList = new ArrayList<>(); - } - this.quoteProductList.add(quoteProductListItem); - return this; - } - - /** - * Get quoteProductList - * @return quoteProductList - **/ - @javax.annotation.Nullable - public List getQuoteProductList() { - return quoteProductList; - } - - public void setQuoteProductList(List quoteProductList) { - this.quoteProductList = quoteProductList; - } - - - public QuoteDetailsQuoteDetailResponse totalQuoteProductCount(String totalQuoteProductCount) { - this.totalQuoteProductCount = totalQuoteProductCount; - return this; - } - - /** - * Get totalQuoteProductCount - * @return totalQuoteProductCount - **/ - @javax.annotation.Nullable - public String getTotalQuoteProductCount() { - return totalQuoteProductCount; - } - - public void setTotalQuoteProductCount(String totalQuoteProductCount) { - this.totalQuoteProductCount = totalQuoteProductCount; - } - - - public QuoteDetailsQuoteDetailResponse totalExtendedMsrp(String totalExtendedMsrp) { - this.totalExtendedMsrp = totalExtendedMsrp; - return this; - } - - /** - * Get totalExtendedMsrp - * @return totalExtendedMsrp - **/ - @javax.annotation.Nullable - public String getTotalExtendedMsrp() { - return totalExtendedMsrp; - } - - public void setTotalExtendedMsrp(String totalExtendedMsrp) { - this.totalExtendedMsrp = totalExtendedMsrp; - } - - - public QuoteDetailsQuoteDetailResponse totalQuantity(Integer totalQuantity) { - this.totalQuantity = totalQuantity; - return this; - } - - /** - * Get totalQuantity - * @return totalQuantity - **/ - @javax.annotation.Nullable - public Integer getTotalQuantity() { - return totalQuantity; - } - - public void setTotalQuantity(Integer totalQuantity) { - this.totalQuantity = totalQuantity; - } - - - public QuoteDetailsQuoteDetailResponse totalExtendedQuotePrice(String totalExtendedQuotePrice) { - this.totalExtendedQuotePrice = totalExtendedQuotePrice; - return this; - } - - /** - * Get totalExtendedQuotePrice - * @return totalExtendedQuotePrice - **/ - @javax.annotation.Nullable - public String getTotalExtendedQuotePrice() { - return totalExtendedQuotePrice; - } - - public void setTotalExtendedQuotePrice(String totalExtendedQuotePrice) { - this.totalExtendedQuotePrice = totalExtendedQuotePrice; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponse quoteDetailsQuoteDetailResponse = (QuoteDetailsQuoteDetailResponse) o; - return Objects.equals(this.responsePreamble, quoteDetailsQuoteDetailResponse.responsePreamble) && - Objects.equals(this.retrieveQuoteResponse, quoteDetailsQuoteDetailResponse.retrieveQuoteResponse) && - Objects.equals(this.quoteProductList, quoteDetailsQuoteDetailResponse.quoteProductList) && - Objects.equals(this.totalQuoteProductCount, quoteDetailsQuoteDetailResponse.totalQuoteProductCount) && - Objects.equals(this.totalExtendedMsrp, quoteDetailsQuoteDetailResponse.totalExtendedMsrp) && - Objects.equals(this.totalQuantity, quoteDetailsQuoteDetailResponse.totalQuantity) && - Objects.equals(this.totalExtendedQuotePrice, quoteDetailsQuoteDetailResponse.totalExtendedQuotePrice); - } - - @Override - public int hashCode() { - return Objects.hash(responsePreamble, retrieveQuoteResponse, quoteProductList, totalQuoteProductCount, totalExtendedMsrp, totalQuantity, totalExtendedQuotePrice); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponse {\n"); - sb.append(" responsePreamble: ").append(toIndentedString(responsePreamble)).append("\n"); - sb.append(" retrieveQuoteResponse: ").append(toIndentedString(retrieveQuoteResponse)).append("\n"); - sb.append(" quoteProductList: ").append(toIndentedString(quoteProductList)).append("\n"); - sb.append(" totalQuoteProductCount: ").append(toIndentedString(totalQuoteProductCount)).append("\n"); - sb.append(" totalExtendedMsrp: ").append(toIndentedString(totalExtendedMsrp)).append("\n"); - sb.append(" totalQuantity: ").append(toIndentedString(totalQuantity)).append("\n"); - sb.append(" totalExtendedQuotePrice: ").append(toIndentedString(totalExtendedQuotePrice)).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("responsePreamble"); - openapiFields.add("retrieveQuoteResponse"); - openapiFields.add("quoteProductList"); - openapiFields.add("totalQuoteProductCount"); - openapiFields.add("totalExtendedMsrp"); - openapiFields.add("totalQuantity"); - openapiFields.add("totalExtendedQuotePrice"); - - // 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 QuoteDetailsQuoteDetailResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponse is not found in the empty JSON string", QuoteDetailsQuoteDetailResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsePreamble` - if (jsonObj.get("responsePreamble") != null && !jsonObj.get("responsePreamble").isJsonNull()) { - QuoteDetailsQuoteDetailResponseResponsePreamble.validateJsonElement(jsonObj.get("responsePreamble")); - } - // validate the optional field `retrieveQuoteResponse` - if (jsonObj.get("retrieveQuoteResponse") != null && !jsonObj.get("retrieveQuoteResponse").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.validateJsonElement(jsonObj.get("retrieveQuoteResponse")); - } - if (jsonObj.get("quoteProductList") != null && !jsonObj.get("quoteProductList").isJsonNull()) { - JsonArray jsonArrayquoteProductList = jsonObj.getAsJsonArray("quoteProductList"); - if (jsonArrayquoteProductList != null) { - // ensure the json data is an array - if (!jsonObj.get("quoteProductList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteProductList` to be an array in the JSON string but got `%s`", jsonObj.get("quoteProductList").toString())); - } - - // validate the optional field `quoteProductList` (array) - for (int i = 0; i < jsonArrayquoteProductList.size(); i++) { - QuoteProductList.validateJsonElement(jsonArrayquoteProductList.get(i)); - }; - } - } - if ((jsonObj.get("totalQuoteProductCount") != null && !jsonObj.get("totalQuoteProductCount").isJsonNull()) && !jsonObj.get("totalQuoteProductCount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalQuoteProductCount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalQuoteProductCount").toString())); - } - if ((jsonObj.get("totalExtendedMsrp") != null && !jsonObj.get("totalExtendedMsrp").isJsonNull()) && !jsonObj.get("totalExtendedMsrp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalExtendedMsrp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalExtendedMsrp").toString())); - } - if ((jsonObj.get("totalExtendedQuotePrice") != null && !jsonObj.get("totalExtendedQuotePrice").isJsonNull()) && !jsonObj.get("totalExtendedQuotePrice").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalExtendedQuotePrice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalExtendedQuotePrice").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponse - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponse - */ - public static QuoteDetailsQuoteDetailResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponse.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java deleted file mode 100644 index d6e181ed..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * QuoteDetailsQuoteDetailResponseResponsePreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseResponsePreamble { - public static final String SERIALIZED_NAME_RESPONSE_STATUS = "responseStatus"; - @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS) - private String responseStatus; - - public static final String SERIALIZED_NAME_STATUS_CODE = "statusCode"; - @SerializedName(SERIALIZED_NAME_STATUS_CODE) - private String statusCode; - - public static final String SERIALIZED_NAME_RESPONSE_MESSAGE = "responseMessage"; - @SerializedName(SERIALIZED_NAME_RESPONSE_MESSAGE) - private String responseMessage; - - public QuoteDetailsQuoteDetailResponseResponsePreamble() { - } - - public QuoteDetailsQuoteDetailResponseResponsePreamble responseStatus(String responseStatus) { - this.responseStatus = responseStatus; - return this; - } - - /** - * Get responseStatus - * @return responseStatus - **/ - @javax.annotation.Nullable - public String getResponseStatus() { - return responseStatus; - } - - public void setResponseStatus(String responseStatus) { - this.responseStatus = responseStatus; - } - - - public QuoteDetailsQuoteDetailResponseResponsePreamble statusCode(String statusCode) { - this.statusCode = statusCode; - return this; - } - - /** - * Get statusCode - * @return statusCode - **/ - @javax.annotation.Nullable - public String getStatusCode() { - return statusCode; - } - - public void setStatusCode(String statusCode) { - this.statusCode = statusCode; - } - - - public QuoteDetailsQuoteDetailResponseResponsePreamble responseMessage(String responseMessage) { - this.responseMessage = responseMessage; - return this; - } - - /** - * Get responseMessage - * @return responseMessage - **/ - @javax.annotation.Nullable - public String getResponseMessage() { - return responseMessage; - } - - public void setResponseMessage(String responseMessage) { - this.responseMessage = responseMessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseResponsePreamble quoteDetailsQuoteDetailResponseResponsePreamble = (QuoteDetailsQuoteDetailResponseResponsePreamble) o; - return Objects.equals(this.responseStatus, quoteDetailsQuoteDetailResponseResponsePreamble.responseStatus) && - Objects.equals(this.statusCode, quoteDetailsQuoteDetailResponseResponsePreamble.statusCode) && - Objects.equals(this.responseMessage, quoteDetailsQuoteDetailResponseResponsePreamble.responseMessage); - } - - @Override - public int hashCode() { - return Objects.hash(responseStatus, statusCode, responseMessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseResponsePreamble {\n"); - sb.append(" responseStatus: ").append(toIndentedString(responseStatus)).append("\n"); - sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); - sb.append(" responseMessage: ").append(toIndentedString(responseMessage)).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("responseStatus"); - openapiFields.add("statusCode"); - openapiFields.add("responseMessage"); - - // 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 QuoteDetailsQuoteDetailResponseResponsePreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseResponsePreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseResponsePreamble is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseResponsePreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseResponsePreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseResponsePreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responseStatus") != null && !jsonObj.get("responseStatus").isJsonNull()) && !jsonObj.get("responseStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseStatus").toString())); - } - if ((jsonObj.get("statusCode") != null && !jsonObj.get("statusCode").isJsonNull()) && !jsonObj.get("statusCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statusCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statusCode").toString())); - } - if ((jsonObj.get("responseMessage") != null && !jsonObj.get("responseMessage").isJsonNull()) && !jsonObj.get("responseMessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseMessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseResponsePreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseResponsePreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseResponsePreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseResponsePreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseResponsePreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseResponsePreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseResponsePreamble - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseResponsePreamble - */ - public static QuoteDetailsQuoteDetailResponseResponsePreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseResponsePreamble.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseResponsePreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java deleted file mode 100644 index 15a43e36..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.java +++ /dev/null @@ -1,838 +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.time.LocalDate; -import java.util.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes; - -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; - -/** - * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse { - public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; - @SerializedName(SERIALIZED_NAME_QUOTE_GUID) - private String quoteGuid; - - public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; - @SerializedName(SERIALIZED_NAME_QUOTE_NAME) - private String quoteName; - - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_QUOTE_EXPIRY_DATE = "quoteExpiryDate"; - @SerializedName(SERIALIZED_NAME_QUOTE_EXPIRY_DATE) - private LocalDate quoteExpiryDate; - - public static final String SERIALIZED_NAME_REVISION_NUMBER = "revisionNumber"; - @SerializedName(SERIALIZED_NAME_REVISION_NUMBER) - private String revisionNumber; - - public static final String SERIALIZED_NAME_INTRO_PREAMBLE = "introPreamble"; - @SerializedName(SERIALIZED_NAME_INTRO_PREAMBLE) - private String introPreamble; - - public static final String SERIALIZED_NAME_PURCHASE_INSTRUCTIONS = "purchaseInstructions"; - @SerializedName(SERIALIZED_NAME_PURCHASE_INSTRUCTIONS) - private String purchaseInstructions; - - public static final String SERIALIZED_NAME_LEGAL_TERMS = "legalTerms"; - @SerializedName(SERIALIZED_NAME_LEGAL_TERMS) - private String legalTerms; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_ID = "priceDeviationId"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_ID) - private String priceDeviationId; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_START_DATE = "priceDeviationStartDate"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_START_DATE) - private LocalDate priceDeviationStartDate; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_EXPIRY_DATE = "priceDeviationExpiryDate"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_EXPIRY_DATE) - private LocalDate priceDeviationExpiryDate; - - public static final String SERIALIZED_NAME_CUSTOMER_NEED = "customerNeed"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NEED) - private String customerNeed; - - public static final String SERIALIZED_NAME_SOLUTION_PROPOSED = "solutionProposed"; - @SerializedName(SERIALIZED_NAME_SOLUTION_PROPOSED) - private String solutionProposed; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private LocalDate created; - - public static final String SERIALIZED_NAME_MODIFIED = "modified"; - @SerializedName(SERIALIZED_NAME_MODIFIED) - private LocalDate modified; - - public static final String SERIALIZED_NAME_LEASING_CALCULATIONS = "leasingCalculations"; - @SerializedName(SERIALIZED_NAME_LEASING_CALCULATIONS) - private String leasingCalculations; - - public static final String SERIALIZED_NAME_LEASING_INSTRUCTIONS = "leasingInstructions"; - @SerializedName(SERIALIZED_NAME_LEASING_INSTRUCTIONS) - private String leasingInstructions; - - public static final String SERIALIZED_NAME_ACCOUNT_INFO = "accountInfo"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_INFO) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo; - - public static final String SERIALIZED_NAME_CONTACT_INFO = "contactInfo"; - @SerializedName(SERIALIZED_NAME_CONTACT_INFO) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo; - - public static final String SERIALIZED_NAME_VENDOR_ATTRIBUTES = "vendorAttributes"; - @SerializedName(SERIALIZED_NAME_VENDOR_ATTRIBUTES) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes; - - public static final String SERIALIZED_NAME_END_USER = "endUser"; - @SerializedName(SERIALIZED_NAME_END_USER) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser; - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse() { - } - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse quoteName(String quoteName) { - this.quoteName = quoteName; - return this; - } - - /** - * Get quoteName - * @return quoteName - **/ - @javax.annotation.Nullable - public String getQuoteName() { - return quoteName; - } - - public void setQuoteName(String quoteName) { - this.quoteName = quoteName; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * Get quoteNumber - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse quoteExpiryDate(LocalDate quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - return this; - } - - /** - * Get quoteExpiryDate - * @return quoteExpiryDate - **/ - @javax.annotation.Nullable - public LocalDate getQuoteExpiryDate() { - return quoteExpiryDate; - } - - public void setQuoteExpiryDate(LocalDate quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse revisionNumber(String revisionNumber) { - this.revisionNumber = revisionNumber; - return this; - } - - /** - * Get revisionNumber - * @return revisionNumber - **/ - @javax.annotation.Nullable - public String getRevisionNumber() { - return revisionNumber; - } - - public void setRevisionNumber(String revisionNumber) { - this.revisionNumber = revisionNumber; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse introPreamble(String introPreamble) { - this.introPreamble = introPreamble; - return this; - } - - /** - * Get introPreamble - * @return introPreamble - **/ - @javax.annotation.Nullable - public String getIntroPreamble() { - return introPreamble; - } - - public void setIntroPreamble(String introPreamble) { - this.introPreamble = introPreamble; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse purchaseInstructions(String purchaseInstructions) { - this.purchaseInstructions = purchaseInstructions; - return this; - } - - /** - * Get purchaseInstructions - * @return purchaseInstructions - **/ - @javax.annotation.Nullable - public String getPurchaseInstructions() { - return purchaseInstructions; - } - - public void setPurchaseInstructions(String purchaseInstructions) { - this.purchaseInstructions = purchaseInstructions; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse legalTerms(String legalTerms) { - this.legalTerms = legalTerms; - return this; - } - - /** - * Get legalTerms - * @return legalTerms - **/ - @javax.annotation.Nullable - public String getLegalTerms() { - return legalTerms; - } - - public void setLegalTerms(String legalTerms) { - this.legalTerms = legalTerms; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse currencyCode(String currencyCode) { - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - public String getCurrencyCode() { - return currencyCode; - } - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse priceDeviationId(String priceDeviationId) { - this.priceDeviationId = priceDeviationId; - return this; - } - - /** - * Get priceDeviationId - * @return priceDeviationId - **/ - @javax.annotation.Nullable - public String getPriceDeviationId() { - return priceDeviationId; - } - - public void setPriceDeviationId(String priceDeviationId) { - this.priceDeviationId = priceDeviationId; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse priceDeviationStartDate(LocalDate priceDeviationStartDate) { - this.priceDeviationStartDate = priceDeviationStartDate; - return this; - } - - /** - * Get priceDeviationStartDate - * @return priceDeviationStartDate - **/ - @javax.annotation.Nullable - public LocalDate getPriceDeviationStartDate() { - return priceDeviationStartDate; - } - - public void setPriceDeviationStartDate(LocalDate priceDeviationStartDate) { - this.priceDeviationStartDate = priceDeviationStartDate; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse priceDeviationExpiryDate(LocalDate priceDeviationExpiryDate) { - this.priceDeviationExpiryDate = priceDeviationExpiryDate; - return this; - } - - /** - * Get priceDeviationExpiryDate - * @return priceDeviationExpiryDate - **/ - @javax.annotation.Nullable - public LocalDate getPriceDeviationExpiryDate() { - return priceDeviationExpiryDate; - } - - public void setPriceDeviationExpiryDate(LocalDate priceDeviationExpiryDate) { - this.priceDeviationExpiryDate = priceDeviationExpiryDate; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse customerNeed(String customerNeed) { - this.customerNeed = customerNeed; - return this; - } - - /** - * Get customerNeed - * @return customerNeed - **/ - @javax.annotation.Nullable - public String getCustomerNeed() { - return customerNeed; - } - - public void setCustomerNeed(String customerNeed) { - this.customerNeed = customerNeed; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse solutionProposed(String solutionProposed) { - this.solutionProposed = solutionProposed; - return this; - } - - /** - * Get solutionProposed - * @return solutionProposed - **/ - @javax.annotation.Nullable - public String getSolutionProposed() { - return solutionProposed; - } - - public void setSolutionProposed(String solutionProposed) { - this.solutionProposed = solutionProposed; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse status(String status) { - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse created(LocalDate created) { - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - public LocalDate getCreated() { - return created; - } - - public void setCreated(LocalDate created) { - this.created = created; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse modified(LocalDate modified) { - this.modified = modified; - return this; - } - - /** - * Get modified - * @return modified - **/ - @javax.annotation.Nullable - public LocalDate getModified() { - return modified; - } - - public void setModified(LocalDate modified) { - this.modified = modified; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse leasingCalculations(String leasingCalculations) { - this.leasingCalculations = leasingCalculations; - return this; - } - - /** - * Get leasingCalculations - * @return leasingCalculations - **/ - @javax.annotation.Nullable - public String getLeasingCalculations() { - return leasingCalculations; - } - - public void setLeasingCalculations(String leasingCalculations) { - this.leasingCalculations = leasingCalculations; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse leasingInstructions(String leasingInstructions) { - this.leasingInstructions = leasingInstructions; - return this; - } - - /** - * Get leasingInstructions - * @return leasingInstructions - **/ - @javax.annotation.Nullable - public String getLeasingInstructions() { - return leasingInstructions; - } - - public void setLeasingInstructions(String leasingInstructions) { - this.leasingInstructions = leasingInstructions; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse accountInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo) { - this.accountInfo = accountInfo; - return this; - } - - /** - * Get accountInfo - * @return accountInfo - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo getAccountInfo() { - return accountInfo; - } - - public void setAccountInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo) { - this.accountInfo = accountInfo; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse contactInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo) { - this.contactInfo = contactInfo; - return this; - } - - /** - * Get contactInfo - * @return contactInfo - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo getContactInfo() { - return contactInfo; - } - - public void setContactInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo) { - this.contactInfo = contactInfo; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse vendorAttributes(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes) { - this.vendorAttributes = vendorAttributes; - return this; - } - - /** - * Get vendorAttributes - * @return vendorAttributes - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes getVendorAttributes() { - return vendorAttributes; - } - - public void setVendorAttributes(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes) { - this.vendorAttributes = vendorAttributes; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse endUser(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser) { - this.endUser = endUser; - return this; - } - - /** - * Get endUser - * @return endUser - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser getEndUser() { - return endUser; - } - - public void setEndUser(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser) { - this.endUser = endUser; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse quoteDetailsQuoteDetailResponseRetrieveQuoteResponse = (QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse) o; - return Objects.equals(this.quoteGuid, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.quoteGuid) && - Objects.equals(this.quoteName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.quoteName) && - Objects.equals(this.quoteNumber, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.quoteNumber) && - Objects.equals(this.quoteExpiryDate, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.quoteExpiryDate) && - Objects.equals(this.revisionNumber, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.revisionNumber) && - Objects.equals(this.introPreamble, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.introPreamble) && - Objects.equals(this.purchaseInstructions, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.purchaseInstructions) && - Objects.equals(this.legalTerms, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.legalTerms) && - Objects.equals(this.currencyCode, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.currencyCode) && - Objects.equals(this.priceDeviationId, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.priceDeviationId) && - Objects.equals(this.priceDeviationStartDate, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.priceDeviationStartDate) && - Objects.equals(this.priceDeviationExpiryDate, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.priceDeviationExpiryDate) && - Objects.equals(this.customerNeed, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.customerNeed) && - Objects.equals(this.solutionProposed, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.solutionProposed) && - Objects.equals(this.status, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.status) && - Objects.equals(this.created, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.created) && - Objects.equals(this.modified, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.modified) && - Objects.equals(this.leasingCalculations, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.leasingCalculations) && - Objects.equals(this.leasingInstructions, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.leasingInstructions) && - Objects.equals(this.accountInfo, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.accountInfo) && - Objects.equals(this.contactInfo, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.contactInfo) && - Objects.equals(this.vendorAttributes, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.vendorAttributes) && - Objects.equals(this.endUser, quoteDetailsQuoteDetailResponseRetrieveQuoteResponse.endUser); - } - - @Override - public int hashCode() { - return Objects.hash(quoteGuid, quoteName, quoteNumber, quoteExpiryDate, revisionNumber, introPreamble, purchaseInstructions, legalTerms, currencyCode, priceDeviationId, priceDeviationStartDate, priceDeviationExpiryDate, customerNeed, solutionProposed, status, created, modified, leasingCalculations, leasingInstructions, accountInfo, contactInfo, vendorAttributes, endUser); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse {\n"); - sb.append(" quoteGuid: ").append(toIndentedString(quoteGuid)).append("\n"); - sb.append(" quoteName: ").append(toIndentedString(quoteName)).append("\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" quoteExpiryDate: ").append(toIndentedString(quoteExpiryDate)).append("\n"); - sb.append(" revisionNumber: ").append(toIndentedString(revisionNumber)).append("\n"); - sb.append(" introPreamble: ").append(toIndentedString(introPreamble)).append("\n"); - sb.append(" purchaseInstructions: ").append(toIndentedString(purchaseInstructions)).append("\n"); - sb.append(" legalTerms: ").append(toIndentedString(legalTerms)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" priceDeviationId: ").append(toIndentedString(priceDeviationId)).append("\n"); - sb.append(" priceDeviationStartDate: ").append(toIndentedString(priceDeviationStartDate)).append("\n"); - sb.append(" priceDeviationExpiryDate: ").append(toIndentedString(priceDeviationExpiryDate)).append("\n"); - sb.append(" customerNeed: ").append(toIndentedString(customerNeed)).append("\n"); - sb.append(" solutionProposed: ").append(toIndentedString(solutionProposed)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" modified: ").append(toIndentedString(modified)).append("\n"); - sb.append(" leasingCalculations: ").append(toIndentedString(leasingCalculations)).append("\n"); - sb.append(" leasingInstructions: ").append(toIndentedString(leasingInstructions)).append("\n"); - sb.append(" accountInfo: ").append(toIndentedString(accountInfo)).append("\n"); - sb.append(" contactInfo: ").append(toIndentedString(contactInfo)).append("\n"); - sb.append(" vendorAttributes: ").append(toIndentedString(vendorAttributes)).append("\n"); - sb.append(" endUser: ").append(toIndentedString(endUser)).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("quoteGuid"); - openapiFields.add("quoteName"); - openapiFields.add("quoteNumber"); - openapiFields.add("quoteExpiryDate"); - openapiFields.add("revisionNumber"); - openapiFields.add("introPreamble"); - openapiFields.add("purchaseInstructions"); - openapiFields.add("legalTerms"); - openapiFields.add("currencyCode"); - openapiFields.add("priceDeviationId"); - openapiFields.add("priceDeviationStartDate"); - openapiFields.add("priceDeviationExpiryDate"); - openapiFields.add("customerNeed"); - openapiFields.add("solutionProposed"); - openapiFields.add("status"); - openapiFields.add("created"); - openapiFields.add("modified"); - openapiFields.add("leasingCalculations"); - openapiFields.add("leasingInstructions"); - openapiFields.add("accountInfo"); - openapiFields.add("contactInfo"); - openapiFields.add("vendorAttributes"); - openapiFields.add("endUser"); - - // 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("quoteName") != null && !jsonObj.get("quoteName").isJsonNull()) && !jsonObj.get("quoteName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteName").toString())); - } - 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("revisionNumber") != null && !jsonObj.get("revisionNumber").isJsonNull()) && !jsonObj.get("revisionNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `revisionNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("revisionNumber").toString())); - } - if ((jsonObj.get("introPreamble") != null && !jsonObj.get("introPreamble").isJsonNull()) && !jsonObj.get("introPreamble").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `introPreamble` to be a primitive type in the JSON string but got `%s`", jsonObj.get("introPreamble").toString())); - } - if ((jsonObj.get("purchaseInstructions") != null && !jsonObj.get("purchaseInstructions").isJsonNull()) && !jsonObj.get("purchaseInstructions").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `purchaseInstructions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("purchaseInstructions").toString())); - } - if ((jsonObj.get("legalTerms") != null && !jsonObj.get("legalTerms").isJsonNull()) && !jsonObj.get("legalTerms").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `legalTerms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("legalTerms").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("priceDeviationId") != null && !jsonObj.get("priceDeviationId").isJsonNull()) && !jsonObj.get("priceDeviationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `priceDeviationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priceDeviationId").toString())); - } - if ((jsonObj.get("customerNeed") != null && !jsonObj.get("customerNeed").isJsonNull()) && !jsonObj.get("customerNeed").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNeed` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNeed").toString())); - } - if ((jsonObj.get("solutionProposed") != null && !jsonObj.get("solutionProposed").isJsonNull()) && !jsonObj.get("solutionProposed").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `solutionProposed` to be a primitive type in the JSON string but got `%s`", jsonObj.get("solutionProposed").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("leasingCalculations") != null && !jsonObj.get("leasingCalculations").isJsonNull()) && !jsonObj.get("leasingCalculations").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `leasingCalculations` to be a primitive type in the JSON string but got `%s`", jsonObj.get("leasingCalculations").toString())); - } - 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())); - } - // validate the optional field `accountInfo` - if (jsonObj.get("accountInfo") != null && !jsonObj.get("accountInfo").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.validateJsonElement(jsonObj.get("accountInfo")); - } - // validate the optional field `contactInfo` - if (jsonObj.get("contactInfo") != null && !jsonObj.get("contactInfo").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.validateJsonElement(jsonObj.get("contactInfo")); - } - // validate the optional field `vendorAttributes` - if (jsonObj.get("vendorAttributes") != null && !jsonObj.get("vendorAttributes").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.validateJsonElement(jsonObj.get("vendorAttributes")); - } - // validate the optional field `endUser` - if (jsonObj.get("endUser") != null && !jsonObj.get("endUser").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.validateJsonElement(jsonObj.get("endUser")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - */ - public static QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java deleted file mode 100644 index b3757479..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.java +++ /dev/null @@ -1,264 +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.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; - -/** - * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo { - public static final String SERIALIZED_NAME_ACCOUNT_NAME = "accountName"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_NAME) - private String accountName; - - public static final String SERIALIZED_NAME_BCN = "bcn"; - @SerializedName(SERIALIZED_NAME_BCN) - private String bcn; - - public static final String SERIALIZED_NAME_PHONE = "phone"; - @SerializedName(SERIALIZED_NAME_PHONE) - private String phone; - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo() { - } - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountName(String accountName) { - this.accountName = accountName; - return this; - } - - /** - * Get accountName - * @return accountName - **/ - @javax.annotation.Nullable - public String getAccountName() { - return accountName; - } - - public void setAccountName(String accountName) { - this.accountName = accountName; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo bcn(String bcn) { - this.bcn = bcn; - return this; - } - - /** - * Get bcn - * @return bcn - **/ - @javax.annotation.Nullable - public String getBcn() { - return bcn; - } - - public void setBcn(String bcn) { - this.bcn = bcn; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo phone(String phone) { - this.phone = phone; - return this; - } - - /** - * Get phone - * @return phone - **/ - @javax.annotation.Nullable - public String getPhone() { - return phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo quoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo = (QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo) o; - return Objects.equals(this.accountName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.accountName) && - Objects.equals(this.bcn, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.bcn) && - Objects.equals(this.phone, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.phone); - } - - @Override - public int hashCode() { - return Objects.hash(accountName, bcn, phone); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo {\n"); - sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); - sb.append(" bcn: ").append(toIndentedString(bcn)).append("\n"); - sb.append(" phone: ").append(toIndentedString(phone)).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("accountName"); - openapiFields.add("bcn"); - openapiFields.add("phone"); - - // 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("accountName") != null && !jsonObj.get("accountName").isJsonNull()) && !jsonObj.get("accountName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `accountName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountName").toString())); - } - if ((jsonObj.get("bcn") != null && !jsonObj.get("bcn").isJsonNull()) && !jsonObj.get("bcn").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `bcn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bcn").toString())); - } - if ((jsonObj.get("phone") != null && !jsonObj.get("phone").isJsonNull()) && !jsonObj.get("phone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `phone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phone").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - */ - public static QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java deleted file mode 100644 index 3e10695b..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.java +++ /dev/null @@ -1,235 +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.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; - -/** - * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo { - public static final String SERIALIZED_NAME_CONTACT_EMAIL = "contactEmail"; - @SerializedName(SERIALIZED_NAME_CONTACT_EMAIL) - private String contactEmail; - - public static final String SERIALIZED_NAME_CONTACT_NAME = "contactName"; - @SerializedName(SERIALIZED_NAME_CONTACT_NAME) - private String contactName; - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo() { - } - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactEmail(String contactEmail) { - this.contactEmail = contactEmail; - return this; - } - - /** - * Get contactEmail - * @return contactEmail - **/ - @javax.annotation.Nullable - public String getContactEmail() { - return contactEmail; - } - - public void setContactEmail(String contactEmail) { - this.contactEmail = contactEmail; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactName(String contactName) { - this.contactName = contactName; - return this; - } - - /** - * Get contactName - * @return contactName - **/ - @javax.annotation.Nullable - public String getContactName() { - return contactName; - } - - public void setContactName(String contactName) { - this.contactName = contactName; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo quoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo = (QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo) o; - return Objects.equals(this.contactEmail, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.contactEmail) && - Objects.equals(this.contactName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.contactName); - } - - @Override - public int hashCode() { - return Objects.hash(contactEmail, contactName); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo {\n"); - sb.append(" contactEmail: ").append(toIndentedString(contactEmail)).append("\n"); - sb.append(" contactName: ").append(toIndentedString(contactName)).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("contactEmail"); - openapiFields.add("contactName"); - - // 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("contactEmail") != null && !jsonObj.get("contactEmail").isJsonNull()) && !jsonObj.get("contactEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `contactEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contactEmail").toString())); - } - if ((jsonObj.get("contactName") != null && !jsonObj.get("contactName").isJsonNull()) && !jsonObj.get("contactName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `contactName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contactName").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - */ - public static QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java deleted file mode 100644 index 60e0ea8b..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.java +++ /dev/null @@ -1,496 +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.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; - -/** - * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser { - public static final String SERIALIZED_NAME_END_USER_NAME = "endUserName"; - @SerializedName(SERIALIZED_NAME_END_USER_NAME) - private String endUserName; - - public static final String SERIALIZED_NAME_END_USER_ADDRESS = "endUserAddress"; - @SerializedName(SERIALIZED_NAME_END_USER_ADDRESS) - private String endUserAddress; - - public static final String SERIALIZED_NAME_END_USER_ADDRESS2 = "endUserAddress2"; - @SerializedName(SERIALIZED_NAME_END_USER_ADDRESS2) - private String endUserAddress2; - - public static final String SERIALIZED_NAME_END_USER_ADDRESS3 = "endUserAddress3"; - @SerializedName(SERIALIZED_NAME_END_USER_ADDRESS3) - private String endUserAddress3; - - public static final String SERIALIZED_NAME_END_USER_CITY = "endUserCity"; - @SerializedName(SERIALIZED_NAME_END_USER_CITY) - private String endUserCity; - - public static final String SERIALIZED_NAME_END_USER_STATE = "endUserState"; - @SerializedName(SERIALIZED_NAME_END_USER_STATE) - private String endUserState; - - public static final String SERIALIZED_NAME_END_USER_EMAIL = "endUserEmail"; - @SerializedName(SERIALIZED_NAME_END_USER_EMAIL) - private String endUserEmail; - - public static final String SERIALIZED_NAME_END_USER_PHONE = "endUserPhone"; - @SerializedName(SERIALIZED_NAME_END_USER_PHONE) - private String endUserPhone; - - public static final String SERIALIZED_NAME_END_USER_ZIP_CODE = "endUserZipCode"; - @SerializedName(SERIALIZED_NAME_END_USER_ZIP_CODE) - private String endUserZipCode; - - public static final String SERIALIZED_NAME_END_USER_CONTACT_NAME = "endUserContactName"; - @SerializedName(SERIALIZED_NAME_END_USER_CONTACT_NAME) - private String endUserContactName; - - public static final String SERIALIZED_NAME_END_USER_MARKET_SEGMENT = "endUserMarketSegment"; - @SerializedName(SERIALIZED_NAME_END_USER_MARKET_SEGMENT) - private String endUserMarketSegment; - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser() { - } - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserName(String endUserName) { - this.endUserName = endUserName; - return this; - } - - /** - * Get endUserName - * @return endUserName - **/ - @javax.annotation.Nullable - public String getEndUserName() { - return endUserName; - } - - public void setEndUserName(String endUserName) { - this.endUserName = endUserName; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserAddress(String endUserAddress) { - this.endUserAddress = endUserAddress; - return this; - } - - /** - * Get endUserAddress - * @return endUserAddress - **/ - @javax.annotation.Nullable - public String getEndUserAddress() { - return endUserAddress; - } - - public void setEndUserAddress(String endUserAddress) { - this.endUserAddress = endUserAddress; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserAddress2(String endUserAddress2) { - this.endUserAddress2 = endUserAddress2; - return this; - } - - /** - * Get endUserAddress2 - * @return endUserAddress2 - **/ - @javax.annotation.Nullable - public String getEndUserAddress2() { - return endUserAddress2; - } - - public void setEndUserAddress2(String endUserAddress2) { - this.endUserAddress2 = endUserAddress2; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserAddress3(String endUserAddress3) { - this.endUserAddress3 = endUserAddress3; - return this; - } - - /** - * Get endUserAddress3 - * @return endUserAddress3 - **/ - @javax.annotation.Nullable - public String getEndUserAddress3() { - return endUserAddress3; - } - - public void setEndUserAddress3(String endUserAddress3) { - this.endUserAddress3 = endUserAddress3; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserCity(String endUserCity) { - this.endUserCity = endUserCity; - return this; - } - - /** - * Get endUserCity - * @return endUserCity - **/ - @javax.annotation.Nullable - public String getEndUserCity() { - return endUserCity; - } - - public void setEndUserCity(String endUserCity) { - this.endUserCity = endUserCity; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserState(String endUserState) { - this.endUserState = endUserState; - return this; - } - - /** - * Get endUserState - * @return endUserState - **/ - @javax.annotation.Nullable - public String getEndUserState() { - return endUserState; - } - - public void setEndUserState(String endUserState) { - this.endUserState = endUserState; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserEmail(String endUserEmail) { - this.endUserEmail = endUserEmail; - return this; - } - - /** - * Get endUserEmail - * @return endUserEmail - **/ - @javax.annotation.Nullable - public String getEndUserEmail() { - return endUserEmail; - } - - public void setEndUserEmail(String endUserEmail) { - this.endUserEmail = endUserEmail; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserPhone(String endUserPhone) { - this.endUserPhone = endUserPhone; - return this; - } - - /** - * Get endUserPhone - * @return endUserPhone - **/ - @javax.annotation.Nullable - public String getEndUserPhone() { - return endUserPhone; - } - - public void setEndUserPhone(String endUserPhone) { - this.endUserPhone = endUserPhone; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserZipCode(String endUserZipCode) { - this.endUserZipCode = endUserZipCode; - return this; - } - - /** - * Get endUserZipCode - * @return endUserZipCode - **/ - @javax.annotation.Nullable - public String getEndUserZipCode() { - return endUserZipCode; - } - - public void setEndUserZipCode(String endUserZipCode) { - this.endUserZipCode = endUserZipCode; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserContactName(String endUserContactName) { - this.endUserContactName = endUserContactName; - return this; - } - - /** - * Get endUserContactName - * @return endUserContactName - **/ - @javax.annotation.Nullable - public String getEndUserContactName() { - return endUserContactName; - } - - public void setEndUserContactName(String endUserContactName) { - this.endUserContactName = endUserContactName; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUserMarketSegment(String endUserMarketSegment) { - this.endUserMarketSegment = endUserMarketSegment; - return this; - } - - /** - * Get endUserMarketSegment - * @return endUserMarketSegment - **/ - @javax.annotation.Nullable - public String getEndUserMarketSegment() { - return endUserMarketSegment; - } - - public void setEndUserMarketSegment(String endUserMarketSegment) { - this.endUserMarketSegment = endUserMarketSegment; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser = (QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser) o; - return Objects.equals(this.endUserName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserName) && - Objects.equals(this.endUserAddress, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserAddress) && - Objects.equals(this.endUserAddress2, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserAddress2) && - Objects.equals(this.endUserAddress3, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserAddress3) && - Objects.equals(this.endUserCity, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserCity) && - Objects.equals(this.endUserState, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserState) && - Objects.equals(this.endUserEmail, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserEmail) && - Objects.equals(this.endUserPhone, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserPhone) && - Objects.equals(this.endUserZipCode, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserZipCode) && - Objects.equals(this.endUserContactName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserContactName) && - Objects.equals(this.endUserMarketSegment, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.endUserMarketSegment); - } - - @Override - public int hashCode() { - return Objects.hash(endUserName, endUserAddress, endUserAddress2, endUserAddress3, endUserCity, endUserState, endUserEmail, endUserPhone, endUserZipCode, endUserContactName, endUserMarketSegment); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser {\n"); - sb.append(" endUserName: ").append(toIndentedString(endUserName)).append("\n"); - sb.append(" endUserAddress: ").append(toIndentedString(endUserAddress)).append("\n"); - sb.append(" endUserAddress2: ").append(toIndentedString(endUserAddress2)).append("\n"); - sb.append(" endUserAddress3: ").append(toIndentedString(endUserAddress3)).append("\n"); - sb.append(" endUserCity: ").append(toIndentedString(endUserCity)).append("\n"); - sb.append(" endUserState: ").append(toIndentedString(endUserState)).append("\n"); - sb.append(" endUserEmail: ").append(toIndentedString(endUserEmail)).append("\n"); - sb.append(" endUserPhone: ").append(toIndentedString(endUserPhone)).append("\n"); - sb.append(" endUserZipCode: ").append(toIndentedString(endUserZipCode)).append("\n"); - sb.append(" endUserContactName: ").append(toIndentedString(endUserContactName)).append("\n"); - sb.append(" endUserMarketSegment: ").append(toIndentedString(endUserMarketSegment)).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("endUserName"); - openapiFields.add("endUserAddress"); - openapiFields.add("endUserAddress2"); - openapiFields.add("endUserAddress3"); - openapiFields.add("endUserCity"); - openapiFields.add("endUserState"); - openapiFields.add("endUserEmail"); - openapiFields.add("endUserPhone"); - openapiFields.add("endUserZipCode"); - openapiFields.add("endUserContactName"); - openapiFields.add("endUserMarketSegment"); - - // 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("endUserName") != null && !jsonObj.get("endUserName").isJsonNull()) && !jsonObj.get("endUserName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserName").toString())); - } - if ((jsonObj.get("endUserAddress") != null && !jsonObj.get("endUserAddress").isJsonNull()) && !jsonObj.get("endUserAddress").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserAddress").toString())); - } - if ((jsonObj.get("endUserAddress2") != null && !jsonObj.get("endUserAddress2").isJsonNull()) && !jsonObj.get("endUserAddress2").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserAddress2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserAddress2").toString())); - } - if ((jsonObj.get("endUserAddress3") != null && !jsonObj.get("endUserAddress3").isJsonNull()) && !jsonObj.get("endUserAddress3").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserAddress3` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserAddress3").toString())); - } - if ((jsonObj.get("endUserCity") != null && !jsonObj.get("endUserCity").isJsonNull()) && !jsonObj.get("endUserCity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserCity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserCity").toString())); - } - if ((jsonObj.get("endUserState") != null && !jsonObj.get("endUserState").isJsonNull()) && !jsonObj.get("endUserState").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserState` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserState").toString())); - } - if ((jsonObj.get("endUserEmail") != null && !jsonObj.get("endUserEmail").isJsonNull()) && !jsonObj.get("endUserEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserEmail").toString())); - } - if ((jsonObj.get("endUserPhone") != null && !jsonObj.get("endUserPhone").isJsonNull()) && !jsonObj.get("endUserPhone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserPhone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserPhone").toString())); - } - if ((jsonObj.get("endUserZipCode") != null && !jsonObj.get("endUserZipCode").isJsonNull()) && !jsonObj.get("endUserZipCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserZipCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserZipCode").toString())); - } - if ((jsonObj.get("endUserContactName") != null && !jsonObj.get("endUserContactName").isJsonNull()) && !jsonObj.get("endUserContactName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserContactName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserContactName").toString())); - } - if ((jsonObj.get("endUserMarketSegment") != null && !jsonObj.get("endUserMarketSegment").isJsonNull()) && !jsonObj.get("endUserMarketSegment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserMarketSegment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserMarketSegment").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - */ - public static QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java b/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java deleted file mode 100644 index b406428a..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.java +++ /dev/null @@ -1,293 +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.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; - -/** - * QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes { - public static final String SERIALIZED_NAME_ESTIMATE_ID = "estimateId"; - @SerializedName(SERIALIZED_NAME_ESTIMATE_ID) - private String estimateId; - - public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; - @SerializedName(SERIALIZED_NAME_DEAL_ID) - private String dealId; - - public static final String SERIALIZED_NAME_VENDOR_NAME = "vendorName"; - @SerializedName(SERIALIZED_NAME_VENDOR_NAME) - private String vendorName; - - public static final String SERIALIZED_NAME_VENDOR_SETTING_MESSAGE = "vendorSettingMessage"; - @SerializedName(SERIALIZED_NAME_VENDOR_SETTING_MESSAGE) - private String vendorSettingMessage; - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes() { - } - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes estimateId(String estimateId) { - this.estimateId = estimateId; - return this; - } - - /** - * Get estimateId - * @return estimateId - **/ - @javax.annotation.Nullable - public String getEstimateId() { - return estimateId; - } - - public void setEstimateId(String estimateId) { - this.estimateId = estimateId; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes dealId(String dealId) { - this.dealId = dealId; - return this; - } - - /** - * Get dealId - * @return dealId - **/ - @javax.annotation.Nullable - public String getDealId() { - return dealId; - } - - public void setDealId(String dealId) { - this.dealId = dealId; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorName(String vendorName) { - this.vendorName = vendorName; - return this; - } - - /** - * Get vendorName - * @return vendorName - **/ - @javax.annotation.Nullable - public String getVendorName() { - return vendorName; - } - - public void setVendorName(String vendorName) { - this.vendorName = vendorName; - } - - - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorSettingMessage(String vendorSettingMessage) { - this.vendorSettingMessage = vendorSettingMessage; - return this; - } - - /** - * Get vendorSettingMessage - * @return vendorSettingMessage - **/ - @javax.annotation.Nullable - public String getVendorSettingMessage() { - return vendorSettingMessage; - } - - public void setVendorSettingMessage(String vendorSettingMessage) { - this.vendorSettingMessage = vendorSettingMessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes quoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes = (QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes) o; - return Objects.equals(this.estimateId, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.estimateId) && - Objects.equals(this.dealId, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.dealId) && - Objects.equals(this.vendorName, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.vendorName) && - Objects.equals(this.vendorSettingMessage, quoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.vendorSettingMessage); - } - - @Override - public int hashCode() { - return Objects.hash(estimateId, dealId, vendorName, vendorSettingMessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes {\n"); - sb.append(" estimateId: ").append(toIndentedString(estimateId)).append("\n"); - sb.append(" dealId: ").append(toIndentedString(dealId)).append("\n"); - sb.append(" vendorName: ").append(toIndentedString(vendorName)).append("\n"); - sb.append(" vendorSettingMessage: ").append(toIndentedString(vendorSettingMessage)).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("estimateId"); - openapiFields.add("dealId"); - openapiFields.add("vendorName"); - openapiFields.add("vendorSettingMessage"); - - // 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 QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes is not found in the empty JSON string", QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("estimateId") != null && !jsonObj.get("estimateId").isJsonNull()) && !jsonObj.get("estimateId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `estimateId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("estimateId").toString())); - } - if ((jsonObj.get("dealId") != null && !jsonObj.get("dealId").isJsonNull()) && !jsonObj.get("dealId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `dealId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dealId").toString())); - } - if ((jsonObj.get("vendorName") != null && !jsonObj.get("vendorName").isJsonNull()) && !jsonObj.get("vendorName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorName").toString())); - } - if ((jsonObj.get("vendorSettingMessage") != null && !jsonObj.get("vendorSettingMessage").isJsonNull()) && !jsonObj.get("vendorSettingMessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorSettingMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorSettingMessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - */ - public static QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.class); - } - - /** - * Convert an instance of QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java deleted file mode 100644 index d5b198fe..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequest.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequest; - -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; - -/** - * Request schema for get quote details endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsRequest { - public static final String SERIALIZED_NAME_QUOTE_PRODUCTS_REQUEST = "quoteProductsRequest"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCTS_REQUEST) - private QuoteDetailsRequestQuoteProductsRequest quoteProductsRequest; - - public QuoteDetailsRequest() { - } - - public QuoteDetailsRequest quoteProductsRequest(QuoteDetailsRequestQuoteProductsRequest quoteProductsRequest) { - this.quoteProductsRequest = quoteProductsRequest; - return this; - } - - /** - * Get quoteProductsRequest - * @return quoteProductsRequest - **/ - @javax.annotation.Nullable - public QuoteDetailsRequestQuoteProductsRequest getQuoteProductsRequest() { - return quoteProductsRequest; - } - - public void setQuoteProductsRequest(QuoteDetailsRequestQuoteProductsRequest quoteProductsRequest) { - this.quoteProductsRequest = quoteProductsRequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsRequest quoteDetailsRequest = (QuoteDetailsRequest) o; - return Objects.equals(this.quoteProductsRequest, quoteDetailsRequest.quoteProductsRequest); - } - - @Override - public int hashCode() { - return Objects.hash(quoteProductsRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsRequest {\n"); - sb.append(" quoteProductsRequest: ").append(toIndentedString(quoteProductsRequest)).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("quoteProductsRequest"); - - // 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 QuoteDetailsRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsRequest is not found in the empty JSON string", QuoteDetailsRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `quoteProductsRequest` - if (jsonObj.get("quoteProductsRequest") != null && !jsonObj.get("quoteProductsRequest").isJsonNull()) { - QuoteDetailsRequestQuoteProductsRequest.validateJsonElement(jsonObj.get("quoteProductsRequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsRequest - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsRequest - */ - public static QuoteDetailsRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsRequest.class); - } - - /** - * Convert an instance of QuoteDetailsRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java deleted file mode 100644 index ce6e356f..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequest.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRequestpreamble; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest; - -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; - -/** - * QuoteDetailsRequestQuoteProductsRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsRequestQuoteProductsRequest { - public static final String SERIALIZED_NAME_REQUESTPREAMBLE = "requestpreamble"; - @SerializedName(SERIALIZED_NAME_REQUESTPREAMBLE) - private QuoteDetailsRequestQuoteProductsRequestRequestpreamble requestpreamble; - - public static final String SERIALIZED_NAME_RETRIEVE_QUOTE_PRODUCTS_REQUEST = "retrieveQuoteProductsRequest"; - @SerializedName(SERIALIZED_NAME_RETRIEVE_QUOTE_PRODUCTS_REQUEST) - private QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest retrieveQuoteProductsRequest; - - public QuoteDetailsRequestQuoteProductsRequest() { - } - - public QuoteDetailsRequestQuoteProductsRequest requestpreamble(QuoteDetailsRequestQuoteProductsRequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - return this; - } - - /** - * Get requestpreamble - * @return requestpreamble - **/ - @javax.annotation.Nullable - public QuoteDetailsRequestQuoteProductsRequestRequestpreamble getRequestpreamble() { - return requestpreamble; - } - - public void setRequestpreamble(QuoteDetailsRequestQuoteProductsRequestRequestpreamble requestpreamble) { - this.requestpreamble = requestpreamble; - } - - - public QuoteDetailsRequestQuoteProductsRequest retrieveQuoteProductsRequest(QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest retrieveQuoteProductsRequest) { - this.retrieveQuoteProductsRequest = retrieveQuoteProductsRequest; - return this; - } - - /** - * Get retrieveQuoteProductsRequest - * @return retrieveQuoteProductsRequest - **/ - @javax.annotation.Nullable - public QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest getRetrieveQuoteProductsRequest() { - return retrieveQuoteProductsRequest; - } - - public void setRetrieveQuoteProductsRequest(QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest retrieveQuoteProductsRequest) { - this.retrieveQuoteProductsRequest = retrieveQuoteProductsRequest; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsRequestQuoteProductsRequest quoteDetailsRequestQuoteProductsRequest = (QuoteDetailsRequestQuoteProductsRequest) o; - return Objects.equals(this.requestpreamble, quoteDetailsRequestQuoteProductsRequest.requestpreamble) && - Objects.equals(this.retrieveQuoteProductsRequest, quoteDetailsRequestQuoteProductsRequest.retrieveQuoteProductsRequest); - } - - @Override - public int hashCode() { - return Objects.hash(requestpreamble, retrieveQuoteProductsRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsRequestQuoteProductsRequest {\n"); - sb.append(" requestpreamble: ").append(toIndentedString(requestpreamble)).append("\n"); - sb.append(" retrieveQuoteProductsRequest: ").append(toIndentedString(retrieveQuoteProductsRequest)).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("requestpreamble"); - openapiFields.add("retrieveQuoteProductsRequest"); - - // 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 QuoteDetailsRequestQuoteProductsRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsRequestQuoteProductsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsRequestQuoteProductsRequest is not found in the empty JSON string", QuoteDetailsRequestQuoteProductsRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsRequestQuoteProductsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsRequestQuoteProductsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `requestpreamble` - if (jsonObj.get("requestpreamble") != null && !jsonObj.get("requestpreamble").isJsonNull()) { - QuoteDetailsRequestQuoteProductsRequestRequestpreamble.validateJsonElement(jsonObj.get("requestpreamble")); - } - // validate the optional field `retrieveQuoteProductsRequest` - if (jsonObj.get("retrieveQuoteProductsRequest") != null && !jsonObj.get("retrieveQuoteProductsRequest").isJsonNull()) { - QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.validateJsonElement(jsonObj.get("retrieveQuoteProductsRequest")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsRequestQuoteProductsRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsRequestQuoteProductsRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsRequestQuoteProductsRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsRequestQuoteProductsRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsRequestQuoteProductsRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsRequestQuoteProductsRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsRequestQuoteProductsRequest - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsRequestQuoteProductsRequest - */ - public static QuoteDetailsRequestQuoteProductsRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsRequestQuoteProductsRequest.class); - } - - /** - * Convert an instance of QuoteDetailsRequestQuoteProductsRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java deleted file mode 100644 index 625efda0..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreamble.java +++ /dev/null @@ -1,244 +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.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; - -/** - * QuoteDetailsRequestQuoteProductsRequestRequestpreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsRequestQuoteProductsRequestRequestpreamble { - public static final String SERIALIZED_NAME_CUSTOMER_NUMBER = "customerNumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NUMBER) - private String customerNumber; - - public static final String SERIALIZED_NAME_ISO_COUNTRY_CODE = "isoCountryCode"; - @SerializedName(SERIALIZED_NAME_ISO_COUNTRY_CODE) - private String isoCountryCode; - - public QuoteDetailsRequestQuoteProductsRequestRequestpreamble() { - } - - public QuoteDetailsRequestQuoteProductsRequestRequestpreamble customerNumber(String customerNumber) { - this.customerNumber = customerNumber; - return this; - } - - /** - * Reseller Number (referred to as the account BCN) is the unique identifier for an Ingram Micro customer account. - * @return customerNumber - **/ - @javax.annotation.Nonnull - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - - public QuoteDetailsRequestQuoteProductsRequestRequestpreamble isoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - return this; - } - - /** - * The ISO country codes are internationally recognized codes designated for each country represented by a two-letter combination (alpha-2). - * @return isoCountryCode - **/ - @javax.annotation.Nonnull - public String getIsoCountryCode() { - return isoCountryCode; - } - - public void setIsoCountryCode(String isoCountryCode) { - this.isoCountryCode = isoCountryCode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsRequestQuoteProductsRequestRequestpreamble quoteDetailsRequestQuoteProductsRequestRequestpreamble = (QuoteDetailsRequestQuoteProductsRequestRequestpreamble) o; - return Objects.equals(this.customerNumber, quoteDetailsRequestQuoteProductsRequestRequestpreamble.customerNumber) && - Objects.equals(this.isoCountryCode, quoteDetailsRequestQuoteProductsRequestRequestpreamble.isoCountryCode); - } - - @Override - public int hashCode() { - return Objects.hash(customerNumber, isoCountryCode); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsRequestQuoteProductsRequestRequestpreamble {\n"); - sb.append(" customerNumber: ").append(toIndentedString(customerNumber)).append("\n"); - sb.append(" isoCountryCode: ").append(toIndentedString(isoCountryCode)).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("customerNumber"); - openapiFields.add("isoCountryCode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("customerNumber"); - openapiRequiredFields.add("isoCountryCode"); - } - - /** - * 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 QuoteDetailsRequestQuoteProductsRequestRequestpreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsRequestQuoteProductsRequestRequestpreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsRequestQuoteProductsRequestRequestpreamble is not found in the empty JSON string", QuoteDetailsRequestQuoteProductsRequestRequestpreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsRequestQuoteProductsRequestRequestpreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsRequestQuoteProductsRequestRequestpreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : QuoteDetailsRequestQuoteProductsRequestRequestpreamble.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("customerNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNumber").toString())); - } - if (!jsonObj.get("isoCountryCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isoCountryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isoCountryCode").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsRequestQuoteProductsRequestRequestpreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsRequestQuoteProductsRequestRequestpreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsRequestQuoteProductsRequestRequestpreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsRequestQuoteProductsRequestRequestpreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsRequestQuoteProductsRequestRequestpreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsRequestQuoteProductsRequestRequestpreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsRequestQuoteProductsRequestRequestpreamble - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsRequestQuoteProductsRequestRequestpreamble - */ - public static QuoteDetailsRequestQuoteProductsRequestRequestpreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsRequestQuoteProductsRequestRequestpreamble.class); - } - - /** - * Convert an instance of QuoteDetailsRequestQuoteProductsRequestRequestpreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java b/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java deleted file mode 100644 index 21a310e5..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.java +++ /dev/null @@ -1,235 +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.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; - -/** - * QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest { - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_THIRD_PARTY_SOURCE = "thirdPartySource"; - @SerializedName(SERIALIZED_NAME_THIRD_PARTY_SOURCE) - private String thirdPartySource; - - public QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest() { - } - - public QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * 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. - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest thirdPartySource(String thirdPartySource) { - this.thirdPartySource = thirdPartySource; - return this; - } - - /** - * Unique identifier used to identify the third party source accessing the services. - * @return thirdPartySource - **/ - @javax.annotation.Nullable - public String getThirdPartySource() { - return thirdPartySource; - } - - public void setThirdPartySource(String thirdPartySource) { - this.thirdPartySource = thirdPartySource; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest quoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest = (QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest) o; - return Objects.equals(this.quoteNumber, quoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.quoteNumber) && - Objects.equals(this.thirdPartySource, quoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.thirdPartySource); - } - - @Override - public int hashCode() { - return Objects.hash(quoteNumber, thirdPartySource); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest {\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" thirdPartySource: ").append(toIndentedString(thirdPartySource)).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("thirdPartySource"); - - // 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 QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest is not found in the empty JSON string", QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest` 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("thirdPartySource") != null && !jsonObj.get("thirdPartySource").isJsonNull()) && !jsonObj.get("thirdPartySource").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `thirdPartySource` to be a primitive type in the JSON string but got `%s`", jsonObj.get("thirdPartySource").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - */ - public static QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest.class); - } - - /** - * Convert an instance of QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java index f30b75e0..94d93c70 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -20,8 +20,13 @@ 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 xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponse; +import java.util.List; +import xiresellers.client.model.QuoteDetailsResponseAdditionalAttributesInner; +import xiresellers.client.model.QuoteDetailsResponseEndUserInfo; +import xiresellers.client.model.QuoteDetailsResponseProductsInner; +import xiresellers.client.model.QuoteDetailsResponseResellerInfo; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,31 +55,622 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteDetailsResponse { - public static final String SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE = "quoteDetailResponse"; - @SerializedName(SERIALIZED_NAME_QUOTE_DETAIL_RESPONSE) - private QuoteDetailsResponseQuoteDetailResponse quoteDetailResponse; + public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; + @SerializedName(SERIALIZED_NAME_QUOTE_NAME) + private String quoteName; + + public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; + @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) + private String quoteNumber; + + public static final String SERIALIZED_NAME_REVISION = "revision"; + @SerializedName(SERIALIZED_NAME_REVISION) + private String revision; + + public static final String SERIALIZED_NAME_INGRAM_QUOTE_DATE = "ingramQuoteDate"; + @SerializedName(SERIALIZED_NAME_INGRAM_QUOTE_DATE) + private String ingramQuoteDate; + + public static final String SERIALIZED_NAME_LAST_MODIFIED_DATE = "lastModifiedDate"; + @SerializedName(SERIALIZED_NAME_LAST_MODIFIED_DATE) + private String lastModifiedDate; + + public static final String SERIALIZED_NAME_INGRAM_QUOTE_EXPIRY_DATE = "ingramQuoteExpiryDate"; + @SerializedName(SERIALIZED_NAME_INGRAM_QUOTE_EXPIRY_DATE) + private String ingramQuoteExpiryDate; + + public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; + @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) + private String currencyCode; + + public static final String SERIALIZED_NAME_SPECIAL_BID_ID = "specialBidId"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_ID) + private String specialBidId; + + public static final String SERIALIZED_NAME_SPECIAL_BID_EFFECTIVE_DATE = "specialBidEffectiveDate"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_EFFECTIVE_DATE) + private String specialBidEffectiveDate; + + public static final String SERIALIZED_NAME_SPECIAL_BID_EXPIRATION_DATE = "specialBidExpirationDate"; + @SerializedName(SERIALIZED_NAME_SPECIAL_BID_EXPIRATION_DATE) + private String specialBidExpirationDate; + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private String status; + + public static final String SERIALIZED_NAME_CUSTOMER_NEED = "customerNeed"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_NEED) + private String customerNeed; + + public static final String SERIALIZED_NAME_PROPOSED_SOLUTION = "proposedSolution"; + @SerializedName(SERIALIZED_NAME_PROPOSED_SOLUTION) + private String proposedSolution; + + public static final String SERIALIZED_NAME_INTRO_PREAMBLE = "introPreamble"; + @SerializedName(SERIALIZED_NAME_INTRO_PREAMBLE) + private String introPreamble; + + public static final String SERIALIZED_NAME_PURCHASE_INSTRUCTIONS = "purchaseInstructions"; + @SerializedName(SERIALIZED_NAME_PURCHASE_INSTRUCTIONS) + private String purchaseInstructions; + + public static final String SERIALIZED_NAME_LEGAL_TERMS = "legalTerms"; + @SerializedName(SERIALIZED_NAME_LEGAL_TERMS) + private String legalTerms; + + public static final String SERIALIZED_NAME_LEASE_INFO = "leaseInfo"; + @SerializedName(SERIALIZED_NAME_LEASE_INFO) + private String leaseInfo; + + public static final String SERIALIZED_NAME_LEASING_INSTRUCTIONS = "leasingInstructions"; + @SerializedName(SERIALIZED_NAME_LEASING_INSTRUCTIONS) + private String leasingInstructions; + + public static final String SERIALIZED_NAME_RESELLER_INFO = "resellerInfo"; + @SerializedName(SERIALIZED_NAME_RESELLER_INFO) + private QuoteDetailsResponseResellerInfo resellerInfo; + + public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; + @SerializedName(SERIALIZED_NAME_END_USER_INFO) + private QuoteDetailsResponseEndUserInfo endUserInfo; + + public static final String SERIALIZED_NAME_PRODUCTS = "products"; + @SerializedName(SERIALIZED_NAME_PRODUCTS) + private List products; + + public static final String SERIALIZED_NAME_PRODUCTS_COUNT = "productsCount"; + @SerializedName(SERIALIZED_NAME_PRODUCTS_COUNT) + private Integer productsCount; + + public static final String SERIALIZED_NAME_EXTENDED_MSRP_TOTAL = "extendedMsrpTotal"; + @SerializedName(SERIALIZED_NAME_EXTENDED_MSRP_TOTAL) + private Integer extendedMsrpTotal; + + public static final String SERIALIZED_NAME_QUANTITY_TOTAL = "quantityTotal"; + @SerializedName(SERIALIZED_NAME_QUANTITY_TOTAL) + private Integer quantityTotal; + + public static final String SERIALIZED_NAME_EXTENDED_QUOTE_PRICE_TOTAL = "extendedQuotePriceTotal"; + @SerializedName(SERIALIZED_NAME_EXTENDED_QUOTE_PRICE_TOTAL) + private Integer extendedQuotePriceTotal; + + public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) + private List additionalAttributes; public QuoteDetailsResponse() { } - public QuoteDetailsResponse quoteDetailResponse(QuoteDetailsResponseQuoteDetailResponse quoteDetailResponse) { - this.quoteDetailResponse = quoteDetailResponse; + public QuoteDetailsResponse quoteName(String quoteName) { + this.quoteName = quoteName; + return this; + } + + /** + * Quote Name given to quote by sales team or system generated. Generally used as a reference to identify the quote. + * @return quoteName + **/ + @javax.annotation.Nullable + public String getQuoteName() { + return quoteName; + } + + public void setQuoteName(String quoteName) { + this.quoteName = quoteName; + } + + + public QuoteDetailsResponse quoteNumber(String quoteNumber) { + this.quoteNumber = quoteNumber; + return this; + } + + /** + * 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. + * @return quoteNumber + **/ + @javax.annotation.Nullable + public String getQuoteNumber() { + return quoteNumber; + } + + public void setQuoteNumber(String quoteNumber) { + this.quoteNumber = quoteNumber; + } + + + public QuoteDetailsResponse revision(String revision) { + this.revision = revision; + return this; + } + + /** + * 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. + * @return revision + **/ + @javax.annotation.Nullable + public String getRevision() { + return revision; + } + + public void setRevision(String revision) { + this.revision = revision; + } + + + public QuoteDetailsResponse ingramQuoteDate(String ingramQuoteDate) { + this.ingramQuoteDate = ingramQuoteDate; + return this; + } + + /** + * Date the Quote was initially Created. + * @return ingramQuoteDate + **/ + @javax.annotation.Nullable + public String getIngramQuoteDate() { + return ingramQuoteDate; + } + + public void setIngramQuoteDate(String ingramQuoteDate) { + this.ingramQuoteDate = ingramQuoteDate; + } + + + public QuoteDetailsResponse lastModifiedDate(String lastModifiedDate) { + this.lastModifiedDate = lastModifiedDate; + return this; + } + + /** + * Date the Quote was last updated or modified. + * @return lastModifiedDate + **/ + @javax.annotation.Nullable + public String getLastModifiedDate() { + return lastModifiedDate; + } + + public void setLastModifiedDate(String lastModifiedDate) { + this.lastModifiedDate = lastModifiedDate; + } + + + public QuoteDetailsResponse ingramQuoteExpiryDate(String ingramQuoteExpiryDate) { + this.ingramQuoteExpiryDate = ingramQuoteExpiryDate; + return this; + } + + /** + * Quote expiration date. + * @return ingramQuoteExpiryDate + **/ + @javax.annotation.Nullable + public String getIngramQuoteExpiryDate() { + return ingramQuoteExpiryDate; + } + + public void setIngramQuoteExpiryDate(String ingramQuoteExpiryDate) { + this.ingramQuoteExpiryDate = ingramQuoteExpiryDate; + } + + + public QuoteDetailsResponse currencyCode(String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Three letter currency code. + * @return currencyCode + **/ + @javax.annotation.Nullable + public String getCurrencyCode() { + return currencyCode; + } + + public void setCurrencyCode(String currencyCode) { + this.currencyCode = currencyCode; + } + + + public QuoteDetailsResponse specialBidId(String specialBidId) { + this.specialBidId = specialBidId; + return this; + } + + /** + * 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 + * @return specialBidId + **/ + @javax.annotation.Nullable + public String getSpecialBidId() { + return specialBidId; + } + + public void setSpecialBidId(String specialBidId) { + this.specialBidId = specialBidId; + } + + + public QuoteDetailsResponse specialBidEffectiveDate(String specialBidEffectiveDate) { + this.specialBidEffectiveDate = specialBidEffectiveDate; + return this; + } + + /** + * If price discount has been applied to the quote - the starting date the discount begins. + * @return specialBidEffectiveDate + **/ + @javax.annotation.Nullable + public String getSpecialBidEffectiveDate() { + return specialBidEffectiveDate; + } + + public void setSpecialBidEffectiveDate(String specialBidEffectiveDate) { + this.specialBidEffectiveDate = specialBidEffectiveDate; + } + + + public QuoteDetailsResponse specialBidExpirationDate(String specialBidExpirationDate) { + this.specialBidExpirationDate = specialBidExpirationDate; + return this; + } + + /** + * If a price discount has been applied to the quote - The date the discount expires and will no longer be applicable. + * @return specialBidExpirationDate + **/ + @javax.annotation.Nullable + public String getSpecialBidExpirationDate() { + return specialBidExpirationDate; + } + + public void setSpecialBidExpirationDate(String specialBidExpirationDate) { + this.specialBidExpirationDate = specialBidExpirationDate; + } + + + public QuoteDetailsResponse status(String status) { + this.status = status; + return this; + } + + /** + * This refers to the primary status of the quote. API responses will return + * @return status + **/ + @javax.annotation.Nullable + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + public QuoteDetailsResponse customerNeed(String customerNeed) { + this.customerNeed = customerNeed; + return this; + } + + /** + * Details related to the customer's request for the quote entered by the sales representative or system generated. + * @return customerNeed + **/ + @javax.annotation.Nullable + public String getCustomerNeed() { + return customerNeed; + } + + public void setCustomerNeed(String customerNeed) { + this.customerNeed = customerNeed; + } + + + public QuoteDetailsResponse proposedSolution(String proposedSolution) { + this.proposedSolution = proposedSolution; + return this; + } + + /** + * Ingram Micro proposed solution and summary of quote. + * @return proposedSolution + **/ + @javax.annotation.Nullable + public String getProposedSolution() { + return proposedSolution; + } + + public void setProposedSolution(String proposedSolution) { + this.proposedSolution = proposedSolution; + } + + + public QuoteDetailsResponse introPreamble(String introPreamble) { + this.introPreamble = introPreamble; + return this; + } + + /** + * Introductory paragraph included in each quote. Legally required - must be included when presenting the quote details. + * @return introPreamble + **/ + @javax.annotation.Nullable + public String getIntroPreamble() { + return introPreamble; + } + + public void setIntroPreamble(String introPreamble) { + this.introPreamble = introPreamble; + } + + + public QuoteDetailsResponse purchaseInstructions(String purchaseInstructions) { + this.purchaseInstructions = purchaseInstructions; + return this; + } + + /** + * Purchase instructions. Legally required - must be included when presenting the quote details. + * @return purchaseInstructions + **/ + @javax.annotation.Nullable + public String getPurchaseInstructions() { + return purchaseInstructions; + } + + public void setPurchaseInstructions(String purchaseInstructions) { + this.purchaseInstructions = purchaseInstructions; + } + + + public QuoteDetailsResponse legalTerms(String legalTerms) { + this.legalTerms = legalTerms; + return this; + } + + /** + * Legal terms - Legally required - must be included when presenting the quote details. + * @return legalTerms + **/ + @javax.annotation.Nullable + public String getLegalTerms() { + return legalTerms; + } + + public void setLegalTerms(String legalTerms) { + this.legalTerms = legalTerms; + } + + + public QuoteDetailsResponse leaseInfo(String leaseInfo) { + this.leaseInfo = leaseInfo; + return this; + } + + /** + * Lease information. + * @return leaseInfo + **/ + @javax.annotation.Nullable + public String getLeaseInfo() { + return leaseInfo; + } + + public void setLeaseInfo(String leaseInfo) { + this.leaseInfo = leaseInfo; + } + + + public QuoteDetailsResponse leasingInstructions(String leasingInstructions) { + this.leasingInstructions = leasingInstructions; + return this; + } + + /** + * Leasing information + * @return leasingInstructions + **/ + @javax.annotation.Nullable + public String getLeasingInstructions() { + return leasingInstructions; + } + + public void setLeasingInstructions(String leasingInstructions) { + this.leasingInstructions = leasingInstructions; + } + + + public QuoteDetailsResponse resellerInfo(QuoteDetailsResponseResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + return this; + } + + /** + * Get resellerInfo + * @return resellerInfo + **/ + @javax.annotation.Nullable + public QuoteDetailsResponseResellerInfo getResellerInfo() { + return resellerInfo; + } + + public void setResellerInfo(QuoteDetailsResponseResellerInfo resellerInfo) { + this.resellerInfo = resellerInfo; + } + + + public QuoteDetailsResponse endUserInfo(QuoteDetailsResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; return this; } /** - * Get quoteDetailResponse - * @return quoteDetailResponse + * Get endUserInfo + * @return endUserInfo **/ @javax.annotation.Nullable - public QuoteDetailsResponseQuoteDetailResponse getQuoteDetailResponse() { - return quoteDetailResponse; + public QuoteDetailsResponseEndUserInfo getEndUserInfo() { + return endUserInfo; } - public void setQuoteDetailResponse(QuoteDetailsResponseQuoteDetailResponse quoteDetailResponse) { - this.quoteDetailResponse = quoteDetailResponse; + public void setEndUserInfo(QuoteDetailsResponseEndUserInfo endUserInfo) { + this.endUserInfo = endUserInfo; + } + + + public QuoteDetailsResponse products(List products) { + this.products = products; + return this; + } + + public QuoteDetailsResponse addProductsItem(QuoteDetailsResponseProductsInner productsItem) { + if (this.products == null) { + this.products = new ArrayList<>(); + } + this.products.add(productsItem); + return this; + } + + /** + * Get products + * @return products + **/ + @javax.annotation.Nullable + public List getProducts() { + return products; + } + + public void setProducts(List products) { + this.products = products; + } + + + public QuoteDetailsResponse productsCount(Integer productsCount) { + this.productsCount = productsCount; + return this; + } + + /** + * Total number of products included in the quote + * @return productsCount + **/ + @javax.annotation.Nullable + public Integer getProductsCount() { + return productsCount; + } + + public void setProductsCount(Integer productsCount) { + this.productsCount = productsCount; + } + + + public QuoteDetailsResponse extendedMsrpTotal(Integer extendedMsrpTotal) { + this.extendedMsrpTotal = extendedMsrpTotal; + return this; + } + + /** + * Total extended MSRP for all products included in the quote + * @return extendedMsrpTotal + **/ + @javax.annotation.Nullable + public Integer getExtendedMsrpTotal() { + return extendedMsrpTotal; + } + + public void setExtendedMsrpTotal(Integer extendedMsrpTotal) { + this.extendedMsrpTotal = extendedMsrpTotal; + } + + + public QuoteDetailsResponse quantityTotal(Integer quantityTotal) { + this.quantityTotal = quantityTotal; + return this; + } + + /** + * Total quantity of all items in the quote. + * @return quantityTotal + **/ + @javax.annotation.Nullable + public Integer getQuantityTotal() { + return quantityTotal; + } + + public void setQuantityTotal(Integer quantityTotal) { + this.quantityTotal = quantityTotal; + } + + + public QuoteDetailsResponse extendedQuotePriceTotal(Integer extendedQuotePriceTotal) { + this.extendedQuotePriceTotal = extendedQuotePriceTotal; + return this; + } + + /** + * Total amount of quoted price for all products in the quote including both solution products and suggested products. + * @return extendedQuotePriceTotal + **/ + @javax.annotation.Nullable + public Integer getExtendedQuotePriceTotal() { + return extendedQuotePriceTotal; + } + + public void setExtendedQuotePriceTotal(Integer extendedQuotePriceTotal) { + this.extendedQuotePriceTotal = extendedQuotePriceTotal; + } + + + public QuoteDetailsResponse additionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; + return this; + } + + public QuoteDetailsResponse addAdditionalAttributesItem(QuoteDetailsResponseAdditionalAttributesInner additionalAttributesItem) { + if (this.additionalAttributes == null) { + this.additionalAttributes = new ArrayList<>(); + } + this.additionalAttributes.add(additionalAttributesItem); + return this; + } + + /** + * Get additionalAttributes + * @return additionalAttributes + **/ + @javax.annotation.Nullable + public List getAdditionalAttributes() { + return additionalAttributes; + } + + public void setAdditionalAttributes(List additionalAttributes) { + this.additionalAttributes = additionalAttributes; } @@ -88,19 +684,69 @@ public boolean equals(Object o) { return false; } QuoteDetailsResponse quoteDetailsResponse = (QuoteDetailsResponse) o; - return Objects.equals(this.quoteDetailResponse, quoteDetailsResponse.quoteDetailResponse); + return Objects.equals(this.quoteName, quoteDetailsResponse.quoteName) && + Objects.equals(this.quoteNumber, quoteDetailsResponse.quoteNumber) && + Objects.equals(this.revision, quoteDetailsResponse.revision) && + Objects.equals(this.ingramQuoteDate, quoteDetailsResponse.ingramQuoteDate) && + Objects.equals(this.lastModifiedDate, quoteDetailsResponse.lastModifiedDate) && + Objects.equals(this.ingramQuoteExpiryDate, quoteDetailsResponse.ingramQuoteExpiryDate) && + Objects.equals(this.currencyCode, quoteDetailsResponse.currencyCode) && + Objects.equals(this.specialBidId, quoteDetailsResponse.specialBidId) && + Objects.equals(this.specialBidEffectiveDate, quoteDetailsResponse.specialBidEffectiveDate) && + Objects.equals(this.specialBidExpirationDate, quoteDetailsResponse.specialBidExpirationDate) && + Objects.equals(this.status, quoteDetailsResponse.status) && + Objects.equals(this.customerNeed, quoteDetailsResponse.customerNeed) && + Objects.equals(this.proposedSolution, quoteDetailsResponse.proposedSolution) && + Objects.equals(this.introPreamble, quoteDetailsResponse.introPreamble) && + Objects.equals(this.purchaseInstructions, quoteDetailsResponse.purchaseInstructions) && + Objects.equals(this.legalTerms, quoteDetailsResponse.legalTerms) && + Objects.equals(this.leaseInfo, quoteDetailsResponse.leaseInfo) && + Objects.equals(this.leasingInstructions, quoteDetailsResponse.leasingInstructions) && + Objects.equals(this.resellerInfo, quoteDetailsResponse.resellerInfo) && + Objects.equals(this.endUserInfo, quoteDetailsResponse.endUserInfo) && + 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.extendedQuotePriceTotal, quoteDetailsResponse.extendedQuotePriceTotal) && + Objects.equals(this.additionalAttributes, quoteDetailsResponse.additionalAttributes); } @Override public int hashCode() { - return Objects.hash(quoteDetailResponse); + return Objects.hash(quoteName, quoteNumber, revision, ingramQuoteDate, lastModifiedDate, ingramQuoteExpiryDate, currencyCode, specialBidId, specialBidEffectiveDate, specialBidExpirationDate, status, customerNeed, proposedSolution, introPreamble, purchaseInstructions, legalTerms, leaseInfo, leasingInstructions, resellerInfo, endUserInfo, products, productsCount, extendedMsrpTotal, quantityTotal, extendedQuotePriceTotal, additionalAttributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class QuoteDetailsResponse {\n"); - sb.append(" quoteDetailResponse: ").append(toIndentedString(quoteDetailResponse)).append("\n"); + 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(" ingramQuoteDate: ").append(toIndentedString(ingramQuoteDate)).append("\n"); + sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n"); + sb.append(" ingramQuoteExpiryDate: ").append(toIndentedString(ingramQuoteExpiryDate)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + 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(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" customerNeed: ").append(toIndentedString(customerNeed)).append("\n"); + sb.append(" proposedSolution: ").append(toIndentedString(proposedSolution)).append("\n"); + sb.append(" introPreamble: ").append(toIndentedString(introPreamble)).append("\n"); + sb.append(" purchaseInstructions: ").append(toIndentedString(purchaseInstructions)).append("\n"); + sb.append(" legalTerms: ").append(toIndentedString(legalTerms)).append("\n"); + sb.append(" leaseInfo: ").append(toIndentedString(leaseInfo)).append("\n"); + sb.append(" leasingInstructions: ").append(toIndentedString(leasingInstructions)).append("\n"); + sb.append(" resellerInfo: ").append(toIndentedString(resellerInfo)).append("\n"); + sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).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(" extendedQuotePriceTotal: ").append(toIndentedString(extendedQuotePriceTotal)).append("\n"); + sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -123,7 +769,32 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("quoteDetailResponse"); + openapiFields.add("quoteName"); + openapiFields.add("quoteNumber"); + openapiFields.add("revision"); + openapiFields.add("ingramQuoteDate"); + openapiFields.add("lastModifiedDate"); + openapiFields.add("ingramQuoteExpiryDate"); + openapiFields.add("currencyCode"); + openapiFields.add("specialBidId"); + openapiFields.add("specialBidEffectiveDate"); + openapiFields.add("specialBidExpirationDate"); + openapiFields.add("status"); + openapiFields.add("customerNeed"); + openapiFields.add("proposedSolution"); + openapiFields.add("introPreamble"); + openapiFields.add("purchaseInstructions"); + openapiFields.add("legalTerms"); + openapiFields.add("leaseInfo"); + openapiFields.add("leasingInstructions"); + openapiFields.add("resellerInfo"); + openapiFields.add("endUserInfo"); + openapiFields.add("products"); + openapiFields.add("productsCount"); + openapiFields.add("extendedMsrpTotal"); + openapiFields.add("quantityTotal"); + openapiFields.add("extendedQuotePriceTotal"); + openapiFields.add("additionalAttributes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -150,9 +821,95 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `quoteDetailResponse` - if (jsonObj.get("quoteDetailResponse") != null && !jsonObj.get("quoteDetailResponse").isJsonNull()) { - QuoteDetailsResponseQuoteDetailResponse.validateJsonElement(jsonObj.get("quoteDetailResponse")); + if ((jsonObj.get("quoteName") != null && !jsonObj.get("quoteName").isJsonNull()) && !jsonObj.get("quoteName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `quoteName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteName").toString())); + } + 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("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("ingramQuoteDate") != null && !jsonObj.get("ingramQuoteDate").isJsonNull()) && !jsonObj.get("ingramQuoteDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramQuoteDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramQuoteDate").toString())); + } + if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); + } + if ((jsonObj.get("ingramQuoteExpiryDate") != null && !jsonObj.get("ingramQuoteExpiryDate").isJsonNull()) && !jsonObj.get("ingramQuoteExpiryDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ingramQuoteExpiryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramQuoteExpiryDate").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("specialBidId") != null && !jsonObj.get("specialBidId").isJsonNull()) && !jsonObj.get("specialBidId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `specialBidId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specialBidId").toString())); + } + if ((jsonObj.get("specialBidEffectiveDate") != null && !jsonObj.get("specialBidEffectiveDate").isJsonNull()) && !jsonObj.get("specialBidEffectiveDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `specialBidEffectiveDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specialBidEffectiveDate").toString())); + } + 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("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("customerNeed") != null && !jsonObj.get("customerNeed").isJsonNull()) && !jsonObj.get("customerNeed").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerNeed` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNeed").toString())); + } + if ((jsonObj.get("proposedSolution") != null && !jsonObj.get("proposedSolution").isJsonNull()) && !jsonObj.get("proposedSolution").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `proposedSolution` to be a primitive type in the JSON string but got `%s`", jsonObj.get("proposedSolution").toString())); + } + if ((jsonObj.get("introPreamble") != null && !jsonObj.get("introPreamble").isJsonNull()) && !jsonObj.get("introPreamble").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `introPreamble` to be a primitive type in the JSON string but got `%s`", jsonObj.get("introPreamble").toString())); + } + if ((jsonObj.get("purchaseInstructions") != null && !jsonObj.get("purchaseInstructions").isJsonNull()) && !jsonObj.get("purchaseInstructions").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `purchaseInstructions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("purchaseInstructions").toString())); + } + if ((jsonObj.get("legalTerms") != null && !jsonObj.get("legalTerms").isJsonNull()) && !jsonObj.get("legalTerms").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `legalTerms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("legalTerms").toString())); + } + if ((jsonObj.get("leaseInfo") != null && !jsonObj.get("leaseInfo").isJsonNull()) && !jsonObj.get("leaseInfo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `leaseInfo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("leaseInfo").toString())); + } + 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())); + } + // validate the optional field `resellerInfo` + if (jsonObj.get("resellerInfo") != null && !jsonObj.get("resellerInfo").isJsonNull()) { + QuoteDetailsResponseResellerInfo.validateJsonElement(jsonObj.get("resellerInfo")); + } + // validate the optional field `endUserInfo` + if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { + QuoteDetailsResponseEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); + } + if (jsonObj.get("products") != null && !jsonObj.get("products").isJsonNull()) { + JsonArray jsonArrayproducts = jsonObj.getAsJsonArray("products"); + if (jsonArrayproducts != null) { + // ensure the json data is an array + if (!jsonObj.get("products").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `products` to be an array in the JSON string but got `%s`", jsonObj.get("products").toString())); + } + + // validate the optional field `products` (array) + for (int i = 0; i < jsonArrayproducts.size(); i++) { + QuoteDetailsResponseProductsInner.validateJsonElement(jsonArrayproducts.get(i)); + }; + } + } + 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++) { + QuoteDetailsResponseAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); + }; + } } } diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 5ced8155..693c9198 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 6bfa38d9..46181d9b 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 a281f9b2..7eddd471 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 758abbb3..93c68275 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java deleted file mode 100644 index 8b2413fe..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseResponsePreamble; -import xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse; - -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; - -/** - * QuoteDetailsResponseQuoteDetailResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsResponseQuoteDetailResponse { - public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) - private QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble; - - public static final String SERIALIZED_NAME_RETRIEVE_QUOTE_RESPONSE = "retrieveQuoteResponse"; - @SerializedName(SERIALIZED_NAME_RETRIEVE_QUOTE_RESPONSE) - private QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse; - - public QuoteDetailsResponseQuoteDetailResponse() { - } - - public QuoteDetailsResponseQuoteDetailResponse responsePreamble(QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - return this; - } - - /** - * Get responsePreamble - * @return responsePreamble - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseResponsePreamble getResponsePreamble() { - return responsePreamble; - } - - public void setResponsePreamble(QuoteDetailsQuoteDetailResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - } - - - public QuoteDetailsResponseQuoteDetailResponse retrieveQuoteResponse(QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse) { - this.retrieveQuoteResponse = retrieveQuoteResponse; - return this; - } - - /** - * Get retrieveQuoteResponse - * @return retrieveQuoteResponse - **/ - @javax.annotation.Nullable - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse getRetrieveQuoteResponse() { - return retrieveQuoteResponse; - } - - public void setRetrieveQuoteResponse(QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse retrieveQuoteResponse) { - this.retrieveQuoteResponse = retrieveQuoteResponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsResponseQuoteDetailResponse quoteDetailsResponseQuoteDetailResponse = (QuoteDetailsResponseQuoteDetailResponse) o; - return Objects.equals(this.responsePreamble, quoteDetailsResponseQuoteDetailResponse.responsePreamble) && - Objects.equals(this.retrieveQuoteResponse, quoteDetailsResponseQuoteDetailResponse.retrieveQuoteResponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsePreamble, retrieveQuoteResponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsResponseQuoteDetailResponse {\n"); - sb.append(" responsePreamble: ").append(toIndentedString(responsePreamble)).append("\n"); - sb.append(" retrieveQuoteResponse: ").append(toIndentedString(retrieveQuoteResponse)).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("responsePreamble"); - openapiFields.add("retrieveQuoteResponse"); - - // 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 QuoteDetailsResponseQuoteDetailResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsResponseQuoteDetailResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseQuoteDetailResponse is not found in the empty JSON string", QuoteDetailsResponseQuoteDetailResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsResponseQuoteDetailResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseQuoteDetailResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsePreamble` - if (jsonObj.get("responsePreamble") != null && !jsonObj.get("responsePreamble").isJsonNull()) { - QuoteDetailsQuoteDetailResponseResponsePreamble.validateJsonElement(jsonObj.get("responsePreamble")); - } - // validate the optional field `retrieveQuoteResponse` - if (jsonObj.get("retrieveQuoteResponse") != null && !jsonObj.get("retrieveQuoteResponse").isJsonNull()) { - QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.validateJsonElement(jsonObj.get("retrieveQuoteResponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsResponseQuoteDetailResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsResponseQuoteDetailResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseQuoteDetailResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsResponseQuoteDetailResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsResponseQuoteDetailResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsResponseQuoteDetailResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsResponseQuoteDetailResponse - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseQuoteDetailResponse - */ - public static QuoteDetailsResponseQuoteDetailResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseQuoteDetailResponse.class); - } - - /** - * Convert an instance of QuoteDetailsResponseQuoteDetailResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java deleted file mode 100644 index 74ce8b64..00000000 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.java +++ /dev/null @@ -1,1019 +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.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes; -import xiresellers.client.model.QuoteProductList; - -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; - -/** - * QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse { - public static final String SERIALIZED_NAME_QUOTE_GUID = "quoteGuid"; - @SerializedName(SERIALIZED_NAME_QUOTE_GUID) - private String quoteGuid; - - public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; - @SerializedName(SERIALIZED_NAME_QUOTE_NAME) - private String quoteName; - - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_QUOTE_EXPIRY_DATE = "quoteExpiryDate"; - @SerializedName(SERIALIZED_NAME_QUOTE_EXPIRY_DATE) - private String quoteExpiryDate; - - public static final String SERIALIZED_NAME_REVISION_NUMBER = "revisionNumber"; - @SerializedName(SERIALIZED_NAME_REVISION_NUMBER) - private String revisionNumber; - - public static final String SERIALIZED_NAME_INTRO_PREAMBLE = "introPreamble"; - @SerializedName(SERIALIZED_NAME_INTRO_PREAMBLE) - private String introPreamble; - - public static final String SERIALIZED_NAME_PURCHASE_INSTRUCTIONS = "purchaseInstructions"; - @SerializedName(SERIALIZED_NAME_PURCHASE_INSTRUCTIONS) - private String purchaseInstructions; - - public static final String SERIALIZED_NAME_LEGAL_TERMS = "legalTerms"; - @SerializedName(SERIALIZED_NAME_LEGAL_TERMS) - private String legalTerms; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_ID = "priceDeviationId"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_ID) - private String priceDeviationId; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_START_DATE = "priceDeviationStartDate"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_START_DATE) - private String priceDeviationStartDate; - - public static final String SERIALIZED_NAME_PRICE_DEVIATION_EXPIRY_DATE = "priceDeviationExpiryDate"; - @SerializedName(SERIALIZED_NAME_PRICE_DEVIATION_EXPIRY_DATE) - private String priceDeviationExpiryDate; - - public static final String SERIALIZED_NAME_CUSTOMER_NEED = "customerNeed"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_NEED) - private String customerNeed; - - public static final String SERIALIZED_NAME_SOLUTION_PROPOSED = "solutionProposed"; - @SerializedName(SERIALIZED_NAME_SOLUTION_PROPOSED) - private String solutionProposed; - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) - private String created; - - public static final String SERIALIZED_NAME_MODIFIED = "modified"; - @SerializedName(SERIALIZED_NAME_MODIFIED) - private String modified; - - public static final String SERIALIZED_NAME_LEASING_CALCULATIONS = "leasingCalculations"; - @SerializedName(SERIALIZED_NAME_LEASING_CALCULATIONS) - private String leasingCalculations; - - public static final String SERIALIZED_NAME_LEASING_INSTRUCTIONS = "leasingInstructions"; - @SerializedName(SERIALIZED_NAME_LEASING_INSTRUCTIONS) - private String leasingInstructions; - - public static final String SERIALIZED_NAME_ACCOUNT_INFO = "accountInfo"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_INFO) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo; - - public static final String SERIALIZED_NAME_CONTACT_INFO = "contactInfo"; - @SerializedName(SERIALIZED_NAME_CONTACT_INFO) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo; - - public static final String SERIALIZED_NAME_VENDOR_ATTRIBUTES = "vendorAttributes"; - @SerializedName(SERIALIZED_NAME_VENDOR_ATTRIBUTES) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes; - - public static final String SERIALIZED_NAME_END_USER = "endUser"; - @SerializedName(SERIALIZED_NAME_END_USER) - private QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser; - - public static final String SERIALIZED_NAME_QUOTE_PRODUCT_LIST = "quoteProductList"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_LIST) - private List quoteProductList; - - public static final String SERIALIZED_NAME_TOTAL_QUOTE_PRODUCT_COUNT = "totalQuoteProductCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_QUOTE_PRODUCT_COUNT) - private String totalQuoteProductCount; - - public static final String SERIALIZED_NAME_TOTAL_EXTENDED_MSRP = "totalExtendedMsrp"; - @SerializedName(SERIALIZED_NAME_TOTAL_EXTENDED_MSRP) - private String totalExtendedMsrp; - - public static final String SERIALIZED_NAME_TOTAL_QUANTITY = "totalQuantity"; - @SerializedName(SERIALIZED_NAME_TOTAL_QUANTITY) - private String totalQuantity; - - public static final String SERIALIZED_NAME_TOTAL_EXTENDED_QUOTE_PRICE = "totalExtendedQuotePrice"; - @SerializedName(SERIALIZED_NAME_TOTAL_EXTENDED_QUOTE_PRICE) - private String totalExtendedQuotePrice; - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse() { - } - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse 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 QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse quoteName(String quoteName) { - this.quoteName = quoteName; - return this; - } - - /** - * Get quoteName - * @return quoteName - **/ - @javax.annotation.Nullable - public String getQuoteName() { - return quoteName; - } - - public void setQuoteName(String quoteName) { - this.quoteName = quoteName; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * Get quoteNumber - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse quoteExpiryDate(String quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - return this; - } - - /** - * Get quoteExpiryDate - * @return quoteExpiryDate - **/ - @javax.annotation.Nullable - public String getQuoteExpiryDate() { - return quoteExpiryDate; - } - - public void setQuoteExpiryDate(String quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse revisionNumber(String revisionNumber) { - this.revisionNumber = revisionNumber; - return this; - } - - /** - * Get revisionNumber - * @return revisionNumber - **/ - @javax.annotation.Nullable - public String getRevisionNumber() { - return revisionNumber; - } - - public void setRevisionNumber(String revisionNumber) { - this.revisionNumber = revisionNumber; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse introPreamble(String introPreamble) { - this.introPreamble = introPreamble; - return this; - } - - /** - * Get introPreamble - * @return introPreamble - **/ - @javax.annotation.Nullable - public String getIntroPreamble() { - return introPreamble; - } - - public void setIntroPreamble(String introPreamble) { - this.introPreamble = introPreamble; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse purchaseInstructions(String purchaseInstructions) { - this.purchaseInstructions = purchaseInstructions; - return this; - } - - /** - * Get purchaseInstructions - * @return purchaseInstructions - **/ - @javax.annotation.Nullable - public String getPurchaseInstructions() { - return purchaseInstructions; - } - - public void setPurchaseInstructions(String purchaseInstructions) { - this.purchaseInstructions = purchaseInstructions; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse legalTerms(String legalTerms) { - this.legalTerms = legalTerms; - return this; - } - - /** - * Get legalTerms - * @return legalTerms - **/ - @javax.annotation.Nullable - public String getLegalTerms() { - return legalTerms; - } - - public void setLegalTerms(String legalTerms) { - this.legalTerms = legalTerms; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse currencyCode(String currencyCode) { - this.currencyCode = currencyCode; - return this; - } - - /** - * Get currencyCode - * @return currencyCode - **/ - @javax.annotation.Nullable - public String getCurrencyCode() { - return currencyCode; - } - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse priceDeviationId(String priceDeviationId) { - this.priceDeviationId = priceDeviationId; - return this; - } - - /** - * Get priceDeviationId - * @return priceDeviationId - **/ - @javax.annotation.Nullable - public String getPriceDeviationId() { - return priceDeviationId; - } - - public void setPriceDeviationId(String priceDeviationId) { - this.priceDeviationId = priceDeviationId; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse priceDeviationStartDate(String priceDeviationStartDate) { - this.priceDeviationStartDate = priceDeviationStartDate; - return this; - } - - /** - * Get priceDeviationStartDate - * @return priceDeviationStartDate - **/ - @javax.annotation.Nullable - public String getPriceDeviationStartDate() { - return priceDeviationStartDate; - } - - public void setPriceDeviationStartDate(String priceDeviationStartDate) { - this.priceDeviationStartDate = priceDeviationStartDate; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse priceDeviationExpiryDate(String priceDeviationExpiryDate) { - this.priceDeviationExpiryDate = priceDeviationExpiryDate; - return this; - } - - /** - * Get priceDeviationExpiryDate - * @return priceDeviationExpiryDate - **/ - @javax.annotation.Nullable - public String getPriceDeviationExpiryDate() { - return priceDeviationExpiryDate; - } - - public void setPriceDeviationExpiryDate(String priceDeviationExpiryDate) { - this.priceDeviationExpiryDate = priceDeviationExpiryDate; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse customerNeed(String customerNeed) { - this.customerNeed = customerNeed; - return this; - } - - /** - * Get customerNeed - * @return customerNeed - **/ - @javax.annotation.Nullable - public String getCustomerNeed() { - return customerNeed; - } - - public void setCustomerNeed(String customerNeed) { - this.customerNeed = customerNeed; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse solutionProposed(String solutionProposed) { - this.solutionProposed = solutionProposed; - return this; - } - - /** - * Get solutionProposed - * @return solutionProposed - **/ - @javax.annotation.Nullable - public String getSolutionProposed() { - return solutionProposed; - } - - public void setSolutionProposed(String solutionProposed) { - this.solutionProposed = solutionProposed; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse status(String status) { - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse created(String created) { - this.created = created; - return this; - } - - /** - * Get created - * @return created - **/ - @javax.annotation.Nullable - public String getCreated() { - return created; - } - - public void setCreated(String created) { - this.created = created; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse modified(String modified) { - this.modified = modified; - return this; - } - - /** - * Get modified - * @return modified - **/ - @javax.annotation.Nullable - public String getModified() { - return modified; - } - - public void setModified(String modified) { - this.modified = modified; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse leasingCalculations(String leasingCalculations) { - this.leasingCalculations = leasingCalculations; - return this; - } - - /** - * Get leasingCalculations - * @return leasingCalculations - **/ - @javax.annotation.Nullable - public String getLeasingCalculations() { - return leasingCalculations; - } - - public void setLeasingCalculations(String leasingCalculations) { - this.leasingCalculations = leasingCalculations; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse leasingInstructions(String leasingInstructions) { - this.leasingInstructions = leasingInstructions; - return this; - } - - /** - * Get leasingInstructions - * @return leasingInstructions - **/ - @javax.annotation.Nullable - public String getLeasingInstructions() { - return leasingInstructions; - } - - public void setLeasingInstructions(String leasingInstructions) { - this.leasingInstructions = leasingInstructions; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse accountInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo) { - this.accountInfo = accountInfo; - return this; - } - - /** - * Get accountInfo - * @return accountInfo - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo getAccountInfo() { - return accountInfo; - } - - public void setAccountInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo accountInfo) { - this.accountInfo = accountInfo; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse contactInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo) { - this.contactInfo = contactInfo; - return this; - } - - /** - * Get contactInfo - * @return contactInfo - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo getContactInfo() { - return contactInfo; - } - - public void setContactInfo(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo contactInfo) { - this.contactInfo = contactInfo; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse vendorAttributes(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes) { - this.vendorAttributes = vendorAttributes; - return this; - } - - /** - * Get vendorAttributes - * @return vendorAttributes - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes getVendorAttributes() { - return vendorAttributes; - } - - public void setVendorAttributes(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes vendorAttributes) { - this.vendorAttributes = vendorAttributes; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse endUser(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser) { - this.endUser = endUser; - return this; - } - - /** - * Get endUser - * @return endUser - **/ - @javax.annotation.Nullable - public QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser getEndUser() { - return endUser; - } - - public void setEndUser(QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser endUser) { - this.endUser = endUser; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse quoteProductList(List quoteProductList) { - this.quoteProductList = quoteProductList; - return this; - } - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse addQuoteProductListItem(QuoteProductList quoteProductListItem) { - if (this.quoteProductList == null) { - this.quoteProductList = new ArrayList<>(); - } - this.quoteProductList.add(quoteProductListItem); - return this; - } - - /** - * Get quoteProductList - * @return quoteProductList - **/ - @javax.annotation.Nullable - public List getQuoteProductList() { - return quoteProductList; - } - - public void setQuoteProductList(List quoteProductList) { - this.quoteProductList = quoteProductList; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse totalQuoteProductCount(String totalQuoteProductCount) { - this.totalQuoteProductCount = totalQuoteProductCount; - return this; - } - - /** - * Get totalQuoteProductCount - * @return totalQuoteProductCount - **/ - @javax.annotation.Nullable - public String getTotalQuoteProductCount() { - return totalQuoteProductCount; - } - - public void setTotalQuoteProductCount(String totalQuoteProductCount) { - this.totalQuoteProductCount = totalQuoteProductCount; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse totalExtendedMsrp(String totalExtendedMsrp) { - this.totalExtendedMsrp = totalExtendedMsrp; - return this; - } - - /** - * Get totalExtendedMsrp - * @return totalExtendedMsrp - **/ - @javax.annotation.Nullable - public String getTotalExtendedMsrp() { - return totalExtendedMsrp; - } - - public void setTotalExtendedMsrp(String totalExtendedMsrp) { - this.totalExtendedMsrp = totalExtendedMsrp; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse totalQuantity(String totalQuantity) { - this.totalQuantity = totalQuantity; - return this; - } - - /** - * Get totalQuantity - * @return totalQuantity - **/ - @javax.annotation.Nullable - public String getTotalQuantity() { - return totalQuantity; - } - - public void setTotalQuantity(String totalQuantity) { - this.totalQuantity = totalQuantity; - } - - - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse totalExtendedQuotePrice(String totalExtendedQuotePrice) { - this.totalExtendedQuotePrice = totalExtendedQuotePrice; - return this; - } - - /** - * Get totalExtendedQuotePrice - * @return totalExtendedQuotePrice - **/ - @javax.annotation.Nullable - public String getTotalExtendedQuotePrice() { - return totalExtendedQuotePrice; - } - - public void setTotalExtendedQuotePrice(String totalExtendedQuotePrice) { - this.totalExtendedQuotePrice = totalExtendedQuotePrice; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse = (QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse) o; - return Objects.equals(this.quoteGuid, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.quoteGuid) && - Objects.equals(this.quoteName, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.quoteName) && - Objects.equals(this.quoteNumber, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.quoteNumber) && - Objects.equals(this.quoteExpiryDate, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.quoteExpiryDate) && - Objects.equals(this.revisionNumber, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.revisionNumber) && - Objects.equals(this.introPreamble, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.introPreamble) && - Objects.equals(this.purchaseInstructions, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.purchaseInstructions) && - Objects.equals(this.legalTerms, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.legalTerms) && - Objects.equals(this.currencyCode, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.currencyCode) && - Objects.equals(this.priceDeviationId, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.priceDeviationId) && - Objects.equals(this.priceDeviationStartDate, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.priceDeviationStartDate) && - Objects.equals(this.priceDeviationExpiryDate, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.priceDeviationExpiryDate) && - Objects.equals(this.customerNeed, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.customerNeed) && - Objects.equals(this.solutionProposed, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.solutionProposed) && - Objects.equals(this.status, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.status) && - Objects.equals(this.created, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.created) && - Objects.equals(this.modified, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.modified) && - Objects.equals(this.leasingCalculations, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.leasingCalculations) && - Objects.equals(this.leasingInstructions, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.leasingInstructions) && - Objects.equals(this.accountInfo, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.accountInfo) && - Objects.equals(this.contactInfo, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.contactInfo) && - Objects.equals(this.vendorAttributes, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.vendorAttributes) && - Objects.equals(this.endUser, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.endUser) && - Objects.equals(this.quoteProductList, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.quoteProductList) && - Objects.equals(this.totalQuoteProductCount, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.totalQuoteProductCount) && - Objects.equals(this.totalExtendedMsrp, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.totalExtendedMsrp) && - Objects.equals(this.totalQuantity, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.totalQuantity) && - Objects.equals(this.totalExtendedQuotePrice, quoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.totalExtendedQuotePrice); - } - - @Override - public int hashCode() { - return Objects.hash(quoteGuid, quoteName, quoteNumber, quoteExpiryDate, revisionNumber, introPreamble, purchaseInstructions, legalTerms, currencyCode, priceDeviationId, priceDeviationStartDate, priceDeviationExpiryDate, customerNeed, solutionProposed, status, created, modified, leasingCalculations, leasingInstructions, accountInfo, contactInfo, vendorAttributes, endUser, quoteProductList, totalQuoteProductCount, totalExtendedMsrp, totalQuantity, totalExtendedQuotePrice); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse {\n"); - sb.append(" quoteGuid: ").append(toIndentedString(quoteGuid)).append("\n"); - sb.append(" quoteName: ").append(toIndentedString(quoteName)).append("\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" quoteExpiryDate: ").append(toIndentedString(quoteExpiryDate)).append("\n"); - sb.append(" revisionNumber: ").append(toIndentedString(revisionNumber)).append("\n"); - sb.append(" introPreamble: ").append(toIndentedString(introPreamble)).append("\n"); - sb.append(" purchaseInstructions: ").append(toIndentedString(purchaseInstructions)).append("\n"); - sb.append(" legalTerms: ").append(toIndentedString(legalTerms)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" priceDeviationId: ").append(toIndentedString(priceDeviationId)).append("\n"); - sb.append(" priceDeviationStartDate: ").append(toIndentedString(priceDeviationStartDate)).append("\n"); - sb.append(" priceDeviationExpiryDate: ").append(toIndentedString(priceDeviationExpiryDate)).append("\n"); - sb.append(" customerNeed: ").append(toIndentedString(customerNeed)).append("\n"); - sb.append(" solutionProposed: ").append(toIndentedString(solutionProposed)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" modified: ").append(toIndentedString(modified)).append("\n"); - sb.append(" leasingCalculations: ").append(toIndentedString(leasingCalculations)).append("\n"); - sb.append(" leasingInstructions: ").append(toIndentedString(leasingInstructions)).append("\n"); - sb.append(" accountInfo: ").append(toIndentedString(accountInfo)).append("\n"); - sb.append(" contactInfo: ").append(toIndentedString(contactInfo)).append("\n"); - sb.append(" vendorAttributes: ").append(toIndentedString(vendorAttributes)).append("\n"); - sb.append(" endUser: ").append(toIndentedString(endUser)).append("\n"); - sb.append(" quoteProductList: ").append(toIndentedString(quoteProductList)).append("\n"); - sb.append(" totalQuoteProductCount: ").append(toIndentedString(totalQuoteProductCount)).append("\n"); - sb.append(" totalExtendedMsrp: ").append(toIndentedString(totalExtendedMsrp)).append("\n"); - sb.append(" totalQuantity: ").append(toIndentedString(totalQuantity)).append("\n"); - sb.append(" totalExtendedQuotePrice: ").append(toIndentedString(totalExtendedQuotePrice)).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("quoteGuid"); - openapiFields.add("quoteName"); - openapiFields.add("quoteNumber"); - openapiFields.add("quoteExpiryDate"); - openapiFields.add("revisionNumber"); - openapiFields.add("introPreamble"); - openapiFields.add("purchaseInstructions"); - openapiFields.add("legalTerms"); - openapiFields.add("currencyCode"); - openapiFields.add("priceDeviationId"); - openapiFields.add("priceDeviationStartDate"); - openapiFields.add("priceDeviationExpiryDate"); - openapiFields.add("customerNeed"); - openapiFields.add("solutionProposed"); - openapiFields.add("status"); - openapiFields.add("created"); - openapiFields.add("modified"); - openapiFields.add("leasingCalculations"); - openapiFields.add("leasingInstructions"); - openapiFields.add("accountInfo"); - openapiFields.add("contactInfo"); - openapiFields.add("vendorAttributes"); - openapiFields.add("endUser"); - openapiFields.add("quoteProductList"); - openapiFields.add("totalQuoteProductCount"); - openapiFields.add("totalExtendedMsrp"); - openapiFields.add("totalQuantity"); - openapiFields.add("totalExtendedQuotePrice"); - - // 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 QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse is not found in the empty JSON string", QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("quoteName") != null && !jsonObj.get("quoteName").isJsonNull()) && !jsonObj.get("quoteName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteName").toString())); - } - 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("quoteExpiryDate") != null && !jsonObj.get("quoteExpiryDate").isJsonNull()) && !jsonObj.get("quoteExpiryDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteExpiryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteExpiryDate").toString())); - } - if ((jsonObj.get("revisionNumber") != null && !jsonObj.get("revisionNumber").isJsonNull()) && !jsonObj.get("revisionNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `revisionNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("revisionNumber").toString())); - } - if ((jsonObj.get("introPreamble") != null && !jsonObj.get("introPreamble").isJsonNull()) && !jsonObj.get("introPreamble").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `introPreamble` to be a primitive type in the JSON string but got `%s`", jsonObj.get("introPreamble").toString())); - } - if ((jsonObj.get("purchaseInstructions") != null && !jsonObj.get("purchaseInstructions").isJsonNull()) && !jsonObj.get("purchaseInstructions").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `purchaseInstructions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("purchaseInstructions").toString())); - } - if ((jsonObj.get("legalTerms") != null && !jsonObj.get("legalTerms").isJsonNull()) && !jsonObj.get("legalTerms").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `legalTerms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("legalTerms").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("priceDeviationId") != null && !jsonObj.get("priceDeviationId").isJsonNull()) && !jsonObj.get("priceDeviationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `priceDeviationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priceDeviationId").toString())); - } - if ((jsonObj.get("priceDeviationStartDate") != null && !jsonObj.get("priceDeviationStartDate").isJsonNull()) && !jsonObj.get("priceDeviationStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `priceDeviationStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priceDeviationStartDate").toString())); - } - if ((jsonObj.get("priceDeviationExpiryDate") != null && !jsonObj.get("priceDeviationExpiryDate").isJsonNull()) && !jsonObj.get("priceDeviationExpiryDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `priceDeviationExpiryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priceDeviationExpiryDate").toString())); - } - if ((jsonObj.get("customerNeed") != null && !jsonObj.get("customerNeed").isJsonNull()) && !jsonObj.get("customerNeed").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerNeed` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerNeed").toString())); - } - if ((jsonObj.get("solutionProposed") != null && !jsonObj.get("solutionProposed").isJsonNull()) && !jsonObj.get("solutionProposed").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `solutionProposed` to be a primitive type in the JSON string but got `%s`", jsonObj.get("solutionProposed").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("created") != null && !jsonObj.get("created").isJsonNull()) && !jsonObj.get("created").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `created` to be a primitive type in the JSON string but got `%s`", jsonObj.get("created").toString())); - } - if ((jsonObj.get("modified") != null && !jsonObj.get("modified").isJsonNull()) && !jsonObj.get("modified").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `modified` to be a primitive type in the JSON string but got `%s`", jsonObj.get("modified").toString())); - } - if ((jsonObj.get("leasingCalculations") != null && !jsonObj.get("leasingCalculations").isJsonNull()) && !jsonObj.get("leasingCalculations").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `leasingCalculations` to be a primitive type in the JSON string but got `%s`", jsonObj.get("leasingCalculations").toString())); - } - 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())); - } - // validate the optional field `accountInfo` - if (jsonObj.get("accountInfo") != null && !jsonObj.get("accountInfo").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo.validateJsonElement(jsonObj.get("accountInfo")); - } - // validate the optional field `contactInfo` - if (jsonObj.get("contactInfo") != null && !jsonObj.get("contactInfo").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo.validateJsonElement(jsonObj.get("contactInfo")); - } - // validate the optional field `vendorAttributes` - if (jsonObj.get("vendorAttributes") != null && !jsonObj.get("vendorAttributes").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes.validateJsonElement(jsonObj.get("vendorAttributes")); - } - // validate the optional field `endUser` - if (jsonObj.get("endUser") != null && !jsonObj.get("endUser").isJsonNull()) { - QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser.validateJsonElement(jsonObj.get("endUser")); - } - if (jsonObj.get("quoteProductList") != null && !jsonObj.get("quoteProductList").isJsonNull()) { - JsonArray jsonArrayquoteProductList = jsonObj.getAsJsonArray("quoteProductList"); - if (jsonArrayquoteProductList != null) { - // ensure the json data is an array - if (!jsonObj.get("quoteProductList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteProductList` to be an array in the JSON string but got `%s`", jsonObj.get("quoteProductList").toString())); - } - - // validate the optional field `quoteProductList` (array) - for (int i = 0; i < jsonArrayquoteProductList.size(); i++) { - QuoteProductList.validateJsonElement(jsonArrayquoteProductList.get(i)); - }; - } - } - if ((jsonObj.get("totalQuoteProductCount") != null && !jsonObj.get("totalQuoteProductCount").isJsonNull()) && !jsonObj.get("totalQuoteProductCount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalQuoteProductCount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalQuoteProductCount").toString())); - } - if ((jsonObj.get("totalExtendedMsrp") != null && !jsonObj.get("totalExtendedMsrp").isJsonNull()) && !jsonObj.get("totalExtendedMsrp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalExtendedMsrp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalExtendedMsrp").toString())); - } - if ((jsonObj.get("totalQuantity") != null && !jsonObj.get("totalQuantity").isJsonNull()) && !jsonObj.get("totalQuantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalQuantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalQuantity").toString())); - } - if ((jsonObj.get("totalExtendedQuotePrice") != null && !jsonObj.get("totalExtendedQuotePrice").isJsonNull()) && !jsonObj.get("totalExtendedQuotePrice").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalExtendedQuotePrice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalExtendedQuotePrice").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - * @throws IOException if the JSON string is invalid with respect to QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - */ - public static QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse.class); - } - - /** - * Convert an instance of QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse 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 9272ea21..9c0dcb02 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteListResponse.java b/src/main/java/xiresellers/client/model/QuoteListResponse.java deleted file mode 100644 index f3a7ec89..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.QuoteListResponseQuoteSearchResponse; - -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; - -/** - * Response schema for get quote list endpoint - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteListResponse { - public static final String SERIALIZED_NAME_QUOTE_SEARCH_RESPONSE = "quoteSearchResponse"; - @SerializedName(SERIALIZED_NAME_QUOTE_SEARCH_RESPONSE) - private QuoteListResponseQuoteSearchResponse quoteSearchResponse; - - public QuoteListResponse() { - } - - public QuoteListResponse quoteSearchResponse(QuoteListResponseQuoteSearchResponse quoteSearchResponse) { - this.quoteSearchResponse = quoteSearchResponse; - return this; - } - - /** - * Get quoteSearchResponse - * @return quoteSearchResponse - **/ - @javax.annotation.Nullable - public QuoteListResponseQuoteSearchResponse getQuoteSearchResponse() { - return quoteSearchResponse; - } - - public void setQuoteSearchResponse(QuoteListResponseQuoteSearchResponse quoteSearchResponse) { - this.quoteSearchResponse = quoteSearchResponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListResponse quoteListResponse = (QuoteListResponse) o; - return Objects.equals(this.quoteSearchResponse, quoteListResponse.quoteSearchResponse); - } - - @Override - public int hashCode() { - return Objects.hash(quoteSearchResponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListResponse {\n"); - sb.append(" quoteSearchResponse: ").append(toIndentedString(quoteSearchResponse)).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("quoteSearchResponse"); - - // 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 QuoteListResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListResponse is not found in the empty JSON string", QuoteListResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `quoteSearchResponse` - if (jsonObj.get("quoteSearchResponse") != null && !jsonObj.get("quoteSearchResponse").isJsonNull()) { - QuoteListResponseQuoteSearchResponse.validateJsonElement(jsonObj.get("quoteSearchResponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListResponse - * @throws IOException if the JSON string is invalid with respect to QuoteListResponse - */ - public static QuoteListResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListResponse.class); - } - - /** - * Convert an instance of QuoteListResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java deleted file mode 100644 index b2abdfb9..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponse.java +++ /dev/null @@ -1,285 +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.QuoteListResponseQuoteSearchResponseQuoteListInner; -import xiresellers.client.model.QuoteListResponseQuoteSearchResponseResponsePreamble; - -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; - -/** - * QuoteListResponseQuoteSearchResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteListResponseQuoteSearchResponse { - public static final String SERIALIZED_NAME_RESPONSE_PREAMBLE = "responsePreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSE_PREAMBLE) - private QuoteListResponseQuoteSearchResponseResponsePreamble responsePreamble; - - public static final String SERIALIZED_NAME_QUOTE_LIST = "quoteList"; - @SerializedName(SERIALIZED_NAME_QUOTE_LIST) - private List quoteList; - - public static final String SERIALIZED_NAME_TOTAL_COUNT = "totalCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_COUNT) - private Integer totalCount; - - public QuoteListResponseQuoteSearchResponse() { - } - - public QuoteListResponseQuoteSearchResponse responsePreamble(QuoteListResponseQuoteSearchResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - return this; - } - - /** - * Get responsePreamble - * @return responsePreamble - **/ - @javax.annotation.Nullable - public QuoteListResponseQuoteSearchResponseResponsePreamble getResponsePreamble() { - return responsePreamble; - } - - public void setResponsePreamble(QuoteListResponseQuoteSearchResponseResponsePreamble responsePreamble) { - this.responsePreamble = responsePreamble; - } - - - public QuoteListResponseQuoteSearchResponse quoteList(List quoteList) { - this.quoteList = quoteList; - return this; - } - - public QuoteListResponseQuoteSearchResponse addQuoteListItem(QuoteListResponseQuoteSearchResponseQuoteListInner quoteListItem) { - if (this.quoteList == null) { - this.quoteList = new ArrayList<>(); - } - this.quoteList.add(quoteListItem); - return this; - } - - /** - * Get quoteList - * @return quoteList - **/ - @javax.annotation.Nullable - public List getQuoteList() { - return quoteList; - } - - public void setQuoteList(List quoteList) { - this.quoteList = quoteList; - } - - - public QuoteListResponseQuoteSearchResponse totalCount(Integer totalCount) { - this.totalCount = totalCount; - return this; - } - - /** - * Total count of quotes retrieved in the request response. - * @return totalCount - **/ - @javax.annotation.Nullable - public Integer getTotalCount() { - return totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListResponseQuoteSearchResponse quoteListResponseQuoteSearchResponse = (QuoteListResponseQuoteSearchResponse) o; - return Objects.equals(this.responsePreamble, quoteListResponseQuoteSearchResponse.responsePreamble) && - Objects.equals(this.quoteList, quoteListResponseQuoteSearchResponse.quoteList) && - Objects.equals(this.totalCount, quoteListResponseQuoteSearchResponse.totalCount); - } - - @Override - public int hashCode() { - return Objects.hash(responsePreamble, quoteList, totalCount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListResponseQuoteSearchResponse {\n"); - sb.append(" responsePreamble: ").append(toIndentedString(responsePreamble)).append("\n"); - sb.append(" quoteList: ").append(toIndentedString(quoteList)).append("\n"); - sb.append(" totalCount: ").append(toIndentedString(totalCount)).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("responsePreamble"); - openapiFields.add("quoteList"); - openapiFields.add("totalCount"); - - // 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 QuoteListResponseQuoteSearchResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListResponseQuoteSearchResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListResponseQuoteSearchResponse is not found in the empty JSON string", QuoteListResponseQuoteSearchResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListResponseQuoteSearchResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListResponseQuoteSearchResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsePreamble` - if (jsonObj.get("responsePreamble") != null && !jsonObj.get("responsePreamble").isJsonNull()) { - QuoteListResponseQuoteSearchResponseResponsePreamble.validateJsonElement(jsonObj.get("responsePreamble")); - } - if (jsonObj.get("quoteList") != null && !jsonObj.get("quoteList").isJsonNull()) { - JsonArray jsonArrayquoteList = jsonObj.getAsJsonArray("quoteList"); - if (jsonArrayquoteList != null) { - // ensure the json data is an array - if (!jsonObj.get("quoteList").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteList` to be an array in the JSON string but got `%s`", jsonObj.get("quoteList").toString())); - } - - // validate the optional field `quoteList` (array) - for (int i = 0; i < jsonArrayquoteList.size(); i++) { - QuoteListResponseQuoteSearchResponseQuoteListInner.validateJsonElement(jsonArrayquoteList.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListResponseQuoteSearchResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListResponseQuoteSearchResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListResponseQuoteSearchResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListResponseQuoteSearchResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListResponseQuoteSearchResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListResponseQuoteSearchResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListResponseQuoteSearchResponse - * @throws IOException if the JSON string is invalid with respect to QuoteListResponseQuoteSearchResponse - */ - public static QuoteListResponseQuoteSearchResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListResponseQuoteSearchResponse.class); - } - - /** - * Convert an instance of QuoteListResponseQuoteSearchResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java deleted file mode 100644 index c268d387..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInner.java +++ /dev/null @@ -1,456 +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.time.LocalDate; -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; - -/** - * QuoteListResponseQuoteSearchResponseQuoteListInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteListResponseQuoteSearchResponseQuoteListInner { - public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; - @SerializedName(SERIALIZED_NAME_QUOTE_NAME) - private String quoteName; - - public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; - @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) - private String quoteNumber; - - public static final String SERIALIZED_NAME_REVISION_NUMBER = "revisionNumber"; - @SerializedName(SERIALIZED_NAME_REVISION_NUMBER) - private Integer revisionNumber; - - public static final String SERIALIZED_NAME_END_USER_NAME = "endUserName"; - @SerializedName(SERIALIZED_NAME_END_USER_NAME) - private String endUserName; - - public static final String SERIALIZED_NAME_BID_NUMBER = "bidNumber"; - @SerializedName(SERIALIZED_NAME_BID_NUMBER) - private String bidNumber; - - public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "totalAmount"; - @SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT) - private String totalAmount; - - public static final String SERIALIZED_NAME_QUOTE_STATUS = "quoteStatus"; - @SerializedName(SERIALIZED_NAME_QUOTE_STATUS) - private String quoteStatus; - - public static final String SERIALIZED_NAME_CREATED_DATE = "createdDate"; - @SerializedName(SERIALIZED_NAME_CREATED_DATE) - private LocalDate createdDate; - - public static final String SERIALIZED_NAME_LAST_MODIFIED_DATE = "lastModifiedDate"; - @SerializedName(SERIALIZED_NAME_LAST_MODIFIED_DATE) - private LocalDate lastModifiedDate; - - public static final String SERIALIZED_NAME_QUOTE_EXPIRY_DATE = "quoteExpiryDate"; - @SerializedName(SERIALIZED_NAME_QUOTE_EXPIRY_DATE) - private LocalDate quoteExpiryDate; - - public QuoteListResponseQuoteSearchResponseQuoteListInner() { - } - - public QuoteListResponseQuoteSearchResponseQuoteListInner quoteName(String quoteName) { - this.quoteName = quoteName; - return this; - } - - /** - * Quote Name given to quote by sales team or system generated. Generally used as a reference to identify the quote. - * @return quoteName - **/ - @javax.annotation.Nullable - public String getQuoteName() { - return quoteName; - } - - public void setQuoteName(String quoteName) { - this.quoteName = quoteName; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner quoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - return this; - } - - /** - * 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. - * @return quoteNumber - **/ - @javax.annotation.Nullable - public String getQuoteNumber() { - return quoteNumber; - } - - public void setQuoteNumber(String quoteNumber) { - this.quoteNumber = quoteNumber; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner revisionNumber(Integer revisionNumber) { - this.revisionNumber = revisionNumber; - return this; - } - - /** - * 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. - * @return revisionNumber - **/ - @javax.annotation.Nullable - public Integer getRevisionNumber() { - return revisionNumber; - } - - public void setRevisionNumber(Integer revisionNumber) { - this.revisionNumber = revisionNumber; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner endUserName(String endUserName) { - this.endUserName = endUserName; - return this; - } - - /** - * End User Name is the end customer name that is associated with a quote in Ingram Micro's CRM - * @return endUserName - **/ - @javax.annotation.Nullable - public String getEndUserName() { - return endUserName; - } - - public void setEndUserName(String endUserName) { - this.endUserName = endUserName; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner bidNumber(String bidNumber) { - this.bidNumber = bidNumber; - return this; - } - - /** - * Special Pricing Bid Number, also refers to as Dart Number relates to a unique pricing deal associated with a vendor for the quote. - * @return bidNumber - **/ - @javax.annotation.Nullable - public String getBidNumber() { - return bidNumber; - } - - public void setBidNumber(String bidNumber) { - this.bidNumber = bidNumber; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner totalAmount(String totalAmount) { - this.totalAmount = totalAmount; - return this; - } - - /** - * Total amount of quoted price for all products in the quote. - * @return totalAmount - **/ - @javax.annotation.Nullable - public String getTotalAmount() { - return totalAmount; - } - - public void setTotalAmount(String totalAmount) { - this.totalAmount = totalAmount; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner quoteStatus(String quoteStatus) { - this.quoteStatus = quoteStatus; - return this; - } - - /** - * This refers to the primary status of the quote. API responses will return: Active - * @return quoteStatus - **/ - @javax.annotation.Nullable - public String getQuoteStatus() { - return quoteStatus; - } - - public void setQuoteStatus(String quoteStatus) { - this.quoteStatus = quoteStatus; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner createdDate(LocalDate createdDate) { - this.createdDate = createdDate; - return this; - } - - /** - * Date the Quote was initially Created - * @return createdDate - **/ - @javax.annotation.Nullable - public LocalDate getCreatedDate() { - return createdDate; - } - - public void setCreatedDate(LocalDate createdDate) { - this.createdDate = createdDate; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner lastModifiedDate(LocalDate lastModifiedDate) { - this.lastModifiedDate = lastModifiedDate; - return this; - } - - /** - * Date the Quote was last updated or modified. - * @return lastModifiedDate - **/ - @javax.annotation.Nullable - public LocalDate getLastModifiedDate() { - return lastModifiedDate; - } - - public void setLastModifiedDate(LocalDate lastModifiedDate) { - this.lastModifiedDate = lastModifiedDate; - } - - - public QuoteListResponseQuoteSearchResponseQuoteListInner quoteExpiryDate(LocalDate quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - return this; - } - - /** - * Date the Quote Expires - * @return quoteExpiryDate - **/ - @javax.annotation.Nullable - public LocalDate getQuoteExpiryDate() { - return quoteExpiryDate; - } - - public void setQuoteExpiryDate(LocalDate quoteExpiryDate) { - this.quoteExpiryDate = quoteExpiryDate; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListResponseQuoteSearchResponseQuoteListInner quoteListResponseQuoteSearchResponseQuoteListInner = (QuoteListResponseQuoteSearchResponseQuoteListInner) o; - return Objects.equals(this.quoteName, quoteListResponseQuoteSearchResponseQuoteListInner.quoteName) && - Objects.equals(this.quoteNumber, quoteListResponseQuoteSearchResponseQuoteListInner.quoteNumber) && - Objects.equals(this.revisionNumber, quoteListResponseQuoteSearchResponseQuoteListInner.revisionNumber) && - Objects.equals(this.endUserName, quoteListResponseQuoteSearchResponseQuoteListInner.endUserName) && - Objects.equals(this.bidNumber, quoteListResponseQuoteSearchResponseQuoteListInner.bidNumber) && - Objects.equals(this.totalAmount, quoteListResponseQuoteSearchResponseQuoteListInner.totalAmount) && - Objects.equals(this.quoteStatus, quoteListResponseQuoteSearchResponseQuoteListInner.quoteStatus) && - Objects.equals(this.createdDate, quoteListResponseQuoteSearchResponseQuoteListInner.createdDate) && - Objects.equals(this.lastModifiedDate, quoteListResponseQuoteSearchResponseQuoteListInner.lastModifiedDate) && - Objects.equals(this.quoteExpiryDate, quoteListResponseQuoteSearchResponseQuoteListInner.quoteExpiryDate); - } - - @Override - public int hashCode() { - return Objects.hash(quoteName, quoteNumber, revisionNumber, endUserName, bidNumber, totalAmount, quoteStatus, createdDate, lastModifiedDate, quoteExpiryDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListResponseQuoteSearchResponseQuoteListInner {\n"); - sb.append(" quoteName: ").append(toIndentedString(quoteName)).append("\n"); - sb.append(" quoteNumber: ").append(toIndentedString(quoteNumber)).append("\n"); - sb.append(" revisionNumber: ").append(toIndentedString(revisionNumber)).append("\n"); - sb.append(" endUserName: ").append(toIndentedString(endUserName)).append("\n"); - sb.append(" bidNumber: ").append(toIndentedString(bidNumber)).append("\n"); - sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); - sb.append(" quoteStatus: ").append(toIndentedString(quoteStatus)).append("\n"); - sb.append(" createdDate: ").append(toIndentedString(createdDate)).append("\n"); - sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n"); - sb.append(" quoteExpiryDate: ").append(toIndentedString(quoteExpiryDate)).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("quoteName"); - openapiFields.add("quoteNumber"); - openapiFields.add("revisionNumber"); - openapiFields.add("endUserName"); - openapiFields.add("bidNumber"); - openapiFields.add("totalAmount"); - openapiFields.add("quoteStatus"); - openapiFields.add("createdDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("quoteExpiryDate"); - - // 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 QuoteListResponseQuoteSearchResponseQuoteListInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListResponseQuoteSearchResponseQuoteListInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListResponseQuoteSearchResponseQuoteListInner is not found in the empty JSON string", QuoteListResponseQuoteSearchResponseQuoteListInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListResponseQuoteSearchResponseQuoteListInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListResponseQuoteSearchResponseQuoteListInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("quoteName") != null && !jsonObj.get("quoteName").isJsonNull()) && !jsonObj.get("quoteName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteName").toString())); - } - 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("endUserName") != null && !jsonObj.get("endUserName").isJsonNull()) && !jsonObj.get("endUserName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `endUserName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endUserName").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("totalAmount") != null && !jsonObj.get("totalAmount").isJsonNull()) && !jsonObj.get("totalAmount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalAmount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalAmount").toString())); - } - if ((jsonObj.get("quoteStatus") != null && !jsonObj.get("quoteStatus").isJsonNull()) && !jsonObj.get("quoteStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteStatus").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListResponseQuoteSearchResponseQuoteListInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListResponseQuoteSearchResponseQuoteListInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListResponseQuoteSearchResponseQuoteListInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListResponseQuoteSearchResponseQuoteListInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListResponseQuoteSearchResponseQuoteListInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListResponseQuoteSearchResponseQuoteListInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListResponseQuoteSearchResponseQuoteListInner - * @throws IOException if the JSON string is invalid with respect to QuoteListResponseQuoteSearchResponseQuoteListInner - */ - public static QuoteListResponseQuoteSearchResponseQuoteListInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListResponseQuoteSearchResponseQuoteListInner.class); - } - - /** - * Convert an instance of QuoteListResponseQuoteSearchResponseQuoteListInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java b/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java deleted file mode 100644 index 6ce93ed9..00000000 --- a/src/main/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * QuoteListResponseQuoteSearchResponseResponsePreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteListResponseQuoteSearchResponseResponsePreamble { - public static final String SERIALIZED_NAME_RESPONSE_STATUS = "responseStatus"; - @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS) - private String responseStatus; - - public static final String SERIALIZED_NAME_RESPONSE_STATUS_CODE = "responseStatusCode"; - @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS_CODE) - private String responseStatusCode; - - public static final String SERIALIZED_NAME_RESPONSE_MESSAGE = "responseMessage"; - @SerializedName(SERIALIZED_NAME_RESPONSE_MESSAGE) - private String responseMessage; - - public QuoteListResponseQuoteSearchResponseResponsePreamble() { - } - - public QuoteListResponseQuoteSearchResponseResponsePreamble responseStatus(String responseStatus) { - this.responseStatus = responseStatus; - return this; - } - - /** - * Status of the Request - \"Passed\", \"Failed\" - * @return responseStatus - **/ - @javax.annotation.Nullable - public String getResponseStatus() { - return responseStatus; - } - - public void setResponseStatus(String responseStatus) { - this.responseStatus = responseStatus; - } - - - public QuoteListResponseQuoteSearchResponseResponsePreamble responseStatusCode(String responseStatusCode) { - this.responseStatusCode = responseStatusCode; - return this; - } - - /** - * responseStatusCode is the code returned in response to a request. The following Codes are returned: 200 400 500 - * @return responseStatusCode - **/ - @javax.annotation.Nullable - public String getResponseStatusCode() { - return responseStatusCode; - } - - public void setResponseStatusCode(String responseStatusCode) { - this.responseStatusCode = responseStatusCode; - } - - - public QuoteListResponseQuoteSearchResponseResponsePreamble responseMessage(String responseMessage) { - this.responseMessage = responseMessage; - return this; - } - - /** - * 200 = Action was successfully received, understood and accepted. 400 = The request contains bad syntax or can not be fullfilled. This means there is a problem with the request. 500 = The server failed to fulfill an apparently valid request. This is a temporary problem, the request should be resubmitted. - * @return responseMessage - **/ - @javax.annotation.Nullable - public String getResponseMessage() { - return responseMessage; - } - - public void setResponseMessage(String responseMessage) { - this.responseMessage = responseMessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteListResponseQuoteSearchResponseResponsePreamble quoteListResponseQuoteSearchResponseResponsePreamble = (QuoteListResponseQuoteSearchResponseResponsePreamble) o; - return Objects.equals(this.responseStatus, quoteListResponseQuoteSearchResponseResponsePreamble.responseStatus) && - Objects.equals(this.responseStatusCode, quoteListResponseQuoteSearchResponseResponsePreamble.responseStatusCode) && - Objects.equals(this.responseMessage, quoteListResponseQuoteSearchResponseResponsePreamble.responseMessage); - } - - @Override - public int hashCode() { - return Objects.hash(responseStatus, responseStatusCode, responseMessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteListResponseQuoteSearchResponseResponsePreamble {\n"); - sb.append(" responseStatus: ").append(toIndentedString(responseStatus)).append("\n"); - sb.append(" responseStatusCode: ").append(toIndentedString(responseStatusCode)).append("\n"); - sb.append(" responseMessage: ").append(toIndentedString(responseMessage)).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("responseStatus"); - openapiFields.add("responseStatusCode"); - openapiFields.add("responseMessage"); - - // 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 QuoteListResponseQuoteSearchResponseResponsePreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteListResponseQuoteSearchResponseResponsePreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteListResponseQuoteSearchResponseResponsePreamble is not found in the empty JSON string", QuoteListResponseQuoteSearchResponseResponsePreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteListResponseQuoteSearchResponseResponsePreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteListResponseQuoteSearchResponseResponsePreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responseStatus") != null && !jsonObj.get("responseStatus").isJsonNull()) && !jsonObj.get("responseStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseStatus").toString())); - } - if ((jsonObj.get("responseStatusCode") != null && !jsonObj.get("responseStatusCode").isJsonNull()) && !jsonObj.get("responseStatusCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseStatusCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseStatusCode").toString())); - } - if ((jsonObj.get("responseMessage") != null && !jsonObj.get("responseMessage").isJsonNull()) && !jsonObj.get("responseMessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responseMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseMessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteListResponseQuoteSearchResponseResponsePreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteListResponseQuoteSearchResponseResponsePreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteListResponseQuoteSearchResponseResponsePreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteListResponseQuoteSearchResponseResponsePreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteListResponseQuoteSearchResponseResponsePreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteListResponseQuoteSearchResponseResponsePreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteListResponseQuoteSearchResponseResponsePreamble - * @throws IOException if the JSON string is invalid with respect to QuoteListResponseQuoteSearchResponseResponsePreamble - */ - public static QuoteListResponseQuoteSearchResponseResponsePreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteListResponseQuoteSearchResponseResponsePreamble.class); - } - - /** - * Convert an instance of QuoteListResponseQuoteSearchResponseResponsePreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteProductList.java b/src/main/java/xiresellers/client/model/QuoteProductList.java deleted file mode 100644 index 6d72b074..00000000 --- a/src/main/java/xiresellers/client/model/QuoteProductList.java +++ /dev/null @@ -1,614 +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.Arrays; -import xiresellers.client.model.QuoteProductListPrice; - -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; - -/** - * - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteProductList { - public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) - private String quoteProductGuid; - - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private String quantity; - - public static final String SERIALIZED_NAME_COMMENTS = "comments"; - @SerializedName(SERIALIZED_NAME_COMMENTS) - private String comments; - - public static final String SERIALIZED_NAME_BID_START_DATE = "bidStartDate"; - @SerializedName(SERIALIZED_NAME_BID_START_DATE) - private String bidStartDate; - - public static final String SERIALIZED_NAME_BID_EXPIRY_DATE = "bidExpiryDate"; - @SerializedName(SERIALIZED_NAME_BID_EXPIRY_DATE) - private String bidExpiryDate; - - public static final String SERIALIZED_NAME_SKU = "sku"; - @SerializedName(SERIALIZED_NAME_SKU) - private String sku; - - public static final String SERIALIZED_NAME_LINE_NUMBER = "lineNumber"; - @SerializedName(SERIALIZED_NAME_LINE_NUMBER) - private String lineNumber; - - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - public static final String SERIALIZED_NAME_VENDOR_PART_NUMBER = "vendorPartNumber"; - @SerializedName(SERIALIZED_NAME_VENDOR_PART_NUMBER) - private String vendorPartNumber; - - public static final String SERIALIZED_NAME_WEIGHT = "weight"; - @SerializedName(SERIALIZED_NAME_WEIGHT) - private String weight; - - public static final String SERIALIZED_NAME_IS_SUGGESTION_PRODUCT = "isSuggestionProduct"; - @SerializedName(SERIALIZED_NAME_IS_SUGGESTION_PRODUCT) - private String isSuggestionProduct; - - public static final String SERIALIZED_NAME_VPN_CATEGORY = "vpnCategory"; - @SerializedName(SERIALIZED_NAME_VPN_CATEGORY) - private String vpnCategory; - - public static final String SERIALIZED_NAME_QUOTE_PRODUCTS_SUPPLIER_PART_AUXILIARY_ID = "quoteProductsSupplierPartAuxiliaryId"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCTS_SUPPLIER_PART_AUXILIARY_ID) - private String quoteProductsSupplierPartAuxiliaryId; - - public static final String SERIALIZED_NAME_QUOTE_PRODUCTS_VENDOR = "quoteProductsVendor"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCTS_VENDOR) - private String quoteProductsVendor; - - public static final String SERIALIZED_NAME_PRICE = "price"; - @SerializedName(SERIALIZED_NAME_PRICE) - private QuoteProductListPrice price; - - public QuoteProductList() { - } - - public QuoteProductList quoteProductGuid(String quoteProductGuid) { - this.quoteProductGuid = quoteProductGuid; - return this; - } - - /** - * Get quoteProductGuid - * @return quoteProductGuid - **/ - @javax.annotation.Nullable - public String getQuoteProductGuid() { - return quoteProductGuid; - } - - public void setQuoteProductGuid(String quoteProductGuid) { - this.quoteProductGuid = quoteProductGuid; - } - - - public QuoteProductList quantity(String quantity) { - this.quantity = quantity; - return this; - } - - /** - * Get quantity - * @return quantity - **/ - @javax.annotation.Nullable - public String getQuantity() { - return quantity; - } - - public void setQuantity(String quantity) { - this.quantity = quantity; - } - - - public QuoteProductList comments(String comments) { - this.comments = comments; - return this; - } - - /** - * Get comments - * @return comments - **/ - @javax.annotation.Nullable - public String getComments() { - return comments; - } - - public void setComments(String comments) { - this.comments = comments; - } - - - public QuoteProductList bidStartDate(String bidStartDate) { - this.bidStartDate = bidStartDate; - return this; - } - - /** - * Get bidStartDate - * @return bidStartDate - **/ - @javax.annotation.Nullable - public String getBidStartDate() { - return bidStartDate; - } - - public void setBidStartDate(String bidStartDate) { - this.bidStartDate = bidStartDate; - } - - - public QuoteProductList bidExpiryDate(String bidExpiryDate) { - this.bidExpiryDate = bidExpiryDate; - return this; - } - - /** - * Get bidExpiryDate - * @return bidExpiryDate - **/ - @javax.annotation.Nullable - public String getBidExpiryDate() { - return bidExpiryDate; - } - - public void setBidExpiryDate(String bidExpiryDate) { - this.bidExpiryDate = bidExpiryDate; - } - - - public QuoteProductList sku(String sku) { - this.sku = sku; - return this; - } - - /** - * Get sku - * @return sku - **/ - @javax.annotation.Nullable - public String getSku() { - return sku; - } - - public void setSku(String sku) { - this.sku = sku; - } - - - public QuoteProductList lineNumber(String lineNumber) { - this.lineNumber = lineNumber; - return this; - } - - /** - * Get lineNumber - * @return lineNumber - **/ - @javax.annotation.Nullable - public String getLineNumber() { - return lineNumber; - } - - public void setLineNumber(String lineNumber) { - this.lineNumber = lineNumber; - } - - - public QuoteProductList 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 QuoteProductList vendorPartNumber(String vendorPartNumber) { - this.vendorPartNumber = vendorPartNumber; - return this; - } - - /** - * Get vendorPartNumber - * @return vendorPartNumber - **/ - @javax.annotation.Nullable - public String getVendorPartNumber() { - return vendorPartNumber; - } - - public void setVendorPartNumber(String vendorPartNumber) { - this.vendorPartNumber = vendorPartNumber; - } - - - public QuoteProductList weight(String weight) { - this.weight = weight; - return this; - } - - /** - * Get weight - * @return weight - **/ - @javax.annotation.Nullable - public String getWeight() { - return weight; - } - - public void setWeight(String weight) { - this.weight = weight; - } - - - public QuoteProductList isSuggestionProduct(String isSuggestionProduct) { - this.isSuggestionProduct = isSuggestionProduct; - return this; - } - - /** - * Get isSuggestionProduct - * @return isSuggestionProduct - **/ - @javax.annotation.Nullable - public String getIsSuggestionProduct() { - return isSuggestionProduct; - } - - public void setIsSuggestionProduct(String isSuggestionProduct) { - this.isSuggestionProduct = isSuggestionProduct; - } - - - public QuoteProductList vpnCategory(String vpnCategory) { - this.vpnCategory = vpnCategory; - return this; - } - - /** - * Get vpnCategory - * @return vpnCategory - **/ - @javax.annotation.Nullable - public String getVpnCategory() { - return vpnCategory; - } - - public void setVpnCategory(String vpnCategory) { - this.vpnCategory = vpnCategory; - } - - - public QuoteProductList quoteProductsSupplierPartAuxiliaryId(String quoteProductsSupplierPartAuxiliaryId) { - this.quoteProductsSupplierPartAuxiliaryId = quoteProductsSupplierPartAuxiliaryId; - return this; - } - - /** - * Get quoteProductsSupplierPartAuxiliaryId - * @return quoteProductsSupplierPartAuxiliaryId - **/ - @javax.annotation.Nullable - public String getQuoteProductsSupplierPartAuxiliaryId() { - return quoteProductsSupplierPartAuxiliaryId; - } - - public void setQuoteProductsSupplierPartAuxiliaryId(String quoteProductsSupplierPartAuxiliaryId) { - this.quoteProductsSupplierPartAuxiliaryId = quoteProductsSupplierPartAuxiliaryId; - } - - - public QuoteProductList quoteProductsVendor(String quoteProductsVendor) { - this.quoteProductsVendor = quoteProductsVendor; - return this; - } - - /** - * Get quoteProductsVendor - * @return quoteProductsVendor - **/ - @javax.annotation.Nullable - public String getQuoteProductsVendor() { - return quoteProductsVendor; - } - - public void setQuoteProductsVendor(String quoteProductsVendor) { - this.quoteProductsVendor = quoteProductsVendor; - } - - - public QuoteProductList price(QuoteProductListPrice price) { - this.price = price; - return this; - } - - /** - * Get price - * @return price - **/ - @javax.annotation.Nullable - public QuoteProductListPrice getPrice() { - return price; - } - - public void setPrice(QuoteProductListPrice price) { - this.price = price; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteProductList quoteProductList = (QuoteProductList) o; - return Objects.equals(this.quoteProductGuid, quoteProductList.quoteProductGuid) && - Objects.equals(this.quantity, quoteProductList.quantity) && - Objects.equals(this.comments, quoteProductList.comments) && - Objects.equals(this.bidStartDate, quoteProductList.bidStartDate) && - Objects.equals(this.bidExpiryDate, quoteProductList.bidExpiryDate) && - Objects.equals(this.sku, quoteProductList.sku) && - Objects.equals(this.lineNumber, quoteProductList.lineNumber) && - Objects.equals(this.description, quoteProductList.description) && - Objects.equals(this.vendorPartNumber, quoteProductList.vendorPartNumber) && - Objects.equals(this.weight, quoteProductList.weight) && - Objects.equals(this.isSuggestionProduct, quoteProductList.isSuggestionProduct) && - Objects.equals(this.vpnCategory, quoteProductList.vpnCategory) && - Objects.equals(this.quoteProductsSupplierPartAuxiliaryId, quoteProductList.quoteProductsSupplierPartAuxiliaryId) && - Objects.equals(this.quoteProductsVendor, quoteProductList.quoteProductsVendor) && - Objects.equals(this.price, quoteProductList.price); - } - - @Override - public int hashCode() { - return Objects.hash(quoteProductGuid, quantity, comments, bidStartDate, bidExpiryDate, sku, lineNumber, description, vendorPartNumber, weight, isSuggestionProduct, vpnCategory, quoteProductsSupplierPartAuxiliaryId, quoteProductsVendor, price); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteProductList {\n"); - sb.append(" quoteProductGuid: ").append(toIndentedString(quoteProductGuid)).append("\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); - sb.append(" bidStartDate: ").append(toIndentedString(bidStartDate)).append("\n"); - sb.append(" bidExpiryDate: ").append(toIndentedString(bidExpiryDate)).append("\n"); - sb.append(" sku: ").append(toIndentedString(sku)).append("\n"); - sb.append(" lineNumber: ").append(toIndentedString(lineNumber)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" vendorPartNumber: ").append(toIndentedString(vendorPartNumber)).append("\n"); - sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); - sb.append(" isSuggestionProduct: ").append(toIndentedString(isSuggestionProduct)).append("\n"); - sb.append(" vpnCategory: ").append(toIndentedString(vpnCategory)).append("\n"); - sb.append(" quoteProductsSupplierPartAuxiliaryId: ").append(toIndentedString(quoteProductsSupplierPartAuxiliaryId)).append("\n"); - sb.append(" quoteProductsVendor: ").append(toIndentedString(quoteProductsVendor)).append("\n"); - sb.append(" price: ").append(toIndentedString(price)).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("quoteProductGuid"); - openapiFields.add("quantity"); - openapiFields.add("comments"); - openapiFields.add("bidStartDate"); - openapiFields.add("bidExpiryDate"); - openapiFields.add("sku"); - openapiFields.add("lineNumber"); - openapiFields.add("description"); - openapiFields.add("vendorPartNumber"); - openapiFields.add("weight"); - openapiFields.add("isSuggestionProduct"); - openapiFields.add("vpnCategory"); - openapiFields.add("quoteProductsSupplierPartAuxiliaryId"); - openapiFields.add("quoteProductsVendor"); - openapiFields.add("price"); - - // 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 QuoteProductList - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteProductList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteProductList is not found in the empty JSON string", QuoteProductList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteProductList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteProductList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("quoteProductGuid") != null && !jsonObj.get("quoteProductGuid").isJsonNull()) && !jsonObj.get("quoteProductGuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteProductGuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteProductGuid").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("comments") != null && !jsonObj.get("comments").isJsonNull()) && !jsonObj.get("comments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `comments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("comments").toString())); - } - if ((jsonObj.get("bidStartDate") != null && !jsonObj.get("bidStartDate").isJsonNull()) && !jsonObj.get("bidStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `bidStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bidStartDate").toString())); - } - if ((jsonObj.get("bidExpiryDate") != null && !jsonObj.get("bidExpiryDate").isJsonNull()) && !jsonObj.get("bidExpiryDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `bidExpiryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bidExpiryDate").toString())); - } - if ((jsonObj.get("sku") != null && !jsonObj.get("sku").isJsonNull()) && !jsonObj.get("sku").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `sku` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sku").toString())); - } - if ((jsonObj.get("lineNumber") != null && !jsonObj.get("lineNumber").isJsonNull()) && !jsonObj.get("lineNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `lineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lineNumber").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("vendorPartNumber") != null && !jsonObj.get("vendorPartNumber").isJsonNull()) && !jsonObj.get("vendorPartNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorPartNumber").toString())); - } - if ((jsonObj.get("weight") != null && !jsonObj.get("weight").isJsonNull()) && !jsonObj.get("weight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `weight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("weight").toString())); - } - if ((jsonObj.get("isSuggestionProduct") != null && !jsonObj.get("isSuggestionProduct").isJsonNull()) && !jsonObj.get("isSuggestionProduct").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isSuggestionProduct` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isSuggestionProduct").toString())); - } - if ((jsonObj.get("vpnCategory") != null && !jsonObj.get("vpnCategory").isJsonNull()) && !jsonObj.get("vpnCategory").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vpnCategory` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vpnCategory").toString())); - } - if ((jsonObj.get("quoteProductsSupplierPartAuxiliaryId") != null && !jsonObj.get("quoteProductsSupplierPartAuxiliaryId").isJsonNull()) && !jsonObj.get("quoteProductsSupplierPartAuxiliaryId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteProductsSupplierPartAuxiliaryId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteProductsSupplierPartAuxiliaryId").toString())); - } - if ((jsonObj.get("quoteProductsVendor") != null && !jsonObj.get("quoteProductsVendor").isJsonNull()) && !jsonObj.get("quoteProductsVendor").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quoteProductsVendor` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quoteProductsVendor").toString())); - } - // validate the optional field `price` - if (jsonObj.get("price") != null && !jsonObj.get("price").isJsonNull()) { - QuoteProductListPrice.validateJsonElement(jsonObj.get("price")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteProductList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteProductList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteProductList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteProductList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteProductList read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteProductList given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteProductList - * @throws IOException if the JSON string is invalid with respect to QuoteProductList - */ - public static QuoteProductList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteProductList.class); - } - - /** - * Convert an instance of QuoteProductList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteProductListPrice.java b/src/main/java/xiresellers/client/model/QuoteProductListPrice.java deleted file mode 100644 index 57d40768..00000000 --- a/src/main/java/xiresellers/client/model/QuoteProductListPrice.java +++ /dev/null @@ -1,282 +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.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; - -/** - * QuoteProductListPrice - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class QuoteProductListPrice { - public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; - @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) - private BigDecimal quotePrice; - - public static final String SERIALIZED_NAME_MSRP = "msrp"; - @SerializedName(SERIALIZED_NAME_MSRP) - private BigDecimal msrp; - - public static final String SERIALIZED_NAME_EXTENDED_MSRP = "extendedMsrp"; - @SerializedName(SERIALIZED_NAME_EXTENDED_MSRP) - private BigDecimal extendedMsrp; - - public static final String SERIALIZED_NAME_EXTENDED_QUOTE_PRICE = "extendedQuotePrice"; - @SerializedName(SERIALIZED_NAME_EXTENDED_QUOTE_PRICE) - private BigDecimal extendedQuotePrice; - - public QuoteProductListPrice() { - } - - public QuoteProductListPrice quotePrice(BigDecimal quotePrice) { - this.quotePrice = quotePrice; - return this; - } - - /** - * Get quotePrice - * @return quotePrice - **/ - @javax.annotation.Nullable - public BigDecimal getQuotePrice() { - return quotePrice; - } - - public void setQuotePrice(BigDecimal quotePrice) { - this.quotePrice = quotePrice; - } - - - public QuoteProductListPrice msrp(BigDecimal msrp) { - this.msrp = msrp; - return this; - } - - /** - * Get msrp - * @return msrp - **/ - @javax.annotation.Nullable - public BigDecimal getMsrp() { - return msrp; - } - - public void setMsrp(BigDecimal msrp) { - this.msrp = msrp; - } - - - public QuoteProductListPrice extendedMsrp(BigDecimal extendedMsrp) { - this.extendedMsrp = extendedMsrp; - return this; - } - - /** - * Get extendedMsrp - * @return extendedMsrp - **/ - @javax.annotation.Nullable - public BigDecimal getExtendedMsrp() { - return extendedMsrp; - } - - public void setExtendedMsrp(BigDecimal extendedMsrp) { - this.extendedMsrp = extendedMsrp; - } - - - public QuoteProductListPrice extendedQuotePrice(BigDecimal extendedQuotePrice) { - this.extendedQuotePrice = extendedQuotePrice; - return this; - } - - /** - * Get extendedQuotePrice - * @return extendedQuotePrice - **/ - @javax.annotation.Nullable - public BigDecimal getExtendedQuotePrice() { - return extendedQuotePrice; - } - - public void setExtendedQuotePrice(BigDecimal extendedQuotePrice) { - this.extendedQuotePrice = extendedQuotePrice; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteProductListPrice quoteProductListPrice = (QuoteProductListPrice) o; - return Objects.equals(this.quotePrice, quoteProductListPrice.quotePrice) && - Objects.equals(this.msrp, quoteProductListPrice.msrp) && - Objects.equals(this.extendedMsrp, quoteProductListPrice.extendedMsrp) && - Objects.equals(this.extendedQuotePrice, quoteProductListPrice.extendedQuotePrice); - } - - @Override - public int hashCode() { - return Objects.hash(quotePrice, msrp, extendedMsrp, extendedQuotePrice); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteProductListPrice {\n"); - sb.append(" quotePrice: ").append(toIndentedString(quotePrice)).append("\n"); - sb.append(" msrp: ").append(toIndentedString(msrp)).append("\n"); - sb.append(" extendedMsrp: ").append(toIndentedString(extendedMsrp)).append("\n"); - sb.append(" extendedQuotePrice: ").append(toIndentedString(extendedQuotePrice)).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("quotePrice"); - openapiFields.add("msrp"); - openapiFields.add("extendedMsrp"); - openapiFields.add("extendedQuotePrice"); - - // 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 QuoteProductListPrice - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!QuoteProductListPrice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in QuoteProductListPrice is not found in the empty JSON string", QuoteProductListPrice.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!QuoteProductListPrice.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `QuoteProductListPrice` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!QuoteProductListPrice.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'QuoteProductListPrice' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(QuoteProductListPrice.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, QuoteProductListPrice value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public QuoteProductListPrice read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of QuoteProductListPrice given an JSON string - * - * @param jsonString JSON string - * @return An instance of QuoteProductListPrice - * @throws IOException if the JSON string is invalid with respect to QuoteProductListPrice - */ - public static QuoteProductListPrice fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, QuoteProductListPrice.class); - } - - /** - * Convert an instance of QuoteProductListPrice to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index 7aa1db6b..fda0cf58 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index 6a4e2b20..bedf67d6 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java index 713538b6..74cb93f8 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * QuoteToOrderDetailsDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTO { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java index b5582549..1c3dc092 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTOAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java index f8485508..4ed6133d 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTOEndUserInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java index 6dc76194..1b8c1e2d 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -23,7 +23,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -52,7 +52,7 @@ /** * QuoteToOrderDetailsDTOLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInner { public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) @@ -68,7 +68,7 @@ public class QuoteToOrderDetailsDTOLinesInner { public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES = "vmfAdditionalAttributesLines"; @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES) - private List vmfAdditionalAttributesLines; + private List vmfAdditionalAttributesLines; public QuoteToOrderDetailsDTOLinesInner() { } @@ -130,12 +130,12 @@ public void setQuantity(String quantity) { } - public QuoteToOrderDetailsDTOLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + public QuoteToOrderDetailsDTOLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; return this; } - public QuoteToOrderDetailsDTOLinesInner addVmfAdditionalAttributesLinesItem(ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { + public QuoteToOrderDetailsDTOLinesInner addVmfAdditionalAttributesLinesItem(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { if (this.vmfAdditionalAttributesLines == null) { this.vmfAdditionalAttributesLines = new ArrayList<>(); } @@ -148,11 +148,11 @@ public QuoteToOrderDetailsDTOLinesInner addVmfAdditionalAttributesLinesItem(Vali * @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; } @@ -257,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `vmfAdditionalAttributesLines` (array) for (int i = 0; i < jsonArrayvmfAdditionalAttributesLines.size(); i++) { - ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); + QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); }; } } diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java similarity index 67% rename from src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java rename to src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java index 2d659feb..a2ded285 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -47,10 +47,10 @@ import xiresellers.client.JSON; /** - * ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") -public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) private String attributeName; @@ -63,10 +63,10 @@ public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { @SerializedName(SERIALIZED_NAME_ATTRIBUTE_DESCRIPTION) private String attributeDescription; - public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() { + public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() { } - public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeName(String attributeName) { + public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner attributeName(String attributeName) { this.attributeName = attributeName; return this; } @@ -85,7 +85,7 @@ public void setAttributeName(String attributeName) { } - public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeValue(String attributeValue) { + public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner attributeValue(String attributeValue) { this.attributeValue = attributeValue; return this; } @@ -104,7 +104,7 @@ public void setAttributeValue(String attributeValue) { } - public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner attributeDescription(String attributeDescription) { + public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner 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; } - ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner = (ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) o; - return Objects.equals(this.attributeName, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeName) && - Objects.equals(this.attributeValue, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeValue) && - Objects.equals(this.attributeDescription, validateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.attributeDescription); + QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner = (QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) o; + return Objects.equals(this.attributeName, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeName) && + Objects.equals(this.attributeValue, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeValue) && + Objects.equals(this.attributeDescription, quoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.attributeDescription); } @Override @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner {\n"); + sb.append("class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner {\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 ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * @throws IOException if the JSON Element is invalid with respect to QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - 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())); + 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())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - 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())); + 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())); } } 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 (!ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner' and its subtypes + if (!QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner value) throws IOException { + public void write(JsonWriter out, QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner read(JsonReader in) throws IOException { + public QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -242,18 +242,18 @@ public ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner read(Jso } /** - * Create an instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner given an JSON string + * Create an instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner given an JSON string * * @param jsonString JSON string - * @return An instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner - * @throws IOException if the JSON string is invalid with respect to ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * @return An instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + * @throws IOException if the JSON string is invalid with respect to QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ - public static ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.class); + public static QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.class); } /** - * Convert an instance of ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner to an JSON string + * Convert an instance of QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner to an JSON string * * @return JSON string */ diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java index 4982f78e..f317999c 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteToOrderDetailsDTOShipToInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTOShipToInfoInner { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java index f457fe1c..334afcb2 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java index aca7c8db..eade54c4 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * QuoteToOrderResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class QuoteToOrderResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index 6ef353d3..af868c49 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -57,7 +57,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index 6e2fd851..42751936 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/RenewalsDetailsResponseEndUserInfoInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java index 467d25c2..34946ca0 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsDetailsResponseEndUserInfoInner { 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 0a339f60..55ec4a25 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/RenewalsDetailsResponseReferenceNumberInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java index aa322aa5..06b724e3 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumberInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsDetailsResponseReferenceNumberInner { 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 d8af6221..74b98e76 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java index f025cf7f..6acf630d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDataType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequestDataType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java index abe473e6..e67f239f 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeEndDate { 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/RenewalsSearchRequestDataTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java index 27d258fa..cc0f1cb8 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeExpirationDate { 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/RenewalsSearchRequestDataTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java index 1ac3e3a1..237bfbfc 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeInvoiceDate { 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/RenewalsSearchRequestDataTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java index 0d2599c3..30a2e8b8 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeStartDate { 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 7bbdc1a5..c50eeddb 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 4252a6cb..7f41ddcb 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 efb8c46e..6dc71ba9 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index 30d1a256..7e877b61 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index e3e54d31..c1517963 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 d7379630..b8c14527 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index fa53aec7..2e2ae01d 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 b0922cb3..a6d15c7a 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 45b7f5d1..88031b70 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 10f83680..51814a85 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index 98b3fbff..1b710412 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -54,7 +54,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index 5907a882..bb9a651f 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -51,7 +51,7 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 7fae7eea..baded1de 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index c7009e71..153cffbd 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index 90b25193..22b7bdf6 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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 2f058dba..2e36a638 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index 2023e1db..3808abec 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -23,7 +23,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; 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-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") public class ValidateQuoteResponseLinesInner { public static final String SERIALIZED_NAME_CUSTOMER_LINE_NUMBER = "customerLineNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_LINE_NUMBER) @@ -68,7 +68,7 @@ public class ValidateQuoteResponseLinesInner { public static final String SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES = "vmfAdditionalAttributesLines"; @SerializedName(SERIALIZED_NAME_VMF_ADDITIONAL_ATTRIBUTES_LINES) - private List vmfAdditionalAttributesLines; + private List vmfAdditionalAttributesLines; public ValidateQuoteResponseLinesInner() { } @@ -130,12 +130,12 @@ public void setQuantity(String quantity) { } - public ValidateQuoteResponseLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { + public ValidateQuoteResponseLinesInner vmfAdditionalAttributesLines(List vmfAdditionalAttributesLines) { this.vmfAdditionalAttributesLines = vmfAdditionalAttributesLines; return this; } - public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { + public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner vmfAdditionalAttributesLinesItem) { if (this.vmfAdditionalAttributesLines == null) { this.vmfAdditionalAttributesLines = new ArrayList<>(); } @@ -148,11 +148,11 @@ public ValidateQuoteResponseLinesInner addVmfAdditionalAttributesLinesItem(Valid * @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; } @@ -257,7 +257,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `vmfAdditionalAttributesLines` (array) for (int i = 0; i < jsonArrayvmfAdditionalAttributesLines.size(); i++) { - ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); + QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.validateJsonElement(jsonArrayvmfAdditionalAttributesLines.get(i)); }; } } diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index 9b21d4df..1887bdb7 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T05:46:16.662413Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") 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/DealsApiTest.java b/src/test/java/xiresellers/client/api/DealsApiTest.java index c1cdb20f..421e7b6e 100644 --- a/src/test/java/xiresellers/client/api/DealsApiTest.java +++ b/src/test/java/xiresellers/client/api/DealsApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java index 8441724c..6713034f 100644 --- a/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java +++ b/src/test/java/xiresellers/client/api/FreightEstimateApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/InvoicesApiTest.java b/src/test/java/xiresellers/client/api/InvoicesApiTest.java index 5d85ce5e..fa8cbe93 100644 --- a/src/test/java/xiresellers/client/api/InvoicesApiTest.java +++ b/src/test/java/xiresellers/client/api/InvoicesApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java b/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java index 7391816d..27ddfef3 100644 --- a/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java +++ b/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java index 70d7f82b..169dd906 100644 --- a/src/test/java/xiresellers/client/api/OrderStatusApiTest.java +++ b/src/test/java/xiresellers/client/api/OrderStatusApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrdersApiTest.java b/src/test/java/xiresellers/client/api/OrdersApiTest.java index 83496627..7d9935c4 100644 --- a/src/test/java/xiresellers/client/api/OrdersApiTest.java +++ b/src/test/java/xiresellers/client/api/OrdersApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java b/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java index 49a1186b..7f825404 100644 --- a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java +++ b/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java index f3a3d4f9..e3979d0c 100644 --- a/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java +++ b/src/test/java/xiresellers/client/api/ProductCatalogApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java b/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java index 91357c32..7aefcc5e 100644 --- a/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java +++ b/src/test/java/xiresellers/client/api/QuoteToOrderApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/QuotesApiTest.java b/src/test/java/xiresellers/client/api/QuotesApiTest.java index 6ac1dca6..c11f6b12 100644 --- a/src/test/java/xiresellers/client/api/QuotesApiTest.java +++ b/src/test/java/xiresellers/client/api/QuotesApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/RenewalsApiTest.java b/src/test/java/xiresellers/client/api/RenewalsApiTest.java index 82fc3b62..37160188 100644 --- a/src/test/java/xiresellers/client/api/RenewalsApiTest.java +++ b/src/test/java/xiresellers/client/api/RenewalsApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/ReturnsApiTest.java b/src/test/java/xiresellers/client/api/ReturnsApiTest.java index 27d742fe..bcc5a7bd 100644 --- a/src/test/java/xiresellers/client/api/ReturnsApiTest.java +++ b/src/test/java/xiresellers/client/api/ReturnsApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java index c86a72b2..9cd647e3 100644 --- a/src/test/java/xiresellers/client/api/StockUpdateApiTest.java +++ b/src/test/java/xiresellers/client/api/StockUpdateApiTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AddressTypeTest.java b/src/test/java/xiresellers/client/model/AddressTypeTest.java index dfd1b495..ea042424 100644 --- a/src/test/java/xiresellers/client/model/AddressTypeTest.java +++ b/src/test/java/xiresellers/client/model/AddressTypeTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java index 1963a0c4..2326b2d9 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java index b03b222a..f222f1dc 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java index a04090cb..c6680620 100644 --- a/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java index 85afb058..7ae6adb4 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java index 7b4117d8..0ff6ce80 100644 --- a/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java index 27e436e0..ddea73c2 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseDealsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java index 1583bd86..4e1f2361 100644 --- a/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/DealsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java index 8f5aec51..a12fa683 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseDTOTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java index fd7b9d6a..243e216a 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java index 39333e5a..58618461 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseErrorsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorResponseTest.java b/src/test/java/xiresellers/client/model/ErrorResponseTest.java index 443b2f2a..2ed0d1a6 100644 --- a/src/test/java/xiresellers/client/model/ErrorResponseTest.java +++ b/src/test/java/xiresellers/client/model/ErrorResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ErrorTest.java b/src/test/java/xiresellers/client/model/ErrorTest.java index 3408580e..c5a65ac1 100644 --- a/src/test/java/xiresellers/client/model/ErrorTest.java +++ b/src/test/java/xiresellers/client/model/ErrorTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FieldsTest.java b/src/test/java/xiresellers/client/model/FieldsTest.java index 8be35e71..3b4274e8 100644 --- a/src/test/java/xiresellers/client/model/FieldsTest.java +++ b/src/test/java/xiresellers/client/model/FieldsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java index cf373d0a..73e915c3 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java index a330ff8b..2abbdde7 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestShipToAddressInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightRequestTest.java b/src/test/java/xiresellers/client/model/FreightRequestTest.java index f271ca5b..6c9261c7 100644 --- a/src/test/java/xiresellers/client/model/FreightRequestTest.java +++ b/src/test/java/xiresellers/client/model/FreightRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java index 09597d56..26e88517 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java index b729f316..0cb94e13 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java index aa77351b..d3ae095a 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java index 6aab2040..8315e763 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseFreightEstimateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/FreightResponseTest.java b/src/test/java/xiresellers/client/model/FreightResponseTest.java index c2c06e20..4159d266 100644 --- a/src/test/java/xiresellers/client/model/FreightResponseTest.java +++ b/src/test/java/xiresellers/client/model/FreightResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java index d6cba79c..c4884235 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java index fa94b13b..7b325e22 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java index 6c9bed6a..1b6582bc 100644 --- a/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java +++ b/src/test/java/xiresellers/client/model/GetResellerV6ValidateQuote500ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java deleted file mode 100644 index e2dd054d..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestInvoicedetailrequestTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailRequestServicerequestInvoicedetailrequest - */ -public class InvoiceDetailRequestServicerequestInvoicedetailrequestTest { - private final InvoiceDetailRequestServicerequestInvoicedetailrequest model = new InvoiceDetailRequestServicerequestInvoicedetailrequest(); - - /** - * Model tests for InvoiceDetailRequestServicerequestInvoicedetailrequest - */ - @Test - public void testInvoiceDetailRequestServicerequestInvoicedetailrequest() { - // TODO: test InvoiceDetailRequestServicerequestInvoicedetailrequest - } - - /** - * Test the property 'invoicenumber' - */ - @Test - public void invoicenumberTest() { - // TODO: test invoicenumber - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 3b220b02..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailRequestServicerequestRequestpreamble - */ -public class InvoiceDetailRequestServicerequestRequestpreambleTest { - private final InvoiceDetailRequestServicerequestRequestpreamble model = new InvoiceDetailRequestServicerequestRequestpreamble(); - - /** - * Model tests for InvoiceDetailRequestServicerequestRequestpreamble - */ - @Test - public void testInvoiceDetailRequestServicerequestRequestpreamble() { - // TODO: test InvoiceDetailRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java deleted file mode 100644 index 4503e107..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequestInvoicedetailrequest; -import xiresellers.client.model.InvoiceDetailRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailRequestServicerequest - */ -public class InvoiceDetailRequestServicerequestTest { - private final InvoiceDetailRequestServicerequest model = new InvoiceDetailRequestServicerequest(); - - /** - * Model tests for InvoiceDetailRequestServicerequest - */ - @Test - public void testInvoiceDetailRequestServicerequest() { - // TODO: test InvoiceDetailRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'invoicedetailrequest' - */ - @Test - public void invoicedetailrequestTest() { - // TODO: test invoicedetailrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java deleted file mode 100644 index 92aa8d0c..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailRequest - */ -public class InvoiceDetailRequestTest { - private final InvoiceDetailRequest model = new InvoiceDetailRequest(); - - /** - * Model tests for InvoiceDetailRequest - */ - @Test - public void testInvoiceDetailRequest() { - // TODO: test InvoiceDetailRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java index eb8d7dda..c9b53b20 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java index 293b472b..c87e8181 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java index 629e2d45..246b9eff 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,15 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.time.LocalDate; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import xiresellers.client.model.AddressType; +import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; +import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner; +import xiresellers.client.model.ProductLineType; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -206,4 +213,172 @@ public void creditmemoreasoncodeTest() { // TODO: test creditmemoreasoncode } + /** + * Test the property 'fulfillmentflag' + */ + @Test + public void fulfillmentflagTest() { + // TODO: test fulfillmentflag + } + + /** + * Test the property 'holdreason' + */ + @Test + public void holdreasonTest() { + // TODO: test holdreason + } + + /** + * Test the property 'shipcomplete' + */ + @Test + public void shipcompleteTest() { + // TODO: test shipcomplete + } + + /** + * Test the property 'shipdate' + */ + @Test + public void shipdateTest() { + // TODO: test shipdate + } + + /** + * Test the property 'companycurrency' + */ + @Test + public void companycurrencyTest() { + // TODO: test companycurrency + } + + /** + * Test the property 'currencycode' + */ + @Test + public void currencycodeTest() { + // TODO: test currencycode + } + + /** + * Test the property 'currencyrate' + */ + @Test + public void currencyrateTest() { + // TODO: test currencyrate + } + + /** + * Test the property 'globalorderid' + */ + @Test + public void globalorderidTest() { + // TODO: test globalorderid + } + + /** + * Test the property 'originalshipcode' + */ + @Test + public void originalshipcodeTest() { + // TODO: test originalshipcode + } + + /** + * Test the property 'ordertype' + */ + @Test + public void ordertypeTest() { + // TODO: test ordertype + } + + /** + * Test the property 'orderstatus' + */ + @Test + public void orderstatusTest() { + // TODO: test orderstatus + } + + /** + * Test the property 'totalotherfees' + */ + @Test + public void totalotherfeesTest() { + // TODO: test totalotherfees + } + + /** + * Test the property 'totalsales' + */ + @Test + public void totalsalesTest() { + // TODO: test totalsales + } + + /** + * Test the property 'weight' + */ + @Test + public void weightTest() { + // TODO: test weight + } + + /** + * Test the property 'shippableswitch' + */ + @Test + public void shippableswitchTest() { + // TODO: test shippableswitch + } + + /** + * Test the property 'soldto' + */ + @Test + public void soldtoTest() { + // TODO: test soldto + } + + /** + * Test the property 'billto' + */ + @Test + public void billtoTest() { + // TODO: test billto + } + + /** + * Test the property 'shoptoaddress' + */ + @Test + public void shoptoaddressTest() { + // TODO: test shoptoaddress + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'extendedspecs' + */ + @Test + public void extendedspecsTest() { + // TODO: test extendedspecs + } + + /** + * Test the property 'miscfeeline' + */ + @Test + public void miscfeelineTest() { + // TODO: test miscfeeline + } + } diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java index b0c9930b..497fa4cb 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java index fc2e161a..c1e7cec5 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java index 6626780e..10b392e0 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java index 8c8984f8..ce511b40 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java index da5dc16a..17fb7434 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java index b98d8815..2390d999 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java index 6e0f0d88..aff47d46 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java index 1ae0897f..a52900c6 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java index 76b352c0..5ee982ce 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java index 76401d36..6f237686 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotalsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java index 79cb8dc4..27f91183 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLinesTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java index 311c1166..7e0d5623 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java index 8357e9d9..9ff17549 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java index cdb9d637..5ec7bb88 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotalsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java index 4ab25cc2..1444ab3b 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java index 49a129d8..f20ae129 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java index 67be940f..35def7d7 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java deleted file mode 100644 index ccc8158e..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest.java +++ /dev/null @@ -1,88 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - */ -public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItemTest { - private final MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem model = new MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem(); - - /** - * Model tests for MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - */ - @Test - public void testMultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem() { - // TODO: test MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem - } - - /** - * Test the property 'index' - */ - @Test - public void indexTest() { - // TODO: test index - } - - /** - * Test the property 'ingrampartnumber' - */ - @Test - public void ingrampartnumberTest() { - // TODO: test ingrampartnumber - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'UPC' - */ - @Test - public void UPCTest() { - // TODO: test UPC - } - - /** - * Test the property 'customerpartnumber' - */ - @Test - public void customerpartnumberTest() { - // TODO: test customerpartnumber - } - - /** - * Test the property 'warehouseidlist' - */ - @Test - public void warehouseidlistTest() { - // TODO: test warehouseidlist - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java deleted file mode 100644 index 142fa4fd..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest.java +++ /dev/null @@ -1,73 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestItem; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - */ -public class MultiSKUPriceAndStockRequestServicerequestPriceandstockrequestTest { - private final MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest model = new MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest(); - - /** - * Model tests for MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - */ - @Test - public void testMultiSKUPriceAndStockRequestServicerequestPriceandstockrequest() { - // TODO: test MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest - } - - /** - * Test the property 'showwarehouseavailability' - */ - @Test - public void showwarehouseavailabilityTest() { - // TODO: test showwarehouseavailability - } - - /** - * Test the property 'extravailabilityflag' - */ - @Test - public void extravailabilityflagTest() { - // TODO: test extravailabilityflag - } - - /** - * Test the property 'includeallsystems' - */ - @Test - public void includeallsystemsTest() { - // TODO: test includeallsystems - } - - /** - * Test the property 'item' - */ - @Test - public void itemTest() { - // TODO: test item - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 90fe9e6d..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockRequestServicerequestRequestpreamble - */ -public class MultiSKUPriceAndStockRequestServicerequestRequestpreambleTest { - private final MultiSKUPriceAndStockRequestServicerequestRequestpreamble model = new MultiSKUPriceAndStockRequestServicerequestRequestpreamble(); - - /** - * Model tests for MultiSKUPriceAndStockRequestServicerequestRequestpreamble - */ - @Test - public void testMultiSKUPriceAndStockRequestServicerequestRequestpreamble() { - // TODO: test MultiSKUPriceAndStockRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java deleted file mode 100644 index 5adfdab9..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestPriceandstockrequest; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockRequestServicerequest - */ -public class MultiSKUPriceAndStockRequestServicerequestTest { - private final MultiSKUPriceAndStockRequestServicerequest model = new MultiSKUPriceAndStockRequestServicerequest(); - - /** - * Model tests for MultiSKUPriceAndStockRequestServicerequest - */ - @Test - public void testMultiSKUPriceAndStockRequestServicerequest() { - // TODO: test MultiSKUPriceAndStockRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'priceandstockrequest' - */ - @Test - public void priceandstockrequestTest() { - // TODO: test priceandstockrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java deleted file mode 100644 index d1190b29..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockRequest - */ -public class MultiSKUPriceAndStockRequestTest { - private final MultiSKUPriceAndStockRequest model = new MultiSKUPriceAndStockRequest(); - - /** - * Model tests for MultiSKUPriceAndStockRequest - */ - @Test - public void testMultiSKUPriceAndStockRequest() { - // TODO: test MultiSKUPriceAndStockRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java deleted file mode 100644 index 4ab062d2..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest.java +++ /dev/null @@ -1,220 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - */ -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerTest { - private final MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner model = new MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner(); - - /** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - */ - @Test - public void testMultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner() { - // TODO: test MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner - } - - /** - * Test the property 'itemstatus' - */ - @Test - public void itemstatusTest() { - // TODO: test itemstatus - } - - /** - * Test the property 'statusmessage' - */ - @Test - public void statusmessageTest() { - // TODO: test statusmessage - } - - /** - * Test the property 'ingrampartnumber' - */ - @Test - public void ingrampartnumberTest() { - // TODO: test ingrampartnumber - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'globalskuid' - */ - @Test - public void globalskuidTest() { - // TODO: test globalskuid - } - - /** - * Test the property 'customerprice' - */ - @Test - public void customerpriceTest() { - // TODO: test customerprice - } - - /** - * Test the property 'partdescription1' - */ - @Test - public void partdescription1Test() { - // TODO: test partdescription1 - } - - /** - * Test the property 'partdescription2' - */ - @Test - public void partdescription2Test() { - // TODO: test partdescription2 - } - - /** - * Test the property 'vendornumber' - */ - @Test - public void vendornumberTest() { - // TODO: test vendornumber - } - - /** - * Test the property 'vendorname' - */ - @Test - public void vendornameTest() { - // TODO: test vendorname - } - - /** - * Test the property 'cpucode' - */ - @Test - public void cpucodeTest() { - // TODO: test cpucode - } - - /** - * Test the property 'propertyClass' - */ - @Test - public void propertyClassTest() { - // TODO: test propertyClass - } - - /** - * Test the property 'skustatus' - */ - @Test - public void skustatusTest() { - // TODO: test skustatus - } - - /** - * Test the property 'mediacpu' - */ - @Test - public void mediacpuTest() { - // TODO: test mediacpu - } - - /** - * Test the property 'categorysubcategory' - */ - @Test - public void categorysubcategoryTest() { - // TODO: test categorysubcategory - } - - /** - * Test the property 'retailprice' - */ - @Test - public void retailpriceTest() { - // TODO: test retailprice - } - - /** - * Test the property 'newmedia' - */ - @Test - public void newmediaTest() { - // TODO: test newmedia - } - - /** - * Test the property 'enduserrequired' - */ - @Test - public void enduserrequiredTest() { - // TODO: test enduserrequired - } - - /** - * Test the property 'backorderflag' - */ - @Test - public void backorderflagTest() { - // TODO: test backorderflag - } - - /** - * Test the property 'skuauthorized' - */ - @Test - public void skuauthorizedTest() { - // TODO: test skuauthorized - } - - /** - * Test the property 'extendedvendorpartnumber' - */ - @Test - public void extendedvendorpartnumberTest() { - // TODO: test extendedvendorpartnumber - } - - /** - * Test the property 'warehousedetails' - */ - @Test - public void warehousedetailsTest() { - // TODO: test warehousedetails - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java deleted file mode 100644 index 6980caf9..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest.java +++ /dev/null @@ -1,88 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - */ -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInnerTest { - private final MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner model = new MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner(); - - /** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - */ - @Test - public void testMultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner() { - // TODO: test MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInnerWarehousedetailsInner - } - - /** - * Test the property 'warehouseid' - */ - @Test - public void warehouseidTest() { - // TODO: test warehouseid - } - - /** - * Test the property 'warehousedescription' - */ - @Test - public void warehousedescriptionTest() { - // TODO: test warehousedescription - } - - /** - * Test the property 'availablequantity' - */ - @Test - public void availablequantityTest() { - // TODO: test availablequantity - } - - /** - * Test the property 'onorderquantity' - */ - @Test - public void onorderquantityTest() { - // TODO: test onorderquantity - } - - /** - * Test the property 'onholdquantity' - */ - @Test - public void onholdquantityTest() { - // TODO: test onholdquantity - } - - /** - * Test the property 'etadate' - */ - @Test - public void etadateTest() { - // TODO: test etadate - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java deleted file mode 100644 index c721d5f2..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest.java +++ /dev/null @@ -1,51 +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.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseDetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - */ -public class MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponseTest { - private final MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse model = new MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse(); - - /** - * Model tests for MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - */ - @Test - public void testMultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse() { - // TODO: test MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse - } - - /** - * Test the property 'details' - */ - @Test - public void detailsTest() { - // TODO: test details - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java deleted file mode 100644 index 8d49ae4b..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - */ -public class MultiSKUPriceAndStockResponseServiceresponseResponsepreambleTest { - private final MultiSKUPriceAndStockResponseServiceresponseResponsepreamble model = new MultiSKUPriceAndStockResponseServiceresponseResponsepreamble(); - - /** - * Model tests for MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - */ - @Test - public void testMultiSKUPriceAndStockResponseServiceresponseResponsepreamble() { - // TODO: test MultiSKUPriceAndStockResponseServiceresponseResponsepreamble - } - - /** - * Test the property 'responsestatus' - */ - @Test - public void responsestatusTest() { - // TODO: test responsestatus - } - - /** - * Test the property 'responsemessage' - */ - @Test - public void responsemessageTest() { - // TODO: test responsemessage - } - - /** - * Test the property 'statuscode' - */ - @Test - public void statuscodeTest() { - // TODO: test statuscode - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java deleted file mode 100644 index 91ec8f28..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseServiceresponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponsePriceandstockresponse; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponseServiceresponse - */ -public class MultiSKUPriceAndStockResponseServiceresponseTest { - private final MultiSKUPriceAndStockResponseServiceresponse model = new MultiSKUPriceAndStockResponseServiceresponse(); - - /** - * Model tests for MultiSKUPriceAndStockResponseServiceresponse - */ - @Test - public void testMultiSKUPriceAndStockResponseServiceresponse() { - // TODO: test MultiSKUPriceAndStockResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'priceandstockresponse' - */ - @Test - public void priceandstockresponseTest() { - // TODO: test priceandstockresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java b/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java deleted file mode 100644 index 94a07857..00000000 --- a/src/test/java/xiresellers/client/model/MultiSKUPriceAndStockResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.MultiSKUPriceAndStockResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for MultiSKUPriceAndStockResponse - */ -public class MultiSKUPriceAndStockResponseTest { - private final MultiSKUPriceAndStockResponse model = new MultiSKUPriceAndStockResponse(); - - /** - * Model tests for MultiSKUPriceAndStockResponse - */ - @Test - public void testMultiSKUPriceAndStockResponse() { - // TODO: test MultiSKUPriceAndStockResponse - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java index 5c10150d..c32e3aa7 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java index 1b15228d..9fe75fd8 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java index 2088a4b0..da2f583f 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java index b4fda5e1..79878e9d 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java index ca3af95f..6b17cc2a 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java index 25798e4f..f2aecb90 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java index dd49a28b..6a0079cf 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java index d1e36a01..28dd0e30 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestResellerInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java index f75c6e63..9cdb0ccb 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java index 886d7571..64eb3971 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestShipmentDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java index 5afcdf6c..e2536726 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java index 19cbfcea..0f6b0871 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateRequestVmfTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java index 1821bc15..f6f195ad 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java index 30dfcb2c..956b82d6 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java index 51f062c8..96d46ba0 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java index a37f6369..82a8bf21 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java index 57e11fe3..e1f3222b 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java index 3b68b861..1c065571 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java index 9e792af8..63ddee46 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java index b6717afe..5534d0e4 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java index da8e54de..f99bdf4e 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java index 85e3d52b..fa4b08c8 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java index e7a33d51..d9d2d282 100644 --- a/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderCreateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java deleted file mode 100644 index 877666d7..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest.java +++ /dev/null @@ -1,96 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteRequestServicerequestOrderDeleteRequestDetails - */ -public class OrderDeleteRequestServicerequestOrderDeleteRequestDetailsTest { - private final OrderDeleteRequestServicerequestOrderDeleteRequestDetails model = new OrderDeleteRequestServicerequestOrderDeleteRequestDetails(); - - /** - * Model tests for OrderDeleteRequestServicerequestOrderDeleteRequestDetails - */ - @Test - public void testOrderDeleteRequestServicerequestOrderDeleteRequestDetails() { - // TODO: test OrderDeleteRequestServicerequestOrderDeleteRequestDetails - } - - /** - * Test the property 'entryDate' - */ - @Test - public void entryDateTest() { - // TODO: test entryDate - } - - /** - * Test the property 'orderBranch' - */ - @Test - public void orderBranchTest() { - // TODO: test orderBranch - } - - /** - * Test the property 'orderNumber' - */ - @Test - public void orderNumberTest() { - // TODO: test orderNumber - } - - /** - * Test the property 'rejectionCode' - */ - @Test - public void rejectionCodeTest() { - // TODO: test rejectionCode - } - - /** - * Test the property 'distributionNumber' - */ - @Test - public void distributionNumberTest() { - // TODO: test distributionNumber - } - - /** - * Test the property 'shipmentNumber' - */ - @Test - public void shipmentNumberTest() { - // TODO: test shipmentNumber - } - - /** - * Test the property 'operatorID' - */ - @Test - public void operatorIDTest() { - // TODO: test operatorID - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 79edadc7..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteRequestServicerequestRequestpreamble - */ -public class OrderDeleteRequestServicerequestRequestpreambleTest { - private final OrderDeleteRequestServicerequestRequestpreamble model = new OrderDeleteRequestServicerequestRequestpreamble(); - - /** - * Model tests for OrderDeleteRequestServicerequestRequestpreamble - */ - @Test - public void testOrderDeleteRequestServicerequestRequestpreamble() { - // TODO: test OrderDeleteRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customerNumber' - */ - @Test - public void customerNumberTest() { - // TODO: test customerNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java deleted file mode 100644 index 260eb414..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderDeleteRequestServicerequestOrderDeleteRequestDetails; -import xiresellers.client.model.OrderDeleteRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteRequestServicerequest - */ -public class OrderDeleteRequestServicerequestTest { - private final OrderDeleteRequestServicerequest model = new OrderDeleteRequestServicerequest(); - - /** - * Model tests for OrderDeleteRequestServicerequest - */ - @Test - public void testOrderDeleteRequestServicerequest() { - // TODO: test OrderDeleteRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'orderDeleteRequestDetails' - */ - @Test - public void orderDeleteRequestDetailsTest() { - // TODO: test orderDeleteRequestDetails - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java b/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java deleted file mode 100644 index f5b896e4..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderDeleteRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteRequest - */ -public class OrderDeleteRequestTest { - private final OrderDeleteRequest model = new OrderDeleteRequest(); - - /** - * Model tests for OrderDeleteRequest - */ - @Test - public void testOrderDeleteRequest() { - // TODO: test OrderDeleteRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java deleted file mode 100644 index 3653f29d..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseResponsepreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteResponseServiceresponseResponsepreamble - */ -public class OrderDeleteResponseServiceresponseResponsepreambleTest { - private final OrderDeleteResponseServiceresponseResponsepreamble model = new OrderDeleteResponseServiceresponseResponsepreamble(); - - /** - * Model tests for OrderDeleteResponseServiceresponseResponsepreamble - */ - @Test - public void testOrderDeleteResponseServiceresponseResponsepreamble() { - // TODO: test OrderDeleteResponseServiceresponseResponsepreamble - } - - /** - * Test the property 'requestStatus' - */ - @Test - public void requestStatusTest() { - // TODO: test requestStatus - } - - /** - * Test the property 'returnCode' - */ - @Test - public void returnCodeTest() { - // TODO: test returnCode - } - - /** - * Test the property 'returnMessage' - */ - @Test - public void returnMessageTest() { - // TODO: test returnMessage - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java deleted file mode 100644 index 191ddb80..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteResponseServiceresponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderDeleteResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteResponseServiceresponse - */ -public class OrderDeleteResponseServiceresponseTest { - private final OrderDeleteResponseServiceresponse model = new OrderDeleteResponseServiceresponse(); - - /** - * Model tests for OrderDeleteResponseServiceresponse - */ - @Test - public void testOrderDeleteResponseServiceresponse() { - // TODO: test OrderDeleteResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java b/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java deleted file mode 100644 index fea9b31e..00000000 --- a/src/test/java/xiresellers/client/model/OrderDeleteResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderDeleteResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDeleteResponse - */ -public class OrderDeleteResponseTest { - private final OrderDeleteResponse model = new OrderDeleteResponse(); - - /** - * Model tests for OrderDeleteResponse - */ - @Test - public void testOrderDeleteResponse() { - // TODO: test OrderDeleteResponse - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java index b89699dd..2e33b3c7 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java index ce3f1579..f3737f6c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java index 36445c09..4d34954e 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java index e9a0c220..935bc206 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java index a2be067c..93fa299f 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java index 88a94745..8ff690fb 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java index 0d93161d..da51b622 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java index 3f848401..d75e1eb0 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java index 2923b2ab..a952c677 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java index 79e77d13..a1628920 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java index 9680b49e..261f3eb2 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java index 144d0f9e..9f91686b 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java index 529ef237..8e976bd0 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java index fb3de906..8b6ab99c 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java index e11d1439..e38b8fb2 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptionsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java index 38c32292..9e517b22 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java index 815c3a1f..11cc9ae7 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java index 78bd34c6..f0c5d2f1 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java index e3e9d746..20388a72 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java index d07c6adb..3fc8fd95 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java index e8cfd749..d822e4a1 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java index 5f1103e3..1f5ffb27 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java index 03e6402a..302fd151 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java index 9d752469..d2c40504 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailB2BTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java deleted file mode 100644 index e1ca7235..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestOrderdetailrequestTest.java +++ /dev/null @@ -1,72 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailRequestServicerequestOrderdetailrequest - */ -public class OrderDetailRequestServicerequestOrderdetailrequestTest { - private final OrderDetailRequestServicerequestOrderdetailrequest model = new OrderDetailRequestServicerequestOrderdetailrequest(); - - /** - * Model tests for OrderDetailRequestServicerequestOrderdetailrequest - */ - @Test - public void testOrderDetailRequestServicerequestOrderdetailrequest() { - // TODO: test OrderDetailRequestServicerequestOrderdetailrequest - } - - /** - * Test the property 'ordernumber' - */ - @Test - public void ordernumberTest() { - // TODO: test ordernumber - } - - /** - * Test the property 'customerponumber' - */ - @Test - public void customerponumberTest() { - // TODO: test customerponumber - } - - /** - * Test the property 'orderdate' - */ - @Test - public void orderdateTest() { - // TODO: test orderdate - } - - /** - * Test the property 'systemid' - */ - @Test - public void systemidTest() { - // TODO: test systemid - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java deleted file mode 100644 index e3cfd42f..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.InvoiceDetailRequestServicerequestRequestpreamble; -import xiresellers.client.model.OrderDetailRequestServicerequestOrderdetailrequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailRequestServicerequest - */ -public class OrderDetailRequestServicerequestTest { - private final OrderDetailRequestServicerequest model = new OrderDetailRequestServicerequest(); - - /** - * Model tests for OrderDetailRequestServicerequest - */ - @Test - public void testOrderDetailRequestServicerequest() { - // TODO: test OrderDetailRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'orderdetailrequest' - */ - @Test - public void orderdetailrequestTest() { - // TODO: test orderdetailrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java b/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java deleted file mode 100644 index f1150e32..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderDetailRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailRequest - */ -public class OrderDetailRequestTest { - private final OrderDetailRequest model = new OrderDetailRequest(); - - /** - * Model tests for OrderDetailRequest - */ - @Test - public void testOrderDetailRequest() { - // TODO: test OrderDetailRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java index 780ae4fb..10291cf7 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java index 63c026f0..2c1e0e44 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java index 8a24ce77..0ae61f42 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java index 6dd7c54c..1b1c0357 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java index 4aae4a92..94c25c9e 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java index fba112de..9b62b381 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java index 43e766d8..8b136a49 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java index 10ca0786..4b51e23b 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java index 74948789..3a317e0d 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java index e3c5a469..57967def 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java index 8340232e..c5e7a18b 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java index bcc43a65..0896a685 100644 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java index 1e4019f7..7ca65a47 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java index 21b39694..37af6661 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java deleted file mode 100644 index c538cacb..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - */ -public class OrderModifyRequestServicerequestOrdermodifyrequestHeaderdataTest { - private final OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata model = new OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata(); - - /** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - */ - @Test - public void testOrderModifyRequestServicerequestOrdermodifyrequestHeaderdata() { - // TODO: test OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata - } - - /** - * Test the property 'actioncode' - */ - @Test - public void actioncodeTest() { - // TODO: test actioncode - } - - /** - * Test the property 'shipviacode' - */ - @Test - public void shipviacodeTest() { - // TODO: test shipviacode - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java deleted file mode 100644 index 7e22ad29..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest.java +++ /dev/null @@ -1,96 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - */ -public class OrderModifyRequestServicerequestOrdermodifyrequestLinedataInnerTest { - private final OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner model = new OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner(); - - /** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - */ - @Test - public void testOrderModifyRequestServicerequestOrdermodifyrequestLinedataInner() { - // TODO: test OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner - } - - /** - * Test the property 'addlineorupdateline' - */ - @Test - public void addlineorupdatelineTest() { - // TODO: test addlineorupdateline - } - - /** - * Test the property 'linenumber' - */ - @Test - public void linenumberTest() { - // TODO: test linenumber - } - - /** - * 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 'quantityordered' - */ - @Test - public void quantityorderedTest() { - // TODO: test quantityordered - } - - /** - * Test the property 'customerpartnumber' - */ - @Test - public void customerpartnumberTest() { - // TODO: test customerpartnumber - } - - /** - * Test the property 'linetype' - */ - @Test - public void linetypeTest() { - // TODO: test linetype - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java deleted file mode 100644 index 86a5253f..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest.java +++ /dev/null @@ -1,96 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestShipto - */ -public class OrderModifyRequestServicerequestOrdermodifyrequestShiptoTest { - private final OrderModifyRequestServicerequestOrdermodifyrequestShipto model = new OrderModifyRequestServicerequestOrdermodifyrequestShipto(); - - /** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequestShipto - */ - @Test - public void testOrderModifyRequestServicerequestOrdermodifyrequestShipto() { - // TODO: test OrderModifyRequestServicerequestOrdermodifyrequestShipto - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'addressline' - */ - @Test - public void addresslineTest() { - // TODO: test addressline - } - - /** - * 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 - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java deleted file mode 100644 index 85c5c74f..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestOrdermodifyrequestTest.java +++ /dev/null @@ -1,109 +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.OrderModifyRequestServicerequestOrdermodifyrequestHeaderdata; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestLinedataInner; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequestShipto; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequest - */ -public class OrderModifyRequestServicerequestOrdermodifyrequestTest { - private final OrderModifyRequestServicerequestOrdermodifyrequest model = new OrderModifyRequestServicerequestOrdermodifyrequest(); - - /** - * Model tests for OrderModifyRequestServicerequestOrdermodifyrequest - */ - @Test - public void testOrderModifyRequestServicerequestOrdermodifyrequest() { - // TODO: test OrderModifyRequestServicerequestOrdermodifyrequest - } - - /** - * Test the property 'ingramorderbranch' - */ - @Test - public void ingramorderbranchTest() { - // TODO: test ingramorderbranch - } - - /** - * Test the property 'ingramordernumber' - */ - @Test - public void ingramordernumberTest() { - // TODO: test ingramordernumber - } - - /** - * Test the property 'ingramorderdist' - */ - @Test - public void ingramorderdistTest() { - // TODO: test ingramorderdist - } - - /** - * Test the property 'ingramordership' - */ - @Test - public void ingramordershipTest() { - // TODO: test ingramordership - } - - /** - * Test the property 'customerponumber' - */ - @Test - public void customerponumberTest() { - // TODO: test customerponumber - } - - /** - * Test the property 'shipto' - */ - @Test - public void shiptoTest() { - // TODO: test shipto - } - - /** - * Test the property 'headerdata' - */ - @Test - public void headerdataTest() { - // TODO: test headerdata - } - - /** - * Test the property 'linedata' - */ - @Test - public void linedataTest() { - // TODO: test linedata - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 1a5021a9..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequestRequestpreamble - */ -public class OrderModifyRequestServicerequestRequestpreambleTest { - private final OrderModifyRequestServicerequestRequestpreamble model = new OrderModifyRequestServicerequestRequestpreamble(); - - /** - * Model tests for OrderModifyRequestServicerequestRequestpreamble - */ - @Test - public void testOrderModifyRequestServicerequestRequestpreamble() { - // TODO: test OrderModifyRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java deleted file mode 100644 index c71e11c6..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderModifyRequestServicerequestOrdermodifyrequest; -import xiresellers.client.model.OrderModifyRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyRequestServicerequest - */ -public class OrderModifyRequestServicerequestTest { - private final OrderModifyRequestServicerequest model = new OrderModifyRequestServicerequest(); - - /** - * Model tests for OrderModifyRequestServicerequest - */ - @Test - public void testOrderModifyRequestServicerequest() { - // TODO: test OrderModifyRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'ordermodifyrequest' - */ - @Test - public void ordermodifyrequestTest() { - // TODO: test ordermodifyrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java index 99aca758..42f0c7fb 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java index 5f198328..54bca32e 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,12 @@ 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 xiresellers.client.model.OrderModifyRequestServicerequest; +import java.util.List; +import xiresellers.client.model.OrderModifyRequestAdditionalAttributesInner; +import xiresellers.client.model.OrderModifyRequestLinesInner; +import xiresellers.client.model.OrderModifyRequestShipToInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +43,35 @@ public void testOrderModifyRequest() { } /** - * Test the property 'servicerequest' + * Test the property 'notes' */ @Test - public void servicerequestTest() { - // TODO: test servicerequest + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java index 871341ed..c20b07d2 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java index 11af814d..70b15454 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetailsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java index 024a6bed..41da6fe2 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java index b917079c..079849f4 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java deleted file mode 100644 index e67600f4..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseOrdermodifyresponseTest.java +++ /dev/null @@ -1,80 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyResponseServiceresponseOrdermodifyresponse - */ -public class OrderModifyResponseServiceresponseOrdermodifyresponseTest { - private final OrderModifyResponseServiceresponseOrdermodifyresponse model = new OrderModifyResponseServiceresponseOrdermodifyresponse(); - - /** - * Model tests for OrderModifyResponseServiceresponseOrdermodifyresponse - */ - @Test - public void testOrderModifyResponseServiceresponseOrdermodifyresponse() { - // TODO: test OrderModifyResponseServiceresponseOrdermodifyresponse - } - - /** - * Test the property 'responseflag' - */ - @Test - public void responseflagTest() { - // TODO: test responseflag - } - - /** - * Test the property 'errortype' - */ - @Test - public void errortypeTest() { - // TODO: test errortype - } - - /** - * Test the property 'acktriggered' - */ - @Test - public void acktriggeredTest() { - // TODO: test acktriggered - } - - /** - * Test the property 'warncode' - */ - @Test - public void warncodeTest() { - // TODO: test warncode - } - - /** - * Test the property 'headerresponse' - */ - @Test - public void headerresponseTest() { - // TODO: test headerresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java deleted file mode 100644 index 6535b628..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseResponsepreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyResponseServiceresponseResponsepreamble - */ -public class OrderModifyResponseServiceresponseResponsepreambleTest { - private final OrderModifyResponseServiceresponseResponsepreamble model = new OrderModifyResponseServiceresponseResponsepreamble(); - - /** - * Model tests for OrderModifyResponseServiceresponseResponsepreamble - */ - @Test - public void testOrderModifyResponseServiceresponseResponsepreamble() { - // TODO: test OrderModifyResponseServiceresponseResponsepreamble - } - - /** - * Test the property 'responsestatus' - */ - @Test - public void responsestatusTest() { - // TODO: test responsestatus - } - - /** - * Test the property 'responsemessage' - */ - @Test - public void responsemessageTest() { - // TODO: test responsemessage - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java deleted file mode 100644 index 5fb97ecf..00000000 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseServiceresponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderModifyResponseServiceresponseOrdermodifyresponse; -import xiresellers.client.model.OrderModifyResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderModifyResponseServiceresponse - */ -public class OrderModifyResponseServiceresponseTest { - private final OrderModifyResponseServiceresponse model = new OrderModifyResponseServiceresponse(); - - /** - * Model tests for OrderModifyResponseServiceresponse - */ - @Test - public void testOrderModifyResponseServiceresponse() { - // TODO: test OrderModifyResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'ordermodifyresponse' - */ - @Test - public void ordermodifyresponseTest() { - // TODO: test ordermodifyresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java index 0185a8c9..934ecd31 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseShipToInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java index 5f650789..d180a73e 100644 --- a/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderModifyResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,14 @@ 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 xiresellers.client.model.OrderModifyResponseServiceresponse; +import java.util.List; +import xiresellers.client.model.OrderModifyResponseLinesInner; +import xiresellers.client.model.OrderModifyResponseLinesInnerAdditionalAttributesInner; +import xiresellers.client.model.OrderModifyResponseRejectedLineItemsInner; +import xiresellers.client.model.OrderModifyResponseShipToInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +45,131 @@ public void testOrderModifyResponse() { } /** - * Test the property 'serviceresponse' + * Test the property 'ingramOrderNumber' */ @Test - public void serviceresponseTest() { - // TODO: test serviceresponse + public void ingramOrderNumberTest() { + // TODO: test ingramOrderNumber + } + + /** + * Test the property 'changeDescription' + */ + @Test + public void changeDescriptionTest() { + // TODO: test changeDescription + } + + /** + * Test the property 'orderModifiedDate' + */ + @Test + public void orderModifiedDateTest() { + // TODO: test orderModifiedDate + } + + /** + * 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 'orderTotal' + */ + @Test + public void orderTotalTest() { + // TODO: test orderTotal + } + + /** + * Test the property 'notes' + */ + @Test + public void notesTest() { + // TODO: test notes + } + + /** + * Test the property 'orderSubTotal' + */ + @Test + public void orderSubTotalTest() { + // TODO: test orderSubTotal + } + + /** + * Test the property 'freightCharges' + */ + @Test + public void freightChargesTest() { + // TODO: test freightCharges + } + + /** + * Test the property 'totalTax' + */ + @Test + public void totalTaxTest() { + // TODO: test totalTax + } + + /** + * Test the property 'orderStatus' + */ + @Test + public void orderStatusTest() { + // TODO: test orderStatus + } + + /** + * Test the property 'billToAddressId' + */ + @Test + public void billToAddressIdTest() { + // TODO: test billToAddressId + } + + /** + * Test the property 'shipToInfo' + */ + @Test + public void shipToInfoTest() { + // TODO: test shipToInfo + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'rejectedLineItems' + */ + @Test + public void rejectedLineItemsTest() { + // TODO: test rejectedLineItems + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java deleted file mode 100644 index 3685c559..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - */ -public class OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumberTest { - private final OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber model = new OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber(); - - /** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - */ - @Test - public void testOrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber() { - // TODO: test OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber - } - - /** - * Test the property 'customerOrderNumber' - */ - @Test - public void customerOrderNumberTest() { - // TODO: test customerOrderNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java deleted file mode 100644 index acb7834a..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest.java +++ /dev/null @@ -1,80 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - */ -public class OrderSearchRequestServicerequestOrderLookupRequestOrderNumberTest { - private final OrderSearchRequestServicerequestOrderLookupRequestOrderNumber model = new OrderSearchRequestServicerequestOrderLookupRequestOrderNumber(); - - /** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - */ - @Test - public void testOrderSearchRequestServicerequestOrderLookupRequestOrderNumber() { - // TODO: test OrderSearchRequestServicerequestOrderLookupRequestOrderNumber - } - - /** - * Test the property 'entryDate' - */ - @Test - public void entryDateTest() { - // TODO: test entryDate - } - - /** - * Test the property 'orderBranch' - */ - @Test - public void orderBranchTest() { - // TODO: test orderBranch - } - - /** - * Test the property 'orderNumber' - */ - @Test - public void orderNumberTest() { - // TODO: test orderNumber - } - - /** - * Test the property 'distributionNumber' - */ - @Test - public void distributionNumberTest() { - // TODO: test distributionNumber - } - - /** - * Test the property 'shipmentNumber' - */ - @Test - public void shipmentNumberTest() { - // TODO: test shipmentNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java deleted file mode 100644 index f65d7804..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestOrderLookupRequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestCustomerOrderNumber; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequestOrderNumber; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequest - */ -public class OrderSearchRequestServicerequestOrderLookupRequestTest { - private final OrderSearchRequestServicerequestOrderLookupRequest model = new OrderSearchRequestServicerequestOrderLookupRequest(); - - /** - * Model tests for OrderSearchRequestServicerequestOrderLookupRequest - */ - @Test - public void testOrderSearchRequestServicerequestOrderLookupRequest() { - // TODO: test OrderSearchRequestServicerequestOrderLookupRequest - } - - /** - * Test the property 'orderNumber' - */ - @Test - public void orderNumberTest() { - // TODO: test orderNumber - } - - /** - * Test the property 'customerOrderNumber' - */ - @Test - public void customerOrderNumberTest() { - // TODO: test customerOrderNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 2e116199..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequestServicerequestRequestpreamble - */ -public class OrderSearchRequestServicerequestRequestpreambleTest { - private final OrderSearchRequestServicerequestRequestpreamble model = new OrderSearchRequestServicerequestRequestpreamble(); - - /** - * Model tests for OrderSearchRequestServicerequestRequestpreamble - */ - @Test - public void testOrderSearchRequestServicerequestRequestpreamble() { - // TODO: test OrderSearchRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isoCountryCode' - */ - @Test - public void isoCountryCodeTest() { - // TODO: test isoCountryCode - } - - /** - * Test the property 'customerNumber' - */ - @Test - public void customerNumberTest() { - // TODO: test customerNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java deleted file mode 100644 index 23e755aa..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequestOrderLookupRequest; -import xiresellers.client.model.OrderSearchRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequestServicerequest - */ -public class OrderSearchRequestServicerequestTest { - private final OrderSearchRequestServicerequest model = new OrderSearchRequestServicerequest(); - - /** - * Model tests for OrderSearchRequestServicerequest - */ - @Test - public void testOrderSearchRequestServicerequest() { - // TODO: test OrderSearchRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'orderLookupRequest' - */ - @Test - public void orderLookupRequestTest() { - // TODO: test orderLookupRequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java b/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java deleted file mode 100644 index 7ebfc421..00000000 --- a/src/test/java/xiresellers/client/model/OrderSearchRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.OrderSearchRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderSearchRequest - */ -public class OrderSearchRequestTest { - private final OrderSearchRequest model = new OrderSearchRequest(); - - /** - * Model tests for OrderSearchRequest - */ - @Test - public void testOrderSearchRequest() { - // TODO: test OrderSearchRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java index 4a76e9b7..5d0d01b4 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinksTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java index 3edb2b78..fd1e61f1 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java index ce33baf9..982fa78e 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java index 9e6097a7..787620fc 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseOrdersInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java index 50a2942d..abe18517 100644 --- a/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/OrderSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java index b161cdf4..ec500d62 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java index c6007c8a..7b0ed6db 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java index 9e909d07..e4e7fcef 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java index 911642a6..c12cb081 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java index bdf2fa7f..4340d901 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java index fc963a5e..8f251711 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java index cfcdfb5a..4d432760 100644 --- a/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java +++ b/src/test/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java index 28720f33..f5c77f7e 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java index 097eb37d..e774a64b 100644 --- a/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java index 869f5f86..e00349eb 100644 --- a/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java +++ b/src/test/java/xiresellers/client/model/PostRenewalssearch400ResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java index 7d6a9931..d8afbe93 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java index bdd2544f..b1862b8c 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java index 88e148a0..524aa015 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java index 77f90b1a..a8d2ebae 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java index 890ecff9..deb43bba 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java index c3c2da1b..a03bc690 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java index ce48ad27..7def75ea 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java index e7f06edb..e835a237 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java index e7cd2932..dcec83ae 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java index fb6d9dc3..bbaffc16 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java index 2f3fa8dd..f8d772c2 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java index 1feab341..26505dbc 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricingTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java index 7116efa0..baa75da7 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java index 9d269696..8cec5446 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java index 73943d82..55482183 100644 --- a/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java +++ b/src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java index 67d3061c..056e750d 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java index eae7bc59..0f334fb5 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java index 9bf6603c..d7e34603 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java index abdf6c44..7625e627 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java index a4719a61..b0dc5456 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java index 8b99c163..34220615 100644 --- a/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductDetailResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java index 9f8496fd..a44a4218 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTest.java index 673c9784..0f71a1eb 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java index cd5b1f9e..e8a5f89d 100644 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java deleted file mode 100644 index 7649bab7..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest.java +++ /dev/null @@ -1,80 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - */ -public class ProductSearchRequestServicerequestProductsearchrequestSearchcriteriaTest { - private final ProductSearchRequestServicerequestProductsearchrequestSearchcriteria model = new ProductSearchRequestServicerequestProductsearchrequestSearchcriteria(); - - /** - * Model tests for ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - */ - @Test - public void testProductSearchRequestServicerequestProductsearchrequestSearchcriteria() { - // TODO: test ProductSearchRequestServicerequestProductsearchrequestSearchcriteria - } - - /** - * Test the property 'vendor' - */ - @Test - public void vendorTest() { - // TODO: test vendor - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'partdescription' - */ - @Test - public void partdescriptionTest() { - // TODO: test partdescription - } - - /** - * Test the property 'UPC' - */ - @Test - public void UPCTest() { - // TODO: test UPC - } - - /** - * Test the property 'customerpartnumber' - */ - @Test - public void customerpartnumberTest() { - // TODO: test customerpartnumber - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java deleted file mode 100644 index 71d5b6a7..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestProductsearchrequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequestSearchcriteria; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchRequestServicerequestProductsearchrequest - */ -public class ProductSearchRequestServicerequestProductsearchrequestTest { - private final ProductSearchRequestServicerequestProductsearchrequest model = new ProductSearchRequestServicerequestProductsearchrequest(); - - /** - * Model tests for ProductSearchRequestServicerequestProductsearchrequest - */ - @Test - public void testProductSearchRequestServicerequestProductsearchrequest() { - // TODO: test ProductSearchRequestServicerequestProductsearchrequest - } - - /** - * Test the property 'searchcriteria' - */ - @Test - public void searchcriteriaTest() { - // TODO: test searchcriteria - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java deleted file mode 100644 index 74fca5ed..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestRequestpreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchRequestServicerequestRequestpreamble - */ -public class ProductSearchRequestServicerequestRequestpreambleTest { - private final ProductSearchRequestServicerequestRequestpreamble model = new ProductSearchRequestServicerequestRequestpreamble(); - - /** - * Model tests for ProductSearchRequestServicerequestRequestpreamble - */ - @Test - public void testProductSearchRequestServicerequestRequestpreamble() { - // TODO: test ProductSearchRequestServicerequestRequestpreamble - } - - /** - * Test the property 'isocountrycode' - */ - @Test - public void isocountrycodeTest() { - // TODO: test isocountrycode - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - - /** - * Test the property 'vendornumber' - */ - @Test - public void vendornumberTest() { - // TODO: test vendornumber - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java deleted file mode 100644 index 5cf0bbd7..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestServicerequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequestProductsearchrequest; -import xiresellers.client.model.ProductSearchRequestServicerequestRequestpreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchRequestServicerequest - */ -public class ProductSearchRequestServicerequestTest { - private final ProductSearchRequestServicerequest model = new ProductSearchRequestServicerequest(); - - /** - * Model tests for ProductSearchRequestServicerequest - */ - @Test - public void testProductSearchRequestServicerequest() { - // TODO: test ProductSearchRequestServicerequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'productsearchrequest' - */ - @Test - public void productsearchrequestTest() { - // TODO: test productsearchrequest - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java b/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java deleted file mode 100644 index 786247d5..00000000 --- a/src/test/java/xiresellers/client/model/ProductSearchRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.ProductSearchRequestServicerequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductSearchRequest - */ -public class ProductSearchRequestTest { - private final ProductSearchRequest model = new ProductSearchRequest(); - - /** - * Model tests for ProductSearchRequest - */ - @Test - public void testProductSearchRequest() { - // TODO: test ProductSearchRequest - } - - /** - * Test the property 'servicerequest' - */ - @Test - public void servicerequestTest() { - // TODO: test servicerequest - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java index 74ee9e5a..476a5fa7 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java index 18fa5cd3..56606111 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java index c9f28751..880eb1b2 100644 --- a/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ProductSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java deleted file mode 100644 index e1e4df02..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseResponsePreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseResponsePreamble - */ -public class QuoteDetailsQuoteDetailResponseResponsePreambleTest { - private final QuoteDetailsQuoteDetailResponseResponsePreamble model = new QuoteDetailsQuoteDetailResponseResponsePreamble(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseResponsePreamble - */ - @Test - public void testQuoteDetailsQuoteDetailResponseResponsePreamble() { - // TODO: test QuoteDetailsQuoteDetailResponseResponsePreamble - } - - /** - * Test the property 'responseStatus' - */ - @Test - public void responseStatusTest() { - // TODO: test responseStatus - } - - /** - * Test the property 'statusCode' - */ - @Test - public void statusCodeTest() { - // TODO: test statusCode - } - - /** - * Test the property 'responseMessage' - */ - @Test - public void responseMessageTest() { - // TODO: test responseMessage - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java deleted file mode 100644 index 8d1ed427..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - */ -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfoTest { - private final QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo model = new QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - */ - @Test - public void testQuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo() { - // TODO: test QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo - } - - /** - * Test the property 'accountName' - */ - @Test - public void accountNameTest() { - // TODO: test accountName - } - - /** - * Test the property 'bcn' - */ - @Test - public void bcnTest() { - // TODO: test bcn - } - - /** - * Test the property 'phone' - */ - @Test - public void phoneTest() { - // TODO: test phone - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java deleted file mode 100644 index a2e47b24..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - */ -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfoTest { - private final QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo model = new QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - */ - @Test - public void testQuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo() { - // TODO: test QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo - } - - /** - * Test the property 'contactEmail' - */ - @Test - public void contactEmailTest() { - // TODO: test contactEmail - } - - /** - * Test the property 'contactName' - */ - @Test - public void contactNameTest() { - // TODO: test contactName - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java deleted file mode 100644 index af6051f7..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest.java +++ /dev/null @@ -1,128 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - */ -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUserTest { - private final QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser model = new QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - */ - @Test - public void testQuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser() { - // TODO: test QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser - } - - /** - * Test the property 'endUserName' - */ - @Test - public void endUserNameTest() { - // TODO: test endUserName - } - - /** - * Test the property 'endUserAddress' - */ - @Test - public void endUserAddressTest() { - // TODO: test endUserAddress - } - - /** - * Test the property 'endUserAddress2' - */ - @Test - public void endUserAddress2Test() { - // TODO: test endUserAddress2 - } - - /** - * Test the property 'endUserAddress3' - */ - @Test - public void endUserAddress3Test() { - // TODO: test endUserAddress3 - } - - /** - * Test the property 'endUserCity' - */ - @Test - public void endUserCityTest() { - // TODO: test endUserCity - } - - /** - * Test the property 'endUserState' - */ - @Test - public void endUserStateTest() { - // TODO: test endUserState - } - - /** - * Test the property 'endUserEmail' - */ - @Test - public void endUserEmailTest() { - // TODO: test endUserEmail - } - - /** - * Test the property 'endUserPhone' - */ - @Test - public void endUserPhoneTest() { - // TODO: test endUserPhone - } - - /** - * Test the property 'endUserZipCode' - */ - @Test - public void endUserZipCodeTest() { - // TODO: test endUserZipCode - } - - /** - * Test the property 'endUserContactName' - */ - @Test - public void endUserContactNameTest() { - // TODO: test endUserContactName - } - - /** - * Test the property 'endUserMarketSegment' - */ - @Test - public void endUserMarketSegmentTest() { - // TODO: test endUserMarketSegment - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java deleted file mode 100644 index a49bbe5e..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest.java +++ /dev/null @@ -1,229 +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.time.LocalDate; -import java.util.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - */ -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseTest { - private final QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse model = new QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - */ - @Test - public void testQuoteDetailsQuoteDetailResponseRetrieveQuoteResponse() { - // TODO: test QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse - } - - /** - * Test the property 'quoteGuid' - */ - @Test - public void quoteGuidTest() { - // TODO: test quoteGuid - } - - /** - * Test the property 'quoteName' - */ - @Test - public void quoteNameTest() { - // TODO: test quoteName - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'quoteExpiryDate' - */ - @Test - public void quoteExpiryDateTest() { - // TODO: test quoteExpiryDate - } - - /** - * Test the property 'revisionNumber' - */ - @Test - public void revisionNumberTest() { - // TODO: test revisionNumber - } - - /** - * Test the property 'introPreamble' - */ - @Test - public void introPreambleTest() { - // TODO: test introPreamble - } - - /** - * Test the property 'purchaseInstructions' - */ - @Test - public void purchaseInstructionsTest() { - // TODO: test purchaseInstructions - } - - /** - * Test the property 'legalTerms' - */ - @Test - public void legalTermsTest() { - // TODO: test legalTerms - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'priceDeviationId' - */ - @Test - public void priceDeviationIdTest() { - // TODO: test priceDeviationId - } - - /** - * Test the property 'priceDeviationStartDate' - */ - @Test - public void priceDeviationStartDateTest() { - // TODO: test priceDeviationStartDate - } - - /** - * Test the property 'priceDeviationExpiryDate' - */ - @Test - public void priceDeviationExpiryDateTest() { - // TODO: test priceDeviationExpiryDate - } - - /** - * Test the property 'customerNeed' - */ - @Test - public void customerNeedTest() { - // TODO: test customerNeed - } - - /** - * Test the property 'solutionProposed' - */ - @Test - public void solutionProposedTest() { - // TODO: test solutionProposed - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'created' - */ - @Test - public void createdTest() { - // TODO: test created - } - - /** - * Test the property 'modified' - */ - @Test - public void modifiedTest() { - // TODO: test modified - } - - /** - * Test the property 'leasingCalculations' - */ - @Test - public void leasingCalculationsTest() { - // TODO: test leasingCalculations - } - - /** - * Test the property 'leasingInstructions' - */ - @Test - public void leasingInstructionsTest() { - // TODO: test leasingInstructions - } - - /** - * Test the property 'accountInfo' - */ - @Test - public void accountInfoTest() { - // TODO: test accountInfo - } - - /** - * Test the property 'contactInfo' - */ - @Test - public void contactInfoTest() { - // TODO: test contactInfo - } - - /** - * Test the property 'vendorAttributes' - */ - @Test - public void vendorAttributesTest() { - // TODO: test vendorAttributes - } - - /** - * Test the property 'endUser' - */ - @Test - public void endUserTest() { - // TODO: test endUser - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java deleted file mode 100644 index 025d038a..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest.java +++ /dev/null @@ -1,72 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - */ -public class QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributesTest { - private final QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes model = new QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - */ - @Test - public void testQuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes() { - // TODO: test QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes - } - - /** - * Test the property 'estimateId' - */ - @Test - public void estimateIdTest() { - // TODO: test estimateId - } - - /** - * Test the property 'dealId' - */ - @Test - public void dealIdTest() { - // TODO: test dealId - } - - /** - * Test the property 'vendorName' - */ - @Test - public void vendorNameTest() { - // TODO: test vendorName - } - - /** - * Test the property 'vendorSettingMessage' - */ - @Test - public void vendorSettingMessageTest() { - // TODO: test vendorSettingMessage - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java deleted file mode 100644 index 0f588ce6..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsQuoteDetailResponseTest.java +++ /dev/null @@ -1,101 +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.QuoteDetailsQuoteDetailResponseResponsePreamble; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponse; -import xiresellers.client.model.QuoteProductList; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsQuoteDetailResponse - */ -public class QuoteDetailsQuoteDetailResponseTest { - private final QuoteDetailsQuoteDetailResponse model = new QuoteDetailsQuoteDetailResponse(); - - /** - * Model tests for QuoteDetailsQuoteDetailResponse - */ - @Test - public void testQuoteDetailsQuoteDetailResponse() { - // TODO: test QuoteDetailsQuoteDetailResponse - } - - /** - * Test the property 'responsePreamble' - */ - @Test - public void responsePreambleTest() { - // TODO: test responsePreamble - } - - /** - * Test the property 'retrieveQuoteResponse' - */ - @Test - public void retrieveQuoteResponseTest() { - // TODO: test retrieveQuoteResponse - } - - /** - * Test the property 'quoteProductList' - */ - @Test - public void quoteProductListTest() { - // TODO: test quoteProductList - } - - /** - * Test the property 'totalQuoteProductCount' - */ - @Test - public void totalQuoteProductCountTest() { - // TODO: test totalQuoteProductCount - } - - /** - * Test the property 'totalExtendedMsrp' - */ - @Test - public void totalExtendedMsrpTest() { - // TODO: test totalExtendedMsrp - } - - /** - * Test the property 'totalQuantity' - */ - @Test - public void totalQuantityTest() { - // TODO: test totalQuantity - } - - /** - * Test the property 'totalExtendedQuotePrice' - */ - @Test - public void totalExtendedQuotePriceTest() { - // TODO: test totalExtendedQuotePrice - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java deleted file mode 100644 index 31772f33..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsRequestQuoteProductsRequestRequestpreamble - */ -public class QuoteDetailsRequestQuoteProductsRequestRequestpreambleTest { - private final QuoteDetailsRequestQuoteProductsRequestRequestpreamble model = new QuoteDetailsRequestQuoteProductsRequestRequestpreamble(); - - /** - * Model tests for QuoteDetailsRequestQuoteProductsRequestRequestpreamble - */ - @Test - public void testQuoteDetailsRequestQuoteProductsRequestRequestpreamble() { - // TODO: test QuoteDetailsRequestQuoteProductsRequestRequestpreamble - } - - /** - * Test the property 'customerNumber' - */ - @Test - public void customerNumberTest() { - // TODO: test customerNumber - } - - /** - * Test the property 'isoCountryCode' - */ - @Test - public void isoCountryCodeTest() { - // TODO: test isoCountryCode - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java deleted file mode 100644 index ee7c92e9..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - */ -public class QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequestTest { - private final QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest model = new QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest(); - - /** - * Model tests for QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - */ - @Test - public void testQuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest() { - // TODO: test QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'thirdPartySource' - */ - @Test - public void thirdPartySourceTest() { - // TODO: test thirdPartySource - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java deleted file mode 100644 index 8e2b9c8b..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestQuoteProductsRequestTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRequestpreamble; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequestRetrieveQuoteProductsRequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsRequestQuoteProductsRequest - */ -public class QuoteDetailsRequestQuoteProductsRequestTest { - private final QuoteDetailsRequestQuoteProductsRequest model = new QuoteDetailsRequestQuoteProductsRequest(); - - /** - * Model tests for QuoteDetailsRequestQuoteProductsRequest - */ - @Test - public void testQuoteDetailsRequestQuoteProductsRequest() { - // TODO: test QuoteDetailsRequestQuoteProductsRequest - } - - /** - * Test the property 'requestpreamble' - */ - @Test - public void requestpreambleTest() { - // TODO: test requestpreamble - } - - /** - * Test the property 'retrieveQuoteProductsRequest' - */ - @Test - public void retrieveQuoteProductsRequestTest() { - // TODO: test retrieveQuoteProductsRequest - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java deleted file mode 100644 index c08b8ad3..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsRequestTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.QuoteDetailsRequestQuoteProductsRequest; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsRequest - */ -public class QuoteDetailsRequestTest { - private final QuoteDetailsRequest model = new QuoteDetailsRequest(); - - /** - * Model tests for QuoteDetailsRequest - */ - @Test - public void testQuoteDetailsRequest() { - // TODO: test QuoteDetailsRequest - } - - /** - * Test the property 'quoteProductsRequest' - */ - @Test - public void quoteProductsRequestTest() { - // TODO: test quoteProductsRequest - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java index b26384a6..efb97618 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java index 3b048b5c..c266b602 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java index 822d57ab..594fa770 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPriceTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java index 8b5f01f3..2ca2b4d4 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java deleted file mode 100644 index 65de04a6..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest.java +++ /dev/null @@ -1,271 +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.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseAccountInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseContactInfo; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseEndUser; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseRetrieveQuoteResponseVendorAttributes; -import xiresellers.client.model.QuoteProductList; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - */ -public class QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponseTest { - private final QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse model = new QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse(); - - /** - * Model tests for QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - */ - @Test - public void testQuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse() { - // TODO: test QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse - } - - /** - * Test the property 'quoteGuid' - */ - @Test - public void quoteGuidTest() { - // TODO: test quoteGuid - } - - /** - * Test the property 'quoteName' - */ - @Test - public void quoteNameTest() { - // TODO: test quoteName - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'quoteExpiryDate' - */ - @Test - public void quoteExpiryDateTest() { - // TODO: test quoteExpiryDate - } - - /** - * Test the property 'revisionNumber' - */ - @Test - public void revisionNumberTest() { - // TODO: test revisionNumber - } - - /** - * Test the property 'introPreamble' - */ - @Test - public void introPreambleTest() { - // TODO: test introPreamble - } - - /** - * Test the property 'purchaseInstructions' - */ - @Test - public void purchaseInstructionsTest() { - // TODO: test purchaseInstructions - } - - /** - * Test the property 'legalTerms' - */ - @Test - public void legalTermsTest() { - // TODO: test legalTerms - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'priceDeviationId' - */ - @Test - public void priceDeviationIdTest() { - // TODO: test priceDeviationId - } - - /** - * Test the property 'priceDeviationStartDate' - */ - @Test - public void priceDeviationStartDateTest() { - // TODO: test priceDeviationStartDate - } - - /** - * Test the property 'priceDeviationExpiryDate' - */ - @Test - public void priceDeviationExpiryDateTest() { - // TODO: test priceDeviationExpiryDate - } - - /** - * Test the property 'customerNeed' - */ - @Test - public void customerNeedTest() { - // TODO: test customerNeed - } - - /** - * Test the property 'solutionProposed' - */ - @Test - public void solutionProposedTest() { - // TODO: test solutionProposed - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'created' - */ - @Test - public void createdTest() { - // TODO: test created - } - - /** - * Test the property 'modified' - */ - @Test - public void modifiedTest() { - // TODO: test modified - } - - /** - * Test the property 'leasingCalculations' - */ - @Test - public void leasingCalculationsTest() { - // TODO: test leasingCalculations - } - - /** - * Test the property 'leasingInstructions' - */ - @Test - public void leasingInstructionsTest() { - // TODO: test leasingInstructions - } - - /** - * Test the property 'accountInfo' - */ - @Test - public void accountInfoTest() { - // TODO: test accountInfo - } - - /** - * Test the property 'contactInfo' - */ - @Test - public void contactInfoTest() { - // TODO: test contactInfo - } - - /** - * Test the property 'vendorAttributes' - */ - @Test - public void vendorAttributesTest() { - // TODO: test vendorAttributes - } - - /** - * Test the property 'endUser' - */ - @Test - public void endUserTest() { - // TODO: test endUser - } - - /** - * Test the property 'quoteProductList' - */ - @Test - public void quoteProductListTest() { - // TODO: test quoteProductList - } - - /** - * Test the property 'totalQuoteProductCount' - */ - @Test - public void totalQuoteProductCountTest() { - // TODO: test totalQuoteProductCount - } - - /** - * Test the property 'totalExtendedMsrp' - */ - @Test - public void totalExtendedMsrpTest() { - // TODO: test totalExtendedMsrp - } - - /** - * Test the property 'totalQuantity' - */ - @Test - public void totalQuantityTest() { - // TODO: test totalQuantity - } - - /** - * Test the property 'totalExtendedQuotePrice' - */ - @Test - public void totalExtendedQuotePriceTest() { - // TODO: test totalExtendedQuotePrice - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java deleted file mode 100644 index 66975594..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseQuoteDetailResponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponseResponsePreamble; -import xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponseRetrieveQuoteResponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetailsResponseQuoteDetailResponse - */ -public class QuoteDetailsResponseQuoteDetailResponseTest { - private final QuoteDetailsResponseQuoteDetailResponse model = new QuoteDetailsResponseQuoteDetailResponse(); - - /** - * Model tests for QuoteDetailsResponseQuoteDetailResponse - */ - @Test - public void testQuoteDetailsResponseQuoteDetailResponse() { - // TODO: test QuoteDetailsResponseQuoteDetailResponse - } - - /** - * Test the property 'responsePreamble' - */ - @Test - public void responsePreambleTest() { - // TODO: test responsePreamble - } - - /** - * Test the property 'retrieveQuoteResponse' - */ - @Test - public void retrieveQuoteResponseTest() { - // TODO: test retrieveQuoteResponse - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java index bffaac98..1a98b3a6 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseResellerInfoTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java index 855257be..89f55df6 100644 --- a/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -19,8 +19,13 @@ 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 xiresellers.client.model.QuoteDetailsResponseQuoteDetailResponse; +import java.util.List; +import xiresellers.client.model.QuoteDetailsResponseAdditionalAttributesInner; +import xiresellers.client.model.QuoteDetailsResponseEndUserInfo; +import xiresellers.client.model.QuoteDetailsResponseProductsInner; +import xiresellers.client.model.QuoteDetailsResponseResellerInfo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -39,11 +44,211 @@ public void testQuoteDetailsResponse() { } /** - * Test the property 'quoteDetailResponse' + * Test the property 'quoteName' */ @Test - public void quoteDetailResponseTest() { - // TODO: test quoteDetailResponse + public void quoteNameTest() { + // TODO: test quoteName + } + + /** + * Test the property 'quoteNumber' + */ + @Test + public void quoteNumberTest() { + // TODO: test quoteNumber + } + + /** + * Test the property 'revision' + */ + @Test + public void revisionTest() { + // TODO: test revision + } + + /** + * Test the property 'ingramQuoteDate' + */ + @Test + public void ingramQuoteDateTest() { + // TODO: test ingramQuoteDate + } + + /** + * Test the property 'lastModifiedDate' + */ + @Test + public void lastModifiedDateTest() { + // TODO: test lastModifiedDate + } + + /** + * Test the property 'ingramQuoteExpiryDate' + */ + @Test + public void ingramQuoteExpiryDateTest() { + // TODO: test ingramQuoteExpiryDate + } + + /** + * Test the property 'currencyCode' + */ + @Test + public void currencyCodeTest() { + // TODO: test currencyCode + } + + /** + * Test the property 'specialBidId' + */ + @Test + public void specialBidIdTest() { + // TODO: test specialBidId + } + + /** + * Test the property 'specialBidEffectiveDate' + */ + @Test + public void specialBidEffectiveDateTest() { + // TODO: test specialBidEffectiveDate + } + + /** + * Test the property 'specialBidExpirationDate' + */ + @Test + public void specialBidExpirationDateTest() { + // TODO: test specialBidExpirationDate + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'customerNeed' + */ + @Test + public void customerNeedTest() { + // TODO: test customerNeed + } + + /** + * Test the property 'proposedSolution' + */ + @Test + public void proposedSolutionTest() { + // TODO: test proposedSolution + } + + /** + * Test the property 'introPreamble' + */ + @Test + public void introPreambleTest() { + // TODO: test introPreamble + } + + /** + * Test the property 'purchaseInstructions' + */ + @Test + public void purchaseInstructionsTest() { + // TODO: test purchaseInstructions + } + + /** + * Test the property 'legalTerms' + */ + @Test + public void legalTermsTest() { + // TODO: test legalTerms + } + + /** + * Test the property 'leaseInfo' + */ + @Test + public void leaseInfoTest() { + // TODO: test leaseInfo + } + + /** + * Test the property 'leasingInstructions' + */ + @Test + public void leasingInstructionsTest() { + // TODO: test leasingInstructions + } + + /** + * 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 'products' + */ + @Test + public void productsTest() { + // TODO: test products + } + + /** + * Test the property 'productsCount' + */ + @Test + public void productsCountTest() { + // TODO: test productsCount + } + + /** + * Test the property 'extendedMsrpTotal' + */ + @Test + public void extendedMsrpTotalTest() { + // TODO: test extendedMsrpTotal + } + + /** + * Test the property 'quantityTotal' + */ + @Test + public void quantityTotalTest() { + // TODO: test quantityTotal + } + + /** + * Test the property 'extendedQuotePriceTotal' + */ + @Test + public void extendedQuotePriceTotalTest() { + // TODO: test extendedQuotePriceTotal + } + + /** + * Test the property 'additionalAttributes' + */ + @Test + public void additionalAttributesTest() { + // TODO: test additionalAttributes } } diff --git a/src/test/java/xiresellers/client/model/QuoteDetailsTest.java b/src/test/java/xiresellers/client/model/QuoteDetailsTest.java deleted file mode 100644 index 37826819..00000000 --- a/src/test/java/xiresellers/client/model/QuoteDetailsTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.QuoteDetailsQuoteDetailResponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteDetails - */ -public class QuoteDetailsTest { - private final QuoteDetails model = new QuoteDetails(); - - /** - * Model tests for QuoteDetails - */ - @Test - public void testQuoteDetails() { - // TODO: test QuoteDetails - } - - /** - * Test the property 'quoteDetailResponse' - */ - @Test - public void quoteDetailResponseTest() { - // TODO: test quoteDetailResponse - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java deleted file mode 100644 index 9825c090..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseQuoteListInnerTest.java +++ /dev/null @@ -1,121 +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.time.LocalDate; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListResponseQuoteSearchResponseQuoteListInner - */ -public class QuoteListResponseQuoteSearchResponseQuoteListInnerTest { - private final QuoteListResponseQuoteSearchResponseQuoteListInner model = new QuoteListResponseQuoteSearchResponseQuoteListInner(); - - /** - * Model tests for QuoteListResponseQuoteSearchResponseQuoteListInner - */ - @Test - public void testQuoteListResponseQuoteSearchResponseQuoteListInner() { - // TODO: test QuoteListResponseQuoteSearchResponseQuoteListInner - } - - /** - * Test the property 'quoteName' - */ - @Test - public void quoteNameTest() { - // TODO: test quoteName - } - - /** - * Test the property 'quoteNumber' - */ - @Test - public void quoteNumberTest() { - // TODO: test quoteNumber - } - - /** - * Test the property 'revisionNumber' - */ - @Test - public void revisionNumberTest() { - // TODO: test revisionNumber - } - - /** - * Test the property 'endUserName' - */ - @Test - public void endUserNameTest() { - // TODO: test endUserName - } - - /** - * Test the property 'bidNumber' - */ - @Test - public void bidNumberTest() { - // TODO: test bidNumber - } - - /** - * Test the property 'totalAmount' - */ - @Test - public void totalAmountTest() { - // TODO: test totalAmount - } - - /** - * Test the property 'quoteStatus' - */ - @Test - public void quoteStatusTest() { - // TODO: test quoteStatus - } - - /** - * Test the property 'createdDate' - */ - @Test - public void createdDateTest() { - // TODO: test createdDate - } - - /** - * Test the property 'lastModifiedDate' - */ - @Test - public void lastModifiedDateTest() { - // TODO: test lastModifiedDate - } - - /** - * Test the property 'quoteExpiryDate' - */ - @Test - public void quoteExpiryDateTest() { - // TODO: test quoteExpiryDate - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java deleted file mode 100644 index 770a81ae..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseResponsePreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListResponseQuoteSearchResponseResponsePreamble - */ -public class QuoteListResponseQuoteSearchResponseResponsePreambleTest { - private final QuoteListResponseQuoteSearchResponseResponsePreamble model = new QuoteListResponseQuoteSearchResponseResponsePreamble(); - - /** - * Model tests for QuoteListResponseQuoteSearchResponseResponsePreamble - */ - @Test - public void testQuoteListResponseQuoteSearchResponseResponsePreamble() { - // TODO: test QuoteListResponseQuoteSearchResponseResponsePreamble - } - - /** - * Test the property 'responseStatus' - */ - @Test - public void responseStatusTest() { - // TODO: test responseStatus - } - - /** - * Test the property 'responseStatusCode' - */ - @Test - public void responseStatusCodeTest() { - // TODO: test responseStatusCode - } - - /** - * Test the property 'responseMessage' - */ - @Test - public void responseMessageTest() { - // TODO: test responseMessage - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java deleted file mode 100644 index 0b742de1..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListResponseQuoteSearchResponseTest.java +++ /dev/null @@ -1,68 +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.QuoteListResponseQuoteSearchResponseQuoteListInner; -import xiresellers.client.model.QuoteListResponseQuoteSearchResponseResponsePreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListResponseQuoteSearchResponse - */ -public class QuoteListResponseQuoteSearchResponseTest { - private final QuoteListResponseQuoteSearchResponse model = new QuoteListResponseQuoteSearchResponse(); - - /** - * Model tests for QuoteListResponseQuoteSearchResponse - */ - @Test - public void testQuoteListResponseQuoteSearchResponse() { - // TODO: test QuoteListResponseQuoteSearchResponse - } - - /** - * Test the property 'responsePreamble' - */ - @Test - public void responsePreambleTest() { - // TODO: test responsePreamble - } - - /** - * Test the property 'quoteList' - */ - @Test - public void quoteListTest() { - // TODO: test quoteList - } - - /** - * Test the property 'totalCount' - */ - @Test - public void totalCountTest() { - // TODO: test totalCount - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteListResponseTest.java b/src/test/java/xiresellers/client/model/QuoteListResponseTest.java deleted file mode 100644 index 1edbe272..00000000 --- a/src/test/java/xiresellers/client/model/QuoteListResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.QuoteListResponseQuoteSearchResponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteListResponse - */ -public class QuoteListResponseTest { - private final QuoteListResponse model = new QuoteListResponse(); - - /** - * Model tests for QuoteListResponse - */ - @Test - public void testQuoteListResponse() { - // TODO: test QuoteListResponse - } - - /** - * Test the property 'quoteSearchResponse' - */ - @Test - public void quoteSearchResponseTest() { - // TODO: test quoteSearchResponse - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java b/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java deleted file mode 100644 index c44446db..00000000 --- a/src/test/java/xiresellers/client/model/QuoteProductListPriceTest.java +++ /dev/null @@ -1,73 +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.math.BigDecimal; -import java.util.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteProductListPrice - */ -public class QuoteProductListPriceTest { - private final QuoteProductListPrice model = new QuoteProductListPrice(); - - /** - * Model tests for QuoteProductListPrice - */ - @Test - public void testQuoteProductListPrice() { - // TODO: test QuoteProductListPrice - } - - /** - * Test the property 'quotePrice' - */ - @Test - public void quotePriceTest() { - // TODO: test quotePrice - } - - /** - * Test the property 'msrp' - */ - @Test - public void msrpTest() { - // TODO: test msrp - } - - /** - * Test the property 'extendedMsrp' - */ - @Test - public void extendedMsrpTest() { - // TODO: test extendedMsrp - } - - /** - * Test the property 'extendedQuotePrice' - */ - @Test - public void extendedQuotePriceTest() { - // TODO: test extendedQuotePrice - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteProductListTest.java b/src/test/java/xiresellers/client/model/QuoteProductListTest.java deleted file mode 100644 index ae635da2..00000000 --- a/src/test/java/xiresellers/client/model/QuoteProductListTest.java +++ /dev/null @@ -1,161 +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.Arrays; -import xiresellers.client.model.QuoteProductListPrice; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for QuoteProductList - */ -public class QuoteProductListTest { - private final QuoteProductList model = new QuoteProductList(); - - /** - * Model tests for QuoteProductList - */ - @Test - public void testQuoteProductList() { - // TODO: test QuoteProductList - } - - /** - * Test the property 'quoteProductGuid' - */ - @Test - public void quoteProductGuidTest() { - // TODO: test quoteProductGuid - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - - /** - * Test the property 'comments' - */ - @Test - public void commentsTest() { - // TODO: test comments - } - - /** - * Test the property 'bidStartDate' - */ - @Test - public void bidStartDateTest() { - // TODO: test bidStartDate - } - - /** - * Test the property 'bidExpiryDate' - */ - @Test - public void bidExpiryDateTest() { - // TODO: test bidExpiryDate - } - - /** - * Test the property 'sku' - */ - @Test - public void skuTest() { - // TODO: test sku - } - - /** - * Test the property 'lineNumber' - */ - @Test - public void lineNumberTest() { - // TODO: test lineNumber - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'vendorPartNumber' - */ - @Test - public void vendorPartNumberTest() { - // TODO: test vendorPartNumber - } - - /** - * Test the property 'weight' - */ - @Test - public void weightTest() { - // TODO: test weight - } - - /** - * Test the property 'isSuggestionProduct' - */ - @Test - public void isSuggestionProductTest() { - // TODO: test isSuggestionProduct - } - - /** - * Test the property 'vpnCategory' - */ - @Test - public void vpnCategoryTest() { - // TODO: test vpnCategory - } - - /** - * Test the property 'quoteProductsSupplierPartAuxiliaryId' - */ - @Test - public void quoteProductsSupplierPartAuxiliaryIdTest() { - // TODO: test quoteProductsSupplierPartAuxiliaryId - } - - /** - * Test the property 'quoteProductsVendor' - */ - @Test - public void quoteProductsVendorTest() { - // TODO: test quoteProductsVendor - } - - /** - * Test the property 'price' - */ - @Test - public void priceTest() { - // TODO: test price - } - -} diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java index 2277a8d3..1e1e35fb 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java index eafee047..bebef03a 100644 --- a/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java index a6f83434..b8351bee 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java index ebf6968f..6086e01f 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java index f8c2b937..61ad3685 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -22,7 +22,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java similarity index 69% rename from src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java rename to src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java index d5988be8..592c81f5 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -24,17 +24,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * Model tests for QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ -public class ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerTest { - private final ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner model = new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner(); +public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest { + private final QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner model = new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner(); /** - * Model tests for ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + * Model tests for QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ @Test - public void testValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() { - // TODO: test ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + public void testQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() { + // TODO: test QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner } /** diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java index 4306c9cb..4faee5ca 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java index 84740bb2..c7843194 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java index d37f83be..c0ea3bb0 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java b/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java index 82e6870d..2ceb6ac5 100644 --- a/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java +++ b/src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java index 006b3cf4..454799a2 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java index 29b5c1b5..fbbe2823 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java index 9b21f0ef..5851f61e 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java index 661bb415..ecd963e8 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java index bac5b35a..f05fe78c 100644 --- a/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java index e063d4c7..c7f5a753 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java index 213bbcb2..eaee21fd 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java index 644e9d1a..efad8118 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java index 290420c6..1009eb65 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java index a9394c50..a00d3d0f 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java index 92146f12..64262ae4 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java index f187a21f..25aaf24b 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java index f28b05b2..1aef8498 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java index 512fb472..213d8692 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java index fa476e1f..9f2d9030 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java index 48788123..e22f6d2e 100644 --- a/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/RenewalsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java index 90c71162..fedbf279 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java index 1acbd43e..ed069df8 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestListInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java index 623e7209..e94e3a96 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateRequestTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java index d5c03a00..1ffc2142 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java index 3fbae93a..96b45c5c 100644 --- a/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsCreateResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java index b3226598..d778c3ea 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseProductsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java index 869bef0a..3049316b 100644 --- a/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsDetailsResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java index 4fea9f84..fae1ff2d 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java index 1c81dbf7..4989e386 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java index 2565f493..6d930c42 100644 --- a/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java +++ b/src/test/java/xiresellers/client/model/ReturnsSearchResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java index e88c92b8..f02bbb04 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseLinesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 @@ -22,7 +22,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import xiresellers.client.model.ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner; +import xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java index 8bcd1436..9c1d4850 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 diff --git a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java index f4bcbafc..9d8701c6 100644 --- a/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java +++ b/src/test/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInnerTest.java @@ -1,5 +1,5 @@ /* - * XI SDK Resellers + * XI Sdk Resellers * For Resellers. Who are looking to 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 From db440e4ba5516b2da82f86f2d388ec57d861db36 Mon Sep 17 00:00:00 2001 From: ingrammicro-xvantage Date: Fri, 16 Feb 2024 08:56:57 +0000 Subject: [PATCH 3/6] Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispec/commit/9120ec8dea0327a82eeec835889b463029a51afd --- README.md | 2 +- src/main/java/xiresellers/client/ApiException.java | 2 +- src/main/java/xiresellers/client/Configuration.java | 2 +- src/main/java/xiresellers/client/Pair.java | 2 +- src/main/java/xiresellers/client/StringUtil.java | 2 +- src/main/java/xiresellers/client/auth/ApiKeyAuth.java | 2 +- src/main/java/xiresellers/client/auth/HttpBearerAuth.java | 2 +- src/main/java/xiresellers/client/auth/OAuth.java | 2 +- src/main/java/xiresellers/client/auth/OAuthFlow.java | 2 +- .../java/xiresellers/client/model/AbstractOpenApiSchema.java | 2 +- src/main/java/xiresellers/client/model/AddressType.java | 2 +- .../client/model/AvailabilityAsyncNotificationRequest.java | 2 +- .../AvailabilityAsyncNotificationRequestResourceInner.java | 2 +- ...labilityAsyncNotificationRequestResourceInnerLinksInner.java | 2 +- .../java/xiresellers/client/model/DealsDetailsResponse.java | 2 +- .../client/model/DealsDetailsResponseProductsInner.java | 2 +- src/main/java/xiresellers/client/model/DealsSearchResponse.java | 2 +- .../xiresellers/client/model/DealsSearchResponseDealsInner.java | 2 +- src/main/java/xiresellers/client/model/Error.java | 2 +- src/main/java/xiresellers/client/model/ErrorResponse.java | 2 +- src/main/java/xiresellers/client/model/ErrorResponseDTO.java | 2 +- .../java/xiresellers/client/model/ErrorResponseErrorsInner.java | 2 +- .../client/model/ErrorResponseErrorsInnerFieldsInner.java | 2 +- src/main/java/xiresellers/client/model/Fields.java | 2 +- src/main/java/xiresellers/client/model/FreightRequest.java | 2 +- .../java/xiresellers/client/model/FreightRequestLinesInner.java | 2 +- .../client/model/FreightRequestShipToAddressInner.java | 2 +- src/main/java/xiresellers/client/model/FreightResponse.java | 2 +- .../client/model/FreightResponseFreightEstimateResponse.java | 2 +- ...FreightResponseFreightEstimateResponseDistributionInner.java | 2 +- ...reightEstimateResponseDistributionInnerCarrierListInner.java | 2 +- .../model/FreightResponseFreightEstimateResponseLinesInner.java | 2 +- .../client/model/GetResellerV6ValidateQuote400Response.java | 2 +- .../model/GetResellerV6ValidateQuote400ResponseFieldsInner.java | 2 +- .../client/model/GetResellerV6ValidateQuote500Response.java | 2 +- .../java/xiresellers/client/model/InvoiceDetailResponse.java | 2 +- .../client/model/InvoiceDetailResponseServiceresponse.java | 2 +- ...voiceDetailResponseServiceresponseInvoicedetailresponse.java | 2 +- ...eServiceresponseInvoicedetailresponseExtendedspecsInner.java | 2 +- ...nseServiceresponseInvoicedetailresponseMiscfeelineInner.java | 2 +- .../InvoiceDetailResponseServiceresponseResponsepreamble.java | 2 +- .../xiresellers/client/model/InvoiceDetailsv61Response.java | 2 +- .../client/model/InvoiceDetailsv61ResponseBillToInfo.java | 2 +- .../client/model/InvoiceDetailsv61ResponseFxRateInfo.java | 2 +- .../client/model/InvoiceDetailsv61ResponseLinesInner.java | 2 +- .../InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java | 2 +- .../client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java | 2 +- .../client/model/InvoiceDetailsv61ResponseShipToInfo.java | 2 +- .../client/model/InvoiceDetailsv61ResponseSummary.java | 2 +- .../model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java | 2 +- .../client/model/InvoiceDetailsv61ResponseSummaryLines.java | 2 +- .../model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java | 2 +- .../client/model/InvoiceDetailsv61ResponseSummaryTotals.java | 2 +- .../java/xiresellers/client/model/InvoiceSearchResponse.java | 2 +- .../client/model/InvoiceSearchResponseInvoicesInner.java | 2 +- src/main/java/xiresellers/client/model/OrderCreateRequest.java | 2 +- .../model/OrderCreateRequestAdditionalAttributesInner.java | 2 +- .../xiresellers/client/model/OrderCreateRequestEndUserInfo.java | 2 +- .../xiresellers/client/model/OrderCreateRequestLinesInner.java | 2 +- .../OrderCreateRequestLinesInnerAdditionalAttributesInner.java | 2 +- .../model/OrderCreateRequestLinesInnerEndUserInfoInner.java | 2 +- .../model/OrderCreateRequestLinesInnerWarrantyInfoInner.java | 2 +- ...CreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java | 2 +- .../client/model/OrderCreateRequestResellerInfo.java | 2 +- .../xiresellers/client/model/OrderCreateRequestShipToInfo.java | 2 +- .../client/model/OrderCreateRequestShipmentDetails.java | 2 +- .../java/xiresellers/client/model/OrderCreateRequestVmf.java | 2 +- src/main/java/xiresellers/client/model/OrderCreateResponse.java | 2 +- .../client/model/OrderCreateResponseEndUserInfo.java | 2 +- .../client/model/OrderCreateResponseOrdersInner.java | 2 +- ...OrderCreateResponseOrdersInnerAdditionalAttributesInner.java | 2 +- .../client/model/OrderCreateResponseOrdersInnerLinesInner.java | 2 +- ...eResponseOrdersInnerLinesInnerAdditionalAttributesInner.java | 2 +- ...CreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java | 2 +- .../client/model/OrderCreateResponseOrdersInnerLinksInner.java | 2 +- ...OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java | 2 +- .../OrderCreateResponseOrdersInnerRejectedLineItemsInner.java | 2 +- .../xiresellers/client/model/OrderCreateResponseShipToInfo.java | 2 +- src/main/java/xiresellers/client/model/OrderDetailB2B.java | 2 +- .../client/model/OrderDetailB2BAdditionalAttributesInner.java | 2 +- .../java/xiresellers/client/model/OrderDetailB2BBillToInfo.java | 2 +- .../xiresellers/client/model/OrderDetailB2BEndUserInfo.java | 2 +- .../java/xiresellers/client/model/OrderDetailB2BLinesInner.java | 2 +- .../OrderDetailB2BLinesInnerAdditionalAttributesInner.java | 2 +- .../model/OrderDetailB2BLinesInnerEstimatedDatesInner.java | 2 +- .../OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java | 2 +- ...BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java | 2 +- .../model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java | 2 +- ...DetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java | 2 +- .../client/model/OrderDetailB2BLinesInnerLinksInner.java | 2 +- .../model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java | 2 +- .../model/OrderDetailB2BLinesInnerScheduleLinesInner.java | 2 +- .../model/OrderDetailB2BLinesInnerServiceContractInfo.java | 2 +- ...OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java | 2 +- .../OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java | 2 +- ...rderDetailB2BLinesInnerServiceContractInfoSubscriptions.java | 2 +- .../model/OrderDetailB2BLinesInnerShipmentDetailsInner.java | 2 +- ...ailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java | 2 +- ...mentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java | 2 +- ...rrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java | 2 +- .../client/model/OrderDetailB2BMiscellaneousChargesInner.java | 2 +- .../java/xiresellers/client/model/OrderDetailB2BShipToInfo.java | 2 +- src/main/java/xiresellers/client/model/OrderDetailResponse.java | 2 +- .../xiresellers/client/model/OrderDetailResponseBillToInfo.java | 2 +- .../client/model/OrderDetailResponseEndUserInfo.java | 2 +- .../xiresellers/client/model/OrderDetailResponseLinesInner.java | 2 +- .../OrderDetailResponseLinesInnerAdditionalAttributesInner.java | 2 +- .../client/model/OrderDetailResponseLinesInnerLinksInner.java | 2 +- .../OrderDetailResponseLinesInnerShipmentDetailsInner.java | 2 +- ...ailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java | 2 +- ...rShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java | 2 +- ...nerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java | 2 +- .../model/OrderDetailResponseMiscellaneousChargesInner.java | 2 +- .../xiresellers/client/model/OrderDetailResponseShipToInfo.java | 2 +- src/main/java/xiresellers/client/model/OrderModifyRequest.java | 2 +- .../model/OrderModifyRequestAdditionalAttributesInner.java | 2 +- .../xiresellers/client/model/OrderModifyRequestLinesInner.java | 2 +- .../xiresellers/client/model/OrderModifyRequestShipToInfo.java | 2 +- src/main/java/xiresellers/client/model/OrderModifyResponse.java | 2 +- .../xiresellers/client/model/OrderModifyResponseLinesInner.java | 2 +- .../OrderModifyResponseLinesInnerAdditionalAttributesInner.java | 2 +- .../model/OrderModifyResponseLinesInnerShipmentDetails.java | 2 +- .../client/model/OrderModifyResponseRejectedLineItemsInner.java | 2 +- .../xiresellers/client/model/OrderModifyResponseShipToInfo.java | 2 +- src/main/java/xiresellers/client/model/OrderSearchResponse.java | 2 +- .../client/model/OrderSearchResponseOrdersInner.java | 2 +- .../client/model/OrderSearchResponseOrdersInnerLinks.java | 2 +- .../model/OrderSearchResponseOrdersInnerSubOrdersInner.java | 2 +- .../OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java | 2 +- .../client/model/OrderStatusAsyncNotificationRequest.java | 2 +- .../model/OrderStatusAsyncNotificationRequestResourceInner.java | 2 +- ...erStatusAsyncNotificationRequestResourceInnerLinesInner.java | 2 +- ...nRequestResourceInnerLinesInnerSerialNumberDetailsInner.java | 2 +- ...ationRequestResourceInnerLinesInnerShipmentDetailsInner.java | 2 +- ...eInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java | 2 +- ...erStatusAsyncNotificationRequestResourceInnerLinksInner.java | 2 +- .../xiresellers/client/model/PostQuoteToOrderV6400Response.java | 2 +- .../client/model/PostQuoteToOrderV6400ResponseFieldsInner.java | 2 +- .../xiresellers/client/model/PostRenewalssearch400Response.java | 2 +- .../xiresellers/client/model/PriceAndAvailabilityRequest.java | 2 +- .../PriceAndAvailabilityRequestAdditionalAttributesInner.java | 2 +- ...PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java | 2 +- .../client/model/PriceAndAvailabilityRequestProductsInner.java | 2 +- ...ailabilityRequestProductsInnerAdditionalAttributesInner.java | 2 +- .../client/model/PriceAndAvailabilityResponseInner.java | 2 +- .../model/PriceAndAvailabilityResponseInnerAvailability.java | 2 +- ...tyResponseInnerAvailabilityAvailabilityByWarehouseInner.java | 2 +- ...ilabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java | 2 +- .../model/PriceAndAvailabilityResponseInnerDiscountsInner.java | 2 +- ...bilityResponseInnerDiscountsInnerQuantityDiscountsInner.java | 2 +- ...ilabilityResponseInnerDiscountsInnerSpecialPricingInner.java | 2 +- .../client/model/PriceAndAvailabilityResponseInnerPricing.java | 2 +- ...ndAvailabilityResponseInnerReserveInventoryDetailsInner.java | 2 +- .../PriceAndAvailabilityResponseInnerServiceFeesInner.java | 2 +- .../java/xiresellers/client/model/ProductDetailResponse.java | 2 +- .../model/ProductDetailResponseAdditionalInformation.java | 2 +- ...ctDetailResponseAdditionalInformationProductWeightInner.java | 2 +- .../client/model/ProductDetailResponseCiscoFields.java | 2 +- .../client/model/ProductDetailResponseIndicators.java | 2 +- .../ProductDetailResponseTechnicalSpecificationsInner.java | 2 +- src/main/java/xiresellers/client/model/ProductLineType.java | 2 +- .../client/model/ProductLineTypeSerialnumberdetailsInner.java | 2 +- .../client/model/ProductLineTypeTrackingnumberdetailsInner.java | 2 +- .../java/xiresellers/client/model/ProductSearchResponse.java | 2 +- .../client/model/ProductSearchResponseCatalogInner.java | 2 +- .../model/ProductSearchResponseCatalogInnerLinksInner.java | 2 +- .../java/xiresellers/client/model/QuoteDetailsResponse.java | 2 +- .../model/QuoteDetailsResponseAdditionalAttributesInner.java | 2 +- .../client/model/QuoteDetailsResponseEndUserInfo.java | 2 +- .../client/model/QuoteDetailsResponseProductsInner.java | 2 +- .../client/model/QuoteDetailsResponseProductsInnerPrice.java | 2 +- .../client/model/QuoteDetailsResponseResellerInfo.java | 2 +- src/main/java/xiresellers/client/model/QuoteSearchResponse.java | 2 +- .../client/model/QuoteSearchResponseQuotesInner.java | 2 +- .../java/xiresellers/client/model/QuoteToOrderDetailsDTO.java | 2 +- .../model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java | 2 +- .../client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java | 2 +- .../client/model/QuoteToOrderDetailsDTOLinesInner.java | 2 +- ...erDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java | 2 +- .../client/model/QuoteToOrderDetailsDTOShipToInfoInner.java | 2 +- .../QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java | 2 +- .../java/xiresellers/client/model/QuoteToOrderResponse.java | 2 +- .../java/xiresellers/client/model/RenewalsDetailsResponse.java | 2 +- .../model/RenewalsDetailsResponseAdditionalAttributesInner.java | 2 +- .../client/model/RenewalsDetailsResponseEndUserInfoInner.java | 2 +- .../client/model/RenewalsDetailsResponseProductsInner.java | 2 +- .../model/RenewalsDetailsResponseReferenceNumberInner.java | 2 +- .../java/xiresellers/client/model/RenewalsSearchRequest.java | 2 +- .../xiresellers/client/model/RenewalsSearchRequestDataType.java | 2 +- .../client/model/RenewalsSearchRequestDataTypeEndDate.java | 2 +- .../model/RenewalsSearchRequestDataTypeExpirationDate.java | 2 +- .../client/model/RenewalsSearchRequestDataTypeInvoiceDate.java | 2 +- .../client/model/RenewalsSearchRequestDataTypeStartDate.java | 2 +- .../xiresellers/client/model/RenewalsSearchRequestStatus.java | 2 +- .../model/RenewalsSearchRequestStatusOpporutinyStatus.java | 2 +- .../java/xiresellers/client/model/RenewalsSearchResponse.java | 2 +- .../client/model/RenewalsSearchResponseRenewalsInner.java | 2 +- .../model/RenewalsSearchResponseRenewalsInnerLinksInner.java | 2 +- .../java/xiresellers/client/model/ReturnsCreateRequest.java | 2 +- .../xiresellers/client/model/ReturnsCreateRequestListInner.java | 2 +- .../model/ReturnsCreateRequestListInnerShipFromInfoInner.java | 2 +- .../java/xiresellers/client/model/ReturnsCreateResponse.java | 2 +- .../client/model/ReturnsCreateResponseReturnsClaimsInner.java | 2 +- .../java/xiresellers/client/model/ReturnsDetailsResponse.java | 2 +- .../client/model/ReturnsDetailsResponseProductsInner.java | 2 +- .../java/xiresellers/client/model/ReturnsSearchResponse.java | 2 +- .../client/model/ReturnsSearchResponseReturnsClaimsInner.java | 2 +- .../ReturnsSearchResponseReturnsClaimsInnerLinksInner.java | 2 +- .../java/xiresellers/client/model/ValidateQuoteResponse.java | 2 +- .../client/model/ValidateQuoteResponseLinesInner.java | 2 +- .../ValidateQuoteResponseVmfAdditionalAttributesInner.java | 2 +- 211 files changed, 211 insertions(+), 211 deletions(-) diff --git a/README.md b/README.md index 8387f529..e4473288 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ XI Sdk Resellers - API version: 1.0.0 - - Build date: 2024-02-16T07:02:17.403456Z[Etc/UTC] + - Build date: 2024-02-16T08:56:25.348026Z[Etc/UTC] For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index 33f904df..e1b676d2 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 08410b82..2c464508 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class Configuration { public static final String VERSION = "1.0.0"; diff --git a/src/main/java/xiresellers/client/Pair.java b/src/main/java/xiresellers/client/Pair.java index 1e1316f5..05c0caf0 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index a2da134c..01c39f1b 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index 70bc9d40..b428bc8e 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index bd689578..a00617b3 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2daa61cd..fdaac103 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 fc23b8f7..c7078a40 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 fbe89b27..06b1889f 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AddressType.java b/src/main/java/xiresellers/client/model/AddressType.java index f7434c7f..464b9049 100644 --- a/src/main/java/xiresellers/client/model/AddressType.java +++ b/src/main/java/xiresellers/client/model/AddressType.java @@ -49,7 +49,7 @@ /** * Address type object */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class AddressType { public static final String SERIALIZED_NAME_ATTENTION = "attention"; @SerializedName(SERIALIZED_NAME_ATTENTION) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index d4791697..da4f20cc 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index 7d2a3d3d..f7af12f7 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 0c0913d6..62ffa9be 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 e095cada..9c5be3e8 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -55,7 +55,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index 993ee0de..9059e5ea 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -51,7 +51,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 a545aa24..d6092c97 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index dac22b8c..60f3f21a 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b9cd118f..dc5079b5 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 8ff2b8ff..daccf497 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -52,7 +52,7 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index 8109bff7..d2901c53 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 a4ca0d06..bfb256c4 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index ba9ada45..7ead1f0e 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 424d6f00..555cc448 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 bcde26b4..a5b6d81a 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index d84bf185..cb3a7635 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 a84c5cab..96eac836 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 c7cd1132..dfc86250 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 9a4e47e5..55e6ddc4 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index 3c3136a7..b160f2a4 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index ae921dd9..d5436270 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index 41cb1c6e..e210110f 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index 5e4772a0..0813f7b5 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index 47c75515..7d71a15f 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java index 02be6697..743ce2d4 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java @@ -51,7 +51,7 @@ /** * GetResellerV6ValidateQuote500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java index f0a8afff..4d005a50 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java @@ -50,7 +50,7 @@ /** * InvoiceDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponse { public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java index 65a9c5d1..02d65405 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java @@ -51,7 +51,7 @@ /** * InvoiceDetailResponseServiceresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponse { public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java index 4c8a49ba..8f2a8ca9 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java @@ -57,7 +57,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java index c5bcec74..0637cd56 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner { public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java index 4b2d1fa4..33f34e85 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java index 7b638f65..b590a223 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java @@ -49,7 +49,7 @@ /** * InvoiceDetailResponseServiceresponseResponsepreamble */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailResponseServiceresponseResponsepreamble { public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index 16b24f77..f343cd2e 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -58,7 +58,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index 7a724961..3b6468d5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 cf116cb0..40e44a4b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 d34bacca..82bb9f2f 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -53,7 +53,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 49bc9bf5..65595503 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 86098c37..60c59ba4 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2a9a42fe..5d34fdef 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 c4f56150..cd3ed1ae 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2288616b..a853c470 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 4d8497e4..f36aaa38 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 75a9e32b..58da258e 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5fbcb195..eb4aa2bd 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index fbcafb5c..2ca812df 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index 742c69e5..50abddc2 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -49,7 +49,7 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index 74146208..8cc45c42 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -58,7 +58,7 @@ /** * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateRequest { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index 5b626415..4504ed73 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 d63eac8d..3dca05c3 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateRequestEndUserInfo { 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/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index 89d771f6..17985385 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateRequestLinesInner { 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/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index 93773327..d4112812 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 6ded138e..95de8117 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 13c796ae..eb035626 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index 009b4ef7..c2ca9914 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 a180d1a6..8d2d5bd5 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 dbbe1949..84fe6cd6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5d676104..691ac34f 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 125f3f6a..1a09a856 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 f1cbbf29..570beced 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -55,7 +55,7 @@ /** * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateResponse { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index e62422df..f18ff03a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 404359e9..17983407 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index ececd47e..48fcb7d9 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 fc07cabb..36ccd1d8 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderCreateResponseOrdersInnerLinesInner { 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/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index 7edce9e4..0a0f1799 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 26dcfb9c..46b562b1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 ae424ce1..1d74477a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 ca1c9d1a..4dd3eee1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 3ebb878b..f9f4c939 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 28de3322..35c1da6f 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 d9ec95a1..9fe6ae24 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -59,7 +59,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 7acefe6f..00445ea0 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 062c7038..54b7db71 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 80392229..406c98f8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 48d1aab5..5bc52f10 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailB2BLinesInner { 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/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index 0f113b6a..eca44b76 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 0fc08515..845f999f 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 48edd91c..0e5ceab8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index 500b70af..b227f1b3 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 82d488e4..f5260caf 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b12907e7..95e5cbb8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 ebccf2c6..dadccdf8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 89f98a7b..4ad24162 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 48d8eb06..8cb53eab 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2ad48161..18e7e86c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 d5714fc2..4e347afa 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 7eeecc1f..80f7bdbc 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 c461b094..0fa8064a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 406fc530..dd4b0da8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b9d1cb9b..b6a3edd5 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 12087160..8f6446fe 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 f4cbb9c9..855618a8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5b6ecfdb..66115463 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 9037e4e4..64e34f9f 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailB2BShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponse.java index dd240593..ac8fa585 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponse.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponse.java @@ -58,7 +58,7 @@ /** * OrderDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponse { 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/OrderDetailResponseBillToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java index f416117b..eafea503 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseBillToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java index 3458b742..a73e5436 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseEndUserInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java index 6001a9c3..a4e79f3b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java @@ -56,7 +56,7 @@ /** * OrderDetailResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInner { 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/OrderDetailResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java index 64184b20..d4f8a1e0 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java index 34dd8a9c..bba0b48d 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerLinksInner { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java index edbfaa20..d88c47fd 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java @@ -51,7 +51,7 @@ /** * Shipping details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java index 2859191d..b3f4355c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java @@ -52,7 +52,7 @@ /** * The shipment carrier details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java index 2a8f2b5e..5d97e0e8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java @@ -52,7 +52,7 @@ /** * The tracking details for the shipment containing the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner { public static final String SERIALIZED_NAME_TRACKING_NUMBER = "trackingNumber"; @SerializedName(SERIALIZED_NAME_TRACKING_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java index 0f0445b7..3b2d1c0c 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java @@ -49,7 +49,7 @@ /** * A list of serial numbers of the line items contained in the shipment. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner { public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java index e3102e39..1c3c57ec 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailResponseMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseMiscellaneousChargesInner { 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/OrderDetailResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java index 2712a8b9..4b287296 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderDetailResponseShipToInfo { 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 53fdd389..148b0e59 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -54,7 +54,7 @@ /** * OrderModifyRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderModifyRequest { public static final String SERIALIZED_NAME_NOTES = "notes"; @SerializedName(SERIALIZED_NAME_NOTES) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index c816387a..5537d7b2 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 c832bc8f..4c115f7c 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 d5d3f029..1f857e5a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2b9612b4..f4170ad9 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -56,7 +56,7 @@ /** * OrderModifyResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderModifyResponse { 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/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index 40e43b9d..ed42e0c2 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderModifyResponseLinesInner { 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/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index 5e80a818..c188c954 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 88cb9b2a..1b0790ca 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5292f64e..890384fd 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 c738e10e..f6966315 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5e6a9e3d..bfe8cdd6 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -52,7 +52,7 @@ /** * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index c046d4d8..ea497fe6 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderSearchResponseOrdersInner { 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/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index 10ce1dfb..b0459582 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 eb6ed416..b7d2f1ec 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInner { 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/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index 7be91e27..50dae16d 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b888f4cc..efadd84a 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index 71358de0..3331ee05 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index 3d094ef3..7351a42c 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 93f2b802..353cf7d8 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 6bff476b..32531df9 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index 4bce3a53..1dd01dc6 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 47636c2e..6a98ac7d 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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/PostQuoteToOrderV6400Response.java index 6efb6e1a..136aefe9 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java @@ -52,7 +52,7 @@ /** * PostQuoteToOrderV6400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java index e97e03be..e287447c 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * PostQuoteToOrderV6400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PostQuoteToOrderV6400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index 6ec09cb0..0cda3663 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index 1bbdc4ae..aad1979d 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -54,7 +54,7 @@ /** * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index bd4b57ff..e2d169d5 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 17cf145f..1ffcbd4b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 19fb0323..5e9b0e8d 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityRequestProductsInner { 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/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index 447e1022..5a2d290f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 3c4b3779..f32c398a 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index 0d4ffd6a..c5a12613 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index 0b0f8aa5..0e65f2cc 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index 4f90de19..5d1ce505 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 83c5434d..4ec18177 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -53,7 +53,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index 69432aee..0599f656 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b1750c3f..0241bc97 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 5825a471..4f60659b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 ae06e100..621928fd 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 9f8f3cfd..1296d500 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 04dfc7ec..dd6615b1 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductDetailResponse { 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/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index 1f0bcb36..312ab26e 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -52,7 +52,7 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index add2fcca..a908140c 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 9015f0ae..e4466a08 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 91c5c869..10fa60e9 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 9c4e28e9..f2d632c5 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADERNAME = "headername"; @SerializedName(SERIALIZED_NAME_HEADERNAME) diff --git a/src/main/java/xiresellers/client/model/ProductLineType.java b/src/main/java/xiresellers/client/model/ProductLineType.java index f69307b8..b7a79fa3 100644 --- a/src/main/java/xiresellers/client/model/ProductLineType.java +++ b/src/main/java/xiresellers/client/model/ProductLineType.java @@ -55,7 +55,7 @@ /** * Product line items object under each invoice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductLineType { public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; @SerializedName(SERIALIZED_NAME_LINENUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java index d44515c6..d996f9ae 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java @@ -49,7 +49,7 @@ /** * ProductLineTypeSerialnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductLineTypeSerialnumberdetailsInner { public static final String SERIALIZED_NAME_SERIALNUMBER = "serialnumber"; @SerializedName(SERIALIZED_NAME_SERIALNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java index a44537ce..f76a1704 100644 --- a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java +++ b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java @@ -49,7 +49,7 @@ /** * ProductLineTypeTrackingnumberdetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductLineTypeTrackingnumberdetailsInner { public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index f3a75be5..fb9dfec1 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -52,7 +52,7 @@ /** * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index bcd41edd..55ab259c 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index f28b09ce..c74f5b5b 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -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-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 94d93c70..3787b1f4 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -55,7 +55,7 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 693c9198..4686c33f 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 46181d9b..2b8f6c8a 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 7eddd471..46b02385 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 93c68275..17377c00 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java index 9c0dcb02..6cfbe24e 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index fda0cf58..70c03375 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index bedf67d6..a0aacf82 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -50,7 +50,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java index 74cb93f8..eefc3411 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java @@ -57,7 +57,7 @@ /** * QuoteToOrderDetailsDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTO { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java index 1c3dc092..9c8d6458 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java index 4ed6133d..c3333fcb 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOEndUserInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java index 1b8c1e2d..85696497 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java @@ -52,7 +52,7 @@ /** * QuoteToOrderDetailsDTOLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInner { 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/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java index a2ded285..ffbe971d 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java index f317999c..b0244448 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java @@ -50,7 +50,7 @@ /** * QuoteToOrderDetailsDTOShipToInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOShipToInfoInner { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java index 334afcb2..dc8aac27 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java index eade54c4..08c38d7b 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -50,7 +50,7 @@ /** * QuoteToOrderResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class QuoteToOrderResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index af868c49..f588984d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -57,7 +57,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index 42751936..e17b90bf 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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/RenewalsDetailsResponseEndUserInfoInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java index 34946ca0..c8c66c91 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsDetailsResponseEndUserInfoInner { 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 55ec4a25..bb7940ed 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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/RenewalsDetailsResponseReferenceNumberInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java index 06b724e3..dc7b768d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumberInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsDetailsResponseReferenceNumberInner { 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 74b98e76..f63f4bfd 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java index 6acf630d..929ef4ad 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDataType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequestDataType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java index e67f239f..7c1d601d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeEndDate { 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/RenewalsSearchRequestDataTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java index cc0f1cb8..725cb186 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeExpirationDate { 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/RenewalsSearchRequestDataTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java index 237bfbfc..f444e910 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeInvoiceDate { 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/RenewalsSearchRequestDataTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java index 30a2e8b8..751608e2 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeStartDate { 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 c50eeddb..57e9ce61 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 7f41ddcb..7eee72c9 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 6dc71ba9..4fb7cd12 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index 7e877b61..c25847fd 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index c1517963..d4a56e71 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 b8c14527..25d54d6c 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -52,7 +52,7 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index 2e2ae01d..5f74a5c4 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 a6d15c7a..5db930c5 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 88031b70..478ff405 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -52,7 +52,7 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 51814a85..2ad8f441 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index 1b710412..09e5d78a 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -54,7 +54,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index bb9a651f..2c0a4088 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -51,7 +51,7 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 baded1de..db8aea2f 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index 153cffbd..aee9341d 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index 22b7bdf6..83f1dc8c 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") 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 2e36a638..09adf88a 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index 3808abec..fe18a534 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -52,7 +52,7 @@ /** * ValidateQuoteResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ValidateQuoteResponseLinesInner { 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/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index 1887bdb7..ffff37e3 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T07:02:17.403456Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") public class ValidateQuoteResponseVmfAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) From 9d1c003caa7b2dca3975f52388be89ae849adb66 Mon Sep 17 00:00:00 2001 From: ingrammicro-xvantage Date: Fri, 16 Feb 2024 12:21:27 +0000 Subject: [PATCH 4/6] Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispec/commit/1f5900e3bfa56e03af9f066fbf5e4f13c66c6f70 --- .openapi-generator/FILES | 72 - README.md | 26 +- api/openapi.yaml | 2328 +---------------- docs/AddressType.md | 26 - docs/InvoiceDetailResponse.md | 13 - docs/InvoiceDetailResponseServiceresponse.md | 14 - ...nseServiceresponseInvoicedetailresponse.md | 54 - ...InvoicedetailresponseExtendedspecsInner.md | 14 - ...seInvoicedetailresponseMiscfeelineInner.md | 15 - ...ResponseServiceresponseResponsepreamble.md | 15 - docs/InvoicesV6Api.md | 92 - docs/OrderDetailResponse.md | 33 - docs/OrderDetailResponseBillToInfo.md | 26 - docs/OrderDetailResponseEndUserInfo.md | 26 - docs/OrderDetailResponseLinesInner.md | 38 - ...onseLinesInnerAdditionalAttributesInner.md | 14 - ...OrderDetailResponseLinesInnerLinksInner.md | 16 - ...lResponseLinesInnerShipmentDetailsInner.md | 23 - ...InnerShipmentDetailsInnerCarrierDetails.md | 16 - ...InnerCarrierDetailsTrackingDetailsInner.md | 19 - ...sTrackingDetailsInnerSerialNumbersInner.md | 14 - ...DetailResponseMiscellaneousChargesInner.md | 16 - docs/OrderDetailResponseShipToInfo.md | 26 - docs/OrdersV6Api.md | 97 - docs/ProductDetailResponse.md | 2 +- docs/ProductLineType.md | 33 - ...ProductLineTypeSerialnumberdetailsInner.md | 14 - ...oductLineTypeTrackingnumberdetailsInner.md | 13 - .../java/xiresellers/client/ApiException.java | 2 +- .../xiresellers/client/Configuration.java | 2 +- src/main/java/xiresellers/client/JSON.java | 22 - src/main/java/xiresellers/client/Pair.java | 2 +- .../java/xiresellers/client/StringUtil.java | 2 +- .../xiresellers/client/api/InvoicesV6Api.java | 288 -- .../xiresellers/client/api/OrdersV6Api.java | 299 --- .../xiresellers/client/auth/ApiKeyAuth.java | 2 +- .../client/auth/HttpBearerAuth.java | 2 +- .../java/xiresellers/client/auth/OAuth.java | 2 +- .../xiresellers/client/auth/OAuthFlow.java | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../xiresellers/client/model/AddressType.java | 554 ---- .../AvailabilityAsyncNotificationRequest.java | 2 +- ...AsyncNotificationRequestResourceInner.java | 2 +- ...icationRequestResourceInnerLinksInner.java | 2 +- .../client/model/DealsDetailsResponse.java | 2 +- .../DealsDetailsResponseProductsInner.java | 2 +- .../client/model/DealsSearchResponse.java | 2 +- .../model/DealsSearchResponseDealsInner.java | 2 +- .../java/xiresellers/client/model/Error.java | 2 +- .../client/model/ErrorResponse.java | 2 +- .../client/model/ErrorResponseDTO.java | 2 +- .../model/ErrorResponseErrorsInner.java | 2 +- .../ErrorResponseErrorsInnerFieldsInner.java | 2 +- .../java/xiresellers/client/model/Fields.java | 2 +- .../client/model/FreightRequest.java | 2 +- .../model/FreightRequestLinesInner.java | 2 +- .../FreightRequestShipToAddressInner.java | 2 +- .../client/model/FreightResponse.java | 2 +- ...reightResponseFreightEstimateResponse.java | 2 +- ...ightEstimateResponseDistributionInner.java | 2 +- ...onseDistributionInnerCarrierListInner.java | 2 +- ...onseFreightEstimateResponseLinesInner.java | 2 +- ...GetResellerV6ValidateQuote400Response.java | 2 +- ...V6ValidateQuote400ResponseFieldsInner.java | 2 +- ...GetResellerV6ValidateQuote500Response.java | 2 +- .../client/model/InvoiceDetailResponse.java | 208 -- .../InvoiceDetailResponseServiceresponse.java | 239 -- ...eServiceresponseInvoicedetailresponse.java | 1448 ---------- ...voicedetailresponseExtendedspecsInner.java | 235 -- ...InvoicedetailresponseMiscfeelineInner.java | 264 -- ...sponseServiceresponseResponsepreamble.java | 264 -- .../model/InvoiceDetailsv61Response.java | 2 +- .../InvoiceDetailsv61ResponseBillToInfo.java | 2 +- .../InvoiceDetailsv61ResponseFxRateInfo.java | 2 +- .../InvoiceDetailsv61ResponseLinesInner.java | 2 +- ...1ResponseLinesInnerSerialNumbersInner.java | 2 +- ...iceDetailsv61ResponsePaymentTermsInfo.java | 2 +- .../InvoiceDetailsv61ResponseShipToInfo.java | 2 +- .../InvoiceDetailsv61ResponseSummary.java | 2 +- ...ailsv61ResponseSummaryForeignFxTotals.java | 2 +- ...InvoiceDetailsv61ResponseSummaryLines.java | 2 +- ...ilsv61ResponseSummaryMiscChargesInner.java | 2 +- ...nvoiceDetailsv61ResponseSummaryTotals.java | 2 +- .../client/model/InvoiceSearchResponse.java | 2 +- .../InvoiceSearchResponseInvoicesInner.java | 2 +- .../client/model/OrderCreateRequest.java | 2 +- ...reateRequestAdditionalAttributesInner.java | 2 +- .../model/OrderCreateRequestEndUserInfo.java | 2 +- .../model/OrderCreateRequestLinesInner.java | 2 +- ...stLinesInnerAdditionalAttributesInner.java | 2 +- ...eateRequestLinesInnerEndUserInfoInner.java | 2 +- ...ateRequestLinesInnerWarrantyInfoInner.java | 2 +- ...InnerWarrantyInfoInnerSerialInfoInner.java | 2 +- .../model/OrderCreateRequestResellerInfo.java | 2 +- .../model/OrderCreateRequestShipToInfo.java | 2 +- .../OrderCreateRequestShipmentDetails.java | 2 +- .../client/model/OrderCreateRequestVmf.java | 2 +- .../client/model/OrderCreateResponse.java | 2 +- .../model/OrderCreateResponseEndUserInfo.java | 2 +- .../model/OrderCreateResponseOrdersInner.java | 2 +- ...eOrdersInnerAdditionalAttributesInner.java | 2 +- ...erCreateResponseOrdersInnerLinesInner.java | 2 +- ...erLinesInnerAdditionalAttributesInner.java | 2 +- ...rsInnerLinesInnerShipmentDetailsInner.java | 2 +- ...erCreateResponseOrdersInnerLinksInner.java | 2 +- ...eOrdersInnerMiscellaneousChargesInner.java | 2 +- ...onseOrdersInnerRejectedLineItemsInner.java | 2 +- .../model/OrderCreateResponseShipToInfo.java | 2 +- .../client/model/OrderDetailB2B.java | 2 +- ...derDetailB2BAdditionalAttributesInner.java | 2 +- .../model/OrderDetailB2BBillToInfo.java | 2 +- .../model/OrderDetailB2BEndUserInfo.java | 2 +- .../model/OrderDetailB2BLinesInner.java | 2 +- ...2BLinesInnerAdditionalAttributesInner.java | 2 +- ...etailB2BLinesInnerEstimatedDatesInner.java | 2 +- ...LinesInnerEstimatedDatesInnerDelivery.java | 2 +- ...edDatesInnerDeliveryDeliveryDateRange.java | 2 +- ...lB2BLinesInnerEstimatedDatesInnerShip.java | 2 +- ...rEstimatedDatesInnerShipShipDateRange.java | 2 +- .../OrderDetailB2BLinesInnerLinksInner.java | 2 +- ...ilB2BLinesInnerMultipleShipmentsInner.java | 2 +- ...DetailB2BLinesInnerScheduleLinesInner.java | 2 +- ...etailB2BLinesInnerServiceContractInfo.java | 2 +- ...sInnerServiceContractInfoContractInfo.java | 2 +- ...esInnerServiceContractInfoLicenseInfo.java | 2 +- ...InnerServiceContractInfoSubscriptions.java | 2 +- ...tailB2BLinesInnerShipmentDetailsInner.java | 2 +- ...ipmentDetailsInnerCarrierDetailsInner.java | 2 +- ...rrierDetailsInnerTrackingDetailsInner.java | 2 +- ...rackingDetailsInnerSerialNumbersInner.java | 2 +- ...derDetailB2BMiscellaneousChargesInner.java | 2 +- .../model/OrderDetailB2BShipToInfo.java | 2 +- .../client/model/OrderDetailResponse.java | 840 ------ .../model/OrderDetailResponseBillToInfo.java | 554 ---- .../model/OrderDetailResponseEndUserInfo.java | 554 ---- .../model/OrderDetailResponseLinesInner.java | 968 ------- ...seLinesInnerAdditionalAttributesInner.java | 235 -- ...derDetailResponseLinesInnerLinksInner.java | 264 -- ...esponseLinesInnerShipmentDetailsInner.java | 452 ---- ...nerShipmentDetailsInnerCarrierDetails.java | 286 -- ...nerCarrierDetailsTrackingDetailsInner.java | 373 --- ...rackingDetailsInnerSerialNumbersInner.java | 206 -- ...tailResponseMiscellaneousChargesInner.java | 290 -- .../model/OrderDetailResponseShipToInfo.java | 554 ---- .../client/model/OrderModifyRequest.java | 2 +- ...odifyRequestAdditionalAttributesInner.java | 2 +- .../model/OrderModifyRequestLinesInner.java | 2 +- .../model/OrderModifyRequestShipToInfo.java | 2 +- .../client/model/OrderModifyResponse.java | 2 +- .../model/OrderModifyResponseLinesInner.java | 2 +- ...seLinesInnerAdditionalAttributesInner.java | 2 +- ...difyResponseLinesInnerShipmentDetails.java | 2 +- ...rModifyResponseRejectedLineItemsInner.java | 2 +- .../model/OrderModifyResponseShipToInfo.java | 2 +- .../client/model/OrderSearchResponse.java | 2 +- .../model/OrderSearchResponseOrdersInner.java | 2 +- .../OrderSearchResponseOrdersInnerLinks.java | 2 +- ...archResponseOrdersInnerSubOrdersInner.java | 2 +- ...seOrdersInnerSubOrdersInnerLinksInner.java | 2 +- .../OrderStatusAsyncNotificationRequest.java | 2 +- ...AsyncNotificationRequestResourceInner.java | 2 +- ...icationRequestResourceInnerLinesInner.java | 2 +- ...nerLinesInnerSerialNumberDetailsInner.java | 2 +- ...ceInnerLinesInnerShipmentDetailsInner.java | 2 +- ...ipmentDetailsInnerPackageDetailsInner.java | 2 +- ...icationRequestResourceInnerLinksInner.java | 2 +- .../model/PostQuoteToOrderV6400Response.java | 2 +- ...tQuoteToOrderV6400ResponseFieldsInner.java | 2 +- .../model/PostRenewalssearch400Response.java | 2 +- .../model/PriceAndAvailabilityRequest.java | 2 +- ...ilityRequestAdditionalAttributesInner.java | 2 +- ...tyRequestAvailabilityByWarehouseInner.java | 2 +- ...ceAndAvailabilityRequestProductsInner.java | 2 +- ...roductsInnerAdditionalAttributesInner.java | 2 +- .../PriceAndAvailabilityResponseInner.java | 2 +- ...AvailabilityResponseInnerAvailability.java | 2 +- ...ilabilityAvailabilityByWarehouseInner.java | 2 +- ...ityByWarehouseInnerBackOrderInfoInner.java | 2 +- ...ailabilityResponseInnerDiscountsInner.java | 2 +- ...rDiscountsInnerQuantityDiscountsInner.java | 2 +- ...nnerDiscountsInnerSpecialPricingInner.java | 2 +- ...ceAndAvailabilityResponseInnerPricing.java | 2 +- ...onseInnerReserveInventoryDetailsInner.java | 2 +- ...labilityResponseInnerServiceFeesInner.java | 2 +- .../client/model/ProductDetailResponse.java | 13 +- ...ctDetailResponseAdditionalInformation.java | 2 +- ...ditionalInformationProductWeightInner.java | 2 +- .../ProductDetailResponseCiscoFields.java | 2 +- .../ProductDetailResponseIndicators.java | 2 +- ...lResponseTechnicalSpecificationsInner.java | 2 +- .../client/model/ProductLineType.java | 817 ------ ...oductLineTypeSerialnumberdetailsInner.java | 235 -- ...uctLineTypeTrackingnumberdetailsInner.java | 206 -- .../client/model/ProductSearchResponse.java | 2 +- .../ProductSearchResponseCatalogInner.java | 2 +- ...tSearchResponseCatalogInnerLinksInner.java | 2 +- .../client/model/QuoteDetailsResponse.java | 2 +- ...ailsResponseAdditionalAttributesInner.java | 2 +- .../QuoteDetailsResponseEndUserInfo.java | 2 +- .../QuoteDetailsResponseProductsInner.java | 2 +- ...uoteDetailsResponseProductsInnerPrice.java | 2 +- .../QuoteDetailsResponseResellerInfo.java | 2 +- .../client/model/QuoteSearchResponse.java | 2 +- .../model/QuoteSearchResponseQuotesInner.java | 2 +- .../client/model/QuoteToOrderDetailsDTO.java | 2 +- ...erDetailsDTOAdditionalAttributesInner.java | 2 +- ...uoteToOrderDetailsDTOEndUserInfoInner.java | 2 +- .../QuoteToOrderDetailsDTOLinesInner.java | 2 +- ...nnerVmfAdditionalAttributesLinesInner.java | 2 +- ...QuoteToOrderDetailsDTOShipToInfoInner.java | 2 +- ...etailsDTOVmfadditionalAttributesInner.java | 2 +- .../client/model/QuoteToOrderResponse.java | 2 +- .../client/model/RenewalsDetailsResponse.java | 2 +- ...ailsResponseAdditionalAttributesInner.java | 2 +- ...newalsDetailsResponseEndUserInfoInner.java | 2 +- .../RenewalsDetailsResponseProductsInner.java | 2 +- ...lsDetailsResponseReferenceNumberInner.java | 2 +- .../client/model/RenewalsSearchRequest.java | 2 +- .../model/RenewalsSearchRequestDataType.java | 2 +- .../RenewalsSearchRequestDataTypeEndDate.java | 2 +- ...lsSearchRequestDataTypeExpirationDate.java | 2 +- ...ewalsSearchRequestDataTypeInvoiceDate.java | 2 +- ...enewalsSearchRequestDataTypeStartDate.java | 2 +- .../model/RenewalsSearchRequestStatus.java | 2 +- ...lsSearchRequestStatusOpporutinyStatus.java | 2 +- .../client/model/RenewalsSearchResponse.java | 2 +- .../RenewalsSearchResponseRenewalsInner.java | 2 +- ...SearchResponseRenewalsInnerLinksInner.java | 2 +- .../client/model/ReturnsCreateRequest.java | 2 +- .../model/ReturnsCreateRequestListInner.java | 2 +- ...eateRequestListInnerShipFromInfoInner.java | 2 +- .../client/model/ReturnsCreateResponse.java | 2 +- ...turnsCreateResponseReturnsClaimsInner.java | 2 +- .../client/model/ReturnsDetailsResponse.java | 2 +- .../ReturnsDetailsResponseProductsInner.java | 2 +- .../client/model/ReturnsSearchResponse.java | 2 +- ...turnsSearchResponseReturnsClaimsInner.java | 2 +- ...hResponseReturnsClaimsInnerLinksInner.java | 2 +- .../client/model/ValidateQuoteResponse.java | 2 +- .../ValidateQuoteResponseLinesInner.java | 2 +- ...eResponseVmfAdditionalAttributesInner.java | 2 +- .../client/api/InvoicesV6ApiTest.java | 56 - .../client/api/OrdersV6ApiTest.java | 59 - .../client/model/AddressTypeTest.java | 144 - ...edetailresponseExtendedspecsInnerTest.java | 56 - ...icedetailresponseMiscfeelineInnerTest.java | 64 - ...viceresponseInvoicedetailresponseTest.java | 384 --- ...seServiceresponseResponsepreambleTest.java | 64 - ...oiceDetailResponseServiceresponseTest.java | 58 - .../model/InvoiceDetailResponseTest.java | 49 - .../OrderDetailResponseBillToInfoTest.java | 144 - .../OrderDetailResponseEndUserInfoTest.java | 144 - ...nesInnerAdditionalAttributesInnerTest.java | 56 - ...etailResponseLinesInnerLinksInnerTest.java | 64 - ...hipmentDetailsInnerCarrierDetailsTest.java | 67 - ...ingDetailsInnerSerialNumbersInnerTest.java | 48 - ...arrierDetailsTrackingDetailsInnerTest.java | 91 - ...nseLinesInnerShipmentDetailsInnerTest.java | 122 - .../OrderDetailResponseLinesInnerTest.java | 255 -- ...ResponseMiscellaneousChargesInnerTest.java | 72 - .../OrderDetailResponseShipToInfoTest.java | 144 - .../client/model/OrderDetailResponseTest.java | 217 -- ...tLineTypeSerialnumberdetailsInnerTest.java | 56 - .../client/model/ProductLineTypeTest.java | 206 -- ...ineTypeTrackingnumberdetailsInnerTest.java | 48 - 265 files changed, 250 insertions(+), 16555 deletions(-) delete mode 100644 docs/AddressType.md delete mode 100644 docs/InvoiceDetailResponse.md delete mode 100644 docs/InvoiceDetailResponseServiceresponse.md delete mode 100644 docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md delete mode 100644 docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md delete mode 100644 docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md delete mode 100644 docs/InvoiceDetailResponseServiceresponseResponsepreamble.md delete mode 100644 docs/InvoicesV6Api.md delete mode 100644 docs/OrderDetailResponse.md delete mode 100644 docs/OrderDetailResponseBillToInfo.md delete mode 100644 docs/OrderDetailResponseEndUserInfo.md delete mode 100644 docs/OrderDetailResponseLinesInner.md delete mode 100644 docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md delete mode 100644 docs/OrderDetailResponseLinesInnerLinksInner.md delete mode 100644 docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md delete mode 100644 docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md delete mode 100644 docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md delete mode 100644 docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md delete mode 100644 docs/OrderDetailResponseMiscellaneousChargesInner.md delete mode 100644 docs/OrderDetailResponseShipToInfo.md delete mode 100644 docs/OrdersV6Api.md delete mode 100644 docs/ProductLineType.md delete mode 100644 docs/ProductLineTypeSerialnumberdetailsInner.md delete mode 100644 docs/ProductLineTypeTrackingnumberdetailsInner.md delete mode 100644 src/main/java/xiresellers/client/api/InvoicesV6Api.java delete mode 100644 src/main/java/xiresellers/client/api/OrdersV6Api.java delete mode 100644 src/main/java/xiresellers/client/model/AddressType.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponse.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java delete mode 100644 src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponse.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java delete mode 100644 src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java delete mode 100644 src/main/java/xiresellers/client/model/ProductLineType.java delete mode 100644 src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java delete mode 100644 src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java delete mode 100644 src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java delete mode 100644 src/test/java/xiresellers/client/api/OrdersV6ApiTest.java delete mode 100644 src/test/java/xiresellers/client/model/AddressTypeTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java delete mode 100644 src/test/java/xiresellers/client/model/OrderDetailResponseTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductLineTypeTest.java delete mode 100644 src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 682fb185..ed557aad 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -6,7 +6,6 @@ README.md api/openapi.yaml build.gradle build.sbt -docs/AddressType.md docs/AvailabilityAsyncNotificationRequest.md docs/AvailabilityAsyncNotificationRequestResourceInner.md docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md @@ -33,12 +32,6 @@ docs/FreightResponseFreightEstimateResponseLinesInner.md docs/GetResellerV6ValidateQuote400Response.md docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md docs/GetResellerV6ValidateQuote500Response.md -docs/InvoiceDetailResponse.md -docs/InvoiceDetailResponseServiceresponse.md -docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md -docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md -docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md -docs/InvoiceDetailResponseServiceresponseResponsepreamble.md docs/InvoiceDetailsv61Response.md docs/InvoiceDetailsv61ResponseBillToInfo.md docs/InvoiceDetailsv61ResponseFxRateInfo.md @@ -54,7 +47,6 @@ docs/InvoiceDetailsv61ResponseSummaryTotals.md docs/InvoiceSearchResponse.md docs/InvoiceSearchResponseInvoicesInner.md docs/InvoicesApi.md -docs/InvoicesV6Api.md docs/OrderCreateRequest.md docs/OrderCreateRequestAdditionalAttributesInner.md docs/OrderCreateRequestEndUserInfo.md @@ -102,18 +94,6 @@ docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDeta docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.md docs/OrderDetailB2BMiscellaneousChargesInner.md docs/OrderDetailB2BShipToInfo.md -docs/OrderDetailResponse.md -docs/OrderDetailResponseBillToInfo.md -docs/OrderDetailResponseEndUserInfo.md -docs/OrderDetailResponseLinesInner.md -docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md -docs/OrderDetailResponseLinesInnerLinksInner.md -docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md -docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md -docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md -docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md -docs/OrderDetailResponseMiscellaneousChargesInner.md -docs/OrderDetailResponseShipToInfo.md docs/OrderModifyRequest.md docs/OrderModifyRequestAdditionalAttributesInner.md docs/OrderModifyRequestLinesInner.md @@ -138,7 +118,6 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md docs/OrdersApi.md -docs/OrdersV6Api.md docs/PostQuoteToOrderV6400Response.md docs/PostQuoteToOrderV6400ResponseFieldsInner.md docs/PostRenewalssearch400Response.md @@ -164,9 +143,6 @@ docs/ProductDetailResponseAdditionalInformationProductWeightInner.md docs/ProductDetailResponseCiscoFields.md docs/ProductDetailResponseIndicators.md docs/ProductDetailResponseTechnicalSpecificationsInner.md -docs/ProductLineType.md -docs/ProductLineTypeSerialnumberdetailsInner.md -docs/ProductLineTypeTrackingnumberdetailsInner.md docs/ProductSearchResponse.md docs/ProductSearchResponseCatalogInner.md docs/ProductSearchResponseCatalogInnerLinksInner.md @@ -245,10 +221,8 @@ src/main/java/xiresellers/client/StringUtil.java src/main/java/xiresellers/client/api/DealsApi.java src/main/java/xiresellers/client/api/FreightEstimateApi.java src/main/java/xiresellers/client/api/InvoicesApi.java -src/main/java/xiresellers/client/api/InvoicesV6Api.java src/main/java/xiresellers/client/api/OrderStatusApi.java src/main/java/xiresellers/client/api/OrdersApi.java -src/main/java/xiresellers/client/api/OrdersV6Api.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 @@ -264,7 +238,6 @@ src/main/java/xiresellers/client/auth/OAuthFlow.java 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/AddressType.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 @@ -289,12 +262,6 @@ src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLin 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/InvoiceDetailResponse.java -src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java -src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java -src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java -src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java -src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.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 @@ -356,18 +323,6 @@ src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsIn src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java -src/main/java/xiresellers/client/model/OrderDetailResponse.java -src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java -src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java -src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java src/main/java/xiresellers/client/model/OrderModifyRequest.java src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -414,9 +369,6 @@ src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformatio src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java -src/main/java/xiresellers/client/model/ProductLineType.java -src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java -src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java src/main/java/xiresellers/client/model/ProductSearchResponse.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -468,17 +420,14 @@ src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttribu src/test/java/xiresellers/client/api/DealsApiTest.java src/test/java/xiresellers/client/api/FreightEstimateApiTest.java src/test/java/xiresellers/client/api/InvoicesApiTest.java -src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java src/test/java/xiresellers/client/api/OrderStatusApiTest.java src/test/java/xiresellers/client/api/OrdersApiTest.java -src/test/java/xiresellers/client/api/OrdersV6ApiTest.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/AddressTypeTest.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 @@ -503,12 +452,6 @@ src/test/java/xiresellers/client/model/FreightResponseTest.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/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java -src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java -src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java -src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java -src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java -src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.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 @@ -570,18 +513,6 @@ src/test/java/xiresellers/client/model/OrderDetailB2BLinesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInnerTest.java src/test/java/xiresellers/client/model/OrderDetailB2BShipToInfoTest.java src/test/java/xiresellers/client/model/OrderDetailB2BTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java -src/test/java/xiresellers/client/model/OrderDetailResponseTest.java src/test/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInnerTest.java src/test/java/xiresellers/client/model/OrderModifyRequestLinesInnerTest.java src/test/java/xiresellers/client/model/OrderModifyRequestShipToInfoTest.java @@ -628,9 +559,6 @@ src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java src/test/java/xiresellers/client/model/ProductDetailResponseTest.java -src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java -src/test/java/xiresellers/client/model/ProductLineTypeTest.java -src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseCatalogInnerTest.java src/test/java/xiresellers/client/model/ProductSearchResponseTest.java diff --git a/README.md b/README.md index e4473288..ec651aed 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ XI Sdk Resellers - API version: 1.0.0 - - Build date: 2024-02-16T08:56:25.348026Z[Etc/UTC] + - Build date: 2024-02-16T12:20:55.562369Z[Etc/UTC] For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. @@ -129,14 +129,12 @@ Class | Method | HTTP request | Description *FreightEstimateApi* | [**postFreightestimate**](docs/FreightEstimateApi.md#postFreightestimate) | **POST** /resellers/v6/freightestimate | Freight Estimate *InvoicesApi* | [**getInvoicedetailsV61**](docs/InvoicesApi.md#getInvoicedetailsV61) | **GET** /resellers/v6.1/invoices/{invoiceNumber} | Get Invoice Details v6.1 *InvoicesApi* | [**getResellersV6Invoicesearch**](docs/InvoicesApi.md#getResellersV6Invoicesearch) | **GET** /resellers/v6/invoices | Search your invoice -*InvoicesV6Api* | [**getInvoicedetailsV6**](docs/InvoicesV6Api.md#getInvoicedetailsV6) | **GET** /resellers/v6/invoices/{invoicenumber} | Get Invoice Details v6 *OrderStatusApi* | [**resellersV1WebhooksOrderstatuseventPost**](docs/OrderStatusApi.md#resellersV1WebhooksOrderstatuseventPost) | **POST** /resellers/v1/webhooks/orderstatusevent | Order Status *OrdersApi* | [**deleteOrdercancel**](docs/OrdersApi.md#deleteOrdercancel) | **DELETE** /resellers/v6/orders/{OrderNumber} | Cancel your Order *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* | [**putOrdermodify**](docs/OrdersApi.md#putOrdermodify) | **PUT** /resellers/v6/orders/{orderNumber} | Modify your Order -*OrdersV6Api* | [**getOrderdetailsV6**](docs/OrdersV6Api.md#getOrderdetailsV6) | **GET** /resellers/v6/orders/{ordernumber} | Get Order Details v6 *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 @@ -154,7 +152,6 @@ Class | Method | HTTP request | Description ## Documentation for Models - - [AddressType](docs/AddressType.md) - [AvailabilityAsyncNotificationRequest](docs/AvailabilityAsyncNotificationRequest.md) - [AvailabilityAsyncNotificationRequestResourceInner](docs/AvailabilityAsyncNotificationRequestResourceInner.md) - [AvailabilityAsyncNotificationRequestResourceInnerLinksInner](docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md) @@ -179,12 +176,6 @@ Class | Method | HTTP request | Description - [GetResellerV6ValidateQuote400Response](docs/GetResellerV6ValidateQuote400Response.md) - [GetResellerV6ValidateQuote400ResponseFieldsInner](docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md) - [GetResellerV6ValidateQuote500Response](docs/GetResellerV6ValidateQuote500Response.md) - - [InvoiceDetailResponse](docs/InvoiceDetailResponse.md) - - [InvoiceDetailResponseServiceresponse](docs/InvoiceDetailResponseServiceresponse.md) - - [InvoiceDetailResponseServiceresponseInvoicedetailresponse](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md) - - [InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) - - [InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner](docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md) - - [InvoiceDetailResponseServiceresponseResponsepreamble](docs/InvoiceDetailResponseServiceresponseResponsepreamble.md) - [InvoiceDetailsv61Response](docs/InvoiceDetailsv61Response.md) - [InvoiceDetailsv61ResponseBillToInfo](docs/InvoiceDetailsv61ResponseBillToInfo.md) - [InvoiceDetailsv61ResponseFxRateInfo](docs/InvoiceDetailsv61ResponseFxRateInfo.md) @@ -246,18 +237,6 @@ Class | Method | HTTP request | Description - [OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner](docs/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.md) - [OrderDetailB2BMiscellaneousChargesInner](docs/OrderDetailB2BMiscellaneousChargesInner.md) - [OrderDetailB2BShipToInfo](docs/OrderDetailB2BShipToInfo.md) - - [OrderDetailResponse](docs/OrderDetailResponse.md) - - [OrderDetailResponseBillToInfo](docs/OrderDetailResponseBillToInfo.md) - - [OrderDetailResponseEndUserInfo](docs/OrderDetailResponseEndUserInfo.md) - - [OrderDetailResponseLinesInner](docs/OrderDetailResponseLinesInner.md) - - [OrderDetailResponseLinesInnerAdditionalAttributesInner](docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md) - - [OrderDetailResponseLinesInnerLinksInner](docs/OrderDetailResponseLinesInnerLinksInner.md) - - [OrderDetailResponseLinesInnerShipmentDetailsInner](docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md) - - [OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails](docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md) - - [OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner](docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md) - - [OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner](docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md) - - [OrderDetailResponseMiscellaneousChargesInner](docs/OrderDetailResponseMiscellaneousChargesInner.md) - - [OrderDetailResponseShipToInfo](docs/OrderDetailResponseShipToInfo.md) - [OrderModifyRequest](docs/OrderModifyRequest.md) - [OrderModifyRequestAdditionalAttributesInner](docs/OrderModifyRequestAdditionalAttributesInner.md) - [OrderModifyRequestLinesInner](docs/OrderModifyRequestLinesInner.md) @@ -304,9 +283,6 @@ Class | Method | HTTP request | Description - [ProductDetailResponseCiscoFields](docs/ProductDetailResponseCiscoFields.md) - [ProductDetailResponseIndicators](docs/ProductDetailResponseIndicators.md) - [ProductDetailResponseTechnicalSpecificationsInner](docs/ProductDetailResponseTechnicalSpecificationsInner.md) - - [ProductLineType](docs/ProductLineType.md) - - [ProductLineTypeSerialnumberdetailsInner](docs/ProductLineTypeSerialnumberdetailsInner.md) - - [ProductLineTypeTrackingnumberdetailsInner](docs/ProductLineTypeTrackingnumberdetailsInner.md) - [ProductSearchResponse](docs/ProductSearchResponse.md) - [ProductSearchResponseCatalogInner](docs/ProductSearchResponseCatalogInner.md) - [ProductSearchResponseCatalogInnerLinksInner](docs/ProductSearchResponseCatalogInnerLinksInner.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index a5075fd3..2b686465 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4381,267 +4381,6 @@ paths: tags: - Orders x-accepts: application/json - /resellers/v6/orders/{ordernumber}: - get: - description: |- - Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. - - The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. - - In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. - - Use the "simulateStatus" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - operationId: get-orderdetails-v6 - parameters: - - description: The Ingram Micro sales order number. - explode: false - in: path - name: ordernumber - required: true - schema: - example: 20-RD3QV - maxLength: 12 - 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 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 - - description: "Unique value used to identify the sender of the transaction.\ - \ Example: MyCompany." - explode: false - in: header - name: IM-SenderID - required: false - schema: - example: MyCompany - maxLength: 32 - type: string - style: simple - - description: The date and time in UTC format that the order was created. - explode: true - in: query - name: ingramOrderDate - required: false - schema: - example: 2020-05-13 - format: date - type: string - style: form - - description: Vendor Number. - explode: true - in: query - name: vendorNumber - required: false - schema: - type: string - style: form - - description: Order response for various order statuses. Not for use in production. - explode: true - in: query - name: simulateStatus - required: false - schema: - enum: - - IM::SHIPPED - - IM::PARTIALLY_SHIPPED - - IM::HOLD - - IM::INVOICED - type: string - style: form - - description: True/False only for IML customers. - explode: true - in: query - name: isIml - required: false - schema: - type: boolean - style: form - - description: Region code for sandbox testing - Not for use in production. - explode: true - in: query - name: regionCode - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - examples: - Success: - value: - ingramOrderNumber: 20-RD3QV - ingramOrderDate: 2020-05-13T00:38:52-07:00 - orderType: D - customerOrderNumber: "16" - endCustomerOrderNumber: "16" - orderStatus: Processing - orderTotal: 25371.27 - orderSubTotal: 25371.27 - currencyCode: USD - totalWeight: 1 - totalTax: 0 - paymentTerms: NET 20 DAYS - notes: "********* DIRECT SHIP INFO ******** || JON.HAWKINS@PNMRESOURCES.COM\ - \ || ECTN PNM || EU-CNT-PH #505-987-3456 - || EU-PO-ID# 16" - billToInfo: - contact: CLAY MORGANX67468 - companyName: INGRAM MICRO CAPS TEST ACCOUNT - addressLine1: 1759 WEHRLE DR - city: WILLIAMSVILLE - state: NY - postalCode: "142210000" - countryCode: US - shipToInfo: - addressLine1: INGRAM MICRO TEST ACCOUNT - addressLine2: ATTN TOD DEBIE - addressLine3: city - city: SANTA ANA - state: CA - postalCode: "927054931" - countryCode: US - lines: - - subOrderNumber: 20-RD3QV-11 - ingramOrderLineNumber: "002" - customerLineNumber: "001" - lineStatus: In Progress - ingramPartNumber: 4AW708 - vendorPartNumber: BE7H-M5-K9 - vendorName: CISCO - HW UNIFIED COMM - partDescription: BUSINESS ED 7000H M5 APPL - unitWeight: 0 - weightUom: EA - unitPrice: 20887.57 - extendedPrice: 20887.57 - taxAmount: 0 - currencyCode: USD - quantityOrdered: 1 - quantityConfirmed: 1 - quantityBackOrdered: 0 - promisedDeliveryDate: 2020-05-13 - lineNotes: EU#- 001837114 ABC Technologies || MC# C - shipmentDetails: - - quantity: 1 - shipFromWarehouseId: "10" - shipFromLocation: "Mira Loma, CA" - carrierDetails: - carrierCode: VL - carrierName: VIRTUAL - additionalAttributes: - - attributeName: additional description - attributeValue: EXPORT RESTR SW - schema: - $ref: '#/components/schemas/OrderDetailResponse' - description: OK - headers: - IM-CorrelationID: - description: Unique transaction number to identify each transaction - across all the systems. - explode: false - schema: - type: string - style: simple - IM-SenderID: - description: "Unique value used to identify the sender of the transaction.\ - \ Example: MyCompany" - explode: false - schema: - example: MyCompany - type: string - style: simple - "204": - content: - application/json: - examples: - Data not found: - value: null - schema: - $ref: '#/components/schemas/ErrorResponse' - description: No Content - "400": - content: - application/json: - examples: - Single Error: - value: - errors: - - id: 123-bw0a10t3-2021-02-19T11:10:03.497-08:00 - type: /errors/validation-failed - message: Validation failed - fields: - - field: OrderNumber - value: 20-123 - message: OrderNumber must be in the format xx-xxxxx or xx-xxxxx-xx - Multiple Errors: - value: - errors: - - id: -bw0a10t1-2021-02-19T11:04:37.312-08:00 - type: /errors/validation-failed - message: Validation failed - fields: - - field: IM-CustomerNumber - value: 20-22222222 - message: IM-CustomerNumber must be in the format XX-XXXXXX - - field: IM-CorrelationID - value: "" - message: IM-CorrelationID cannot be blank - - field: IM-SenderID - value: "" - message: IM-SenderID cannot be blank - schema: - $ref: '#/components/schemas/ErrorResponse' - description: Bad Request - "500": - content: - application/json: - examples: - Server Error: - value: - errors: - - id: C123-bw0a10u3-2021-02-19T11:12:26.436-08:00 - type: /errors/system-errors - message: "Some unexpected error occured, please contact support\ - \ team for more details" - schema: - $ref: '#/components/schemas/ErrorResponse' - description: Internal Server Error - security: - - application: - - read - summary: Get Order Details v6 - tags: - - Orders v6 - x-accepts: application/json /resellers/v6/orders/search: get: description: "The Orders Search API endpoint allows a customer to search their\ @@ -6431,7 +6170,7 @@ paths: tags: - Invoices x-accepts: application/json - /resellers/v6/invoices/{invoicenumber}: + /resellers/v6.1/invoices/{invoiceNumber}: get: description: |- Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. @@ -6439,313 +6178,29 @@ paths: The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - operationId: get-invoicedetails-v6 + operationId: get-invoicedetails-v6.1 parameters: - description: The Ingram Micro invoice number. explode: false in: path - name: invoicenumber + name: invoiceNumber required: true schema: example: "335238411" maxLength: 12 type: string style: simple - - description: Version of codebase. + - description: Your unique Ingram Micro customer number. explode: false in: header - name: version + name: IM-CustomerNumber required: true schema: example: 20-222222 maxLength: 10 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 - 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 - - 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: it should be invoice or order - explode: true - in: query - name: customerType - required: false - schema: - example: invoice - maxLength: 32 - type: string - style: form - - description: if serial in the response send as true or else false - explode: true - in: query - name: includeSerialNumbers - required: false - schema: - example: false - type: boolean - style: form - responses: - "200": - content: - application/json: - examples: - Success: - value: - InvoiceNumber: 40-DPJ17-11 - InvoiceDate: 2022-09-07 - OrderDate: 2022-09-07 - IngramPurchaseOrderNumber: 70GZJ35 - InvoiceType: Invoice - InvoiceDueDate: 2022-10-22 - IngramInvoiceNumber: "" - Notes: HEADER || H:1427214 - PaymentTermsInfo: - PaymentTermsCode: "45" - PaymentTermsDescription: NET 45 DAYS - PaymentTermsDueDate: 2022-10-22 - BillToInfo: - CompanyName: SOFTWARE ONE INC - AddressLine1: 20875 CROSSROADS CIR - City: WAUKESHA - State: WI - PostalCode: "531864052" - ShipToInfo: - CompanyName: RITE-HITE CORPORATION - AddressLine1: 8900 N ARBON DR - City: MILWAUKEE - State: WI - PostalCode: "532230000" - Lines: - - IngramLineNumber: "12" - CustomerLineNumber: "1" - IngramPartNumber: 05QC29 - VendorPartNumber: 65324394AD01A00 - VendorName: ADOBE COMMERCIA - ProductDescription: AOO LICS ACROBAT PRO 2020 MPLATLICS || 1+ - 540PT - UnitWeight: "0.0" - Quantity: 1 - UnitPrice: 533.33 - UnitOfMeasure: EA - CurrencyCode: USD - ExtendedPrice: 533.33 - TaxPercentage: 0 - taxPercentage: 0 - TaxAmount: 0 - serialNumbers: - - serialNumber: 0AMY3CPRA00359 - - serialNumber: 0AMY3CPRA00484 - - serialNumber: 0AMY3CPRA00485 - - serialNumber: 0AMY3CPRA00479 - - serialNumber: 0AMY3CPRA00486 - - serialNumber: 0AMY3CPRA00480 - - serialNumber: 0AMY3CPRA00465 - - serialNumber: 0AMY3CPRA00481 - - serialNumber: 0AMY3CPRA00483 - - serialNumber: 0AMY3CPRA00493 - - serialNumber: 0AMY3CPRA00476 - QuantityOrdered: 1 - QuantityShipped: 1 - EndUserInfo: - Contact: RITE-HITE CORPORATION - AddressLine1: 8900 N ARBON DR - AddressLine2: "" - AddressLine3: "" - City: MILWAUKEE - State: WI - PostalCode: "532232451" - CountryCode: US - PhoneNumber: "14143624491" - Email: MPOWERS@RITEHITE.COM - FxRateInfo: - CurrencyCode: USD - CompanyCurrency: USD - InvoiceCurrency: USD - CurrencyFxRate: 1 - Summary: - Lines: - ProductLineCount: 1 - ProductLineTotalQuantity: 1 - MiscCharges: - - ChargeDescription: STATETAX - MiscChargeLineCount: 0 - MiscChargeLineTotal: 355.83 - ChargeLineReference: GST - - ChargeDescription: FREIGHT OUT - MiscChargeLineCount: 1 - MiscChargeLineTotal: 31.9 - ChargeLineReference: "8" - Totals: - NetInvoiceAmount: 533.33 - DiscountAmount: 0 - DiscountType: Terms Charge - InvoicedAmountDue: 533.33 - ForeignFxTotals: - ForeignCurrencyCode: USD - ForeignCurrencyFxRate: 1 - ForeignTotalTaxableAmount: "533.33" - ForeignTotalTaxAmount: 0 - ForeignInvoiceAmountDue: "533.33" - schema: - $ref: '#/components/schemas/InvoiceDetailResponse' - description: OK - headers: - IM-CorrelationID: - description: Unique transaction number to identify each transaction - across all the systems. - explode: false - schema: - type: string - style: simple - IM-ApplicationID: - description: "Unique value used to identify the sender of the transaction.\ - \ Example: MyCompany" - explode: false - schema: - example: MyCompany - type: string - style: simple - "400": - content: - application/json: - examples: - CustomerNumber format incorrect: - value: - errors: - - id: 1629203530223-2021-08-17T18:02:10.21+05:30-123 - type: /errors/validation-failed - message: Validation failed - fields: - - field: IM-CustomerNumber - value: "20222222" - message: IM-CustomerNumber must be in the format xx-xxxx or - xx-xxxxx or xx-xxxxxx - CustomerNumber blank: - value: - errors: - - id: 1629204354596-2021-08-17T18:15:54.596+05:30-123 - type: /errors/validation-failed - message: Validation failed - fields: - - field: IM-CustomerNumber - value: "" - message: IM-CustomerNumber is blank - CountryCode invalid: - value: - errors: - - id: 1629204465806-2021-08-17T18:17:45.806+05:30-123 - type: /errors/validation-failed - message: Validation failed - fields: - - field: IM-CountryCode - value: UU - message: IM-CountryCode is invalid - Multiple error: - value: - errors: - - id: 1629204746878-2021-08-17T18:22:26.867+05:30-123 - type: /errors/validation-failed - message: Validation failed - fields: - - field: IM-CountryCode - value: UU - message: IM-CountryCode is invalid - - field: IM-CustomerNumber - value: "" - message: IM-CustomerNumber is blank - schema: - $ref: '#/components/schemas/ErrorResponse' - description: Bad Request - "500": - content: - application/json: - examples: - Server Error: - value: - errors: - - id: "1" - type: InternalServerError - message: "Un-handled Exception \n Please contact to administrator." - schema: - $ref: '#/components/schemas/ErrorResponse' - description: Internal Server Error - security: - - application: - - read - summary: Get Invoice Details v6 - tags: - - Invoices v6 - x-accepts: application/json - /resellers/v6.1/invoices/{invoiceNumber}: - get: - description: |- - Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. - - The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. - - . - operationId: get-invoicedetails-v6.1 - parameters: - - description: The Ingram Micro invoice number. - explode: false - in: path - name: invoiceNumber - required: true - schema: - example: "335238411" - maxLength: 12 - 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. + - description: Two-character ISO country code. explode: false in: header name: IM-CountryCode @@ -9378,348 +8833,7 @@ components: $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' type: array type: object - OrderDetailResponse: - example: - orderType: orderType - miscellaneousCharges: - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription - - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription - notes: notes - endUserInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - endCustomerOrderNumber: endCustomerOrderNumber - vendorSalesOrderNumber: vendorSalesOrderNumber - orderStatus: orderStatus - customerOrderNumber: customerOrderNumber - orderTotal: 0.8008281904610115 - orderSubTotal: 6.027456183070403 - ingramOrderNumber: ingramOrderNumber - totalTax: 5.637376656633329 - shipToInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - billToInfo: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - totalWeight: 5.962133916683182 - lines: - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 - currencyCode: currencyCode - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 - currencyCode: currencyCode - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - currencyCode: currencyCode - freightCharges: 1.4658129805029452 - paymentTerms: paymentTerms - ingramOrderDate: ingramOrderDate - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - ingramOrderNumber: - description: The IngramMicro sales order number. - type: string - ingramOrderDate: - description: The date and time in UTC format that the order was created. - type: string - orderType: - description: "The order type. One of B = Branch Transfer, C = COD, D = Direct\ - \ Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S =\ - \ Sales Order." - type: string - customerOrderNumber: - description: The reseller's order number for reference in their system. - type: string - endCustomerOrderNumber: - description: The end user/customer's order number for reference in their - system. - type: string - vendorSalesOrderNumber: - description: The vendor's order number for reference in their system. - type: string - orderStatus: - description: "The header-level status of the order. One of- Shipped, Canceled,\ - \ Backordered, Processing, On Hold, Delivered." - type: string - orderTotal: - description: "The total cost for the order, includes subtotal, freight charges,\ - \ and tax." - format: decimal - type: number - orderSubTotal: - description: "The sub total cost for the order, not including tax and freight." - format: decimal - type: number - freightCharges: - description: The freight charges for the order. - format: decimal - type: number - currencyCode: - description: The country-specific three digit ISO 4217 currency code for - the order. - type: string - totalWeight: - description: "The total weight of the order. Pounds in North America, KG\ - \ in all other countries." - format: decimal - type: number - totalTax: - description: The total tax for the order. - format: decimal - type: number - paymentTerms: - description: The payment terms of the order. (Ex- Net 30 days). - type: string - notes: - description: The header-level notes for the order. - type: string - billToInfo: - $ref: '#/components/schemas/OrderDetailResponse_billToInfo' - shipToInfo: - $ref: '#/components/schemas/OrderDetailResponse_shipToInfo' - endUserInfo: - $ref: '#/components/schemas/OrderDetailResponse_endUserInfo' - lines: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner' - type: array - miscellaneousCharges: - items: - $ref: '#/components/schemas/OrderDetailResponse_miscellaneousCharges_inner' - type: array - additionalAttributes: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' - type: array - type: object - x-tags: - - Orders - OrderSearch_Response: + OrderSearch_Response: example: pageNumber: 1 previousPage: previousPage @@ -9985,7 +9099,7 @@ components: warrantyInformation: - "{}" - "{}" - productAuthorized: true + productAuthorized: productAuthorized vendorName: vendorName indicators: isHeavyWeight: true @@ -10054,7 +9168,7 @@ components: type: string productAuthorized: description: Boolean that indicates whether a product is authorized. - type: boolean + type: string description: description: The description given for the product. type: string @@ -11292,172 +10406,6 @@ components: description: Next page of the pagination. type: string type: object - InvoiceDetailResponse: - example: - serviceresponse: - invoicedetailresponse: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - serviceresponse: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse' - title: invoiceDetails.Response - type: object - x-tags: - - invoices InvoiceDetailsv6.1Response: example: summary: @@ -11637,139 +10585,7 @@ components: type: object x-tags: - invoices - addressType: - description: Address type object - example: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - properties: - attention: - type: string - name1: - type: string - name2: - type: string - addressline1: - type: string - addressline2: - type: string - addressline3: - type: string - city: - type: string - state: - type: string - postalcode: - type: string - countrycode: - type: string - fax: - type: string - phonenumber: - type: string - email: - type: string - title: invoiceDetails.addressType.Response - type: object - x-tags: - - invoices - productLineType: - description: Product line items object under each invoice - example: - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - properties: - linenumber: - type: string - linetype: - type: string - partnumber: - type: string - vendorpartnumber: - type: string - partdescription: - type: string - shipfrombranch: - type: string - shippedquantity: - type: string - orderedquantity: - type: string - marginpercent: - type: string - backorderquantity: - type: string - backorderetadate: - format: date - type: string - extendedprice: - type: string - specialbidnumber: - type: string - ordersuffix: - type: string - isacopapplied: - type: string - unitprice: - type: string - unitofmeasure: - type: string - serialnumberdetails: - items: - $ref: '#/components/schemas/productLineType_serialnumberdetails_inner' - type: array - trackingnumberdetails: - items: - $ref: '#/components/schemas/productLineType_trackingnumberdetails_inner' - type: array - productextendedspecs: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' - type: array - title: invoiceDetails.productLineType.Response - type: object - x-tags: - - invoices - ErrorResponse: + ErrorResponse: example: errors: - id: id @@ -14243,525 +13059,9 @@ components: subOrderNumber: subOrderNumber quantityConfirmed: 2 ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 5 - customerLineNumber: customerLineNumber - additionalAttributes: - - attributeValue: attributeValue - attributeName: attributeName - - attributeValue: attributeValue - attributeName: attributeName - properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. - type: string - ingramLineNumber: - description: The IngramMicro line number. - type: string - customerLineNumber: - description: The reseller's line number for reference in their system. - type: string - ingramPartNumber: - description: The unique IngramMicro part number for the line item. - type: string - vendorPartNumber: - description: The vendor's part number for the line item. - type: string - quantityOrdered: - description: The quantity ordered of the line item. - type: integer - quantityConfirmed: - description: The quantity confirmed of the line item. - type: integer - quantityBackOrdered: - description: The quantity backordered of the line item. - type: integer - shipmentDetails: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner_shipmentDetails' - additionalAttributes: - description: SAP requested and country-specific line level details. - items: - $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' - type: array - notes: - description: Line-level notes for the order. - type: string - OrderModifyResponse_rejectedLineItems_inner: - example: - ingramPartNumber: ingramPartNumber - rejectReason: rejectReason - rejectCode: rejectCode - ingramLineNumber: ingramLineNumber - vendorPartNumber: vendorPartNumber - quantityOrdered: 9 - customerLineNumber: customerLineNumber - properties: - ingramLineNumber: - description: The IngramMicro line number for the failed line item. - type: string - customerLineNumber: - description: The reseller's line number of the failed line item for reference - in their system. - type: string - ingramPartNumber: - description: The IngramMicro part number for the failed line item. - type: string - vendorPartNumber: - description: The vendor's part number for the failed line item. - type: string - quantityOrdered: - description: The quantity ordered of the failed line item. - type: integer - rejectCode: - description: The rejection code for the failed line item. - type: string - rejectReason: - description: The rejection reason for the failed line item. - type: string - OrderDetailResponse_billToInfo: - description: The billing information provided by the reseller. - example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - properties: - contact: - description: The company contact provided by the reseller. - type: string - companyName: - description: The name of the company the order will be billed to. - type: string - name1: - description: First name. - type: string - name2: - description: Last name. - type: string - addressLine1: - description: The street address and building or house number the order will - be billed to. - type: string - addressLine2: - description: The apartment number the order will be billed to. - type: string - addressLine3: - description: Address line 3. - type: string - city: - description: The city the order will be billed to. - type: string - state: - description: The state the order will be billed to. - type: string - postalCode: - description: The zip or postal code the order will be billed to. - type: string - countryCode: - description: The two-character ISO country code the order will be billed - to. - type: string - phoneNumber: - description: The company contact phone number. - type: string - email: - description: The company contact email address. - type: string - type: object - OrderDetailResponse_shipToInfo: - description: The shipping information provided by the reseller for order delivery. - example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - properties: - contact: - 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 - name1: - description: First name. - type: string - name2: - description: Last name. - type: string - addressLine1: - description: The street address the order will be shipped to. - type: string - addressLine2: - description: The building or apartment number the order will be shipped - to. - type: string - addressLine3: - description: Line 3 of the address the order will be shipped to. - 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. - type: string - countryCode: - description: The two-character ISO country code the order will be shipped - to. - type: string - phoneNumber: - description: The company contact phone number. - type: string - email: - description: The company contact email address. - type: string - type: object - OrderDetailResponse_endUserInfo: - description: The contact information for the end user/customer provided by the - reseller. Used to determine pricing and discounts. - example: - city: city - companyName: companyName - postalCode: postalCode - phoneNumber: phoneNumber - countryCode: countryCode - contact: contact - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - name2: name2 - name1: name1 - email: email - properties: - contact: - description: The contact name for the end user/customer. - type: string - companyName: - description: The company name for the end user/customer. - type: string - name1: - description: First name. - type: string - name2: - description: Last name. - type: string - addressLine1: - description: The street adress and building or house number for the end - user/customer. - type: string - addressLine2: - description: The apartment number for the end user/customer. - type: string - addressLine3: - description: Line 3 of the address 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 - 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 email. - type: string - type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner: - description: A list of serial numbers of the line items contained in the shipment. - example: - serialNumber: serialNumber - properties: - serialNumber: - description: The serial number for the line item. - type: string - type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner: - description: The tracking details for the shipment containing the line item. - example: - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - properties: - trackingNumber: - description: The tracking number for the shipment containing the line item. - type: string - trackingUrl: - description: The tracking URL for the shipment containing the line item. - type: string - packageWeight: - description: The weight of the package for the line item. - type: string - cartonNumber: - description: The shipment carton number that contains the line item. - type: string - quantityInBox: - description: The quantity of line items in the box. - type: string - SerialNumbers: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner_SerialNumbers_inner' - type: array - type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails: - description: The shipment carrier details for the line item. - example: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - properties: - carrierCode: - description: The carrier code for the shipment containing the line item. - type: string - carrierName: - description: The name of the carrier of the shipment containing the line - item. - type: string - trackingDetails: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails_trackingDetails_inner' - type: array - type: object - OrderDetailResponse_lines_inner_shipmentDetails_inner: - description: Shipping details for the line item. - example: - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - properties: - quantity: - description: The quantity shipped of the line item. - type: integer - estimatedShipDate: - description: The estimated ship date for the line item. - format: date - type: string - shippedDate: - description: The date the line item was shipped. - format: date - type: string - estimatedDeliveryDate: - description: The date the line item is expected to be delivered. - format: date - type: string - deliveredDate: - description: The actual date of delivery of the line item. - format: date - type: string - shipFromWarehouseId: - description: The ID of the warehouse the product will ship from. - type: string - shipFromLocation: - description: The city and state the line item ships from. - type: string - invoiceNumber: - description: The Ingram Micro invoice number for the line item. - type: string - invoiceDate: - description: The date the IngramMicro invoice was created for the line item. - format: date - type: string - carrierDetails: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner_carrierDetails' - type: object - OrderDetailResponse_lines_inner_additionalAttributes_inner: - example: - attributeValue: attributeValue - attributeName: attributeName - properties: - attributeName: - description: Line level custom field names. - type: string - attributeValue: - description: Value of the custom fields. - type: string - type: object - OrderDetailResponse_lines_inner_links_inner: - description: Link to Order Details for the line item. - example: - topic: topic - href: href - type: type - properties: - topic: - description: Provides the details of the line item. - type: string - href: - description: The API endpoint for accessing the relevant data. - type: string - type: - description: "The type of call that can be made to the href link(GET,POST\ - \ etc)." - type: string - type: object - OrderDetailResponse_lines_inner: - example: - unitWeight: 2.3021358869347655 - vendorSalesOrderLineNumber: vendorSalesOrderLineNumber - quantityOrdered: 2 - customerLinenumber: customerLinenumber - lineStatus: lineStatus - extendedPrice: 9.301444243932576 - vendorPartNumber: vendorPartNumber - links: - - topic: topic - href: href - type: type - - topic: topic - href: href - type: type - upcCode: upcCode - ingramPartNumber: ingramPartNumber - unitPrice: 7 - ingramOrderLineNumber: ingramOrderLineNumber - vendorName: vendorName - lineNotes: lineNotes - quantityBackOrdered: 7 - specialBidNumber: specialBidNumber - shipmentDetails: - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - - deliveredDate: 2000-01-23 - quantity: 1 - invoiceNumber: invoiceNumber - estimatedShipDate: 2000-01-23 - invoiceDate: 2000-01-23 - shippedDate: 2000-01-23 - estimatedDeliveryDate: 2000-01-23 - shipFromWarehouseId: shipFromWarehouseId - carrierDetails: - carrierName: carrierName - carrierCode: carrierCode - trackingDetails: - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - - quantityInBox: quantityInBox - trackingUrl: trackingUrl - packageWeight: packageWeight - SerialNumbers: - - serialNumber: serialNumber - - serialNumber: serialNumber - cartonNumber: cartonNumber - trackingNumber: trackingNumber - shipFromLocation: shipFromLocation - promisedDeliveryDate: 2000-01-23 - subOrderNumber: subOrderNumber - partDescription: partDescription - quantityConfirmed: 4 - requestedDeliveryDate: 2000-01-23 - weightUom: weightUom - taxAmount: 3.616076749251911 - currencyCode: currencyCode + vendorPartNumber: vendorPartNumber + quantityOrdered: 5 + customerLineNumber: customerLineNumber additionalAttributes: - attributeValue: attributeValue attributeName: attributeName @@ -14773,119 +13073,69 @@ components: code of the warehouse nearest the reseller. The middle number is the order number. The two-digit suffix is the sub order number. type: string - ingramOrderLineNumber: - description: Unique Ingram Micro line number. Starts with 001. - type: string - vendorSalesOrderLineNumber: - description: The vendor's sales order line number. - type: string - customerLinenumber: - description: The reseller's line item number for reference in their system. + ingramLineNumber: + description: The IngramMicro line number. type: string - lineStatus: - description: "The status for the line item in the order. One of- Backordered,\ - \ In Progress, Shipped, Delivered, Canceled, On Hold" + customerLineNumber: + description: The reseller's line number for reference in their system. type: string ingramPartNumber: - description: Unique IngramMicro part number. + description: The unique IngramMicro part number for the line item. type: string vendorPartNumber: description: The vendor's part number for the line item. type: string - vendorName: - description: The vendor's name for the part in their system. - type: string - partDescription: - description: The vendor's description of the part in their system. - type: string - unitWeight: - description: The unit weight of the line item. - format: decimal - type: number - weightUom: - description: The unit of measure for the line item. - type: string - unitPrice: - description: The unit price of the line item. - type: integer - upcCode: - description: The UPC code of a product. - type: string - extendedPrice: - description: Unit price X quantity for the line item. - format: decimal - type: number - taxAmount: - description: The tax amount for the line item. - format: decimal - type: number - currencyCode: - description: The country-specific three character ISO 4217 currency code - for the line item. - type: string quantityOrdered: description: The quantity ordered of the line item. type: integer quantityConfirmed: - description: The quantity confirmed for the line item. + description: The quantity confirmed of the line item. type: integer quantityBackOrdered: - description: The quantity backordered for the line item. + description: The quantity backordered of the line item. type: integer - specialBidNumber: - description: The line-level bid number provided to the reseller by the vendor - for special pricing and discounts. Used to track the bid number in the - case of split orders or where different line items have different bid - numbers. Line-level bid numbers take precedence over header-level bid - numbers. - type: string - requestedDeliveryDate: - description: Reseller-requested delivery date. Delivery date is not guaranteed. - format: date - type: string - promisedDeliveryDate: - description: The delivery date promised by IngramMicro. - format: date - type: string - lineNotes: - description: Line-level notes for the order. - type: string shipmentDetails: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_shipmentDetails_inner' - type: array + $ref: '#/components/schemas/OrderModifyResponse_lines_inner_shipmentDetails' additionalAttributes: + description: SAP requested and country-specific line level details. items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_additionalAttributes_inner' - type: array - links: - items: - $ref: '#/components/schemas/OrderDetailResponse_lines_inner_links_inner' + $ref: '#/components/schemas/OrderModifyResponse_lines_inner_additionalAttributes_inner' type: array - type: object - OrderDetailResponse_miscellaneousCharges_inner: + notes: + description: Line-level notes for the order. + type: string + OrderModifyResponse_rejectedLineItems_inner: example: - chargeLineReference: chargeLineReference - subOrderNumber: subOrderNumber - chargeAmount: 1.0246457001441578 - chargeDescription: chargeDescription + ingramPartNumber: ingramPartNumber + rejectReason: rejectReason + rejectCode: rejectCode + ingramLineNumber: ingramLineNumber + vendorPartNumber: vendorPartNumber + quantityOrdered: 9 + customerLineNumber: customerLineNumber properties: - subOrderNumber: - description: The sub order number. The two-digit prefix is the warehouse - code of the warehouse nearest the reseller. The middle number is the order - number. The two-digit suffix is the sub order number. + ingramLineNumber: + description: The IngramMicro line number for the failed line item. type: string - chargeLineReference: - description: Impulse line number for the miscellaneous charge. + customerLineNumber: + description: The reseller's line number of the failed line item for reference + in their system. type: string - chargeDescription: - description: Description of the miscellaneous charges. + ingramPartNumber: + description: The IngramMicro part number for the failed line item. + type: string + vendorPartNumber: + description: The vendor's part number for the failed line item. + type: string + quantityOrdered: + description: The quantity ordered of the failed line item. + type: integer + rejectCode: + description: The rejection code for the failed line item. + type: string + rejectReason: + description: The rejection reason for the failed line item. type: string - chargeAmount: - description: The amount of miscellaneous charges. - format: double - type: number - type: object OrderSearch_Response_orders_inner_subOrders_inner_links_inner: example: topic: topic @@ -17552,461 +15802,6 @@ components: invoiceAmountInclTax: description: Invoice Amount Inclusive of Taxes type: string - InvoiceDetailResponse_serviceresponse_responsepreamble: - example: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - responsestatus: - type: string - statuscode: - type: string - responsemessage: - type: string - type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner: - example: - attributevalue: attributevalue - attributename: attributename - properties: - attributename: - type: string - attributevalue: - type: string - type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner: - example: - code: code - description: description - chargeamount: chargeamount - properties: - code: - type: string - description: - type: string - chargeamount: - type: string - type: object - InvoiceDetailResponse_serviceresponse_invoicedetailresponse: - example: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - properties: - customernumber: - type: string - invoicenumber: - type: string - invoicedate: - format: date - type: string - invoicetype: - type: string - customerordernumber: - type: string - customerfreightamount: - format: double - type: string - customerforeignfrightamt: - format: float - type: string - totaltaxamount: - format: double - type: string - totalamount: - format: double - type: string - shiptosuffix: - type: string - billtosuffix: - type: string - freightamount: - description: May not be available in all countries - format: double - type: string - paymentterms: - type: string - orderdate: - format: date - type: string - carrier: - type: string - carrierdescription: - type: string - discountamount: - format: double - type: number - taxtype: - type: string - enduserponumber: - type: string - freightforwardercode: - type: string - creditmemoreasoncode: - type: string - fulfillmentflag: - type: string - holdreason: - type: string - shipcomplete: - type: string - shipdate: - format: date - type: string - companycurrency: - type: string - currencycode: - type: string - currencyrate: - type: string - globalorderid: - type: string - originalshipcode: - type: string - ordertype: - type: string - orderstatus: - type: string - totalotherfees: - type: number - totalsales: - type: string - weight: - type: string - shippableswitch: - type: string - soldto: - $ref: '#/components/schemas/addressType' - billto: - $ref: '#/components/schemas/addressType' - shoptoaddress: - $ref: '#/components/schemas/addressType' - lines: - items: - $ref: '#/components/schemas/productLineType' - type: array - extendedspecs: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_extendedspecs_inner' - type: array - miscfeeline: - items: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse_miscfeeline_inner' - type: array - type: object - InvoiceDetailResponse_serviceresponse: - example: - invoicedetailresponse: - creditmemoreasoncode: creditmemoreasoncode - paymentterms: paymentterms - soldto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - orderstatus: orderstatus - totalotherfees: 6.027456183070403 - shippableswitch: shippableswitch - currencyrate: currencyrate - invoicetype: invoicetype - orderdate: 2000-01-23 - currencycode: currencycode - globalorderid: globalorderid - totalsales: totalsales - extendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - taxtype: taxtype - totaltaxamount: totaltaxamount - discountamount: 0.8008281904610115 - originalshipcode: originalshipcode - customerordernumber: customerordernumber - lines: - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - - linenumber: linenumber - vendorpartnumber: vendorpartnumber - backorderquantity: backorderquantity - linetype: linetype - trackingnumberdetails: - - trackingnumber: trackingnumber - - trackingnumber: trackingnumber - specialbidnumber: specialbidnumber - ordersuffix: ordersuffix - unitprice: unitprice - productextendedspecs: - - attributevalue: attributevalue - attributename: attributename - - attributevalue: attributevalue - attributename: attributename - marginpercent: marginpercent - isacopapplied: isacopapplied - shippedquantity: shippedquantity - shipfrombranch: shipfrombranch - orderedquantity: orderedquantity - extendedprice: extendedprice - serialnumberdetails: - - deliverynumber: deliverynumber - serialnumber: serialnumber - - deliverynumber: deliverynumber - serialnumber: serialnumber - partdescription: partdescription - partnumber: partnumber - backorderetadate: 2000-01-23 - unitofmeasure: unitofmeasure - invoicenumber: invoicenumber - shipdate: 2000-01-23 - customernumber: customernumber - freightamount: freightamount - miscfeeline: - - code: code - description: description - chargeamount: chargeamount - - code: code - description: description - chargeamount: chargeamount - carrierdescription: carrierdescription - weight: weight - freightforwardercode: freightforwardercode - shoptoaddress: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - customerfreightamount: customerfreightamount - companycurrency: companycurrency - billtosuffix: billtosuffix - carrier: carrier - enduserponumber: enduserponumber - totalamount: totalamount - holdreason: holdreason - shiptosuffix: shiptosuffix - fulfillmentflag: fulfillmentflag - billto: - city: city - countrycode: countrycode - phonenumber: phonenumber - postalcode: postalcode - addressline3: addressline3 - attention: attention - addressline2: addressline2 - addressline1: addressline1 - state: state - name2: name2 - fax: fax - name1: name1 - email: email - invoicedate: 2000-01-23 - shipcomplete: shipcomplete - customerforeignfrightamt: customerforeignfrightamt - ordertype: ordertype - responsepreamble: - statuscode: statuscode - responsemessage: responsemessage - responsestatus: responsestatus - properties: - responsepreamble: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_responsepreamble' - invoicedetailresponse: - $ref: '#/components/schemas/InvoiceDetailResponse_serviceresponse_invoicedetailresponse' - type: object InvoiceDetailsv6_1Response_paymentTermsInfo: additionalProperties: false description: Payment terms is the agreement between Ingram and the customer @@ -18399,23 +16194,6 @@ components: foreignFxTotals: $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_foreignFxTotals' type: object - productLineType_serialnumberdetails_inner: - example: - deliverynumber: deliverynumber - serialnumber: serialnumber - properties: - serialnumber: - type: string - deliverynumber: - type: string - type: object - productLineType_trackingnumberdetails_inner: - example: - trackingnumber: trackingnumber - properties: - trackingnumber: - type: string - type: object ErrorResponse_errors_inner_fields_inner: example: field: field diff --git a/docs/AddressType.md b/docs/AddressType.md deleted file mode 100644 index 5721e7d3..00000000 --- a/docs/AddressType.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# AddressType - -Address type object - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attention** | **String** | | [optional] | -|**name1** | **String** | | [optional] | -|**name2** | **String** | | [optional] | -|**addressline1** | **String** | | [optional] | -|**addressline2** | **String** | | [optional] | -|**addressline3** | **String** | | [optional] | -|**city** | **String** | | [optional] | -|**state** | **String** | | [optional] | -|**postalcode** | **String** | | [optional] | -|**countrycode** | **String** | | [optional] | -|**fax** | **String** | | [optional] | -|**phonenumber** | **String** | | [optional] | -|**email** | **String** | | [optional] | - - - diff --git a/docs/InvoiceDetailResponse.md b/docs/InvoiceDetailResponse.md deleted file mode 100644 index c0f90886..00000000 --- a/docs/InvoiceDetailResponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InvoiceDetailResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serviceresponse** | [**InvoiceDetailResponseServiceresponse**](InvoiceDetailResponseServiceresponse.md) | | [optional] | - - - diff --git a/docs/InvoiceDetailResponseServiceresponse.md b/docs/InvoiceDetailResponseServiceresponse.md deleted file mode 100644 index cabe2a50..00000000 --- a/docs/InvoiceDetailResponseServiceresponse.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# InvoiceDetailResponseServiceresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsepreamble** | [**InvoiceDetailResponseServiceresponseResponsepreamble**](InvoiceDetailResponseServiceresponseResponsepreamble.md) | | [optional] | -|**invoicedetailresponse** | [**InvoiceDetailResponseServiceresponseInvoicedetailresponse**](InvoiceDetailResponseServiceresponseInvoicedetailresponse.md) | | [optional] | - - - diff --git a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md b/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md deleted file mode 100644 index b78aae82..00000000 --- a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponse.md +++ /dev/null @@ -1,54 +0,0 @@ - - -# InvoiceDetailResponseServiceresponseInvoicedetailresponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customernumber** | **String** | | [optional] | -|**invoicenumber** | **String** | | [optional] | -|**invoicedate** | **LocalDate** | | [optional] | -|**invoicetype** | **String** | | [optional] | -|**customerordernumber** | **String** | | [optional] | -|**customerfreightamount** | **Double** | | [optional] | -|**customerforeignfrightamt** | **Float** | | [optional] | -|**totaltaxamount** | **Double** | | [optional] | -|**totalamount** | **Double** | | [optional] | -|**shiptosuffix** | **String** | | [optional] | -|**billtosuffix** | **String** | | [optional] | -|**freightamount** | **Double** | May not be available in all countries | [optional] | -|**paymentterms** | **String** | | [optional] | -|**orderdate** | **LocalDate** | | [optional] | -|**carrier** | **String** | | [optional] | -|**carrierdescription** | **String** | | [optional] | -|**discountamount** | **Double** | | [optional] | -|**taxtype** | **String** | | [optional] | -|**enduserponumber** | **String** | | [optional] | -|**freightforwardercode** | **String** | | [optional] | -|**creditmemoreasoncode** | **String** | | [optional] | -|**fulfillmentflag** | **String** | | [optional] | -|**holdreason** | **String** | | [optional] | -|**shipcomplete** | **String** | | [optional] | -|**shipdate** | **LocalDate** | | [optional] | -|**companycurrency** | **String** | | [optional] | -|**currencycode** | **String** | | [optional] | -|**currencyrate** | **String** | | [optional] | -|**globalorderid** | **String** | | [optional] | -|**originalshipcode** | **String** | | [optional] | -|**ordertype** | **String** | | [optional] | -|**orderstatus** | **String** | | [optional] | -|**totalotherfees** | **BigDecimal** | | [optional] | -|**totalsales** | **String** | | [optional] | -|**weight** | **String** | | [optional] | -|**shippableswitch** | **String** | | [optional] | -|**soldto** | [**AddressType**](AddressType.md) | | [optional] | -|**billto** | [**AddressType**](AddressType.md) | | [optional] | -|**shoptoaddress** | [**AddressType**](AddressType.md) | | [optional] | -|**lines** | [**List<ProductLineType>**](ProductLineType.md) | | [optional] | -|**extendedspecs** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) | | [optional] | -|**miscfeeline** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md) | | [optional] | - - - diff --git a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md b/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md deleted file mode 100644 index 12ccdee5..00000000 --- a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attributename** | **String** | | [optional] | -|**attributevalue** | **String** | | [optional] | - - - diff --git a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md b/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md deleted file mode 100644 index a007c13e..00000000 --- a/docs/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**code** | **String** | | [optional] | -|**description** | **String** | | [optional] | -|**chargeamount** | **String** | | [optional] | - - - diff --git a/docs/InvoiceDetailResponseServiceresponseResponsepreamble.md b/docs/InvoiceDetailResponseServiceresponseResponsepreamble.md deleted file mode 100644 index a88b886c..00000000 --- a/docs/InvoiceDetailResponseServiceresponseResponsepreamble.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# InvoiceDetailResponseServiceresponseResponsepreamble - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**responsestatus** | **String** | | [optional] | -|**statuscode** | **String** | | [optional] | -|**responsemessage** | **String** | | [optional] | - - - diff --git a/docs/InvoicesV6Api.md b/docs/InvoicesV6Api.md deleted file mode 100644 index d39f6509..00000000 --- a/docs/InvoicesV6Api.md +++ /dev/null @@ -1,92 +0,0 @@ -# InvoicesV6Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getInvoicedetailsV6**](InvoicesV6Api.md#getInvoicedetailsV6) | **GET** /resellers/v6/invoices/{invoicenumber} | Get Invoice Details v6 | - - - -# **getInvoicedetailsV6** -> InvoiceDetailResponse getInvoicedetailsV6(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers) - -Get Invoice Details v6 - -Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - -### 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.InvoicesV6Api; - -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"); - - InvoicesV6Api apiInstance = new InvoicesV6Api(defaultClient); - String invoicenumber = "335238411"; // String | The Ingram Micro invoice number. - String version = "20-222222"; // String | Version of codebase. - 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 across all the systems. - String imApplicationID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. Example: MyCompany. - String customerType = "invoice"; // String | it should be invoice or order - Boolean includeSerialNumbers = false; // Boolean | if serial in the response send as true or else false - try { - InvoiceDetailResponse result = apiInstance.getInvoicedetailsV6(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InvoicesV6Api#getInvoicedetailsV6"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **invoicenumber** | **String**| The Ingram Micro invoice number. | | -| **version** | **String**| Version of codebase. | | -| **imCustomerNumber** | **String**| Your unique Ingram Micro customer number. | | -| **imCountryCode** | **String**| Two-character ISO country code. | | -| **imCorrelationID** | **String**| Unique transaction number to identify each transaction across all the systems. | | -| **imApplicationID** | **String**| Unique value used to identify the sender of the transaction. Example: MyCompany. | | -| **customerType** | **String**| it should be invoice or order | [optional] | -| **includeSerialNumbers** | **Boolean**| if serial in the response send as true or else false | [optional] | - -### Return type - -[**InvoiceDetailResponse**](InvoiceDetailResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-ApplicationID - Unique value used to identify the sender of the transaction. Example: MyCompany
| -| **400** | Bad Request | - | -| **500** | Internal Server Error | - | - diff --git a/docs/OrderDetailResponse.md b/docs/OrderDetailResponse.md deleted file mode 100644 index 62a2e5df..00000000 --- a/docs/OrderDetailResponse.md +++ /dev/null @@ -1,33 +0,0 @@ - - -# OrderDetailResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ingramOrderNumber** | **String** | The IngramMicro sales order number. | [optional] | -|**ingramOrderDate** | **String** | The date and time in UTC format that the order was created. | [optional] | -|**orderType** | **String** | The order type. One of B = Branch Transfer, C = COD, D = Direct Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S = Sales Order. | [optional] | -|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] | -|**endCustomerOrderNumber** | **String** | The end user/customer's order number for reference in their system. | [optional] | -|**vendorSalesOrderNumber** | **String** | The vendor's order number for reference in their system. | [optional] | -|**orderStatus** | **String** | The header-level status of the order. One of- Shipped, Canceled, Backordered, Processing, On Hold, Delivered. | [optional] | -|**orderTotal** | **BigDecimal** | The total cost for the order, includes subtotal, freight charges, and tax. | [optional] | -|**orderSubTotal** | **BigDecimal** | The sub total cost for the order, not including tax and freight. | [optional] | -|**freightCharges** | **BigDecimal** | The freight charges for the order. | [optional] | -|**currencyCode** | **String** | The country-specific three digit ISO 4217 currency code for the order. | [optional] | -|**totalWeight** | **BigDecimal** | The total weight of the order. Pounds in North America, KG in all other countries. | [optional] | -|**totalTax** | **BigDecimal** | The total tax for the order. | [optional] | -|**paymentTerms** | **String** | The payment terms of the order. (Ex- Net 30 days). | [optional] | -|**notes** | **String** | The header-level notes for the order. | [optional] | -|**billToInfo** | [**OrderDetailResponseBillToInfo**](OrderDetailResponseBillToInfo.md) | | [optional] | -|**shipToInfo** | [**OrderDetailResponseShipToInfo**](OrderDetailResponseShipToInfo.md) | | [optional] | -|**endUserInfo** | [**OrderDetailResponseEndUserInfo**](OrderDetailResponseEndUserInfo.md) | | [optional] | -|**lines** | [**List<OrderDetailResponseLinesInner>**](OrderDetailResponseLinesInner.md) | | [optional] | -|**miscellaneousCharges** | [**List<OrderDetailResponseMiscellaneousChargesInner>**](OrderDetailResponseMiscellaneousChargesInner.md) | | [optional] | -|**additionalAttributes** | [**List<OrderDetailResponseLinesInnerAdditionalAttributesInner>**](OrderDetailResponseLinesInnerAdditionalAttributesInner.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseBillToInfo.md b/docs/OrderDetailResponseBillToInfo.md deleted file mode 100644 index cf823c72..00000000 --- a/docs/OrderDetailResponseBillToInfo.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# OrderDetailResponseBillToInfo - -The billing information provided by the reseller. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**contact** | **String** | The company contact provided by the reseller. | [optional] | -|**companyName** | **String** | The name of the company the order will be billed to. | [optional] | -|**name1** | **String** | First name. | [optional] | -|**name2** | **String** | Last name. | [optional] | -|**addressLine1** | **String** | The street address and building or house number the order will be billed to. | [optional] | -|**addressLine2** | **String** | The apartment number the order will be billed to. | [optional] | -|**addressLine3** | **String** | Address line 3. | [optional] | -|**city** | **String** | The city the order will be billed to. | [optional] | -|**state** | **String** | The state the order will be billed to. | [optional] | -|**postalCode** | **String** | The zip or postal code the order will be billed to. | [optional] | -|**countryCode** | **String** | The two-character ISO country code the order will be billed to. | [optional] | -|**phoneNumber** | **String** | The company contact phone number. | [optional] | -|**email** | **String** | The company contact email address. | [optional] | - - - diff --git a/docs/OrderDetailResponseEndUserInfo.md b/docs/OrderDetailResponseEndUserInfo.md deleted file mode 100644 index 4d6f191e..00000000 --- a/docs/OrderDetailResponseEndUserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# OrderDetailResponseEndUserInfo - -The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**contact** | **String** | The contact name for the end user/customer. | [optional] | -|**companyName** | **String** | The company name for the end user/customer. | [optional] | -|**name1** | **String** | First name. | [optional] | -|**name2** | **String** | Last name. | [optional] | -|**addressLine1** | **String** | The street adress and building or house number for the end user/customer. | [optional] | -|**addressLine2** | **String** | The apartment number for the end user/customer. | [optional] | -|**addressLine3** | **String** | Line 3 of the address 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] | -|**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 email. | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInner.md b/docs/OrderDetailResponseLinesInner.md deleted file mode 100644 index 6d9359a6..00000000 --- a/docs/OrderDetailResponseLinesInner.md +++ /dev/null @@ -1,38 +0,0 @@ - - -# OrderDetailResponseLinesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**subOrderNumber** | **String** | The sub order number. The two-digit prefix is the warehouse code of the warehouse nearest the reseller. The middle number is the order number. The two-digit suffix is the sub order number. | [optional] | -|**ingramOrderLineNumber** | **String** | Unique Ingram Micro line number. Starts with 001. | [optional] | -|**vendorSalesOrderLineNumber** | **String** | The vendor's sales order line number. | [optional] | -|**customerLinenumber** | **String** | The reseller's line item number for reference in their system. | [optional] | -|**lineStatus** | **String** | The status for the line item in the order. One of- Backordered, In Progress, Shipped, Delivered, Canceled, On Hold | [optional] | -|**ingramPartNumber** | **String** | Unique IngramMicro part number. | [optional] | -|**vendorPartNumber** | **String** | The vendor's part number for the line item. | [optional] | -|**vendorName** | **String** | The vendor's name for the part in their system. | [optional] | -|**partDescription** | **String** | The vendor's description of the part in their system. | [optional] | -|**unitWeight** | **BigDecimal** | The unit weight of the line item. | [optional] | -|**weightUom** | **String** | The unit of measure for the line item. | [optional] | -|**unitPrice** | **Integer** | The unit price of the line item. | [optional] | -|**upcCode** | **String** | The UPC code of a product. | [optional] | -|**extendedPrice** | **BigDecimal** | Unit price X quantity for the line item. | [optional] | -|**taxAmount** | **BigDecimal** | The tax amount for the line item. | [optional] | -|**currencyCode** | **String** | The country-specific three character ISO 4217 currency code for the line item. | [optional] | -|**quantityOrdered** | **Integer** | The quantity ordered of the line item. | [optional] | -|**quantityConfirmed** | **Integer** | The quantity confirmed for the line item. | [optional] | -|**quantityBackOrdered** | **Integer** | The quantity backordered for the line item. | [optional] | -|**specialBidNumber** | **String** | The line-level bid number provided to the reseller by the vendor for special pricing and discounts. Used to track the bid number in the case of split orders or where different line items have different bid numbers. Line-level bid numbers take precedence over header-level bid numbers. | [optional] | -|**requestedDeliveryDate** | **LocalDate** | Reseller-requested delivery date. Delivery date is not guaranteed. | [optional] | -|**promisedDeliveryDate** | **LocalDate** | The delivery date promised by IngramMicro. | [optional] | -|**lineNotes** | **String** | Line-level notes for the order. | [optional] | -|**shipmentDetails** | [**List<OrderDetailResponseLinesInnerShipmentDetailsInner>**](OrderDetailResponseLinesInnerShipmentDetailsInner.md) | | [optional] | -|**additionalAttributes** | [**List<OrderDetailResponseLinesInnerAdditionalAttributesInner>**](OrderDetailResponseLinesInnerAdditionalAttributesInner.md) | | [optional] | -|**links** | [**List<OrderDetailResponseLinesInnerLinksInner>**](OrderDetailResponseLinesInnerLinksInner.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md b/docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md deleted file mode 100644 index 6335310e..00000000 --- a/docs/OrderDetailResponseLinesInnerAdditionalAttributesInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseLinesInnerAdditionalAttributesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**attributeName** | **String** | Line level custom field names. | [optional] | -|**attributeValue** | **String** | Value of the custom fields. | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerLinksInner.md b/docs/OrderDetailResponseLinesInnerLinksInner.md deleted file mode 100644 index c4b595a8..00000000 --- a/docs/OrderDetailResponseLinesInnerLinksInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderDetailResponseLinesInnerLinksInner - -Link to Order Details for the line item. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**topic** | **String** | Provides the details of the line item. | [optional] | -|**href** | **String** | The API endpoint for accessing the relevant data. | [optional] | -|**type** | **String** | The type of call that can be made to the href link(GET,POST etc). | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md b/docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md deleted file mode 100644 index f0c12cdb..00000000 --- a/docs/OrderDetailResponseLinesInnerShipmentDetailsInner.md +++ /dev/null @@ -1,23 +0,0 @@ - - -# OrderDetailResponseLinesInnerShipmentDetailsInner - -Shipping details for the line item. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**quantity** | **Integer** | The quantity shipped of the line item. | [optional] | -|**estimatedShipDate** | **LocalDate** | The estimated ship date for the line item. | [optional] | -|**shippedDate** | **LocalDate** | The date the line item was shipped. | [optional] | -|**estimatedDeliveryDate** | **LocalDate** | The date the line item is expected to be delivered. | [optional] | -|**deliveredDate** | **LocalDate** | The actual date of delivery of the line item. | [optional] | -|**shipFromWarehouseId** | **String** | The ID of the warehouse the product will ship from. | [optional] | -|**shipFromLocation** | **String** | The city and state the line item ships from. | [optional] | -|**invoiceNumber** | **String** | The Ingram Micro invoice number for the line item. | [optional] | -|**invoiceDate** | **LocalDate** | The date the IngramMicro invoice was created for the line item. | [optional] | -|**carrierDetails** | [**OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails**](OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md b/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md deleted file mode 100644 index aece78e9..00000000 --- a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - -The shipment carrier details for the line item. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**carrierCode** | **String** | The carrier code for the shipment containing the line item. | [optional] | -|**carrierName** | **String** | The name of the carrier of the shipment containing the line item. | [optional] | -|**trackingDetails** | [**List<OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner>**](OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md b/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md deleted file mode 100644 index 66ac1728..00000000 --- a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - -The tracking details for the shipment containing the line item. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**trackingNumber** | **String** | The tracking number for the shipment containing the line item. | [optional] | -|**trackingUrl** | **String** | The tracking URL for the shipment containing the line item. | [optional] | -|**packageWeight** | **String** | The weight of the package for the line item. | [optional] | -|**cartonNumber** | **String** | The shipment carton number that contains the line item. | [optional] | -|**quantityInBox** | **String** | The quantity of line items in the box. | [optional] | -|**serialNumbers** | [**List<OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner>**](OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md) | | [optional] | - - - diff --git a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md b/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md deleted file mode 100644 index 533b02d0..00000000 --- a/docs/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - -A list of serial numbers of the line items contained in the shipment. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serialNumber** | **String** | The serial number for the line item. | [optional] | - - - diff --git a/docs/OrderDetailResponseMiscellaneousChargesInner.md b/docs/OrderDetailResponseMiscellaneousChargesInner.md deleted file mode 100644 index 21c82923..00000000 --- a/docs/OrderDetailResponseMiscellaneousChargesInner.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# OrderDetailResponseMiscellaneousChargesInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**subOrderNumber** | **String** | The sub order number. The two-digit prefix is the warehouse code of the warehouse nearest the reseller. The middle number is the order number. The two-digit suffix is the sub order number. | [optional] | -|**chargeLineReference** | **String** | Impulse line number for the miscellaneous charge. | [optional] | -|**chargeDescription** | **String** | Description of the miscellaneous charges. | [optional] | -|**chargeAmount** | **Double** | The amount of miscellaneous charges. | [optional] | - - - diff --git a/docs/OrderDetailResponseShipToInfo.md b/docs/OrderDetailResponseShipToInfo.md deleted file mode 100644 index 6f58afb4..00000000 --- a/docs/OrderDetailResponseShipToInfo.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# OrderDetailResponseShipToInfo - -The shipping information provided by the reseller for order delivery. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**contact** | **String** | The company contact provided by the reseller. | [optional] | -|**companyName** | **String** | The name of the company the order will be shipped to. | [optional] | -|**name1** | **String** | First name. | [optional] | -|**name2** | **String** | Last name. | [optional] | -|**addressLine1** | **String** | The street address the order will be shipped to. | [optional] | -|**addressLine2** | **String** | The building or apartment number the order will be shipped to. | [optional] | -|**addressLine3** | **String** | Line 3 of the address the order will be shipped to. | [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] | -|**phoneNumber** | **String** | The company contact phone number. | [optional] | -|**email** | **String** | The company contact email address. | [optional] | - - - diff --git a/docs/OrdersV6Api.md b/docs/OrdersV6Api.md deleted file mode 100644 index afaa3284..00000000 --- a/docs/OrdersV6Api.md +++ /dev/null @@ -1,97 +0,0 @@ -# OrdersV6Api - -All URIs are relative to *https://api.ingrammicro.com:443* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getOrderdetailsV6**](OrdersV6Api.md#getOrderdetailsV6) | **GET** /resellers/v6/orders/{ordernumber} | Get Order Details v6 | - - - -# **getOrderdetailsV6** -> OrderDetailResponse getOrderdetailsV6(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode) - -Get Order Details v6 - -Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. Use the \"simulateStatus\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - -### 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.OrdersV6Api; - -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"); - - OrdersV6Api apiInstance = new OrdersV6Api(defaultClient); - String ordernumber = "20-RD3QV"; // String | The Ingram Micro sales order number. - 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. - String imSenderID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. Example: MyCompany. - LocalDate ingramOrderDate = LocalDate.parse("Wed May 13 00:00:00 UTC 2020"); // LocalDate | The date and time in UTC format that the order was created. - String vendorNumber = "vendorNumber_example"; // String | Vendor Number. - String simulateStatus = "IM::SHIPPED"; // String | Order response for various order statuses. Not for use in production. - Boolean isIml = true; // Boolean | True/False only for IML customers. - String regionCode = "regionCode_example"; // String | Region code for sandbox testing - Not for use in production. - try { - OrderDetailResponse result = apiInstance.getOrderdetailsV6(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling OrdersV6Api#getOrderdetailsV6"); - 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 | -|------------- | ------------- | ------------- | -------------| -| **ordernumber** | **String**| The Ingram Micro sales order number. | | -| **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. | | -| **imSenderID** | **String**| Unique value used to identify the sender of the transaction. Example: MyCompany. | [optional] | -| **ingramOrderDate** | **LocalDate**| The date and time in UTC format that the order was created. | [optional] | -| **vendorNumber** | **String**| Vendor Number. | [optional] | -| **simulateStatus** | **String**| Order response for various order statuses. Not for use in production. | [optional] [enum: IM::SHIPPED, IM::PARTIALLY_SHIPPED, IM::HOLD, IM::INVOICED] | -| **isIml** | **Boolean**| True/False only for IML customers. | [optional] | -| **regionCode** | **String**| Region code for sandbox testing - Not for use in production. | [optional] | - -### Return type - -[**OrderDetailResponse**](OrderDetailResponse.md) - -### Authorization - -[application](../README.md#application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | * 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
| -| **204** | No Content | - | -| **400** | Bad Request | - | -| **500** | Internal Server Error | - | - diff --git a/docs/ProductDetailResponse.md b/docs/ProductDetailResponse.md index a5d3d68c..a80ce991 100644 --- a/docs/ProductDetailResponse.md +++ b/docs/ProductDetailResponse.md @@ -10,7 +10,7 @@ |**ingramPartNumber** | **String** | Ingram Micro unique part number for the product. | [optional] | |**vendorPartNumber** | **String** | Vendor’s part number for the product. | [optional] | |**customerPartNumber** | **String** | Reseller / end-user’s part number for the product. | [optional] | -|**productAuthorized** | **Boolean** | Boolean that indicates whether a product is authorized. | [optional] | +|**productAuthorized** | **String** | Boolean that indicates whether a product is authorized. | [optional] | |**description** | **String** | The description given for the product. | [optional] | |**productDetailDescription** | **String** | The detailed description given for the product. | [optional] | |**upc** | **String** | The UPC code for the product. Consists of 12 numeric digits that are uniquely assigned to each trade item. | [optional] | diff --git a/docs/ProductLineType.md b/docs/ProductLineType.md deleted file mode 100644 index 5a6a006d..00000000 --- a/docs/ProductLineType.md +++ /dev/null @@ -1,33 +0,0 @@ - - -# ProductLineType - -Product line items object under each invoice - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**linenumber** | **String** | | [optional] | -|**linetype** | **String** | | [optional] | -|**partnumber** | **String** | | [optional] | -|**vendorpartnumber** | **String** | | [optional] | -|**partdescription** | **String** | | [optional] | -|**shipfrombranch** | **String** | | [optional] | -|**shippedquantity** | **String** | | [optional] | -|**orderedquantity** | **String** | | [optional] | -|**marginpercent** | **String** | | [optional] | -|**backorderquantity** | **String** | | [optional] | -|**backorderetadate** | **LocalDate** | | [optional] | -|**extendedprice** | **String** | | [optional] | -|**specialbidnumber** | **String** | | [optional] | -|**ordersuffix** | **String** | | [optional] | -|**isacopapplied** | **String** | | [optional] | -|**unitprice** | **String** | | [optional] | -|**unitofmeasure** | **String** | | [optional] | -|**serialnumberdetails** | [**List<ProductLineTypeSerialnumberdetailsInner>**](ProductLineTypeSerialnumberdetailsInner.md) | | [optional] | -|**trackingnumberdetails** | [**List<ProductLineTypeTrackingnumberdetailsInner>**](ProductLineTypeTrackingnumberdetailsInner.md) | | [optional] | -|**productextendedspecs** | [**List<InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner>**](InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.md) | | [optional] | - - - diff --git a/docs/ProductLineTypeSerialnumberdetailsInner.md b/docs/ProductLineTypeSerialnumberdetailsInner.md deleted file mode 100644 index 44fdbc18..00000000 --- a/docs/ProductLineTypeSerialnumberdetailsInner.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ProductLineTypeSerialnumberdetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serialnumber** | **String** | | [optional] | -|**deliverynumber** | **String** | | [optional] | - - - diff --git a/docs/ProductLineTypeTrackingnumberdetailsInner.md b/docs/ProductLineTypeTrackingnumberdetailsInner.md deleted file mode 100644 index 503a1321..00000000 --- a/docs/ProductLineTypeTrackingnumberdetailsInner.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ProductLineTypeTrackingnumberdetailsInner - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**trackingnumber** | **String** | | [optional] | - - - diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index e1b676d2..a01beeb3 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 2c464508..7086ae2e 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class Configuration { public static final String VERSION = "1.0.0"; diff --git a/src/main/java/xiresellers/client/JSON.java b/src/main/java/xiresellers/client/JSON.java index 529047ec..d9eb0cd8 100644 --- a/src/main/java/xiresellers/client/JSON.java +++ b/src/main/java/xiresellers/client/JSON.java @@ -100,7 +100,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.AddressType.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()); @@ -125,12 +124,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri 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.InvoiceDetailResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble.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()); @@ -192,18 +185,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BMiscellaneousChargesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailB2BShipToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseBillToInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseEndUserInfo.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerLinksInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderDetailResponseShipToInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestAdditionalAttributesInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.OrderModifyRequestLinesInner.CustomTypeAdapterFactory()); @@ -250,9 +231,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponseCiscoFields.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponseIndicators.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductDetailResponseTechnicalSpecificationsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineType.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineTypeSerialnumberdetailsInner.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductLineTypeTrackingnumberdetailsInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.ProductSearchResponseCatalogInnerLinksInner.CustomTypeAdapterFactory()); diff --git a/src/main/java/xiresellers/client/Pair.java b/src/main/java/xiresellers/client/Pair.java index 05c0caf0..8e450f91 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index 01c39f1b..10086908 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/InvoicesV6Api.java b/src/main/java/xiresellers/client/api/InvoicesV6Api.java deleted file mode 100644 index 02e6537e..00000000 --- a/src/main/java/xiresellers/client/api/InvoicesV6Api.java +++ /dev/null @@ -1,288 +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.ErrorResponse; -import xiresellers.client.model.InvoiceDetailResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class InvoicesV6Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public InvoicesV6Api() { - this(Configuration.getDefaultApiClient()); - } - - public InvoicesV6Api(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 getInvoicedetailsV6 - * @param invoicenumber The Ingram Micro invoice number. (required) - * @param version Version of codebase. (required) - * @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 across all the systems. (required) - * @param imApplicationID Unique value used to identify the sender of the transaction. Example: MyCompany. (required) - * @param customerType it should be invoice or order (optional) - * @param includeSerialNumbers if serial in the response send as true or else false (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 OK * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-ApplicationID - Unique value used to identify the sender of the transaction. Example: MyCompany
400 Bad Request -
500 Internal Server Error -
- */ - public okhttp3.Call getInvoicedetailsV6Call(String invoicenumber, String version, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imApplicationID, String customerType, Boolean includeSerialNumbers, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v6/invoices/{invoicenumber}" - .replace("{" + "invoicenumber" + "}", localVarApiClient.escapeString(invoicenumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (customerType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("customerType", customerType)); - } - - if (includeSerialNumbers != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeSerialNumbers", includeSerialNumbers)); - } - - if (version != null) { - localVarHeaderParams.put("version", localVarApiClient.parameterToString(version)); - } - - if (imCustomerNumber != null) { - localVarHeaderParams.put("IM-CustomerNumber", localVarApiClient.parameterToString(imCustomerNumber)); - } - - if (imCountryCode != null) { - localVarHeaderParams.put("IM-CountryCode", localVarApiClient.parameterToString(imCountryCode)); - } - - if (imCorrelationID != null) { - localVarHeaderParams.put("IM-CorrelationID", localVarApiClient.parameterToString(imCorrelationID)); - } - - if (imApplicationID != null) { - localVarHeaderParams.put("IM-ApplicationID", localVarApiClient.parameterToString(imApplicationID)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getInvoicedetailsV6ValidateBeforeCall(String invoicenumber, String version, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imApplicationID, String customerType, Boolean includeSerialNumbers, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'invoicenumber' is set - if (invoicenumber == null) { - throw new ApiException("Missing the required parameter 'invoicenumber' when calling getInvoicedetailsV6(Async)"); - } - - // verify the required parameter 'version' is set - if (version == null) { - throw new ApiException("Missing the required parameter 'version' when calling getInvoicedetailsV6(Async)"); - } - - // verify the required parameter 'imCustomerNumber' is set - if (imCustomerNumber == null) { - throw new ApiException("Missing the required parameter 'imCustomerNumber' when calling getInvoicedetailsV6(Async)"); - } - - // verify the required parameter 'imCountryCode' is set - if (imCountryCode == null) { - throw new ApiException("Missing the required parameter 'imCountryCode' when calling getInvoicedetailsV6(Async)"); - } - - // verify the required parameter 'imCorrelationID' is set - if (imCorrelationID == null) { - throw new ApiException("Missing the required parameter 'imCorrelationID' when calling getInvoicedetailsV6(Async)"); - } - - // verify the required parameter 'imApplicationID' is set - if (imApplicationID == null) { - throw new ApiException("Missing the required parameter 'imApplicationID' when calling getInvoicedetailsV6(Async)"); - } - - return getInvoicedetailsV6Call(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers, _callback); - - } - - /** - * Get Invoice Details v6 - * Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - * @param invoicenumber The Ingram Micro invoice number. (required) - * @param version Version of codebase. (required) - * @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 across all the systems. (required) - * @param imApplicationID Unique value used to identify the sender of the transaction. Example: MyCompany. (required) - * @param customerType it should be invoice or order (optional) - * @param includeSerialNumbers if serial in the response send as true or else false (optional) - * @return InvoiceDetailResponse - * @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 OK * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-ApplicationID - Unique value used to identify the sender of the transaction. Example: MyCompany
400 Bad Request -
500 Internal Server Error -
- */ - public InvoiceDetailResponse getInvoicedetailsV6(String invoicenumber, String version, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imApplicationID, String customerType, Boolean includeSerialNumbers) throws ApiException { - ApiResponse localVarResp = getInvoicedetailsV6WithHttpInfo(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers); - return localVarResp.getData(); - } - - /** - * Get Invoice Details v6 - * Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - * @param invoicenumber The Ingram Micro invoice number. (required) - * @param version Version of codebase. (required) - * @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 across all the systems. (required) - * @param imApplicationID Unique value used to identify the sender of the transaction. Example: MyCompany. (required) - * @param customerType it should be invoice or order (optional) - * @param includeSerialNumbers if serial in the response send as true or else false (optional) - * @return ApiResponse<InvoiceDetailResponse> - * @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 OK * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-ApplicationID - Unique value used to identify the sender of the transaction. Example: MyCompany
400 Bad Request -
500 Internal Server Error -
- */ - public ApiResponse getInvoicedetailsV6WithHttpInfo(String invoicenumber, String version, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imApplicationID, String customerType, Boolean includeSerialNumbers) throws ApiException { - okhttp3.Call localVarCall = getInvoicedetailsV6ValidateBeforeCall(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Invoice Details v6 (asynchronously) - * Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - * @param invoicenumber The Ingram Micro invoice number. (required) - * @param version Version of codebase. (required) - * @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 across all the systems. (required) - * @param imApplicationID Unique value used to identify the sender of the transaction. Example: MyCompany. (required) - * @param customerType it should be invoice or order (optional) - * @param includeSerialNumbers if serial in the response send as true or else false (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 OK * IM-CorrelationID - Unique transaction number to identify each transaction across all the systems.
* IM-ApplicationID - Unique value used to identify the sender of the transaction. Example: MyCompany
400 Bad Request -
500 Internal Server Error -
- */ - public okhttp3.Call getInvoicedetailsV6Async(String invoicenumber, String version, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imApplicationID, String customerType, Boolean includeSerialNumbers, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getInvoicedetailsV6ValidateBeforeCall(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/api/OrdersV6Api.java b/src/main/java/xiresellers/client/api/OrdersV6Api.java deleted file mode 100644 index 24af2878..00000000 --- a/src/main/java/xiresellers/client/api/OrdersV6Api.java +++ /dev/null @@ -1,299 +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.ErrorResponse; -import java.time.LocalDate; -import xiresellers.client.model.OrderDetailResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class OrdersV6Api { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public OrdersV6Api() { - this(Configuration.getDefaultApiClient()); - } - - public OrdersV6Api(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 getOrderdetailsV6 - * @param ordernumber The Ingram Micro sales order number. (required) - * @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 imSenderID Unique value used to identify the sender of the transaction. Example: MyCompany. (optional) - * @param ingramOrderDate The date and time in UTC format that the order was created. (optional) - * @param vendorNumber Vendor Number. (optional) - * @param simulateStatus Order response for various order statuses. Not for use in production. (optional) - * @param isIml True/False only for IML customers. (optional) - * @param regionCode Region code for sandbox testing - Not for use in production. (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 OK * 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
204 No Content -
400 Bad Request -
500 Internal Server Error -
- */ - public okhttp3.Call getOrderdetailsV6Call(String ordernumber, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, LocalDate ingramOrderDate, String vendorNumber, String simulateStatus, Boolean isIml, String regionCode, 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 = null; - - // create path and map variables - String localVarPath = "/resellers/v6/orders/{ordernumber}" - .replace("{" + "ordernumber" + "}", localVarApiClient.escapeString(ordernumber.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (ingramOrderDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ingramOrderDate", ingramOrderDate)); - } - - if (vendorNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("vendorNumber", vendorNumber)); - } - - if (simulateStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("simulateStatus", simulateStatus)); - } - - if (isIml != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isIml", isIml)); - } - - if (regionCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("regionCode", regionCode)); - } - - if (imCustomerNumber != null) { - localVarHeaderParams.put("IM-CustomerNumber", localVarApiClient.parameterToString(imCustomerNumber)); - } - - if (imCountryCode != null) { - localVarHeaderParams.put("IM-CountryCode", localVarApiClient.parameterToString(imCountryCode)); - } - - if (imCorrelationID != null) { - localVarHeaderParams.put("IM-CorrelationID", localVarApiClient.parameterToString(imCorrelationID)); - } - - if (imSenderID != null) { - localVarHeaderParams.put("IM-SenderID", localVarApiClient.parameterToString(imSenderID)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "application" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getOrderdetailsV6ValidateBeforeCall(String ordernumber, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, LocalDate ingramOrderDate, String vendorNumber, String simulateStatus, Boolean isIml, String regionCode, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'ordernumber' is set - if (ordernumber == null) { - throw new ApiException("Missing the required parameter 'ordernumber' when calling getOrderdetailsV6(Async)"); - } - - // verify the required parameter 'imCustomerNumber' is set - if (imCustomerNumber == null) { - throw new ApiException("Missing the required parameter 'imCustomerNumber' when calling getOrderdetailsV6(Async)"); - } - - // verify the required parameter 'imCountryCode' is set - if (imCountryCode == null) { - throw new ApiException("Missing the required parameter 'imCountryCode' when calling getOrderdetailsV6(Async)"); - } - - // verify the required parameter 'imCorrelationID' is set - if (imCorrelationID == null) { - throw new ApiException("Missing the required parameter 'imCorrelationID' when calling getOrderdetailsV6(Async)"); - } - - return getOrderdetailsV6Call(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode, _callback); - - } - - /** - * Get Order Details v6 - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. Use the \"simulateStatus\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber The Ingram Micro sales order number. (required) - * @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 imSenderID Unique value used to identify the sender of the transaction. Example: MyCompany. (optional) - * @param ingramOrderDate The date and time in UTC format that the order was created. (optional) - * @param vendorNumber Vendor Number. (optional) - * @param simulateStatus Order response for various order statuses. Not for use in production. (optional) - * @param isIml True/False only for IML customers. (optional) - * @param regionCode Region code for sandbox testing - Not for use in production. (optional) - * @return OrderDetailResponse - * @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 OK * 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
204 No Content -
400 Bad Request -
500 Internal Server Error -
- */ - public OrderDetailResponse getOrderdetailsV6(String ordernumber, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, LocalDate ingramOrderDate, String vendorNumber, String simulateStatus, Boolean isIml, String regionCode) throws ApiException { - ApiResponse localVarResp = getOrderdetailsV6WithHttpInfo(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode); - return localVarResp.getData(); - } - - /** - * Get Order Details v6 - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. Use the \"simulateStatus\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber The Ingram Micro sales order number. (required) - * @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 imSenderID Unique value used to identify the sender of the transaction. Example: MyCompany. (optional) - * @param ingramOrderDate The date and time in UTC format that the order was created. (optional) - * @param vendorNumber Vendor Number. (optional) - * @param simulateStatus Order response for various order statuses. Not for use in production. (optional) - * @param isIml True/False only for IML customers. (optional) - * @param regionCode Region code for sandbox testing - Not for use in production. (optional) - * @return ApiResponse<OrderDetailResponse> - * @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 OK * 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
204 No Content -
400 Bad Request -
500 Internal Server Error -
- */ - public ApiResponse getOrderdetailsV6WithHttpInfo(String ordernumber, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, LocalDate ingramOrderDate, String vendorNumber, String simulateStatus, Boolean isIml, String regionCode) throws ApiException { - okhttp3.Call localVarCall = getOrderdetailsV6ValidateBeforeCall(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Order Details v6 (asynchronously) - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. Use the \"simulateStatus\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * @param ordernumber The Ingram Micro sales order number. (required) - * @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 imSenderID Unique value used to identify the sender of the transaction. Example: MyCompany. (optional) - * @param ingramOrderDate The date and time in UTC format that the order was created. (optional) - * @param vendorNumber Vendor Number. (optional) - * @param simulateStatus Order response for various order statuses. Not for use in production. (optional) - * @param isIml True/False only for IML customers. (optional) - * @param regionCode Region code for sandbox testing - Not for use in production. (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 OK * 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
204 No Content -
400 Bad Request -
500 Internal Server Error -
- */ - public okhttp3.Call getOrderdetailsV6Async(String ordernumber, String imCustomerNumber, String imCountryCode, String imCorrelationID, String imSenderID, LocalDate ingramOrderDate, String vendorNumber, String simulateStatus, Boolean isIml, String regionCode, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getOrderdetailsV6ValidateBeforeCall(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index b428bc8e..4b09ae84 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index a00617b3..1f23202c 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 fdaac103..e654f07e 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 c7078a40..51ce84ce 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 06b1889f..5ad07354 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AddressType.java b/src/main/java/xiresellers/client/model/AddressType.java deleted file mode 100644 index 464b9049..00000000 --- a/src/main/java/xiresellers/client/model/AddressType.java +++ /dev/null @@ -1,554 +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.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; - -/** - * Address type object - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class AddressType { - public static final String SERIALIZED_NAME_ATTENTION = "attention"; - @SerializedName(SERIALIZED_NAME_ATTENTION) - private String attention; - - 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_ADDRESSLINE1 = "addressline1"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE1) - private String addressline1; - - public static final String SERIALIZED_NAME_ADDRESSLINE2 = "addressline2"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE2) - private String addressline2; - - public static final String SERIALIZED_NAME_ADDRESSLINE3 = "addressline3"; - @SerializedName(SERIALIZED_NAME_ADDRESSLINE3) - private String addressline3; - - 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_POSTALCODE = "postalcode"; - @SerializedName(SERIALIZED_NAME_POSTALCODE) - private String postalcode; - - public static final String SERIALIZED_NAME_COUNTRYCODE = "countrycode"; - @SerializedName(SERIALIZED_NAME_COUNTRYCODE) - private String countrycode; - - public static final String SERIALIZED_NAME_FAX = "fax"; - @SerializedName(SERIALIZED_NAME_FAX) - private String fax; - - public static final String SERIALIZED_NAME_PHONENUMBER = "phonenumber"; - @SerializedName(SERIALIZED_NAME_PHONENUMBER) - private String phonenumber; - - public static final String SERIALIZED_NAME_EMAIL = "email"; - @SerializedName(SERIALIZED_NAME_EMAIL) - private String email; - - public AddressType() { - } - - public AddressType attention(String attention) { - this.attention = attention; - return this; - } - - /** - * Get attention - * @return attention - **/ - @javax.annotation.Nullable - public String getAttention() { - return attention; - } - - public void setAttention(String attention) { - this.attention = attention; - } - - - public AddressType 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 AddressType 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 AddressType addressline1(String addressline1) { - this.addressline1 = addressline1; - return this; - } - - /** - * Get addressline1 - * @return addressline1 - **/ - @javax.annotation.Nullable - public String getAddressline1() { - return addressline1; - } - - public void setAddressline1(String addressline1) { - this.addressline1 = addressline1; - } - - - public AddressType addressline2(String addressline2) { - this.addressline2 = addressline2; - return this; - } - - /** - * Get addressline2 - * @return addressline2 - **/ - @javax.annotation.Nullable - public String getAddressline2() { - return addressline2; - } - - public void setAddressline2(String addressline2) { - this.addressline2 = addressline2; - } - - - public AddressType addressline3(String addressline3) { - this.addressline3 = addressline3; - return this; - } - - /** - * Get addressline3 - * @return addressline3 - **/ - @javax.annotation.Nullable - public String getAddressline3() { - return addressline3; - } - - public void setAddressline3(String addressline3) { - this.addressline3 = addressline3; - } - - - public AddressType city(String city) { - this.city = city; - return this; - } - - /** - * Get city - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public AddressType state(String state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public AddressType postalcode(String postalcode) { - this.postalcode = postalcode; - return this; - } - - /** - * Get postalcode - * @return postalcode - **/ - @javax.annotation.Nullable - public String getPostalcode() { - return postalcode; - } - - public void setPostalcode(String postalcode) { - this.postalcode = postalcode; - } - - - public AddressType countrycode(String countrycode) { - this.countrycode = countrycode; - return this; - } - - /** - * Get countrycode - * @return countrycode - **/ - @javax.annotation.Nullable - public String getCountrycode() { - return countrycode; - } - - public void setCountrycode(String countrycode) { - this.countrycode = countrycode; - } - - - public AddressType fax(String fax) { - this.fax = fax; - return this; - } - - /** - * Get fax - * @return fax - **/ - @javax.annotation.Nullable - public String getFax() { - return fax; - } - - public void setFax(String fax) { - this.fax = fax; - } - - - public AddressType phonenumber(String phonenumber) { - this.phonenumber = phonenumber; - return this; - } - - /** - * Get phonenumber - * @return phonenumber - **/ - @javax.annotation.Nullable - public String getPhonenumber() { - return phonenumber; - } - - public void setPhonenumber(String phonenumber) { - this.phonenumber = phonenumber; - } - - - public AddressType email(String email) { - this.email = email; - return this; - } - - /** - * Get email - * @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; - } - AddressType addressType = (AddressType) o; - return Objects.equals(this.attention, addressType.attention) && - Objects.equals(this.name1, addressType.name1) && - Objects.equals(this.name2, addressType.name2) && - Objects.equals(this.addressline1, addressType.addressline1) && - Objects.equals(this.addressline2, addressType.addressline2) && - Objects.equals(this.addressline3, addressType.addressline3) && - Objects.equals(this.city, addressType.city) && - Objects.equals(this.state, addressType.state) && - Objects.equals(this.postalcode, addressType.postalcode) && - Objects.equals(this.countrycode, addressType.countrycode) && - Objects.equals(this.fax, addressType.fax) && - Objects.equals(this.phonenumber, addressType.phonenumber) && - Objects.equals(this.email, addressType.email); - } - - @Override - public int hashCode() { - return Objects.hash(attention, name1, name2, addressline1, addressline2, addressline3, city, state, postalcode, countrycode, fax, phonenumber, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AddressType {\n"); - sb.append(" attention: ").append(toIndentedString(attention)).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(" 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(" fax: ").append(toIndentedString(fax)).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("attention"); - openapiFields.add("name1"); - openapiFields.add("name2"); - openapiFields.add("addressline1"); - openapiFields.add("addressline2"); - openapiFields.add("addressline3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalcode"); - openapiFields.add("countrycode"); - openapiFields.add("fax"); - 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 AddressType - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AddressType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AddressType is not found in the empty JSON string", AddressType.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!AddressType.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AddressType` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("attention") != null && !jsonObj.get("attention").isJsonNull()) && !jsonObj.get("attention").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `attention` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attention").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("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("fax") != null && !jsonObj.get("fax").isJsonNull()) && !jsonObj.get("fax").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `fax` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fax").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 (!AddressType.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddressType' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AddressType.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AddressType value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public AddressType read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of AddressType given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddressType - * @throws IOException if the JSON string is invalid with respect to AddressType - */ - public static AddressType fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddressType.class); - } - - /** - * Convert an instance of AddressType to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index da4f20cc..3b2b2ba4 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index f7af12f7..4f73d902 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 62ffa9be..3f8ad7d6 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 9c5be3e8..2b387c7e 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -55,7 +55,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index 9059e5ea..83caf661 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -51,7 +51,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 d6092c97..cba70af1 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index 60f3f21a..450b2708 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 dc5079b5..38311800 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 daccf497..c72d9101 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -52,7 +52,7 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index d2901c53..3d461e67 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 bfb256c4..0c349d1c 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index 7ead1f0e..e83c565d 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 555cc448..56857b2f 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 a5b6d81a..49b6838f 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index cb3a7635..a68fc800 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 96eac836..ff65d510 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 dfc86250..2758473a 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 55e6ddc4..21b9aa4d 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index b160f2a4..ba947a70 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index d5436270..757b64d9 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index e210110f..e88475ac 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index 0813f7b5..a02eb9cc 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index 7d71a15f..196f1c6e 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java index 743ce2d4..cc24fe92 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java @@ -51,7 +51,7 @@ /** * GetResellerV6ValidateQuote500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java deleted file mode 100644 index 4d005a50..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponse.java +++ /dev/null @@ -1,208 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponse; - -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; - -/** - * InvoiceDetailResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponse { - public static final String SERIALIZED_NAME_SERVICERESPONSE = "serviceresponse"; - @SerializedName(SERIALIZED_NAME_SERVICERESPONSE) - private InvoiceDetailResponseServiceresponse serviceresponse; - - public InvoiceDetailResponse() { - } - - public InvoiceDetailResponse serviceresponse(InvoiceDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - return this; - } - - /** - * Get serviceresponse - * @return serviceresponse - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponse getServiceresponse() { - return serviceresponse; - } - - public void setServiceresponse(InvoiceDetailResponseServiceresponse serviceresponse) { - this.serviceresponse = serviceresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailResponse invoiceDetailResponse = (InvoiceDetailResponse) o; - return Objects.equals(this.serviceresponse, invoiceDetailResponse.serviceresponse); - } - - @Override - public int hashCode() { - return Objects.hash(serviceresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponse {\n"); - sb.append(" serviceresponse: ").append(toIndentedString(serviceresponse)).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("serviceresponse"); - - // 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 InvoiceDetailResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponse is not found in the empty JSON string", InvoiceDetailResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `serviceresponse` - if (jsonObj.get("serviceresponse") != null && !jsonObj.get("serviceresponse").isJsonNull()) { - InvoiceDetailResponseServiceresponse.validateJsonElement(jsonObj.get("serviceresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponse - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponse - */ - public static InvoiceDetailResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponse.class); - } - - /** - * Convert an instance of InvoiceDetailResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java deleted file mode 100644 index 02d65405..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponse.java +++ /dev/null @@ -1,239 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponse; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble; - -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; - -/** - * InvoiceDetailResponseServiceresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponseServiceresponse { - public static final String SERIALIZED_NAME_RESPONSEPREAMBLE = "responsepreamble"; - @SerializedName(SERIALIZED_NAME_RESPONSEPREAMBLE) - private InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble; - - public static final String SERIALIZED_NAME_INVOICEDETAILRESPONSE = "invoicedetailresponse"; - @SerializedName(SERIALIZED_NAME_INVOICEDETAILRESPONSE) - private InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicedetailresponse; - - public InvoiceDetailResponseServiceresponse() { - } - - public InvoiceDetailResponseServiceresponse responsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - return this; - } - - /** - * Get responsepreamble - * @return responsepreamble - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponseResponsepreamble getResponsepreamble() { - return responsepreamble; - } - - public void setResponsepreamble(InvoiceDetailResponseServiceresponseResponsepreamble responsepreamble) { - this.responsepreamble = responsepreamble; - } - - - public InvoiceDetailResponseServiceresponse invoicedetailresponse(InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicedetailresponse) { - this.invoicedetailresponse = invoicedetailresponse; - return this; - } - - /** - * Get invoicedetailresponse - * @return invoicedetailresponse - **/ - @javax.annotation.Nullable - public InvoiceDetailResponseServiceresponseInvoicedetailresponse getInvoicedetailresponse() { - return invoicedetailresponse; - } - - public void setInvoicedetailresponse(InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicedetailresponse) { - this.invoicedetailresponse = invoicedetailresponse; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailResponseServiceresponse invoiceDetailResponseServiceresponse = (InvoiceDetailResponseServiceresponse) o; - return Objects.equals(this.responsepreamble, invoiceDetailResponseServiceresponse.responsepreamble) && - Objects.equals(this.invoicedetailresponse, invoiceDetailResponseServiceresponse.invoicedetailresponse); - } - - @Override - public int hashCode() { - return Objects.hash(responsepreamble, invoicedetailresponse); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponseServiceresponse {\n"); - sb.append(" responsepreamble: ").append(toIndentedString(responsepreamble)).append("\n"); - sb.append(" invoicedetailresponse: ").append(toIndentedString(invoicedetailresponse)).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("responsepreamble"); - openapiFields.add("invoicedetailresponse"); - - // 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 InvoiceDetailResponseServiceresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponseServiceresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponseServiceresponse is not found in the empty JSON string", InvoiceDetailResponseServiceresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponseServiceresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponseServiceresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `responsepreamble` - if (jsonObj.get("responsepreamble") != null && !jsonObj.get("responsepreamble").isJsonNull()) { - InvoiceDetailResponseServiceresponseResponsepreamble.validateJsonElement(jsonObj.get("responsepreamble")); - } - // validate the optional field `invoicedetailresponse` - if (jsonObj.get("invoicedetailresponse") != null && !jsonObj.get("invoicedetailresponse").isJsonNull()) { - InvoiceDetailResponseServiceresponseInvoicedetailresponse.validateJsonElement(jsonObj.get("invoicedetailresponse")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailResponseServiceresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponseServiceresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponseServiceresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponseServiceresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponseServiceresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponseServiceresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponseServiceresponse - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponseServiceresponse - */ - public static InvoiceDetailResponseServiceresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponseServiceresponse.class); - } - - /** - * Convert an instance of InvoiceDetailResponseServiceresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java deleted file mode 100644 index 8f2a8ca9..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponse.java +++ /dev/null @@ -1,1448 +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.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.AddressType; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner; -import xiresellers.client.model.ProductLineType; - -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; - -/** - * InvoiceDetailResponseServiceresponseInvoicedetailresponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponseServiceresponseInvoicedetailresponse { - public static final String SERIALIZED_NAME_CUSTOMERNUMBER = "customernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERNUMBER) - private String customernumber; - - public static final String SERIALIZED_NAME_INVOICENUMBER = "invoicenumber"; - @SerializedName(SERIALIZED_NAME_INVOICENUMBER) - private String invoicenumber; - - public static final String SERIALIZED_NAME_INVOICEDATE = "invoicedate"; - @SerializedName(SERIALIZED_NAME_INVOICEDATE) - private LocalDate invoicedate; - - public static final String SERIALIZED_NAME_INVOICETYPE = "invoicetype"; - @SerializedName(SERIALIZED_NAME_INVOICETYPE) - private String invoicetype; - - public static final String SERIALIZED_NAME_CUSTOMERORDERNUMBER = "customerordernumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMERORDERNUMBER) - private String customerordernumber; - - public static final String SERIALIZED_NAME_CUSTOMERFREIGHTAMOUNT = "customerfreightamount"; - @SerializedName(SERIALIZED_NAME_CUSTOMERFREIGHTAMOUNT) - private Double customerfreightamount; - - public static final String SERIALIZED_NAME_CUSTOMERFOREIGNFRIGHTAMT = "customerforeignfrightamt"; - @SerializedName(SERIALIZED_NAME_CUSTOMERFOREIGNFRIGHTAMT) - private Float customerforeignfrightamt; - - public static final String SERIALIZED_NAME_TOTALTAXAMOUNT = "totaltaxamount"; - @SerializedName(SERIALIZED_NAME_TOTALTAXAMOUNT) - private Double totaltaxamount; - - public static final String SERIALIZED_NAME_TOTALAMOUNT = "totalamount"; - @SerializedName(SERIALIZED_NAME_TOTALAMOUNT) - private Double totalamount; - - public static final String SERIALIZED_NAME_SHIPTOSUFFIX = "shiptosuffix"; - @SerializedName(SERIALIZED_NAME_SHIPTOSUFFIX) - private String shiptosuffix; - - public static final String SERIALIZED_NAME_BILLTOSUFFIX = "billtosuffix"; - @SerializedName(SERIALIZED_NAME_BILLTOSUFFIX) - private String billtosuffix; - - public static final String SERIALIZED_NAME_FREIGHTAMOUNT = "freightamount"; - @SerializedName(SERIALIZED_NAME_FREIGHTAMOUNT) - private Double freightamount; - - public static final String SERIALIZED_NAME_PAYMENTTERMS = "paymentterms"; - @SerializedName(SERIALIZED_NAME_PAYMENTTERMS) - private String paymentterms; - - public static final String SERIALIZED_NAME_ORDERDATE = "orderdate"; - @SerializedName(SERIALIZED_NAME_ORDERDATE) - private LocalDate orderdate; - - public static final String SERIALIZED_NAME_CARRIER = "carrier"; - @SerializedName(SERIALIZED_NAME_CARRIER) - private String carrier; - - public static final String SERIALIZED_NAME_CARRIERDESCRIPTION = "carrierdescription"; - @SerializedName(SERIALIZED_NAME_CARRIERDESCRIPTION) - private String carrierdescription; - - public static final String SERIALIZED_NAME_DISCOUNTAMOUNT = "discountamount"; - @SerializedName(SERIALIZED_NAME_DISCOUNTAMOUNT) - private Double discountamount; - - public static final String SERIALIZED_NAME_TAXTYPE = "taxtype"; - @SerializedName(SERIALIZED_NAME_TAXTYPE) - private String taxtype; - - public static final String SERIALIZED_NAME_ENDUSERPONUMBER = "enduserponumber"; - @SerializedName(SERIALIZED_NAME_ENDUSERPONUMBER) - private String enduserponumber; - - public static final String SERIALIZED_NAME_FREIGHTFORWARDERCODE = "freightforwardercode"; - @SerializedName(SERIALIZED_NAME_FREIGHTFORWARDERCODE) - private String freightforwardercode; - - public static final String SERIALIZED_NAME_CREDITMEMOREASONCODE = "creditmemoreasoncode"; - @SerializedName(SERIALIZED_NAME_CREDITMEMOREASONCODE) - private String creditmemoreasoncode; - - public static final String SERIALIZED_NAME_FULFILLMENTFLAG = "fulfillmentflag"; - @SerializedName(SERIALIZED_NAME_FULFILLMENTFLAG) - private String fulfillmentflag; - - public static final String SERIALIZED_NAME_HOLDREASON = "holdreason"; - @SerializedName(SERIALIZED_NAME_HOLDREASON) - private String holdreason; - - public static final String SERIALIZED_NAME_SHIPCOMPLETE = "shipcomplete"; - @SerializedName(SERIALIZED_NAME_SHIPCOMPLETE) - private String shipcomplete; - - public static final String SERIALIZED_NAME_SHIPDATE = "shipdate"; - @SerializedName(SERIALIZED_NAME_SHIPDATE) - private LocalDate shipdate; - - public static final String SERIALIZED_NAME_COMPANYCURRENCY = "companycurrency"; - @SerializedName(SERIALIZED_NAME_COMPANYCURRENCY) - private String companycurrency; - - public static final String SERIALIZED_NAME_CURRENCYCODE = "currencycode"; - @SerializedName(SERIALIZED_NAME_CURRENCYCODE) - private String currencycode; - - public static final String SERIALIZED_NAME_CURRENCYRATE = "currencyrate"; - @SerializedName(SERIALIZED_NAME_CURRENCYRATE) - private String currencyrate; - - public static final String SERIALIZED_NAME_GLOBALORDERID = "globalorderid"; - @SerializedName(SERIALIZED_NAME_GLOBALORDERID) - private String globalorderid; - - public static final String SERIALIZED_NAME_ORIGINALSHIPCODE = "originalshipcode"; - @SerializedName(SERIALIZED_NAME_ORIGINALSHIPCODE) - private String originalshipcode; - - public static final String SERIALIZED_NAME_ORDERTYPE = "ordertype"; - @SerializedName(SERIALIZED_NAME_ORDERTYPE) - private String ordertype; - - public static final String SERIALIZED_NAME_ORDERSTATUS = "orderstatus"; - @SerializedName(SERIALIZED_NAME_ORDERSTATUS) - private String orderstatus; - - public static final String SERIALIZED_NAME_TOTALOTHERFEES = "totalotherfees"; - @SerializedName(SERIALIZED_NAME_TOTALOTHERFEES) - private BigDecimal totalotherfees; - - public static final String SERIALIZED_NAME_TOTALSALES = "totalsales"; - @SerializedName(SERIALIZED_NAME_TOTALSALES) - private String totalsales; - - public static final String SERIALIZED_NAME_WEIGHT = "weight"; - @SerializedName(SERIALIZED_NAME_WEIGHT) - private String weight; - - public static final String SERIALIZED_NAME_SHIPPABLESWITCH = "shippableswitch"; - @SerializedName(SERIALIZED_NAME_SHIPPABLESWITCH) - private String shippableswitch; - - public static final String SERIALIZED_NAME_SOLDTO = "soldto"; - @SerializedName(SERIALIZED_NAME_SOLDTO) - private AddressType soldto; - - public static final String SERIALIZED_NAME_BILLTO = "billto"; - @SerializedName(SERIALIZED_NAME_BILLTO) - private AddressType billto; - - public static final String SERIALIZED_NAME_SHOPTOADDRESS = "shoptoaddress"; - @SerializedName(SERIALIZED_NAME_SHOPTOADDRESS) - private AddressType shoptoaddress; - - public static final String SERIALIZED_NAME_LINES = "lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines; - - public static final String SERIALIZED_NAME_EXTENDEDSPECS = "extendedspecs"; - @SerializedName(SERIALIZED_NAME_EXTENDEDSPECS) - private List extendedspecs; - - public static final String SERIALIZED_NAME_MISCFEELINE = "miscfeeline"; - @SerializedName(SERIALIZED_NAME_MISCFEELINE) - private List miscfeeline; - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse() { - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse customernumber(String customernumber) { - this.customernumber = customernumber; - return this; - } - - /** - * Get customernumber - * @return customernumber - **/ - @javax.annotation.Nullable - public String getCustomernumber() { - return customernumber; - } - - public void setCustomernumber(String customernumber) { - this.customernumber = customernumber; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - return this; - } - - /** - * Get invoicenumber - * @return invoicenumber - **/ - @javax.annotation.Nullable - public String getInvoicenumber() { - return invoicenumber; - } - - public void setInvoicenumber(String invoicenumber) { - this.invoicenumber = invoicenumber; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicedate(LocalDate invoicedate) { - this.invoicedate = invoicedate; - return this; - } - - /** - * Get invoicedate - * @return invoicedate - **/ - @javax.annotation.Nullable - public LocalDate getInvoicedate() { - return invoicedate; - } - - public void setInvoicedate(LocalDate invoicedate) { - this.invoicedate = invoicedate; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse invoicetype(String invoicetype) { - this.invoicetype = invoicetype; - return this; - } - - /** - * Get invoicetype - * @return invoicetype - **/ - @javax.annotation.Nullable - public String getInvoicetype() { - return invoicetype; - } - - public void setInvoicetype(String invoicetype) { - this.invoicetype = invoicetype; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse customerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - return this; - } - - /** - * Get customerordernumber - * @return customerordernumber - **/ - @javax.annotation.Nullable - public String getCustomerordernumber() { - return customerordernumber; - } - - public void setCustomerordernumber(String customerordernumber) { - this.customerordernumber = customerordernumber; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse customerfreightamount(Double customerfreightamount) { - this.customerfreightamount = customerfreightamount; - return this; - } - - /** - * Get customerfreightamount - * @return customerfreightamount - **/ - @javax.annotation.Nullable - public Double getCustomerfreightamount() { - return customerfreightamount; - } - - public void setCustomerfreightamount(Double customerfreightamount) { - this.customerfreightamount = customerfreightamount; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse customerforeignfrightamt(Float customerforeignfrightamt) { - this.customerforeignfrightamt = customerforeignfrightamt; - return this; - } - - /** - * Get customerforeignfrightamt - * @return customerforeignfrightamt - **/ - @javax.annotation.Nullable - public Float getCustomerforeignfrightamt() { - return customerforeignfrightamt; - } - - public void setCustomerforeignfrightamt(Float customerforeignfrightamt) { - this.customerforeignfrightamt = customerforeignfrightamt; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse totaltaxamount(Double totaltaxamount) { - this.totaltaxamount = totaltaxamount; - return this; - } - - /** - * Get totaltaxamount - * @return totaltaxamount - **/ - @javax.annotation.Nullable - public Double getTotaltaxamount() { - return totaltaxamount; - } - - public void setTotaltaxamount(Double totaltaxamount) { - this.totaltaxamount = totaltaxamount; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse totalamount(Double totalamount) { - this.totalamount = totalamount; - return this; - } - - /** - * Get totalamount - * @return totalamount - **/ - @javax.annotation.Nullable - public Double getTotalamount() { - return totalamount; - } - - public void setTotalamount(Double totalamount) { - this.totalamount = totalamount; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse shiptosuffix(String shiptosuffix) { - this.shiptosuffix = shiptosuffix; - return this; - } - - /** - * Get shiptosuffix - * @return shiptosuffix - **/ - @javax.annotation.Nullable - public String getShiptosuffix() { - return shiptosuffix; - } - - public void setShiptosuffix(String shiptosuffix) { - this.shiptosuffix = shiptosuffix; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse billtosuffix(String billtosuffix) { - this.billtosuffix = billtosuffix; - return this; - } - - /** - * Get billtosuffix - * @return billtosuffix - **/ - @javax.annotation.Nullable - public String getBilltosuffix() { - return billtosuffix; - } - - public void setBilltosuffix(String billtosuffix) { - this.billtosuffix = billtosuffix; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse freightamount(Double freightamount) { - this.freightamount = freightamount; - return this; - } - - /** - * May not be available in all countries - * @return freightamount - **/ - @javax.annotation.Nullable - public Double getFreightamount() { - return freightamount; - } - - public void setFreightamount(Double freightamount) { - this.freightamount = freightamount; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse paymentterms(String paymentterms) { - this.paymentterms = paymentterms; - return this; - } - - /** - * Get paymentterms - * @return paymentterms - **/ - @javax.annotation.Nullable - public String getPaymentterms() { - return paymentterms; - } - - public void setPaymentterms(String paymentterms) { - this.paymentterms = paymentterms; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderdate(LocalDate orderdate) { - this.orderdate = orderdate; - return this; - } - - /** - * Get orderdate - * @return orderdate - **/ - @javax.annotation.Nullable - public LocalDate getOrderdate() { - return orderdate; - } - - public void setOrderdate(LocalDate orderdate) { - this.orderdate = orderdate; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse carrier(String carrier) { - this.carrier = carrier; - return this; - } - - /** - * Get carrier - * @return carrier - **/ - @javax.annotation.Nullable - public String getCarrier() { - return carrier; - } - - public void setCarrier(String carrier) { - this.carrier = carrier; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse carrierdescription(String carrierdescription) { - this.carrierdescription = carrierdescription; - return this; - } - - /** - * Get carrierdescription - * @return carrierdescription - **/ - @javax.annotation.Nullable - public String getCarrierdescription() { - return carrierdescription; - } - - public void setCarrierdescription(String carrierdescription) { - this.carrierdescription = carrierdescription; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse discountamount(Double discountamount) { - this.discountamount = discountamount; - return this; - } - - /** - * Get discountamount - * @return discountamount - **/ - @javax.annotation.Nullable - public Double getDiscountamount() { - return discountamount; - } - - public void setDiscountamount(Double discountamount) { - this.discountamount = discountamount; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse taxtype(String taxtype) { - this.taxtype = taxtype; - return this; - } - - /** - * Get taxtype - * @return taxtype - **/ - @javax.annotation.Nullable - public String getTaxtype() { - return taxtype; - } - - public void setTaxtype(String taxtype) { - this.taxtype = taxtype; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse enduserponumber(String enduserponumber) { - this.enduserponumber = enduserponumber; - return this; - } - - /** - * Get enduserponumber - * @return enduserponumber - **/ - @javax.annotation.Nullable - public String getEnduserponumber() { - return enduserponumber; - } - - public void setEnduserponumber(String enduserponumber) { - this.enduserponumber = enduserponumber; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse freightforwardercode(String freightforwardercode) { - this.freightforwardercode = freightforwardercode; - return this; - } - - /** - * Get freightforwardercode - * @return freightforwardercode - **/ - @javax.annotation.Nullable - public String getFreightforwardercode() { - return freightforwardercode; - } - - public void setFreightforwardercode(String freightforwardercode) { - this.freightforwardercode = freightforwardercode; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse creditmemoreasoncode(String creditmemoreasoncode) { - this.creditmemoreasoncode = creditmemoreasoncode; - return this; - } - - /** - * Get creditmemoreasoncode - * @return creditmemoreasoncode - **/ - @javax.annotation.Nullable - public String getCreditmemoreasoncode() { - return creditmemoreasoncode; - } - - public void setCreditmemoreasoncode(String creditmemoreasoncode) { - this.creditmemoreasoncode = creditmemoreasoncode; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse fulfillmentflag(String fulfillmentflag) { - this.fulfillmentflag = fulfillmentflag; - return this; - } - - /** - * Get fulfillmentflag - * @return fulfillmentflag - **/ - @javax.annotation.Nullable - public String getFulfillmentflag() { - return fulfillmentflag; - } - - public void setFulfillmentflag(String fulfillmentflag) { - this.fulfillmentflag = fulfillmentflag; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse holdreason(String holdreason) { - this.holdreason = holdreason; - return this; - } - - /** - * Get holdreason - * @return holdreason - **/ - @javax.annotation.Nullable - public String getHoldreason() { - return holdreason; - } - - public void setHoldreason(String holdreason) { - this.holdreason = holdreason; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse shipcomplete(String shipcomplete) { - this.shipcomplete = shipcomplete; - return this; - } - - /** - * Get shipcomplete - * @return shipcomplete - **/ - @javax.annotation.Nullable - public String getShipcomplete() { - return shipcomplete; - } - - public void setShipcomplete(String shipcomplete) { - this.shipcomplete = shipcomplete; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse shipdate(LocalDate shipdate) { - this.shipdate = shipdate; - return this; - } - - /** - * Get shipdate - * @return shipdate - **/ - @javax.annotation.Nullable - public LocalDate getShipdate() { - return shipdate; - } - - public void setShipdate(LocalDate shipdate) { - this.shipdate = shipdate; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse companycurrency(String companycurrency) { - this.companycurrency = companycurrency; - return this; - } - - /** - * Get companycurrency - * @return companycurrency - **/ - @javax.annotation.Nullable - public String getCompanycurrency() { - return companycurrency; - } - - public void setCompanycurrency(String companycurrency) { - this.companycurrency = companycurrency; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse currencycode(String currencycode) { - this.currencycode = currencycode; - return this; - } - - /** - * Get currencycode - * @return currencycode - **/ - @javax.annotation.Nullable - public String getCurrencycode() { - return currencycode; - } - - public void setCurrencycode(String currencycode) { - this.currencycode = currencycode; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse currencyrate(String currencyrate) { - this.currencyrate = currencyrate; - return this; - } - - /** - * Get currencyrate - * @return currencyrate - **/ - @javax.annotation.Nullable - public String getCurrencyrate() { - return currencyrate; - } - - public void setCurrencyrate(String currencyrate) { - this.currencyrate = currencyrate; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse globalorderid(String globalorderid) { - this.globalorderid = globalorderid; - return this; - } - - /** - * Get globalorderid - * @return globalorderid - **/ - @javax.annotation.Nullable - public String getGlobalorderid() { - return globalorderid; - } - - public void setGlobalorderid(String globalorderid) { - this.globalorderid = globalorderid; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse originalshipcode(String originalshipcode) { - this.originalshipcode = originalshipcode; - return this; - } - - /** - * Get originalshipcode - * @return originalshipcode - **/ - @javax.annotation.Nullable - public String getOriginalshipcode() { - return originalshipcode; - } - - public void setOriginalshipcode(String originalshipcode) { - this.originalshipcode = originalshipcode; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse ordertype(String ordertype) { - this.ordertype = ordertype; - return this; - } - - /** - * Get ordertype - * @return ordertype - **/ - @javax.annotation.Nullable - public String getOrdertype() { - return ordertype; - } - - public void setOrdertype(String ordertype) { - this.ordertype = ordertype; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse orderstatus(String orderstatus) { - this.orderstatus = orderstatus; - return this; - } - - /** - * Get orderstatus - * @return orderstatus - **/ - @javax.annotation.Nullable - public String getOrderstatus() { - return orderstatus; - } - - public void setOrderstatus(String orderstatus) { - this.orderstatus = orderstatus; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse totalotherfees(BigDecimal totalotherfees) { - this.totalotherfees = totalotherfees; - return this; - } - - /** - * Get totalotherfees - * @return totalotherfees - **/ - @javax.annotation.Nullable - public BigDecimal getTotalotherfees() { - return totalotherfees; - } - - public void setTotalotherfees(BigDecimal totalotherfees) { - this.totalotherfees = totalotherfees; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse totalsales(String totalsales) { - this.totalsales = totalsales; - return this; - } - - /** - * Get totalsales - * @return totalsales - **/ - @javax.annotation.Nullable - public String getTotalsales() { - return totalsales; - } - - public void setTotalsales(String totalsales) { - this.totalsales = totalsales; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse weight(String weight) { - this.weight = weight; - return this; - } - - /** - * Get weight - * @return weight - **/ - @javax.annotation.Nullable - public String getWeight() { - return weight; - } - - public void setWeight(String weight) { - this.weight = weight; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse shippableswitch(String shippableswitch) { - this.shippableswitch = shippableswitch; - return this; - } - - /** - * Get shippableswitch - * @return shippableswitch - **/ - @javax.annotation.Nullable - public String getShippableswitch() { - return shippableswitch; - } - - public void setShippableswitch(String shippableswitch) { - this.shippableswitch = shippableswitch; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse soldto(AddressType soldto) { - this.soldto = soldto; - return this; - } - - /** - * Get soldto - * @return soldto - **/ - @javax.annotation.Nullable - public AddressType getSoldto() { - return soldto; - } - - public void setSoldto(AddressType soldto) { - this.soldto = soldto; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse billto(AddressType billto) { - this.billto = billto; - return this; - } - - /** - * Get billto - * @return billto - **/ - @javax.annotation.Nullable - public AddressType getBillto() { - return billto; - } - - public void setBillto(AddressType billto) { - this.billto = billto; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse shoptoaddress(AddressType shoptoaddress) { - this.shoptoaddress = shoptoaddress; - return this; - } - - /** - * Get shoptoaddress - * @return shoptoaddress - **/ - @javax.annotation.Nullable - public AddressType getShoptoaddress() { - return shoptoaddress; - } - - public void setShoptoaddress(AddressType shoptoaddress) { - this.shoptoaddress = shoptoaddress; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse lines(List lines) { - this.lines = lines; - return this; - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse addLinesItem(ProductLineType linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * Get lines - * @return lines - **/ - @javax.annotation.Nullable - public List getLines() { - return lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse extendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - return this; - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse addExtendedspecsItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner extendedspecsItem) { - if (this.extendedspecs == null) { - this.extendedspecs = new ArrayList<>(); - } - this.extendedspecs.add(extendedspecsItem); - return this; - } - - /** - * Get extendedspecs - * @return extendedspecs - **/ - @javax.annotation.Nullable - public List getExtendedspecs() { - return extendedspecs; - } - - public void setExtendedspecs(List extendedspecs) { - this.extendedspecs = extendedspecs; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse miscfeeline(List miscfeeline) { - this.miscfeeline = miscfeeline; - return this; - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponse addMiscfeelineItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner miscfeelineItem) { - if (this.miscfeeline == null) { - this.miscfeeline = new ArrayList<>(); - } - this.miscfeeline.add(miscfeelineItem); - return this; - } - - /** - * Get miscfeeline - * @return miscfeeline - **/ - @javax.annotation.Nullable - public List getMiscfeeline() { - return miscfeeline; - } - - public void setMiscfeeline(List miscfeeline) { - this.miscfeeline = miscfeeline; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailResponseServiceresponseInvoicedetailresponse invoiceDetailResponseServiceresponseInvoicedetailresponse = (InvoiceDetailResponseServiceresponseInvoicedetailresponse) o; - return Objects.equals(this.customernumber, invoiceDetailResponseServiceresponseInvoicedetailresponse.customernumber) && - Objects.equals(this.invoicenumber, invoiceDetailResponseServiceresponseInvoicedetailresponse.invoicenumber) && - Objects.equals(this.invoicedate, invoiceDetailResponseServiceresponseInvoicedetailresponse.invoicedate) && - Objects.equals(this.invoicetype, invoiceDetailResponseServiceresponseInvoicedetailresponse.invoicetype) && - Objects.equals(this.customerordernumber, invoiceDetailResponseServiceresponseInvoicedetailresponse.customerordernumber) && - Objects.equals(this.customerfreightamount, invoiceDetailResponseServiceresponseInvoicedetailresponse.customerfreightamount) && - Objects.equals(this.customerforeignfrightamt, invoiceDetailResponseServiceresponseInvoicedetailresponse.customerforeignfrightamt) && - Objects.equals(this.totaltaxamount, invoiceDetailResponseServiceresponseInvoicedetailresponse.totaltaxamount) && - Objects.equals(this.totalamount, invoiceDetailResponseServiceresponseInvoicedetailresponse.totalamount) && - Objects.equals(this.shiptosuffix, invoiceDetailResponseServiceresponseInvoicedetailresponse.shiptosuffix) && - Objects.equals(this.billtosuffix, invoiceDetailResponseServiceresponseInvoicedetailresponse.billtosuffix) && - Objects.equals(this.freightamount, invoiceDetailResponseServiceresponseInvoicedetailresponse.freightamount) && - Objects.equals(this.paymentterms, invoiceDetailResponseServiceresponseInvoicedetailresponse.paymentterms) && - Objects.equals(this.orderdate, invoiceDetailResponseServiceresponseInvoicedetailresponse.orderdate) && - Objects.equals(this.carrier, invoiceDetailResponseServiceresponseInvoicedetailresponse.carrier) && - Objects.equals(this.carrierdescription, invoiceDetailResponseServiceresponseInvoicedetailresponse.carrierdescription) && - Objects.equals(this.discountamount, invoiceDetailResponseServiceresponseInvoicedetailresponse.discountamount) && - Objects.equals(this.taxtype, invoiceDetailResponseServiceresponseInvoicedetailresponse.taxtype) && - Objects.equals(this.enduserponumber, invoiceDetailResponseServiceresponseInvoicedetailresponse.enduserponumber) && - Objects.equals(this.freightforwardercode, invoiceDetailResponseServiceresponseInvoicedetailresponse.freightforwardercode) && - Objects.equals(this.creditmemoreasoncode, invoiceDetailResponseServiceresponseInvoicedetailresponse.creditmemoreasoncode) && - Objects.equals(this.fulfillmentflag, invoiceDetailResponseServiceresponseInvoicedetailresponse.fulfillmentflag) && - Objects.equals(this.holdreason, invoiceDetailResponseServiceresponseInvoicedetailresponse.holdreason) && - Objects.equals(this.shipcomplete, invoiceDetailResponseServiceresponseInvoicedetailresponse.shipcomplete) && - Objects.equals(this.shipdate, invoiceDetailResponseServiceresponseInvoicedetailresponse.shipdate) && - Objects.equals(this.companycurrency, invoiceDetailResponseServiceresponseInvoicedetailresponse.companycurrency) && - Objects.equals(this.currencycode, invoiceDetailResponseServiceresponseInvoicedetailresponse.currencycode) && - Objects.equals(this.currencyrate, invoiceDetailResponseServiceresponseInvoicedetailresponse.currencyrate) && - Objects.equals(this.globalorderid, invoiceDetailResponseServiceresponseInvoicedetailresponse.globalorderid) && - Objects.equals(this.originalshipcode, invoiceDetailResponseServiceresponseInvoicedetailresponse.originalshipcode) && - Objects.equals(this.ordertype, invoiceDetailResponseServiceresponseInvoicedetailresponse.ordertype) && - Objects.equals(this.orderstatus, invoiceDetailResponseServiceresponseInvoicedetailresponse.orderstatus) && - Objects.equals(this.totalotherfees, invoiceDetailResponseServiceresponseInvoicedetailresponse.totalotherfees) && - Objects.equals(this.totalsales, invoiceDetailResponseServiceresponseInvoicedetailresponse.totalsales) && - Objects.equals(this.weight, invoiceDetailResponseServiceresponseInvoicedetailresponse.weight) && - Objects.equals(this.shippableswitch, invoiceDetailResponseServiceresponseInvoicedetailresponse.shippableswitch) && - Objects.equals(this.soldto, invoiceDetailResponseServiceresponseInvoicedetailresponse.soldto) && - Objects.equals(this.billto, invoiceDetailResponseServiceresponseInvoicedetailresponse.billto) && - Objects.equals(this.shoptoaddress, invoiceDetailResponseServiceresponseInvoicedetailresponse.shoptoaddress) && - Objects.equals(this.lines, invoiceDetailResponseServiceresponseInvoicedetailresponse.lines) && - Objects.equals(this.extendedspecs, invoiceDetailResponseServiceresponseInvoicedetailresponse.extendedspecs) && - Objects.equals(this.miscfeeline, invoiceDetailResponseServiceresponseInvoicedetailresponse.miscfeeline); - } - - @Override - public int hashCode() { - return Objects.hash(customernumber, invoicenumber, invoicedate, invoicetype, customerordernumber, customerfreightamount, customerforeignfrightamt, totaltaxamount, totalamount, shiptosuffix, billtosuffix, freightamount, paymentterms, orderdate, carrier, carrierdescription, discountamount, taxtype, enduserponumber, freightforwardercode, creditmemoreasoncode, fulfillmentflag, holdreason, shipcomplete, shipdate, companycurrency, currencycode, currencyrate, globalorderid, originalshipcode, ordertype, orderstatus, totalotherfees, totalsales, weight, shippableswitch, soldto, billto, shoptoaddress, lines, extendedspecs, miscfeeline); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponseServiceresponseInvoicedetailresponse {\n"); - sb.append(" customernumber: ").append(toIndentedString(customernumber)).append("\n"); - sb.append(" invoicenumber: ").append(toIndentedString(invoicenumber)).append("\n"); - sb.append(" invoicedate: ").append(toIndentedString(invoicedate)).append("\n"); - sb.append(" invoicetype: ").append(toIndentedString(invoicetype)).append("\n"); - sb.append(" customerordernumber: ").append(toIndentedString(customerordernumber)).append("\n"); - sb.append(" customerfreightamount: ").append(toIndentedString(customerfreightamount)).append("\n"); - sb.append(" customerforeignfrightamt: ").append(toIndentedString(customerforeignfrightamt)).append("\n"); - sb.append(" totaltaxamount: ").append(toIndentedString(totaltaxamount)).append("\n"); - sb.append(" totalamount: ").append(toIndentedString(totalamount)).append("\n"); - sb.append(" shiptosuffix: ").append(toIndentedString(shiptosuffix)).append("\n"); - sb.append(" billtosuffix: ").append(toIndentedString(billtosuffix)).append("\n"); - sb.append(" freightamount: ").append(toIndentedString(freightamount)).append("\n"); - sb.append(" paymentterms: ").append(toIndentedString(paymentterms)).append("\n"); - sb.append(" orderdate: ").append(toIndentedString(orderdate)).append("\n"); - sb.append(" carrier: ").append(toIndentedString(carrier)).append("\n"); - sb.append(" carrierdescription: ").append(toIndentedString(carrierdescription)).append("\n"); - sb.append(" discountamount: ").append(toIndentedString(discountamount)).append("\n"); - sb.append(" taxtype: ").append(toIndentedString(taxtype)).append("\n"); - sb.append(" enduserponumber: ").append(toIndentedString(enduserponumber)).append("\n"); - sb.append(" freightforwardercode: ").append(toIndentedString(freightforwardercode)).append("\n"); - sb.append(" creditmemoreasoncode: ").append(toIndentedString(creditmemoreasoncode)).append("\n"); - sb.append(" fulfillmentflag: ").append(toIndentedString(fulfillmentflag)).append("\n"); - sb.append(" holdreason: ").append(toIndentedString(holdreason)).append("\n"); - sb.append(" shipcomplete: ").append(toIndentedString(shipcomplete)).append("\n"); - sb.append(" shipdate: ").append(toIndentedString(shipdate)).append("\n"); - sb.append(" companycurrency: ").append(toIndentedString(companycurrency)).append("\n"); - sb.append(" currencycode: ").append(toIndentedString(currencycode)).append("\n"); - sb.append(" currencyrate: ").append(toIndentedString(currencyrate)).append("\n"); - sb.append(" globalorderid: ").append(toIndentedString(globalorderid)).append("\n"); - sb.append(" originalshipcode: ").append(toIndentedString(originalshipcode)).append("\n"); - sb.append(" ordertype: ").append(toIndentedString(ordertype)).append("\n"); - sb.append(" orderstatus: ").append(toIndentedString(orderstatus)).append("\n"); - sb.append(" totalotherfees: ").append(toIndentedString(totalotherfees)).append("\n"); - sb.append(" totalsales: ").append(toIndentedString(totalsales)).append("\n"); - sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); - sb.append(" shippableswitch: ").append(toIndentedString(shippableswitch)).append("\n"); - sb.append(" soldto: ").append(toIndentedString(soldto)).append("\n"); - sb.append(" billto: ").append(toIndentedString(billto)).append("\n"); - sb.append(" shoptoaddress: ").append(toIndentedString(shoptoaddress)).append("\n"); - sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); - sb.append(" extendedspecs: ").append(toIndentedString(extendedspecs)).append("\n"); - sb.append(" miscfeeline: ").append(toIndentedString(miscfeeline)).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("customernumber"); - openapiFields.add("invoicenumber"); - openapiFields.add("invoicedate"); - openapiFields.add("invoicetype"); - openapiFields.add("customerordernumber"); - openapiFields.add("customerfreightamount"); - openapiFields.add("customerforeignfrightamt"); - openapiFields.add("totaltaxamount"); - openapiFields.add("totalamount"); - openapiFields.add("shiptosuffix"); - openapiFields.add("billtosuffix"); - openapiFields.add("freightamount"); - openapiFields.add("paymentterms"); - openapiFields.add("orderdate"); - openapiFields.add("carrier"); - openapiFields.add("carrierdescription"); - openapiFields.add("discountamount"); - openapiFields.add("taxtype"); - openapiFields.add("enduserponumber"); - openapiFields.add("freightforwardercode"); - openapiFields.add("creditmemoreasoncode"); - openapiFields.add("fulfillmentflag"); - openapiFields.add("holdreason"); - openapiFields.add("shipcomplete"); - openapiFields.add("shipdate"); - openapiFields.add("companycurrency"); - openapiFields.add("currencycode"); - openapiFields.add("currencyrate"); - openapiFields.add("globalorderid"); - openapiFields.add("originalshipcode"); - openapiFields.add("ordertype"); - openapiFields.add("orderstatus"); - openapiFields.add("totalotherfees"); - openapiFields.add("totalsales"); - openapiFields.add("weight"); - openapiFields.add("shippableswitch"); - openapiFields.add("soldto"); - openapiFields.add("billto"); - openapiFields.add("shoptoaddress"); - openapiFields.add("lines"); - openapiFields.add("extendedspecs"); - openapiFields.add("miscfeeline"); - - // 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 InvoiceDetailResponseServiceresponseInvoicedetailresponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponseServiceresponseInvoicedetailresponse is not found in the empty JSON string", InvoiceDetailResponseServiceresponseInvoicedetailresponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponseServiceresponseInvoicedetailresponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("customernumber") != null && !jsonObj.get("customernumber").isJsonNull()) && !jsonObj.get("customernumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customernumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customernumber").toString())); - } - if ((jsonObj.get("invoicenumber") != null && !jsonObj.get("invoicenumber").isJsonNull()) && !jsonObj.get("invoicenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicenumber").toString())); - } - if ((jsonObj.get("invoicetype") != null && !jsonObj.get("invoicetype").isJsonNull()) && !jsonObj.get("invoicetype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicetype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicetype").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("customerfreightamount") != null && !jsonObj.get("customerfreightamount").isJsonNull()) && !jsonObj.get("customerfreightamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerfreightamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerfreightamount").toString())); - } - if ((jsonObj.get("customerforeignfrightamt") != null && !jsonObj.get("customerforeignfrightamt").isJsonNull()) && !jsonObj.get("customerforeignfrightamt").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `customerforeignfrightamt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerforeignfrightamt").toString())); - } - if ((jsonObj.get("totaltaxamount") != null && !jsonObj.get("totaltaxamount").isJsonNull()) && !jsonObj.get("totaltaxamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totaltaxamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totaltaxamount").toString())); - } - if ((jsonObj.get("totalamount") != null && !jsonObj.get("totalamount").isJsonNull()) && !jsonObj.get("totalamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalamount").toString())); - } - if ((jsonObj.get("shiptosuffix") != null && !jsonObj.get("shiptosuffix").isJsonNull()) && !jsonObj.get("shiptosuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shiptosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shiptosuffix").toString())); - } - if ((jsonObj.get("billtosuffix") != null && !jsonObj.get("billtosuffix").isJsonNull()) && !jsonObj.get("billtosuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `billtosuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("billtosuffix").toString())); - } - if ((jsonObj.get("freightamount") != null && !jsonObj.get("freightamount").isJsonNull()) && !jsonObj.get("freightamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `freightamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("freightamount").toString())); - } - if ((jsonObj.get("paymentterms") != null && !jsonObj.get("paymentterms").isJsonNull()) && !jsonObj.get("paymentterms").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `paymentterms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentterms").toString())); - } - if ((jsonObj.get("carrier") != null && !jsonObj.get("carrier").isJsonNull()) && !jsonObj.get("carrier").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carrier` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrier").toString())); - } - if ((jsonObj.get("carrierdescription") != null && !jsonObj.get("carrierdescription").isJsonNull()) && !jsonObj.get("carrierdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carrierdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrierdescription").toString())); - } - if ((jsonObj.get("taxtype") != null && !jsonObj.get("taxtype").isJsonNull()) && !jsonObj.get("taxtype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `taxtype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxtype").toString())); - } - if ((jsonObj.get("enduserponumber") != null && !jsonObj.get("enduserponumber").isJsonNull()) && !jsonObj.get("enduserponumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `enduserponumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enduserponumber").toString())); - } - if ((jsonObj.get("freightforwardercode") != null && !jsonObj.get("freightforwardercode").isJsonNull()) && !jsonObj.get("freightforwardercode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `freightforwardercode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("freightforwardercode").toString())); - } - if ((jsonObj.get("creditmemoreasoncode") != null && !jsonObj.get("creditmemoreasoncode").isJsonNull()) && !jsonObj.get("creditmemoreasoncode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `creditmemoreasoncode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("creditmemoreasoncode").toString())); - } - if ((jsonObj.get("fulfillmentflag") != null && !jsonObj.get("fulfillmentflag").isJsonNull()) && !jsonObj.get("fulfillmentflag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `fulfillmentflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fulfillmentflag").toString())); - } - if ((jsonObj.get("holdreason") != null && !jsonObj.get("holdreason").isJsonNull()) && !jsonObj.get("holdreason").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `holdreason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("holdreason").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("companycurrency") != null && !jsonObj.get("companycurrency").isJsonNull()) && !jsonObj.get("companycurrency").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `companycurrency` to be a primitive type in the JSON string but got `%s`", jsonObj.get("companycurrency").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("currencyrate") != null && !jsonObj.get("currencyrate").isJsonNull()) && !jsonObj.get("currencyrate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `currencyrate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currencyrate").toString())); - } - if ((jsonObj.get("globalorderid") != null && !jsonObj.get("globalorderid").isJsonNull()) && !jsonObj.get("globalorderid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalorderid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalorderid").toString())); - } - if ((jsonObj.get("originalshipcode") != null && !jsonObj.get("originalshipcode").isJsonNull()) && !jsonObj.get("originalshipcode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `originalshipcode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("originalshipcode").toString())); - } - if ((jsonObj.get("ordertype") != null && !jsonObj.get("ordertype").isJsonNull()) && !jsonObj.get("ordertype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordertype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordertype").toString())); - } - if ((jsonObj.get("orderstatus") != null && !jsonObj.get("orderstatus").isJsonNull()) && !jsonObj.get("orderstatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderstatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderstatus").toString())); - } - if ((jsonObj.get("totalsales") != null && !jsonObj.get("totalsales").isJsonNull()) && !jsonObj.get("totalsales").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `totalsales` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalsales").toString())); - } - if ((jsonObj.get("weight") != null && !jsonObj.get("weight").isJsonNull()) && !jsonObj.get("weight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `weight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("weight").toString())); - } - if ((jsonObj.get("shippableswitch") != null && !jsonObj.get("shippableswitch").isJsonNull()) && !jsonObj.get("shippableswitch").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shippableswitch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippableswitch").toString())); - } - // validate the optional field `soldto` - if (jsonObj.get("soldto") != null && !jsonObj.get("soldto").isJsonNull()) { - AddressType.validateJsonElement(jsonObj.get("soldto")); - } - // validate the optional field `billto` - if (jsonObj.get("billto") != null && !jsonObj.get("billto").isJsonNull()) { - AddressType.validateJsonElement(jsonObj.get("billto")); - } - // validate the optional field `shoptoaddress` - if (jsonObj.get("shoptoaddress") != null && !jsonObj.get("shoptoaddress").isJsonNull()) { - AddressType.validateJsonElement(jsonObj.get("shoptoaddress")); - } - 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++) { - ProductLineType.validateJsonElement(jsonArraylines.get(i)); - }; - } - } - if (jsonObj.get("extendedspecs") != null && !jsonObj.get("extendedspecs").isJsonNull()) { - JsonArray jsonArrayextendedspecs = jsonObj.getAsJsonArray("extendedspecs"); - if (jsonArrayextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("extendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("extendedspecs").toString())); - } - - // validate the optional field `extendedspecs` (array) - for (int i = 0; i < jsonArrayextendedspecs.size(); i++) { - InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.validateJsonElement(jsonArrayextendedspecs.get(i)); - }; - } - } - if (jsonObj.get("miscfeeline") != null && !jsonObj.get("miscfeeline").isJsonNull()) { - JsonArray jsonArraymiscfeeline = jsonObj.getAsJsonArray("miscfeeline"); - if (jsonArraymiscfeeline != null) { - // ensure the json data is an array - if (!jsonObj.get("miscfeeline").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `miscfeeline` to be an array in the JSON string but got `%s`", jsonObj.get("miscfeeline").toString())); - } - - // validate the optional field `miscfeeline` (array) - for (int i = 0; i < jsonArraymiscfeeline.size(); i++) { - InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.validateJsonElement(jsonArraymiscfeeline.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponseServiceresponseInvoicedetailresponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponseServiceresponseInvoicedetailresponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponseServiceresponseInvoicedetailresponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponseServiceresponseInvoicedetailresponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponseServiceresponseInvoicedetailresponse - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponseServiceresponseInvoicedetailresponse - */ - public static InvoiceDetailResponseServiceresponseInvoicedetailresponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponseServiceresponseInvoicedetailresponse.class); - } - - /** - * Convert an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java deleted file mode 100644 index 0637cd56..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner { - public static final String SERIALIZED_NAME_ATTRIBUTENAME = "attributename"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTENAME) - private String attributename; - - public static final String SERIALIZED_NAME_ATTRIBUTEVALUE = "attributevalue"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTEVALUE) - private String attributevalue; - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner() { - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner attributename(String attributename) { - this.attributename = attributename; - return this; - } - - /** - * Get attributename - * @return attributename - **/ - @javax.annotation.Nullable - public String getAttributename() { - return attributename; - } - - public void setAttributename(String attributename) { - this.attributename = attributename; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner attributevalue(String attributevalue) { - this.attributevalue = attributevalue; - return this; - } - - /** - * Get attributevalue - * @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; - } - InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner invoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner = (InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner) o; - return Objects.equals(this.attributename, invoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.attributename) && - Objects.equals(this.attributevalue, invoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.attributevalue); - } - - @Override - public int hashCode() { - return Objects.hash(attributename, attributevalue); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner {\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 InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner is not found in the empty JSON string", InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner` 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 (!InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - */ - public static InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.class); - } - - /** - * Convert an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java deleted file mode 100644 index 33f34e85..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.java +++ /dev/null @@ -1,264 +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.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; - -/** - * InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - public static final String SERIALIZED_NAME_CHARGEAMOUNT = "chargeamount"; - @SerializedName(SERIALIZED_NAME_CHARGEAMOUNT) - private String chargeamount; - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner() { - } - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner code(String code) { - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - - public InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner 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 InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner chargeamount(String chargeamount) { - this.chargeamount = chargeamount; - return this; - } - - /** - * Get chargeamount - * @return chargeamount - **/ - @javax.annotation.Nullable - public String getChargeamount() { - return chargeamount; - } - - public void setChargeamount(String chargeamount) { - this.chargeamount = chargeamount; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner invoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner = (InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner) o; - return Objects.equals(this.code, invoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.code) && - Objects.equals(this.description, invoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.description) && - Objects.equals(this.chargeamount, invoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.chargeamount); - } - - @Override - public int hashCode() { - return Objects.hash(code, description, chargeamount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" chargeamount: ").append(toIndentedString(chargeamount)).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("code"); - openapiFields.add("description"); - openapiFields.add("chargeamount"); - - // 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 InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner is not found in the empty JSON string", InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("code") != null && !jsonObj.get("code").isJsonNull()) && !jsonObj.get("code").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").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("chargeamount") != null && !jsonObj.get("chargeamount").isJsonNull()) && !jsonObj.get("chargeamount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeamount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeamount").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - */ - public static InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner.class); - } - - /** - * Convert an instance of InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java b/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java deleted file mode 100644 index b590a223..00000000 --- a/src/main/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreamble.java +++ /dev/null @@ -1,264 +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.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; - -/** - * InvoiceDetailResponseServiceresponseResponsepreamble - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class InvoiceDetailResponseServiceresponseResponsepreamble { - public static final String SERIALIZED_NAME_RESPONSESTATUS = "responsestatus"; - @SerializedName(SERIALIZED_NAME_RESPONSESTATUS) - private String responsestatus; - - public static final String SERIALIZED_NAME_STATUSCODE = "statuscode"; - @SerializedName(SERIALIZED_NAME_STATUSCODE) - private String statuscode; - - public static final String SERIALIZED_NAME_RESPONSEMESSAGE = "responsemessage"; - @SerializedName(SERIALIZED_NAME_RESPONSEMESSAGE) - private String responsemessage; - - public InvoiceDetailResponseServiceresponseResponsepreamble() { - } - - public InvoiceDetailResponseServiceresponseResponsepreamble responsestatus(String responsestatus) { - this.responsestatus = responsestatus; - return this; - } - - /** - * Get responsestatus - * @return responsestatus - **/ - @javax.annotation.Nullable - public String getResponsestatus() { - return responsestatus; - } - - public void setResponsestatus(String responsestatus) { - this.responsestatus = responsestatus; - } - - - public InvoiceDetailResponseServiceresponseResponsepreamble statuscode(String statuscode) { - this.statuscode = statuscode; - return this; - } - - /** - * Get statuscode - * @return statuscode - **/ - @javax.annotation.Nullable - public String getStatuscode() { - return statuscode; - } - - public void setStatuscode(String statuscode) { - this.statuscode = statuscode; - } - - - public InvoiceDetailResponseServiceresponseResponsepreamble responsemessage(String responsemessage) { - this.responsemessage = responsemessage; - return this; - } - - /** - * Get responsemessage - * @return responsemessage - **/ - @javax.annotation.Nullable - public String getResponsemessage() { - return responsemessage; - } - - public void setResponsemessage(String responsemessage) { - this.responsemessage = responsemessage; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InvoiceDetailResponseServiceresponseResponsepreamble invoiceDetailResponseServiceresponseResponsepreamble = (InvoiceDetailResponseServiceresponseResponsepreamble) o; - return Objects.equals(this.responsestatus, invoiceDetailResponseServiceresponseResponsepreamble.responsestatus) && - Objects.equals(this.statuscode, invoiceDetailResponseServiceresponseResponsepreamble.statuscode) && - Objects.equals(this.responsemessage, invoiceDetailResponseServiceresponseResponsepreamble.responsemessage); - } - - @Override - public int hashCode() { - return Objects.hash(responsestatus, statuscode, responsemessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InvoiceDetailResponseServiceresponseResponsepreamble {\n"); - sb.append(" responsestatus: ").append(toIndentedString(responsestatus)).append("\n"); - sb.append(" statuscode: ").append(toIndentedString(statuscode)).append("\n"); - sb.append(" responsemessage: ").append(toIndentedString(responsemessage)).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("responsestatus"); - openapiFields.add("statuscode"); - openapiFields.add("responsemessage"); - - // 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 InvoiceDetailResponseServiceresponseResponsepreamble - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!InvoiceDetailResponseServiceresponseResponsepreamble.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in InvoiceDetailResponseServiceresponseResponsepreamble is not found in the empty JSON string", InvoiceDetailResponseServiceresponseResponsepreamble.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!InvoiceDetailResponseServiceresponseResponsepreamble.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InvoiceDetailResponseServiceresponseResponsepreamble` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("responsestatus") != null && !jsonObj.get("responsestatus").isJsonNull()) && !jsonObj.get("responsestatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsestatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsestatus").toString())); - } - if ((jsonObj.get("statuscode") != null && !jsonObj.get("statuscode").isJsonNull()) && !jsonObj.get("statuscode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `statuscode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("statuscode").toString())); - } - if ((jsonObj.get("responsemessage") != null && !jsonObj.get("responsemessage").isJsonNull()) && !jsonObj.get("responsemessage").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `responsemessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responsemessage").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!InvoiceDetailResponseServiceresponseResponsepreamble.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'InvoiceDetailResponseServiceresponseResponsepreamble' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(InvoiceDetailResponseServiceresponseResponsepreamble.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, InvoiceDetailResponseServiceresponseResponsepreamble value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public InvoiceDetailResponseServiceresponseResponsepreamble read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of InvoiceDetailResponseServiceresponseResponsepreamble given an JSON string - * - * @param jsonString JSON string - * @return An instance of InvoiceDetailResponseServiceresponseResponsepreamble - * @throws IOException if the JSON string is invalid with respect to InvoiceDetailResponseServiceresponseResponsepreamble - */ - public static InvoiceDetailResponseServiceresponseResponsepreamble fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, InvoiceDetailResponseServiceresponseResponsepreamble.class); - } - - /** - * Convert an instance of InvoiceDetailResponseServiceresponseResponsepreamble to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index f343cd2e..7c3d0d50 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -58,7 +58,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index 3b6468d5..0baf1b0b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 40e44a4b..520c5b95 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 82bb9f2f..29df906f 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -53,7 +53,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 65595503..ac7b7909 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 60c59ba4..9a975990 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 5d34fdef..6e724919 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 cd3ed1ae..458a43b1 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 a853c470..79434af7 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f36aaa38..2a35f734 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 58da258e..7658d8b5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 eb4aa2bd..4692669a 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index 2ca812df..fc540c8d 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index 50abddc2..ad6abc2b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -49,7 +49,7 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index 8cc45c42..0cfcfbc0 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -58,7 +58,7 @@ /** * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateRequest { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index 4504ed73..7a80f3e0 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 3dca05c3..4f691e45 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateRequestEndUserInfo { 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/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index 17985385..e762ff65 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateRequestLinesInner { 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/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index d4112812..1b6a4e5e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 95de8117..a18fda6d 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 eb035626..164ee910 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index c2ca9914..a7ff2176 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 8d2d5bd5..6b5c13d8 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 84fe6cd6..8e9a7fb1 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 691ac34f..ec6f1102 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1a09a856..cc305214 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 570beced..d39e1227 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -55,7 +55,7 @@ /** * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateResponse { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index f18ff03a..63a054e9 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 17983407..e45699a5 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index 48fcb7d9..f357366a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 36ccd1d8..ec2f6cb6 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderCreateResponseOrdersInnerLinesInner { 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/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index 0a0f1799..f35dc535 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 46b562b1..d0e43c3c 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1d74477a..d9890b74 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4dd3eee1..0cf07877 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f9f4c939..0c7797d4 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 35c1da6f..1d28113e 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 9fe6ae24..19e08841 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -59,7 +59,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 00445ea0..1a1420de 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 54b7db71..e415d0d1 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 406c98f8..95d67693 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 5bc52f10..5d1c5209 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderDetailB2BLinesInner { 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/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index eca44b76..17a996f0 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 845f999f..c844f8d8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 0e5ceab8..1c986d80 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index b227f1b3..87593ea8 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f5260caf..ed5683f6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 95e5cbb8..e9cc335b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 dadccdf8..bbb820ba 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4ad24162..b1da9da6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 8cb53eab..8ea90efa 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 18e7e86c..e68299a2 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4e347afa..1a3a5282 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 80f7bdbc..4d31dd6a 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 0fa8064a..68cf8e97 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 dd4b0da8..9c1157c6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 b6a3edd5..e42d95d7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 8f6446fe..a4a6b084 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 855618a8..ce8e5135 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 66115463..61d8cc4e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 64e34f9f..85a0f9fe 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderDetailB2BShipToInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponse.java b/src/main/java/xiresellers/client/model/OrderDetailResponse.java deleted file mode 100644 index ac8fa585..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponse.java +++ /dev/null @@ -1,840 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseBillToInfo; -import xiresellers.client.model.OrderDetailResponseEndUserInfo; -import xiresellers.client.model.OrderDetailResponseLinesInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; -import xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner; -import xiresellers.client.model.OrderDetailResponseShipToInfo; - -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; - -/** - * OrderDetailResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponse { - public static final String SERIALIZED_NAME_INGRAM_ORDER_NUMBER = "ingramOrderNumber"; - @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_NUMBER) - private String ingramOrderNumber; - - public static final String SERIALIZED_NAME_INGRAM_ORDER_DATE = "ingramOrderDate"; - @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_DATE) - private String ingramOrderDate; - - public static final String SERIALIZED_NAME_ORDER_TYPE = "orderType"; - @SerializedName(SERIALIZED_NAME_ORDER_TYPE) - private String orderType; - - 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_VENDOR_SALES_ORDER_NUMBER = "vendorSalesOrderNumber"; - @SerializedName(SERIALIZED_NAME_VENDOR_SALES_ORDER_NUMBER) - private String vendorSalesOrderNumber; - - public static final String SERIALIZED_NAME_ORDER_STATUS = "orderStatus"; - @SerializedName(SERIALIZED_NAME_ORDER_STATUS) - private String orderStatus; - - public static final String SERIALIZED_NAME_ORDER_TOTAL = "orderTotal"; - @SerializedName(SERIALIZED_NAME_ORDER_TOTAL) - private BigDecimal orderTotal; - - public static final String SERIALIZED_NAME_ORDER_SUB_TOTAL = "orderSubTotal"; - @SerializedName(SERIALIZED_NAME_ORDER_SUB_TOTAL) - private BigDecimal orderSubTotal; - - public static final String SERIALIZED_NAME_FREIGHT_CHARGES = "freightCharges"; - @SerializedName(SERIALIZED_NAME_FREIGHT_CHARGES) - private BigDecimal freightCharges; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_TOTAL_WEIGHT = "totalWeight"; - @SerializedName(SERIALIZED_NAME_TOTAL_WEIGHT) - private BigDecimal totalWeight; - - public static final String SERIALIZED_NAME_TOTAL_TAX = "totalTax"; - @SerializedName(SERIALIZED_NAME_TOTAL_TAX) - private BigDecimal totalTax; - - public static final String SERIALIZED_NAME_PAYMENT_TERMS = "paymentTerms"; - @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS) - private String paymentTerms; - - public static final String SERIALIZED_NAME_NOTES = "notes"; - @SerializedName(SERIALIZED_NAME_NOTES) - private String notes; - - public static final String SERIALIZED_NAME_BILL_TO_INFO = "billToInfo"; - @SerializedName(SERIALIZED_NAME_BILL_TO_INFO) - private OrderDetailResponseBillToInfo billToInfo; - - public static final String SERIALIZED_NAME_SHIP_TO_INFO = "shipToInfo"; - @SerializedName(SERIALIZED_NAME_SHIP_TO_INFO) - private OrderDetailResponseShipToInfo shipToInfo; - - public static final String SERIALIZED_NAME_END_USER_INFO = "endUserInfo"; - @SerializedName(SERIALIZED_NAME_END_USER_INFO) - private OrderDetailResponseEndUserInfo endUserInfo; - - public static final String SERIALIZED_NAME_LINES = "lines"; - @SerializedName(SERIALIZED_NAME_LINES) - private List lines; - - public static final String SERIALIZED_NAME_MISCELLANEOUS_CHARGES = "miscellaneousCharges"; - @SerializedName(SERIALIZED_NAME_MISCELLANEOUS_CHARGES) - private List miscellaneousCharges; - - public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; - @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; - - public OrderDetailResponse() { - } - - public OrderDetailResponse ingramOrderNumber(String ingramOrderNumber) { - this.ingramOrderNumber = ingramOrderNumber; - return this; - } - - /** - * The IngramMicro sales order number. - * @return ingramOrderNumber - **/ - @javax.annotation.Nullable - public String getIngramOrderNumber() { - return ingramOrderNumber; - } - - public void setIngramOrderNumber(String ingramOrderNumber) { - this.ingramOrderNumber = ingramOrderNumber; - } - - - public OrderDetailResponse ingramOrderDate(String ingramOrderDate) { - this.ingramOrderDate = ingramOrderDate; - return this; - } - - /** - * The date and time in UTC format that the order was created. - * @return ingramOrderDate - **/ - @javax.annotation.Nullable - public String getIngramOrderDate() { - return ingramOrderDate; - } - - public void setIngramOrderDate(String ingramOrderDate) { - this.ingramOrderDate = ingramOrderDate; - } - - - public OrderDetailResponse orderType(String orderType) { - this.orderType = orderType; - return this; - } - - /** - * The order type. One of B = Branch Transfer, C = COD, D = Direct Ship, F = Future Order, P = Special Order, M = Memo, Q = Quote, S = Sales Order. - * @return orderType - **/ - @javax.annotation.Nullable - public String getOrderType() { - return orderType; - } - - public void setOrderType(String orderType) { - this.orderType = orderType; - } - - - public OrderDetailResponse 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 OrderDetailResponse endCustomerOrderNumber(String endCustomerOrderNumber) { - this.endCustomerOrderNumber = endCustomerOrderNumber; - return this; - } - - /** - * The end user/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 OrderDetailResponse vendorSalesOrderNumber(String vendorSalesOrderNumber) { - this.vendorSalesOrderNumber = vendorSalesOrderNumber; - return this; - } - - /** - * The vendor's order number for reference in their system. - * @return vendorSalesOrderNumber - **/ - @javax.annotation.Nullable - public String getVendorSalesOrderNumber() { - return vendorSalesOrderNumber; - } - - public void setVendorSalesOrderNumber(String vendorSalesOrderNumber) { - this.vendorSalesOrderNumber = vendorSalesOrderNumber; - } - - - public OrderDetailResponse orderStatus(String orderStatus) { - this.orderStatus = orderStatus; - return this; - } - - /** - * The header-level status of the order. One of- Shipped, Canceled, Backordered, Processing, On Hold, Delivered. - * @return orderStatus - **/ - @javax.annotation.Nullable - public String getOrderStatus() { - return orderStatus; - } - - public void setOrderStatus(String orderStatus) { - this.orderStatus = orderStatus; - } - - - public OrderDetailResponse orderTotal(BigDecimal orderTotal) { - this.orderTotal = orderTotal; - return this; - } - - /** - * The total cost for the order, includes subtotal, freight charges, and tax. - * @return orderTotal - **/ - @javax.annotation.Nullable - public BigDecimal getOrderTotal() { - return orderTotal; - } - - public void setOrderTotal(BigDecimal orderTotal) { - this.orderTotal = orderTotal; - } - - - public OrderDetailResponse orderSubTotal(BigDecimal orderSubTotal) { - this.orderSubTotal = orderSubTotal; - return this; - } - - /** - * The sub total cost for the order, not including tax and freight. - * @return orderSubTotal - **/ - @javax.annotation.Nullable - public BigDecimal getOrderSubTotal() { - return orderSubTotal; - } - - public void setOrderSubTotal(BigDecimal orderSubTotal) { - this.orderSubTotal = orderSubTotal; - } - - - public OrderDetailResponse freightCharges(BigDecimal freightCharges) { - this.freightCharges = freightCharges; - return this; - } - - /** - * The freight charges for the order. - * @return freightCharges - **/ - @javax.annotation.Nullable - public BigDecimal getFreightCharges() { - return freightCharges; - } - - public void setFreightCharges(BigDecimal freightCharges) { - this.freightCharges = freightCharges; - } - - - public OrderDetailResponse 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 OrderDetailResponse totalWeight(BigDecimal totalWeight) { - this.totalWeight = totalWeight; - return this; - } - - /** - * The total weight of the order. Pounds in North America, KG in all other countries. - * @return totalWeight - **/ - @javax.annotation.Nullable - public BigDecimal getTotalWeight() { - return totalWeight; - } - - public void setTotalWeight(BigDecimal totalWeight) { - this.totalWeight = totalWeight; - } - - - public OrderDetailResponse totalTax(BigDecimal totalTax) { - this.totalTax = totalTax; - return this; - } - - /** - * The total tax for the order. - * @return totalTax - **/ - @javax.annotation.Nullable - public BigDecimal getTotalTax() { - return totalTax; - } - - public void setTotalTax(BigDecimal totalTax) { - this.totalTax = totalTax; - } - - - public OrderDetailResponse paymentTerms(String paymentTerms) { - this.paymentTerms = paymentTerms; - return this; - } - - /** - * The payment terms of the order. (Ex- Net 30 days). - * @return paymentTerms - **/ - @javax.annotation.Nullable - public String getPaymentTerms() { - return paymentTerms; - } - - public void setPaymentTerms(String paymentTerms) { - this.paymentTerms = paymentTerms; - } - - - public OrderDetailResponse notes(String notes) { - this.notes = notes; - return this; - } - - /** - * The header-level notes for the order. - * @return notes - **/ - @javax.annotation.Nullable - public String getNotes() { - return notes; - } - - public void setNotes(String notes) { - this.notes = notes; - } - - - public OrderDetailResponse billToInfo(OrderDetailResponseBillToInfo billToInfo) { - this.billToInfo = billToInfo; - return this; - } - - /** - * Get billToInfo - * @return billToInfo - **/ - @javax.annotation.Nullable - public OrderDetailResponseBillToInfo getBillToInfo() { - return billToInfo; - } - - public void setBillToInfo(OrderDetailResponseBillToInfo billToInfo) { - this.billToInfo = billToInfo; - } - - - public OrderDetailResponse shipToInfo(OrderDetailResponseShipToInfo shipToInfo) { - this.shipToInfo = shipToInfo; - return this; - } - - /** - * Get shipToInfo - * @return shipToInfo - **/ - @javax.annotation.Nullable - public OrderDetailResponseShipToInfo getShipToInfo() { - return shipToInfo; - } - - public void setShipToInfo(OrderDetailResponseShipToInfo shipToInfo) { - this.shipToInfo = shipToInfo; - } - - - public OrderDetailResponse endUserInfo(OrderDetailResponseEndUserInfo endUserInfo) { - this.endUserInfo = endUserInfo; - return this; - } - - /** - * Get endUserInfo - * @return endUserInfo - **/ - @javax.annotation.Nullable - public OrderDetailResponseEndUserInfo getEndUserInfo() { - return endUserInfo; - } - - public void setEndUserInfo(OrderDetailResponseEndUserInfo endUserInfo) { - this.endUserInfo = endUserInfo; - } - - - public OrderDetailResponse lines(List lines) { - this.lines = lines; - return this; - } - - public OrderDetailResponse addLinesItem(OrderDetailResponseLinesInner linesItem) { - if (this.lines == null) { - this.lines = new ArrayList<>(); - } - this.lines.add(linesItem); - return this; - } - - /** - * Get lines - * @return lines - **/ - @javax.annotation.Nullable - public List getLines() { - return lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - - - public OrderDetailResponse miscellaneousCharges(List miscellaneousCharges) { - this.miscellaneousCharges = miscellaneousCharges; - return this; - } - - public OrderDetailResponse addMiscellaneousChargesItem(OrderDetailResponseMiscellaneousChargesInner miscellaneousChargesItem) { - if (this.miscellaneousCharges == null) { - this.miscellaneousCharges = new ArrayList<>(); - } - this.miscellaneousCharges.add(miscellaneousChargesItem); - return this; - } - - /** - * Get miscellaneousCharges - * @return miscellaneousCharges - **/ - @javax.annotation.Nullable - public List getMiscellaneousCharges() { - return miscellaneousCharges; - } - - public void setMiscellaneousCharges(List miscellaneousCharges) { - this.miscellaneousCharges = miscellaneousCharges; - } - - - public OrderDetailResponse additionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - return this; - } - - public OrderDetailResponse addAdditionalAttributesItem(OrderDetailResponseLinesInnerAdditionalAttributesInner additionalAttributesItem) { - if (this.additionalAttributes == null) { - this.additionalAttributes = new ArrayList<>(); - } - this.additionalAttributes.add(additionalAttributesItem); - return this; - } - - /** - * Get additionalAttributes - * @return additionalAttributes - **/ - @javax.annotation.Nullable - public List getAdditionalAttributes() { - return additionalAttributes; - } - - public void setAdditionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponse orderDetailResponse = (OrderDetailResponse) o; - return Objects.equals(this.ingramOrderNumber, orderDetailResponse.ingramOrderNumber) && - Objects.equals(this.ingramOrderDate, orderDetailResponse.ingramOrderDate) && - Objects.equals(this.orderType, orderDetailResponse.orderType) && - Objects.equals(this.customerOrderNumber, orderDetailResponse.customerOrderNumber) && - Objects.equals(this.endCustomerOrderNumber, orderDetailResponse.endCustomerOrderNumber) && - Objects.equals(this.vendorSalesOrderNumber, orderDetailResponse.vendorSalesOrderNumber) && - Objects.equals(this.orderStatus, orderDetailResponse.orderStatus) && - Objects.equals(this.orderTotal, orderDetailResponse.orderTotal) && - Objects.equals(this.orderSubTotal, orderDetailResponse.orderSubTotal) && - Objects.equals(this.freightCharges, orderDetailResponse.freightCharges) && - Objects.equals(this.currencyCode, orderDetailResponse.currencyCode) && - Objects.equals(this.totalWeight, orderDetailResponse.totalWeight) && - Objects.equals(this.totalTax, orderDetailResponse.totalTax) && - Objects.equals(this.paymentTerms, orderDetailResponse.paymentTerms) && - Objects.equals(this.notes, orderDetailResponse.notes) && - Objects.equals(this.billToInfo, orderDetailResponse.billToInfo) && - Objects.equals(this.shipToInfo, orderDetailResponse.shipToInfo) && - Objects.equals(this.endUserInfo, orderDetailResponse.endUserInfo) && - Objects.equals(this.lines, orderDetailResponse.lines) && - Objects.equals(this.miscellaneousCharges, orderDetailResponse.miscellaneousCharges) && - Objects.equals(this.additionalAttributes, orderDetailResponse.additionalAttributes); - } - - @Override - public int hashCode() { - return Objects.hash(ingramOrderNumber, ingramOrderDate, orderType, customerOrderNumber, endCustomerOrderNumber, vendorSalesOrderNumber, orderStatus, orderTotal, orderSubTotal, freightCharges, currencyCode, totalWeight, totalTax, paymentTerms, notes, billToInfo, shipToInfo, endUserInfo, lines, miscellaneousCharges, additionalAttributes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponse {\n"); - sb.append(" ingramOrderNumber: ").append(toIndentedString(ingramOrderNumber)).append("\n"); - sb.append(" ingramOrderDate: ").append(toIndentedString(ingramOrderDate)).append("\n"); - sb.append(" orderType: ").append(toIndentedString(orderType)).append("\n"); - sb.append(" customerOrderNumber: ").append(toIndentedString(customerOrderNumber)).append("\n"); - sb.append(" endCustomerOrderNumber: ").append(toIndentedString(endCustomerOrderNumber)).append("\n"); - sb.append(" vendorSalesOrderNumber: ").append(toIndentedString(vendorSalesOrderNumber)).append("\n"); - sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); - sb.append(" orderTotal: ").append(toIndentedString(orderTotal)).append("\n"); - sb.append(" orderSubTotal: ").append(toIndentedString(orderSubTotal)).append("\n"); - sb.append(" freightCharges: ").append(toIndentedString(freightCharges)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" totalWeight: ").append(toIndentedString(totalWeight)).append("\n"); - sb.append(" totalTax: ").append(toIndentedString(totalTax)).append("\n"); - sb.append(" paymentTerms: ").append(toIndentedString(paymentTerms)).append("\n"); - sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); - sb.append(" billToInfo: ").append(toIndentedString(billToInfo)).append("\n"); - sb.append(" shipToInfo: ").append(toIndentedString(shipToInfo)).append("\n"); - sb.append(" endUserInfo: ").append(toIndentedString(endUserInfo)).append("\n"); - sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); - sb.append(" miscellaneousCharges: ").append(toIndentedString(miscellaneousCharges)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).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("ingramOrderNumber"); - openapiFields.add("ingramOrderDate"); - openapiFields.add("orderType"); - openapiFields.add("customerOrderNumber"); - openapiFields.add("endCustomerOrderNumber"); - openapiFields.add("vendorSalesOrderNumber"); - openapiFields.add("orderStatus"); - openapiFields.add("orderTotal"); - openapiFields.add("orderSubTotal"); - openapiFields.add("freightCharges"); - openapiFields.add("currencyCode"); - openapiFields.add("totalWeight"); - openapiFields.add("totalTax"); - openapiFields.add("paymentTerms"); - openapiFields.add("notes"); - openapiFields.add("billToInfo"); - openapiFields.add("shipToInfo"); - openapiFields.add("endUserInfo"); - openapiFields.add("lines"); - openapiFields.add("miscellaneousCharges"); - openapiFields.add("additionalAttributes"); - - // 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 OrderDetailResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponse is not found in the empty JSON string", OrderDetailResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("ingramOrderNumber") != null && !jsonObj.get("ingramOrderNumber").isJsonNull()) && !jsonObj.get("ingramOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderNumber").toString())); - } - if ((jsonObj.get("ingramOrderDate") != null && !jsonObj.get("ingramOrderDate").isJsonNull()) && !jsonObj.get("ingramOrderDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramOrderDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderDate").toString())); - } - if ((jsonObj.get("orderType") != null && !jsonObj.get("orderType").isJsonNull()) && !jsonObj.get("orderType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderType").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("vendorSalesOrderNumber") != null && !jsonObj.get("vendorSalesOrderNumber").isJsonNull()) && !jsonObj.get("vendorSalesOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorSalesOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorSalesOrderNumber").toString())); - } - if ((jsonObj.get("orderStatus") != null && !jsonObj.get("orderStatus").isJsonNull()) && !jsonObj.get("orderStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderStatus").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("paymentTerms") != null && !jsonObj.get("paymentTerms").isJsonNull()) && !jsonObj.get("paymentTerms").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `paymentTerms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentTerms").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())); - } - // validate the optional field `billToInfo` - if (jsonObj.get("billToInfo") != null && !jsonObj.get("billToInfo").isJsonNull()) { - OrderDetailResponseBillToInfo.validateJsonElement(jsonObj.get("billToInfo")); - } - // validate the optional field `shipToInfo` - if (jsonObj.get("shipToInfo") != null && !jsonObj.get("shipToInfo").isJsonNull()) { - OrderDetailResponseShipToInfo.validateJsonElement(jsonObj.get("shipToInfo")); - } - // validate the optional field `endUserInfo` - if (jsonObj.get("endUserInfo") != null && !jsonObj.get("endUserInfo").isJsonNull()) { - OrderDetailResponseEndUserInfo.validateJsonElement(jsonObj.get("endUserInfo")); - } - 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++) { - OrderDetailResponseLinesInner.validateJsonElement(jsonArraylines.get(i)); - }; - } - } - if (jsonObj.get("miscellaneousCharges") != null && !jsonObj.get("miscellaneousCharges").isJsonNull()) { - JsonArray jsonArraymiscellaneousCharges = jsonObj.getAsJsonArray("miscellaneousCharges"); - if (jsonArraymiscellaneousCharges != null) { - // ensure the json data is an array - if (!jsonObj.get("miscellaneousCharges").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `miscellaneousCharges` to be an array in the JSON string but got `%s`", jsonObj.get("miscellaneousCharges").toString())); - } - - // validate the optional field `miscellaneousCharges` (array) - for (int i = 0; i < jsonArraymiscellaneousCharges.size(); i++) { - OrderDetailResponseMiscellaneousChargesInner.validateJsonElement(jsonArraymiscellaneousCharges.get(i)); - }; - } - } - 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++) { - OrderDetailResponseLinesInnerAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponse - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponse - */ - public static OrderDetailResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponse.class); - } - - /** - * Convert an instance of OrderDetailResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java deleted file mode 100644 index eafea503..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseBillToInfo.java +++ /dev/null @@ -1,554 +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.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 billing information provided by the reseller. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseBillToInfo { - 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_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_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_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 OrderDetailResponseBillToInfo() { - } - - public OrderDetailResponseBillToInfo contact(String contact) { - this.contact = contact; - return this; - } - - /** - * The company contact provided by the reseller. - * @return contact - **/ - @javax.annotation.Nullable - public String getContact() { - return contact; - } - - public void setContact(String contact) { - this.contact = contact; - } - - - public OrderDetailResponseBillToInfo companyName(String companyName) { - this.companyName = companyName; - return this; - } - - /** - * The name of the company the order will be billed to. - * @return companyName - **/ - @javax.annotation.Nullable - public String getCompanyName() { - return companyName; - } - - public void setCompanyName(String companyName) { - this.companyName = companyName; - } - - - public OrderDetailResponseBillToInfo name1(String name1) { - this.name1 = name1; - return this; - } - - /** - * First name. - * @return name1 - **/ - @javax.annotation.Nullable - public String getName1() { - return name1; - } - - public void setName1(String name1) { - this.name1 = name1; - } - - - public OrderDetailResponseBillToInfo name2(String name2) { - this.name2 = name2; - return this; - } - - /** - * Last name. - * @return name2 - **/ - @javax.annotation.Nullable - public String getName2() { - return name2; - } - - public void setName2(String name2) { - this.name2 = name2; - } - - - public OrderDetailResponseBillToInfo addressLine1(String addressLine1) { - this.addressLine1 = addressLine1; - return this; - } - - /** - * The street address and building or house number the order will be billed to. - * @return addressLine1 - **/ - @javax.annotation.Nullable - public String getAddressLine1() { - return addressLine1; - } - - public void setAddressLine1(String addressLine1) { - this.addressLine1 = addressLine1; - } - - - public OrderDetailResponseBillToInfo addressLine2(String addressLine2) { - this.addressLine2 = addressLine2; - return this; - } - - /** - * The apartment number the order will be billed to. - * @return addressLine2 - **/ - @javax.annotation.Nullable - public String getAddressLine2() { - return addressLine2; - } - - public void setAddressLine2(String addressLine2) { - this.addressLine2 = addressLine2; - } - - - public OrderDetailResponseBillToInfo addressLine3(String addressLine3) { - this.addressLine3 = addressLine3; - return this; - } - - /** - * Address line 3. - * @return addressLine3 - **/ - @javax.annotation.Nullable - public String getAddressLine3() { - return addressLine3; - } - - public void setAddressLine3(String addressLine3) { - this.addressLine3 = addressLine3; - } - - - public OrderDetailResponseBillToInfo city(String city) { - this.city = city; - return this; - } - - /** - * The city the order will be billed to. - * @return city - **/ - @javax.annotation.Nullable - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - - public OrderDetailResponseBillToInfo state(String state) { - this.state = state; - return this; - } - - /** - * The state the order will be billed to. - * @return state - **/ - @javax.annotation.Nullable - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - - public OrderDetailResponseBillToInfo postalCode(String postalCode) { - this.postalCode = postalCode; - return this; - } - - /** - * The zip or postal code the order will be billed to. - * @return postalCode - **/ - @javax.annotation.Nullable - public String getPostalCode() { - return postalCode; - } - - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - - - public OrderDetailResponseBillToInfo countryCode(String countryCode) { - this.countryCode = countryCode; - return this; - } - - /** - * The two-character ISO country code the order will be billed to. - * @return countryCode - **/ - @javax.annotation.Nullable - public String getCountryCode() { - return countryCode; - } - - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - - - public OrderDetailResponseBillToInfo phoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - return this; - } - - /** - * The company contact phone number. - * @return phoneNumber - **/ - @javax.annotation.Nullable - public String getPhoneNumber() { - return phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - - public OrderDetailResponseBillToInfo 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; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseBillToInfo orderDetailResponseBillToInfo = (OrderDetailResponseBillToInfo) o; - return Objects.equals(this.contact, orderDetailResponseBillToInfo.contact) && - Objects.equals(this.companyName, orderDetailResponseBillToInfo.companyName) && - Objects.equals(this.name1, orderDetailResponseBillToInfo.name1) && - Objects.equals(this.name2, orderDetailResponseBillToInfo.name2) && - Objects.equals(this.addressLine1, orderDetailResponseBillToInfo.addressLine1) && - Objects.equals(this.addressLine2, orderDetailResponseBillToInfo.addressLine2) && - Objects.equals(this.addressLine3, orderDetailResponseBillToInfo.addressLine3) && - Objects.equals(this.city, orderDetailResponseBillToInfo.city) && - Objects.equals(this.state, orderDetailResponseBillToInfo.state) && - Objects.equals(this.postalCode, orderDetailResponseBillToInfo.postalCode) && - Objects.equals(this.countryCode, orderDetailResponseBillToInfo.countryCode) && - Objects.equals(this.phoneNumber, orderDetailResponseBillToInfo.phoneNumber) && - Objects.equals(this.email, orderDetailResponseBillToInfo.email); - } - - @Override - public int hashCode() { - return Objects.hash(contact, companyName, name1, name2, addressLine1, addressLine2, addressLine3, city, state, postalCode, countryCode, phoneNumber, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseBillToInfo {\n"); - sb.append(" contact: ").append(toIndentedString(contact)).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(" 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(" 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("contact"); - openapiFields.add("companyName"); - openapiFields.add("name1"); - openapiFields.add("name2"); - openapiFields.add("addressLine1"); - openapiFields.add("addressLine2"); - openapiFields.add("addressLine3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalCode"); - 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 OrderDetailResponseBillToInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseBillToInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseBillToInfo is not found in the empty JSON string", OrderDetailResponseBillToInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseBillToInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseBillToInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("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("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("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 (!OrderDetailResponseBillToInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseBillToInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseBillToInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseBillToInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseBillToInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseBillToInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseBillToInfo - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseBillToInfo - */ - public static OrderDetailResponseBillToInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseBillToInfo.class); - } - - /** - * Convert an instance of OrderDetailResponseBillToInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java deleted file mode 100644 index a73e5436..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseEndUserInfo.java +++ /dev/null @@ -1,554 +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.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-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseEndUserInfo { - 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_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_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_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 OrderDetailResponseEndUserInfo() { - } - - public OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo name1(String name1) { - this.name1 = name1; - return this; - } - - /** - * First name. - * @return name1 - **/ - @javax.annotation.Nullable - public String getName1() { - return name1; - } - - public void setName1(String name1) { - this.name1 = name1; - } - - - public OrderDetailResponseEndUserInfo name2(String name2) { - this.name2 = name2; - return this; - } - - /** - * Last name. - * @return name2 - **/ - @javax.annotation.Nullable - public String getName2() { - return name2; - } - - public void setName2(String name2) { - this.name2 = name2; - } - - - public OrderDetailResponseEndUserInfo addressLine1(String addressLine1) { - this.addressLine1 = addressLine1; - return this; - } - - /** - * The street adress and building or house number for the end user/customer. - * @return addressLine1 - **/ - @javax.annotation.Nullable - public String getAddressLine1() { - return addressLine1; - } - - public void setAddressLine1(String addressLine1) { - this.addressLine1 = addressLine1; - } - - - public OrderDetailResponseEndUserInfo addressLine2(String addressLine2) { - this.addressLine2 = addressLine2; - return this; - } - - /** - * The apartment number for the end user/customer. - * @return addressLine2 - **/ - @javax.annotation.Nullable - public String getAddressLine2() { - return addressLine2; - } - - public void setAddressLine2(String addressLine2) { - this.addressLine2 = addressLine2; - } - - - public OrderDetailResponseEndUserInfo addressLine3(String addressLine3) { - this.addressLine3 = addressLine3; - return this; - } - - /** - * Line 3 of the address for the end user/customer. - * @return addressLine3 - **/ - @javax.annotation.Nullable - public String getAddressLine3() { - return addressLine3; - } - - public void setAddressLine3(String addressLine3) { - this.addressLine3 = addressLine3; - } - - - public OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo 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 OrderDetailResponseEndUserInfo email(String email) { - this.email = email; - return this; - } - - /** - * The end user/customer's email. - * @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; - } - OrderDetailResponseEndUserInfo orderDetailResponseEndUserInfo = (OrderDetailResponseEndUserInfo) o; - return Objects.equals(this.contact, orderDetailResponseEndUserInfo.contact) && - Objects.equals(this.companyName, orderDetailResponseEndUserInfo.companyName) && - Objects.equals(this.name1, orderDetailResponseEndUserInfo.name1) && - Objects.equals(this.name2, orderDetailResponseEndUserInfo.name2) && - Objects.equals(this.addressLine1, orderDetailResponseEndUserInfo.addressLine1) && - Objects.equals(this.addressLine2, orderDetailResponseEndUserInfo.addressLine2) && - Objects.equals(this.addressLine3, orderDetailResponseEndUserInfo.addressLine3) && - Objects.equals(this.city, orderDetailResponseEndUserInfo.city) && - Objects.equals(this.state, orderDetailResponseEndUserInfo.state) && - Objects.equals(this.postalCode, orderDetailResponseEndUserInfo.postalCode) && - Objects.equals(this.countryCode, orderDetailResponseEndUserInfo.countryCode) && - Objects.equals(this.phoneNumber, orderDetailResponseEndUserInfo.phoneNumber) && - Objects.equals(this.email, orderDetailResponseEndUserInfo.email); - } - - @Override - public int hashCode() { - return Objects.hash(contact, companyName, name1, name2, addressLine1, addressLine2, addressLine3, city, state, postalCode, countryCode, phoneNumber, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseEndUserInfo {\n"); - sb.append(" contact: ").append(toIndentedString(contact)).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(" 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(" 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("contact"); - openapiFields.add("companyName"); - openapiFields.add("name1"); - openapiFields.add("name2"); - openapiFields.add("addressLine1"); - openapiFields.add("addressLine2"); - openapiFields.add("addressLine3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalCode"); - 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 OrderDetailResponseEndUserInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseEndUserInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseEndUserInfo is not found in the empty JSON string", OrderDetailResponseEndUserInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseEndUserInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseEndUserInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("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("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("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 (!OrderDetailResponseEndUserInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseEndUserInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseEndUserInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseEndUserInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseEndUserInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseEndUserInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseEndUserInfo - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseEndUserInfo - */ - public static OrderDetailResponseEndUserInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseEndUserInfo.class); - } - - /** - * Convert an instance of OrderDetailResponseEndUserInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java deleted file mode 100644 index a4e79f3b..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInner.java +++ /dev/null @@ -1,968 +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.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerLinksInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInner; - -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; - -/** - * OrderDetailResponseLinesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInner { - public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; - @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) - private String subOrderNumber; - - public static final String SERIALIZED_NAME_INGRAM_ORDER_LINE_NUMBER = "ingramOrderLineNumber"; - @SerializedName(SERIALIZED_NAME_INGRAM_ORDER_LINE_NUMBER) - private String ingramOrderLineNumber; - - public static final String SERIALIZED_NAME_VENDOR_SALES_ORDER_LINE_NUMBER = "vendorSalesOrderLineNumber"; - @SerializedName(SERIALIZED_NAME_VENDOR_SALES_ORDER_LINE_NUMBER) - private String vendorSalesOrderLineNumber; - - public static final String SERIALIZED_NAME_CUSTOMER_LINENUMBER = "customerLinenumber"; - @SerializedName(SERIALIZED_NAME_CUSTOMER_LINENUMBER) - private String customerLinenumber; - - public static final String SERIALIZED_NAME_LINE_STATUS = "lineStatus"; - @SerializedName(SERIALIZED_NAME_LINE_STATUS) - private String lineStatus; - - 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_VENDOR_PART_NUMBER = "vendorPartNumber"; - @SerializedName(SERIALIZED_NAME_VENDOR_PART_NUMBER) - private String vendorPartNumber; - - public static final String SERIALIZED_NAME_VENDOR_NAME = "vendorName"; - @SerializedName(SERIALIZED_NAME_VENDOR_NAME) - private String vendorName; - - public static final String SERIALIZED_NAME_PART_DESCRIPTION = "partDescription"; - @SerializedName(SERIALIZED_NAME_PART_DESCRIPTION) - private String partDescription; - - public static final String SERIALIZED_NAME_UNIT_WEIGHT = "unitWeight"; - @SerializedName(SERIALIZED_NAME_UNIT_WEIGHT) - private BigDecimal unitWeight; - - public static final String SERIALIZED_NAME_WEIGHT_UOM = "weightUom"; - @SerializedName(SERIALIZED_NAME_WEIGHT_UOM) - private String weightUom; - - public static final String SERIALIZED_NAME_UNIT_PRICE = "unitPrice"; - @SerializedName(SERIALIZED_NAME_UNIT_PRICE) - private Integer unitPrice; - - public static final String SERIALIZED_NAME_UPC_CODE = "upcCode"; - @SerializedName(SERIALIZED_NAME_UPC_CODE) - private String upcCode; - - public static final String SERIALIZED_NAME_EXTENDED_PRICE = "extendedPrice"; - @SerializedName(SERIALIZED_NAME_EXTENDED_PRICE) - private BigDecimal extendedPrice; - - public static final String SERIALIZED_NAME_TAX_AMOUNT = "taxAmount"; - @SerializedName(SERIALIZED_NAME_TAX_AMOUNT) - private BigDecimal taxAmount; - - public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; - @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) - private String currencyCode; - - public static final String SERIALIZED_NAME_QUANTITY_ORDERED = "quantityOrdered"; - @SerializedName(SERIALIZED_NAME_QUANTITY_ORDERED) - private Integer quantityOrdered; - - public static final String SERIALIZED_NAME_QUANTITY_CONFIRMED = "quantityConfirmed"; - @SerializedName(SERIALIZED_NAME_QUANTITY_CONFIRMED) - private Integer quantityConfirmed; - - public static final String SERIALIZED_NAME_QUANTITY_BACK_ORDERED = "quantityBackOrdered"; - @SerializedName(SERIALIZED_NAME_QUANTITY_BACK_ORDERED) - private Integer quantityBackOrdered; - - 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_REQUESTED_DELIVERY_DATE = "requestedDeliveryDate"; - @SerializedName(SERIALIZED_NAME_REQUESTED_DELIVERY_DATE) - private LocalDate requestedDeliveryDate; - - public static final String SERIALIZED_NAME_PROMISED_DELIVERY_DATE = "promisedDeliveryDate"; - @SerializedName(SERIALIZED_NAME_PROMISED_DELIVERY_DATE) - private LocalDate promisedDeliveryDate; - - public static final String SERIALIZED_NAME_LINE_NOTES = "lineNotes"; - @SerializedName(SERIALIZED_NAME_LINE_NOTES) - private String lineNotes; - - public static final String SERIALIZED_NAME_SHIPMENT_DETAILS = "shipmentDetails"; - @SerializedName(SERIALIZED_NAME_SHIPMENT_DETAILS) - private List shipmentDetails; - - public static final String SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES = "additionalAttributes"; - @SerializedName(SERIALIZED_NAME_ADDITIONAL_ATTRIBUTES) - private List additionalAttributes; - - public static final String SERIALIZED_NAME_LINKS = "links"; - @SerializedName(SERIALIZED_NAME_LINKS) - private List links; - - public OrderDetailResponseLinesInner() { - } - - public OrderDetailResponseLinesInner subOrderNumber(String subOrderNumber) { - this.subOrderNumber = subOrderNumber; - return this; - } - - /** - * The sub order number. The two-digit prefix is the warehouse code of the warehouse nearest the reseller. The middle number is the order number. The two-digit suffix is the sub order number. - * @return subOrderNumber - **/ - @javax.annotation.Nullable - public String getSubOrderNumber() { - return subOrderNumber; - } - - public void setSubOrderNumber(String subOrderNumber) { - this.subOrderNumber = subOrderNumber; - } - - - public OrderDetailResponseLinesInner ingramOrderLineNumber(String ingramOrderLineNumber) { - this.ingramOrderLineNumber = ingramOrderLineNumber; - return this; - } - - /** - * Unique Ingram Micro line number. Starts with 001. - * @return ingramOrderLineNumber - **/ - @javax.annotation.Nullable - public String getIngramOrderLineNumber() { - return ingramOrderLineNumber; - } - - public void setIngramOrderLineNumber(String ingramOrderLineNumber) { - this.ingramOrderLineNumber = ingramOrderLineNumber; - } - - - public OrderDetailResponseLinesInner vendorSalesOrderLineNumber(String vendorSalesOrderLineNumber) { - this.vendorSalesOrderLineNumber = vendorSalesOrderLineNumber; - return this; - } - - /** - * The vendor's sales order line number. - * @return vendorSalesOrderLineNumber - **/ - @javax.annotation.Nullable - public String getVendorSalesOrderLineNumber() { - return vendorSalesOrderLineNumber; - } - - public void setVendorSalesOrderLineNumber(String vendorSalesOrderLineNumber) { - this.vendorSalesOrderLineNumber = vendorSalesOrderLineNumber; - } - - - public OrderDetailResponseLinesInner 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 OrderDetailResponseLinesInner lineStatus(String lineStatus) { - this.lineStatus = lineStatus; - return this; - } - - /** - * The status for the line item in the order. One of- Backordered, In Progress, Shipped, Delivered, Canceled, On Hold - * @return lineStatus - **/ - @javax.annotation.Nullable - public String getLineStatus() { - return lineStatus; - } - - public void setLineStatus(String lineStatus) { - this.lineStatus = lineStatus; - } - - - public OrderDetailResponseLinesInner 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 OrderDetailResponseLinesInner vendorPartNumber(String vendorPartNumber) { - this.vendorPartNumber = vendorPartNumber; - return this; - } - - /** - * The vendor's part number for the line item. - * @return vendorPartNumber - **/ - @javax.annotation.Nullable - public String getVendorPartNumber() { - return vendorPartNumber; - } - - public void setVendorPartNumber(String vendorPartNumber) { - this.vendorPartNumber = vendorPartNumber; - } - - - public OrderDetailResponseLinesInner vendorName(String vendorName) { - this.vendorName = vendorName; - return this; - } - - /** - * The vendor's name for the part in their system. - * @return vendorName - **/ - @javax.annotation.Nullable - public String getVendorName() { - return vendorName; - } - - public void setVendorName(String vendorName) { - this.vendorName = vendorName; - } - - - public OrderDetailResponseLinesInner partDescription(String partDescription) { - this.partDescription = partDescription; - return this; - } - - /** - * The vendor's description of the part in their system. - * @return partDescription - **/ - @javax.annotation.Nullable - public String getPartDescription() { - return partDescription; - } - - public void setPartDescription(String partDescription) { - this.partDescription = partDescription; - } - - - public OrderDetailResponseLinesInner unitWeight(BigDecimal unitWeight) { - this.unitWeight = unitWeight; - return this; - } - - /** - * The unit weight of the line item. - * @return unitWeight - **/ - @javax.annotation.Nullable - public BigDecimal getUnitWeight() { - return unitWeight; - } - - public void setUnitWeight(BigDecimal unitWeight) { - this.unitWeight = unitWeight; - } - - - public OrderDetailResponseLinesInner weightUom(String weightUom) { - this.weightUom = weightUom; - return this; - } - - /** - * The unit of measure for the line item. - * @return weightUom - **/ - @javax.annotation.Nullable - public String getWeightUom() { - return weightUom; - } - - public void setWeightUom(String weightUom) { - this.weightUom = weightUom; - } - - - public OrderDetailResponseLinesInner unitPrice(Integer unitPrice) { - this.unitPrice = unitPrice; - return this; - } - - /** - * The unit price of the line item. - * @return unitPrice - **/ - @javax.annotation.Nullable - public Integer getUnitPrice() { - return unitPrice; - } - - public void setUnitPrice(Integer unitPrice) { - this.unitPrice = unitPrice; - } - - - public OrderDetailResponseLinesInner upcCode(String upcCode) { - this.upcCode = upcCode; - return this; - } - - /** - * The UPC code of a product. - * @return upcCode - **/ - @javax.annotation.Nullable - public String getUpcCode() { - return upcCode; - } - - public void setUpcCode(String upcCode) { - this.upcCode = upcCode; - } - - - public OrderDetailResponseLinesInner extendedPrice(BigDecimal extendedPrice) { - this.extendedPrice = extendedPrice; - return this; - } - - /** - * Unit price X quantity for the line item. - * @return extendedPrice - **/ - @javax.annotation.Nullable - public BigDecimal getExtendedPrice() { - return extendedPrice; - } - - public void setExtendedPrice(BigDecimal extendedPrice) { - this.extendedPrice = extendedPrice; - } - - - public OrderDetailResponseLinesInner taxAmount(BigDecimal taxAmount) { - this.taxAmount = taxAmount; - return this; - } - - /** - * The tax amount for the line item. - * @return taxAmount - **/ - @javax.annotation.Nullable - public BigDecimal getTaxAmount() { - return taxAmount; - } - - public void setTaxAmount(BigDecimal taxAmount) { - this.taxAmount = taxAmount; - } - - - public OrderDetailResponseLinesInner currencyCode(String currencyCode) { - this.currencyCode = currencyCode; - return this; - } - - /** - * The country-specific three character ISO 4217 currency code for the line item. - * @return currencyCode - **/ - @javax.annotation.Nullable - public String getCurrencyCode() { - return currencyCode; - } - - public void setCurrencyCode(String currencyCode) { - this.currencyCode = currencyCode; - } - - - public OrderDetailResponseLinesInner quantityOrdered(Integer quantityOrdered) { - this.quantityOrdered = quantityOrdered; - return this; - } - - /** - * The quantity ordered of the line item. - * @return quantityOrdered - **/ - @javax.annotation.Nullable - public Integer getQuantityOrdered() { - return quantityOrdered; - } - - public void setQuantityOrdered(Integer quantityOrdered) { - this.quantityOrdered = quantityOrdered; - } - - - public OrderDetailResponseLinesInner quantityConfirmed(Integer quantityConfirmed) { - this.quantityConfirmed = quantityConfirmed; - return this; - } - - /** - * The quantity confirmed for the line item. - * @return quantityConfirmed - **/ - @javax.annotation.Nullable - public Integer getQuantityConfirmed() { - return quantityConfirmed; - } - - public void setQuantityConfirmed(Integer quantityConfirmed) { - this.quantityConfirmed = quantityConfirmed; - } - - - public OrderDetailResponseLinesInner quantityBackOrdered(Integer quantityBackOrdered) { - this.quantityBackOrdered = quantityBackOrdered; - return this; - } - - /** - * The quantity backordered for the line item. - * @return quantityBackOrdered - **/ - @javax.annotation.Nullable - public Integer getQuantityBackOrdered() { - return quantityBackOrdered; - } - - public void setQuantityBackOrdered(Integer quantityBackOrdered) { - this.quantityBackOrdered = quantityBackOrdered; - } - - - public OrderDetailResponseLinesInner specialBidNumber(String specialBidNumber) { - this.specialBidNumber = specialBidNumber; - return this; - } - - /** - * The line-level bid number provided to the reseller by the vendor for special pricing and discounts. Used to track the bid number in the case of split orders or where different line items have different bid numbers. 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 OrderDetailResponseLinesInner requestedDeliveryDate(LocalDate requestedDeliveryDate) { - this.requestedDeliveryDate = requestedDeliveryDate; - return this; - } - - /** - * Reseller-requested delivery date. Delivery date is not guaranteed. - * @return requestedDeliveryDate - **/ - @javax.annotation.Nullable - public LocalDate getRequestedDeliveryDate() { - return requestedDeliveryDate; - } - - public void setRequestedDeliveryDate(LocalDate requestedDeliveryDate) { - this.requestedDeliveryDate = requestedDeliveryDate; - } - - - public OrderDetailResponseLinesInner promisedDeliveryDate(LocalDate promisedDeliveryDate) { - this.promisedDeliveryDate = promisedDeliveryDate; - return this; - } - - /** - * The delivery date promised by IngramMicro. - * @return promisedDeliveryDate - **/ - @javax.annotation.Nullable - public LocalDate getPromisedDeliveryDate() { - return promisedDeliveryDate; - } - - public void setPromisedDeliveryDate(LocalDate promisedDeliveryDate) { - this.promisedDeliveryDate = promisedDeliveryDate; - } - - - public OrderDetailResponseLinesInner lineNotes(String lineNotes) { - this.lineNotes = lineNotes; - return this; - } - - /** - * Line-level notes for the order. - * @return lineNotes - **/ - @javax.annotation.Nullable - public String getLineNotes() { - return lineNotes; - } - - public void setLineNotes(String lineNotes) { - this.lineNotes = lineNotes; - } - - - public OrderDetailResponseLinesInner shipmentDetails(List shipmentDetails) { - this.shipmentDetails = shipmentDetails; - return this; - } - - public OrderDetailResponseLinesInner addShipmentDetailsItem(OrderDetailResponseLinesInnerShipmentDetailsInner shipmentDetailsItem) { - if (this.shipmentDetails == null) { - this.shipmentDetails = new ArrayList<>(); - } - this.shipmentDetails.add(shipmentDetailsItem); - return this; - } - - /** - * Get shipmentDetails - * @return shipmentDetails - **/ - @javax.annotation.Nullable - public List getShipmentDetails() { - return shipmentDetails; - } - - public void setShipmentDetails(List shipmentDetails) { - this.shipmentDetails = shipmentDetails; - } - - - public OrderDetailResponseLinesInner additionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - return this; - } - - public OrderDetailResponseLinesInner addAdditionalAttributesItem(OrderDetailResponseLinesInnerAdditionalAttributesInner additionalAttributesItem) { - if (this.additionalAttributes == null) { - this.additionalAttributes = new ArrayList<>(); - } - this.additionalAttributes.add(additionalAttributesItem); - return this; - } - - /** - * Get additionalAttributes - * @return additionalAttributes - **/ - @javax.annotation.Nullable - public List getAdditionalAttributes() { - return additionalAttributes; - } - - public void setAdditionalAttributes(List additionalAttributes) { - this.additionalAttributes = additionalAttributes; - } - - - public OrderDetailResponseLinesInner links(List links) { - this.links = links; - return this; - } - - public OrderDetailResponseLinesInner addLinksItem(OrderDetailResponseLinesInnerLinksInner linksItem) { - if (this.links == null) { - this.links = new ArrayList<>(); - } - this.links.add(linksItem); - return this; - } - - /** - * Get links - * @return links - **/ - @javax.annotation.Nullable - public List getLinks() { - return links; - } - - public void setLinks(List links) { - this.links = links; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInner orderDetailResponseLinesInner = (OrderDetailResponseLinesInner) o; - return Objects.equals(this.subOrderNumber, orderDetailResponseLinesInner.subOrderNumber) && - Objects.equals(this.ingramOrderLineNumber, orderDetailResponseLinesInner.ingramOrderLineNumber) && - Objects.equals(this.vendorSalesOrderLineNumber, orderDetailResponseLinesInner.vendorSalesOrderLineNumber) && - Objects.equals(this.customerLinenumber, orderDetailResponseLinesInner.customerLinenumber) && - Objects.equals(this.lineStatus, orderDetailResponseLinesInner.lineStatus) && - Objects.equals(this.ingramPartNumber, orderDetailResponseLinesInner.ingramPartNumber) && - Objects.equals(this.vendorPartNumber, orderDetailResponseLinesInner.vendorPartNumber) && - Objects.equals(this.vendorName, orderDetailResponseLinesInner.vendorName) && - Objects.equals(this.partDescription, orderDetailResponseLinesInner.partDescription) && - Objects.equals(this.unitWeight, orderDetailResponseLinesInner.unitWeight) && - Objects.equals(this.weightUom, orderDetailResponseLinesInner.weightUom) && - Objects.equals(this.unitPrice, orderDetailResponseLinesInner.unitPrice) && - Objects.equals(this.upcCode, orderDetailResponseLinesInner.upcCode) && - Objects.equals(this.extendedPrice, orderDetailResponseLinesInner.extendedPrice) && - Objects.equals(this.taxAmount, orderDetailResponseLinesInner.taxAmount) && - Objects.equals(this.currencyCode, orderDetailResponseLinesInner.currencyCode) && - Objects.equals(this.quantityOrdered, orderDetailResponseLinesInner.quantityOrdered) && - Objects.equals(this.quantityConfirmed, orderDetailResponseLinesInner.quantityConfirmed) && - Objects.equals(this.quantityBackOrdered, orderDetailResponseLinesInner.quantityBackOrdered) && - Objects.equals(this.specialBidNumber, orderDetailResponseLinesInner.specialBidNumber) && - Objects.equals(this.requestedDeliveryDate, orderDetailResponseLinesInner.requestedDeliveryDate) && - Objects.equals(this.promisedDeliveryDate, orderDetailResponseLinesInner.promisedDeliveryDate) && - Objects.equals(this.lineNotes, orderDetailResponseLinesInner.lineNotes) && - Objects.equals(this.shipmentDetails, orderDetailResponseLinesInner.shipmentDetails) && - Objects.equals(this.additionalAttributes, orderDetailResponseLinesInner.additionalAttributes) && - Objects.equals(this.links, orderDetailResponseLinesInner.links); - } - - @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, lineNotes, shipmentDetails, additionalAttributes, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInner {\n"); - sb.append(" subOrderNumber: ").append(toIndentedString(subOrderNumber)).append("\n"); - sb.append(" ingramOrderLineNumber: ").append(toIndentedString(ingramOrderLineNumber)).append("\n"); - sb.append(" vendorSalesOrderLineNumber: ").append(toIndentedString(vendorSalesOrderLineNumber)).append("\n"); - sb.append(" customerLinenumber: ").append(toIndentedString(customerLinenumber)).append("\n"); - sb.append(" lineStatus: ").append(toIndentedString(lineStatus)).append("\n"); - sb.append(" ingramPartNumber: ").append(toIndentedString(ingramPartNumber)).append("\n"); - sb.append(" vendorPartNumber: ").append(toIndentedString(vendorPartNumber)).append("\n"); - sb.append(" vendorName: ").append(toIndentedString(vendorName)).append("\n"); - sb.append(" partDescription: ").append(toIndentedString(partDescription)).append("\n"); - sb.append(" unitWeight: ").append(toIndentedString(unitWeight)).append("\n"); - sb.append(" weightUom: ").append(toIndentedString(weightUom)).append("\n"); - sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n"); - sb.append(" upcCode: ").append(toIndentedString(upcCode)).append("\n"); - sb.append(" extendedPrice: ").append(toIndentedString(extendedPrice)).append("\n"); - sb.append(" taxAmount: ").append(toIndentedString(taxAmount)).append("\n"); - sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); - sb.append(" quantityOrdered: ").append(toIndentedString(quantityOrdered)).append("\n"); - sb.append(" quantityConfirmed: ").append(toIndentedString(quantityConfirmed)).append("\n"); - sb.append(" quantityBackOrdered: ").append(toIndentedString(quantityBackOrdered)).append("\n"); - sb.append(" specialBidNumber: ").append(toIndentedString(specialBidNumber)).append("\n"); - sb.append(" requestedDeliveryDate: ").append(toIndentedString(requestedDeliveryDate)).append("\n"); - sb.append(" promisedDeliveryDate: ").append(toIndentedString(promisedDeliveryDate)).append("\n"); - sb.append(" lineNotes: ").append(toIndentedString(lineNotes)).append("\n"); - sb.append(" shipmentDetails: ").append(toIndentedString(shipmentDetails)).append("\n"); - sb.append(" additionalAttributes: ").append(toIndentedString(additionalAttributes)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).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("subOrderNumber"); - openapiFields.add("ingramOrderLineNumber"); - openapiFields.add("vendorSalesOrderLineNumber"); - openapiFields.add("customerLinenumber"); - openapiFields.add("lineStatus"); - openapiFields.add("ingramPartNumber"); - openapiFields.add("vendorPartNumber"); - openapiFields.add("vendorName"); - openapiFields.add("partDescription"); - openapiFields.add("unitWeight"); - openapiFields.add("weightUom"); - openapiFields.add("unitPrice"); - openapiFields.add("upcCode"); - openapiFields.add("extendedPrice"); - openapiFields.add("taxAmount"); - openapiFields.add("currencyCode"); - openapiFields.add("quantityOrdered"); - openapiFields.add("quantityConfirmed"); - openapiFields.add("quantityBackOrdered"); - openapiFields.add("specialBidNumber"); - openapiFields.add("requestedDeliveryDate"); - openapiFields.add("promisedDeliveryDate"); - openapiFields.add("lineNotes"); - openapiFields.add("shipmentDetails"); - openapiFields.add("additionalAttributes"); - openapiFields.add("links"); - - // 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 OrderDetailResponseLinesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInner is not found in the empty JSON string", OrderDetailResponseLinesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("subOrderNumber") != null && !jsonObj.get("subOrderNumber").isJsonNull()) && !jsonObj.get("subOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `subOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subOrderNumber").toString())); - } - if ((jsonObj.get("ingramOrderLineNumber") != null && !jsonObj.get("ingramOrderLineNumber").isJsonNull()) && !jsonObj.get("ingramOrderLineNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramOrderLineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramOrderLineNumber").toString())); - } - if ((jsonObj.get("vendorSalesOrderLineNumber") != null && !jsonObj.get("vendorSalesOrderLineNumber").isJsonNull()) && !jsonObj.get("vendorSalesOrderLineNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorSalesOrderLineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorSalesOrderLineNumber").toString())); - } - 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("lineStatus") != null && !jsonObj.get("lineStatus").isJsonNull()) && !jsonObj.get("lineStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `lineStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lineStatus").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("vendorPartNumber") != null && !jsonObj.get("vendorPartNumber").isJsonNull()) && !jsonObj.get("vendorPartNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorPartNumber").toString())); - } - if ((jsonObj.get("vendorName") != null && !jsonObj.get("vendorName").isJsonNull()) && !jsonObj.get("vendorName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorName").toString())); - } - if ((jsonObj.get("partDescription") != null && !jsonObj.get("partDescription").isJsonNull()) && !jsonObj.get("partDescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partDescription").toString())); - } - if ((jsonObj.get("weightUom") != null && !jsonObj.get("weightUom").isJsonNull()) && !jsonObj.get("weightUom").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `weightUom` to be a primitive type in the JSON string but got `%s`", jsonObj.get("weightUom").toString())); - } - if ((jsonObj.get("upcCode") != null && !jsonObj.get("upcCode").isJsonNull()) && !jsonObj.get("upcCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `upcCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("upcCode").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("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("lineNotes") != null && !jsonObj.get("lineNotes").isJsonNull()) && !jsonObj.get("lineNotes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `lineNotes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lineNotes").toString())); - } - if (jsonObj.get("shipmentDetails") != null && !jsonObj.get("shipmentDetails").isJsonNull()) { - JsonArray jsonArrayshipmentDetails = jsonObj.getAsJsonArray("shipmentDetails"); - if (jsonArrayshipmentDetails != null) { - // ensure the json data is an array - if (!jsonObj.get("shipmentDetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `shipmentDetails` to be an array in the JSON string but got `%s`", jsonObj.get("shipmentDetails").toString())); - } - - // validate the optional field `shipmentDetails` (array) - for (int i = 0; i < jsonArrayshipmentDetails.size(); i++) { - OrderDetailResponseLinesInnerShipmentDetailsInner.validateJsonElement(jsonArrayshipmentDetails.get(i)); - }; - } - } - 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++) { - OrderDetailResponseLinesInnerAdditionalAttributesInner.validateJsonElement(jsonArrayadditionalAttributes.get(i)); - }; - } - } - if (jsonObj.get("links") != null && !jsonObj.get("links").isJsonNull()) { - JsonArray jsonArraylinks = jsonObj.getAsJsonArray("links"); - if (jsonArraylinks != null) { - // ensure the json data is an array - if (!jsonObj.get("links").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `links` to be an array in the JSON string but got `%s`", jsonObj.get("links").toString())); - } - - // validate the optional field `links` (array) - for (int i = 0; i < jsonArraylinks.size(); i++) { - OrderDetailResponseLinesInnerLinksInner.validateJsonElement(jsonArraylinks.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInner - */ - public static OrderDetailResponseLinesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java deleted file mode 100644 index d4f8a1e0..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * OrderDetailResponseLinesInnerAdditionalAttributesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerAdditionalAttributesInner { - 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 OrderDetailResponseLinesInnerAdditionalAttributesInner() { - } - - public OrderDetailResponseLinesInnerAdditionalAttributesInner attributeName(String attributeName) { - this.attributeName = attributeName; - return this; - } - - /** - * Line level custom field names. - * @return attributeName - **/ - @javax.annotation.Nullable - public String getAttributeName() { - return attributeName; - } - - public void setAttributeName(String attributeName) { - this.attributeName = attributeName; - } - - - public OrderDetailResponseLinesInnerAdditionalAttributesInner attributeValue(String attributeValue) { - this.attributeValue = attributeValue; - return this; - } - - /** - * Value of the custom fields. - * @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; - } - OrderDetailResponseLinesInnerAdditionalAttributesInner orderDetailResponseLinesInnerAdditionalAttributesInner = (OrderDetailResponseLinesInnerAdditionalAttributesInner) o; - return Objects.equals(this.attributeName, orderDetailResponseLinesInnerAdditionalAttributesInner.attributeName) && - Objects.equals(this.attributeValue, orderDetailResponseLinesInnerAdditionalAttributesInner.attributeValue); - } - - @Override - public int hashCode() { - return Objects.hash(attributeName, attributeValue); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerAdditionalAttributesInner {\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 OrderDetailResponseLinesInnerAdditionalAttributesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerAdditionalAttributesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerAdditionalAttributesInner is not found in the empty JSON string", OrderDetailResponseLinesInnerAdditionalAttributesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerAdditionalAttributesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerAdditionalAttributesInner` 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 (!OrderDetailResponseLinesInnerAdditionalAttributesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerAdditionalAttributesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerAdditionalAttributesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerAdditionalAttributesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerAdditionalAttributesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerAdditionalAttributesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerAdditionalAttributesInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerAdditionalAttributesInner - */ - public static OrderDetailResponseLinesInnerAdditionalAttributesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerAdditionalAttributesInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerAdditionalAttributesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java deleted file mode 100644 index bba0b48d..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInner.java +++ /dev/null @@ -1,264 +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.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; - -/** - * Link to Order Details for the line item. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerLinksInner { - public static final String SERIALIZED_NAME_TOPIC = "topic"; - @SerializedName(SERIALIZED_NAME_TOPIC) - private String topic; - - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private String href; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public OrderDetailResponseLinesInnerLinksInner() { - } - - public OrderDetailResponseLinesInnerLinksInner topic(String topic) { - this.topic = topic; - return this; - } - - /** - * Provides the details of the line item. - * @return topic - **/ - @javax.annotation.Nullable - public String getTopic() { - return topic; - } - - public void setTopic(String topic) { - this.topic = topic; - } - - - public OrderDetailResponseLinesInnerLinksInner href(String href) { - this.href = href; - return this; - } - - /** - * The API endpoint for accessing the relevant data. - * @return href - **/ - @javax.annotation.Nullable - public String getHref() { - return href; - } - - public void setHref(String href) { - this.href = href; - } - - - public OrderDetailResponseLinesInnerLinksInner type(String type) { - this.type = type; - return this; - } - - /** - * The type of call that can be made to the href link(GET,POST etc). - * @return type - **/ - @javax.annotation.Nullable - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInnerLinksInner orderDetailResponseLinesInnerLinksInner = (OrderDetailResponseLinesInnerLinksInner) o; - return Objects.equals(this.topic, orderDetailResponseLinesInnerLinksInner.topic) && - Objects.equals(this.href, orderDetailResponseLinesInnerLinksInner.href) && - Objects.equals(this.type, orderDetailResponseLinesInnerLinksInner.type); - } - - @Override - public int hashCode() { - return Objects.hash(topic, href, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerLinksInner {\n"); - sb.append(" topic: ").append(toIndentedString(topic)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).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("topic"); - openapiFields.add("href"); - openapiFields.add("type"); - - // 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 OrderDetailResponseLinesInnerLinksInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerLinksInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerLinksInner is not found in the empty JSON string", OrderDetailResponseLinesInnerLinksInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerLinksInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerLinksInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("topic") != null && !jsonObj.get("topic").isJsonNull()) && !jsonObj.get("topic").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `topic` to be a primitive type in the JSON string but got `%s`", jsonObj.get("topic").toString())); - } - if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); - } - 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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInnerLinksInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerLinksInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerLinksInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerLinksInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerLinksInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerLinksInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerLinksInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerLinksInner - */ - public static OrderDetailResponseLinesInnerLinksInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerLinksInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerLinksInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java deleted file mode 100644 index d88c47fd..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInner.java +++ /dev/null @@ -1,452 +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.time.LocalDate; -import java.util.Arrays; -import xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails; - -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 line item. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerShipmentDetailsInner { - public static final String SERIALIZED_NAME_QUANTITY = "quantity"; - @SerializedName(SERIALIZED_NAME_QUANTITY) - private Integer quantity; - - public static final String SERIALIZED_NAME_ESTIMATED_SHIP_DATE = "estimatedShipDate"; - @SerializedName(SERIALIZED_NAME_ESTIMATED_SHIP_DATE) - private LocalDate estimatedShipDate; - - public static final String SERIALIZED_NAME_SHIPPED_DATE = "shippedDate"; - @SerializedName(SERIALIZED_NAME_SHIPPED_DATE) - private LocalDate shippedDate; - - public static final String SERIALIZED_NAME_ESTIMATED_DELIVERY_DATE = "estimatedDeliveryDate"; - @SerializedName(SERIALIZED_NAME_ESTIMATED_DELIVERY_DATE) - private LocalDate estimatedDeliveryDate; - - public static final String SERIALIZED_NAME_DELIVERED_DATE = "deliveredDate"; - @SerializedName(SERIALIZED_NAME_DELIVERED_DATE) - private LocalDate deliveredDate; - - public static final String SERIALIZED_NAME_SHIP_FROM_WAREHOUSE_ID = "shipFromWarehouseId"; - @SerializedName(SERIALIZED_NAME_SHIP_FROM_WAREHOUSE_ID) - private String shipFromWarehouseId; - - public static final String SERIALIZED_NAME_SHIP_FROM_LOCATION = "shipFromLocation"; - @SerializedName(SERIALIZED_NAME_SHIP_FROM_LOCATION) - private String shipFromLocation; - - public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; - @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) - private String invoiceNumber; - - public static final String SERIALIZED_NAME_INVOICE_DATE = "invoiceDate"; - @SerializedName(SERIALIZED_NAME_INVOICE_DATE) - private LocalDate invoiceDate; - - public static final String SERIALIZED_NAME_CARRIER_DETAILS = "carrierDetails"; - @SerializedName(SERIALIZED_NAME_CARRIER_DETAILS) - private OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails carrierDetails; - - public OrderDetailResponseLinesInnerShipmentDetailsInner() { - } - - public OrderDetailResponseLinesInnerShipmentDetailsInner quantity(Integer quantity) { - this.quantity = quantity; - return this; - } - - /** - * The quantity shipped of the line item. - * @return quantity - **/ - @javax.annotation.Nullable - public Integer getQuantity() { - return quantity; - } - - public void setQuantity(Integer quantity) { - this.quantity = quantity; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner estimatedShipDate(LocalDate estimatedShipDate) { - this.estimatedShipDate = estimatedShipDate; - return this; - } - - /** - * The estimated ship date for the line item. - * @return estimatedShipDate - **/ - @javax.annotation.Nullable - public LocalDate getEstimatedShipDate() { - return estimatedShipDate; - } - - public void setEstimatedShipDate(LocalDate estimatedShipDate) { - this.estimatedShipDate = estimatedShipDate; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner shippedDate(LocalDate shippedDate) { - this.shippedDate = shippedDate; - return this; - } - - /** - * The date the line item was shipped. - * @return shippedDate - **/ - @javax.annotation.Nullable - public LocalDate getShippedDate() { - return shippedDate; - } - - public void setShippedDate(LocalDate shippedDate) { - this.shippedDate = shippedDate; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner estimatedDeliveryDate(LocalDate estimatedDeliveryDate) { - this.estimatedDeliveryDate = estimatedDeliveryDate; - return this; - } - - /** - * The date the line item is expected to be delivered. - * @return estimatedDeliveryDate - **/ - @javax.annotation.Nullable - public LocalDate getEstimatedDeliveryDate() { - return estimatedDeliveryDate; - } - - public void setEstimatedDeliveryDate(LocalDate estimatedDeliveryDate) { - this.estimatedDeliveryDate = estimatedDeliveryDate; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner deliveredDate(LocalDate deliveredDate) { - this.deliveredDate = deliveredDate; - return this; - } - - /** - * The actual date of delivery of the line item. - * @return deliveredDate - **/ - @javax.annotation.Nullable - public LocalDate getDeliveredDate() { - return deliveredDate; - } - - public void setDeliveredDate(LocalDate deliveredDate) { - this.deliveredDate = deliveredDate; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner shipFromWarehouseId(String shipFromWarehouseId) { - this.shipFromWarehouseId = shipFromWarehouseId; - return this; - } - - /** - * The ID of the warehouse the product will ship from. - * @return shipFromWarehouseId - **/ - @javax.annotation.Nullable - public String getShipFromWarehouseId() { - return shipFromWarehouseId; - } - - public void setShipFromWarehouseId(String shipFromWarehouseId) { - this.shipFromWarehouseId = shipFromWarehouseId; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner shipFromLocation(String shipFromLocation) { - this.shipFromLocation = shipFromLocation; - return this; - } - - /** - * The city and state the line item ships from. - * @return shipFromLocation - **/ - @javax.annotation.Nullable - public String getShipFromLocation() { - return shipFromLocation; - } - - public void setShipFromLocation(String shipFromLocation) { - this.shipFromLocation = shipFromLocation; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner invoiceNumber(String invoiceNumber) { - this.invoiceNumber = invoiceNumber; - return this; - } - - /** - * The Ingram Micro invoice number for the line item. - * @return invoiceNumber - **/ - @javax.annotation.Nullable - public String getInvoiceNumber() { - return invoiceNumber; - } - - public void setInvoiceNumber(String invoiceNumber) { - this.invoiceNumber = invoiceNumber; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner invoiceDate(LocalDate invoiceDate) { - this.invoiceDate = invoiceDate; - return this; - } - - /** - * The date the IngramMicro invoice was created for the line item. - * @return invoiceDate - **/ - @javax.annotation.Nullable - public LocalDate getInvoiceDate() { - return invoiceDate; - } - - public void setInvoiceDate(LocalDate invoiceDate) { - this.invoiceDate = invoiceDate; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInner carrierDetails(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails carrierDetails) { - this.carrierDetails = carrierDetails; - return this; - } - - /** - * Get carrierDetails - * @return carrierDetails - **/ - @javax.annotation.Nullable - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails getCarrierDetails() { - return carrierDetails; - } - - public void setCarrierDetails(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails carrierDetails) { - this.carrierDetails = carrierDetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInnerShipmentDetailsInner orderDetailResponseLinesInnerShipmentDetailsInner = (OrderDetailResponseLinesInnerShipmentDetailsInner) o; - return Objects.equals(this.quantity, orderDetailResponseLinesInnerShipmentDetailsInner.quantity) && - Objects.equals(this.estimatedShipDate, orderDetailResponseLinesInnerShipmentDetailsInner.estimatedShipDate) && - Objects.equals(this.shippedDate, orderDetailResponseLinesInnerShipmentDetailsInner.shippedDate) && - Objects.equals(this.estimatedDeliveryDate, orderDetailResponseLinesInnerShipmentDetailsInner.estimatedDeliveryDate) && - Objects.equals(this.deliveredDate, orderDetailResponseLinesInnerShipmentDetailsInner.deliveredDate) && - Objects.equals(this.shipFromWarehouseId, orderDetailResponseLinesInnerShipmentDetailsInner.shipFromWarehouseId) && - Objects.equals(this.shipFromLocation, orderDetailResponseLinesInnerShipmentDetailsInner.shipFromLocation) && - Objects.equals(this.invoiceNumber, orderDetailResponseLinesInnerShipmentDetailsInner.invoiceNumber) && - Objects.equals(this.invoiceDate, orderDetailResponseLinesInnerShipmentDetailsInner.invoiceDate) && - Objects.equals(this.carrierDetails, orderDetailResponseLinesInnerShipmentDetailsInner.carrierDetails); - } - - @Override - public int hashCode() { - return Objects.hash(quantity, estimatedShipDate, shippedDate, estimatedDeliveryDate, deliveredDate, shipFromWarehouseId, shipFromLocation, invoiceNumber, invoiceDate, carrierDetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerShipmentDetailsInner {\n"); - sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n"); - sb.append(" estimatedShipDate: ").append(toIndentedString(estimatedShipDate)).append("\n"); - sb.append(" shippedDate: ").append(toIndentedString(shippedDate)).append("\n"); - sb.append(" estimatedDeliveryDate: ").append(toIndentedString(estimatedDeliveryDate)).append("\n"); - sb.append(" deliveredDate: ").append(toIndentedString(deliveredDate)).append("\n"); - sb.append(" shipFromWarehouseId: ").append(toIndentedString(shipFromWarehouseId)).append("\n"); - sb.append(" shipFromLocation: ").append(toIndentedString(shipFromLocation)).append("\n"); - sb.append(" invoiceNumber: ").append(toIndentedString(invoiceNumber)).append("\n"); - sb.append(" invoiceDate: ").append(toIndentedString(invoiceDate)).append("\n"); - sb.append(" carrierDetails: ").append(toIndentedString(carrierDetails)).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("quantity"); - openapiFields.add("estimatedShipDate"); - openapiFields.add("shippedDate"); - openapiFields.add("estimatedDeliveryDate"); - openapiFields.add("deliveredDate"); - openapiFields.add("shipFromWarehouseId"); - openapiFields.add("shipFromLocation"); - openapiFields.add("invoiceNumber"); - openapiFields.add("invoiceDate"); - openapiFields.add("carrierDetails"); - - // 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 OrderDetailResponseLinesInnerShipmentDetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerShipmentDetailsInner is not found in the empty JSON string", OrderDetailResponseLinesInnerShipmentDetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerShipmentDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("shipFromWarehouseId") != null && !jsonObj.get("shipFromWarehouseId").isJsonNull()) && !jsonObj.get("shipFromWarehouseId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipFromWarehouseId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipFromWarehouseId").toString())); - } - if ((jsonObj.get("shipFromLocation") != null && !jsonObj.get("shipFromLocation").isJsonNull()) && !jsonObj.get("shipFromLocation").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipFromLocation` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipFromLocation").toString())); - } - if ((jsonObj.get("invoiceNumber") != null && !jsonObj.get("invoiceNumber").isJsonNull()) && !jsonObj.get("invoiceNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoiceNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoiceNumber").toString())); - } - // validate the optional field `carrierDetails` - if (jsonObj.get("carrierDetails") != null && !jsonObj.get("carrierDetails").isJsonNull()) { - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.validateJsonElement(jsonObj.get("carrierDetails")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerShipmentDetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerShipmentDetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerShipmentDetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerShipmentDetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerShipmentDetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerShipmentDetailsInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerShipmentDetailsInner - */ - public static OrderDetailResponseLinesInnerShipmentDetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerShipmentDetailsInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerShipmentDetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java deleted file mode 100644 index b3f4355c..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.java +++ /dev/null @@ -1,286 +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.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner; - -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 shipment carrier details for the line item. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails { - public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; - @SerializedName(SERIALIZED_NAME_CARRIER_CODE) - private String carrierCode; - - public static final String SERIALIZED_NAME_CARRIER_NAME = "carrierName"; - @SerializedName(SERIALIZED_NAME_CARRIER_NAME) - private String carrierName; - - public static final String SERIALIZED_NAME_TRACKING_DETAILS = "trackingDetails"; - @SerializedName(SERIALIZED_NAME_TRACKING_DETAILS) - private List trackingDetails; - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails() { - } - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails carrierCode(String carrierCode) { - this.carrierCode = carrierCode; - return this; - } - - /** - * The carrier code for the shipment containing the line item. - * @return carrierCode - **/ - @javax.annotation.Nullable - public String getCarrierCode() { - return carrierCode; - } - - public void setCarrierCode(String carrierCode) { - this.carrierCode = carrierCode; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails carrierName(String carrierName) { - this.carrierName = carrierName; - return this; - } - - /** - * The name of the carrier of the shipment containing the line item. - * @return carrierName - **/ - @javax.annotation.Nullable - public String getCarrierName() { - return carrierName; - } - - public void setCarrierName(String carrierName) { - this.carrierName = carrierName; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails trackingDetails(List trackingDetails) { - this.trackingDetails = trackingDetails; - return this; - } - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails addTrackingDetailsItem(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner trackingDetailsItem) { - if (this.trackingDetails == null) { - this.trackingDetails = new ArrayList<>(); - } - this.trackingDetails.add(trackingDetailsItem); - return this; - } - - /** - * Get trackingDetails - * @return trackingDetails - **/ - @javax.annotation.Nullable - public List getTrackingDetails() { - return trackingDetails; - } - - public void setTrackingDetails(List trackingDetails) { - this.trackingDetails = trackingDetails; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails = (OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails) o; - return Objects.equals(this.carrierCode, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.carrierCode) && - Objects.equals(this.carrierName, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.carrierName) && - Objects.equals(this.trackingDetails, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.trackingDetails); - } - - @Override - public int hashCode() { - return Objects.hash(carrierCode, carrierName, trackingDetails); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails {\n"); - sb.append(" carrierCode: ").append(toIndentedString(carrierCode)).append("\n"); - sb.append(" carrierName: ").append(toIndentedString(carrierName)).append("\n"); - sb.append(" trackingDetails: ").append(toIndentedString(trackingDetails)).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("carrierName"); - openapiFields.add("trackingDetails"); - - // 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 OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails is not found in the empty JSON string", OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails` 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("carrierName") != null && !jsonObj.get("carrierName").isJsonNull()) && !jsonObj.get("carrierName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `carrierName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("carrierName").toString())); - } - if (jsonObj.get("trackingDetails") != null && !jsonObj.get("trackingDetails").isJsonNull()) { - JsonArray jsonArraytrackingDetails = jsonObj.getAsJsonArray("trackingDetails"); - if (jsonArraytrackingDetails != null) { - // ensure the json data is an array - if (!jsonObj.get("trackingDetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingDetails` to be an array in the JSON string but got `%s`", jsonObj.get("trackingDetails").toString())); - } - - // validate the optional field `trackingDetails` (array) - for (int i = 0; i < jsonArraytrackingDetails.size(); i++) { - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.validateJsonElement(jsonArraytrackingDetails.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - */ - public static OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java deleted file mode 100644 index 5d97e0e8..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.java +++ /dev/null @@ -1,373 +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.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner; - -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 tracking details for the shipment containing the line item. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner { - public static final String SERIALIZED_NAME_TRACKING_NUMBER = "trackingNumber"; - @SerializedName(SERIALIZED_NAME_TRACKING_NUMBER) - private String trackingNumber; - - public static final String SERIALIZED_NAME_TRACKING_URL = "trackingUrl"; - @SerializedName(SERIALIZED_NAME_TRACKING_URL) - private String trackingUrl; - - public static final String SERIALIZED_NAME_PACKAGE_WEIGHT = "packageWeight"; - @SerializedName(SERIALIZED_NAME_PACKAGE_WEIGHT) - private String packageWeight; - - public static final String SERIALIZED_NAME_CARTON_NUMBER = "cartonNumber"; - @SerializedName(SERIALIZED_NAME_CARTON_NUMBER) - private String cartonNumber; - - public static final String SERIALIZED_NAME_QUANTITY_IN_BOX = "quantityInBox"; - @SerializedName(SERIALIZED_NAME_QUANTITY_IN_BOX) - private String quantityInBox; - - public static final String SERIALIZED_NAME_SERIAL_NUMBERS = "SerialNumbers"; - @SerializedName(SERIALIZED_NAME_SERIAL_NUMBERS) - private List serialNumbers; - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner() { - } - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner trackingNumber(String trackingNumber) { - this.trackingNumber = trackingNumber; - return this; - } - - /** - * The tracking number for the shipment containing the line item. - * @return trackingNumber - **/ - @javax.annotation.Nullable - public String getTrackingNumber() { - return trackingNumber; - } - - public void setTrackingNumber(String trackingNumber) { - this.trackingNumber = trackingNumber; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner trackingUrl(String trackingUrl) { - this.trackingUrl = trackingUrl; - return this; - } - - /** - * The tracking URL for the shipment containing the line item. - * @return trackingUrl - **/ - @javax.annotation.Nullable - public String getTrackingUrl() { - return trackingUrl; - } - - public void setTrackingUrl(String trackingUrl) { - this.trackingUrl = trackingUrl; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner packageWeight(String packageWeight) { - this.packageWeight = packageWeight; - return this; - } - - /** - * The weight of the package for the line item. - * @return packageWeight - **/ - @javax.annotation.Nullable - public String getPackageWeight() { - return packageWeight; - } - - public void setPackageWeight(String packageWeight) { - this.packageWeight = packageWeight; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner cartonNumber(String cartonNumber) { - this.cartonNumber = cartonNumber; - return this; - } - - /** - * The shipment carton number that contains the line item. - * @return cartonNumber - **/ - @javax.annotation.Nullable - public String getCartonNumber() { - return cartonNumber; - } - - public void setCartonNumber(String cartonNumber) { - this.cartonNumber = cartonNumber; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner quantityInBox(String quantityInBox) { - this.quantityInBox = quantityInBox; - return this; - } - - /** - * The quantity of line items in the box. - * @return quantityInBox - **/ - @javax.annotation.Nullable - public String getQuantityInBox() { - return quantityInBox; - } - - public void setQuantityInBox(String quantityInBox) { - this.quantityInBox = quantityInBox; - } - - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner serialNumbers(List serialNumbers) { - this.serialNumbers = serialNumbers; - return this; - } - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner addSerialNumbersItem(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner serialNumbersItem) { - if (this.serialNumbers == null) { - this.serialNumbers = new ArrayList<>(); - } - this.serialNumbers.add(serialNumbersItem); - return this; - } - - /** - * Get serialNumbers - * @return serialNumbers - **/ - @javax.annotation.Nullable - public List getSerialNumbers() { - return serialNumbers; - } - - public void setSerialNumbers(List serialNumbers) { - this.serialNumbers = serialNumbers; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner = (OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner) o; - return Objects.equals(this.trackingNumber, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.trackingNumber) && - Objects.equals(this.trackingUrl, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.trackingUrl) && - Objects.equals(this.packageWeight, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.packageWeight) && - Objects.equals(this.cartonNumber, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.cartonNumber) && - Objects.equals(this.quantityInBox, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.quantityInBox) && - Objects.equals(this.serialNumbers, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.serialNumbers); - } - - @Override - public int hashCode() { - return Objects.hash(trackingNumber, trackingUrl, packageWeight, cartonNumber, quantityInBox, serialNumbers); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner {\n"); - sb.append(" trackingNumber: ").append(toIndentedString(trackingNumber)).append("\n"); - sb.append(" trackingUrl: ").append(toIndentedString(trackingUrl)).append("\n"); - sb.append(" packageWeight: ").append(toIndentedString(packageWeight)).append("\n"); - sb.append(" cartonNumber: ").append(toIndentedString(cartonNumber)).append("\n"); - sb.append(" quantityInBox: ").append(toIndentedString(quantityInBox)).append("\n"); - sb.append(" serialNumbers: ").append(toIndentedString(serialNumbers)).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("trackingNumber"); - openapiFields.add("trackingUrl"); - openapiFields.add("packageWeight"); - openapiFields.add("cartonNumber"); - openapiFields.add("quantityInBox"); - openapiFields.add("SerialNumbers"); - - // 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 OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner is not found in the empty JSON string", OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("trackingNumber") != null && !jsonObj.get("trackingNumber").isJsonNull()) && !jsonObj.get("trackingNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("trackingNumber").toString())); - } - if ((jsonObj.get("trackingUrl") != null && !jsonObj.get("trackingUrl").isJsonNull()) && !jsonObj.get("trackingUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("trackingUrl").toString())); - } - if ((jsonObj.get("packageWeight") != null && !jsonObj.get("packageWeight").isJsonNull()) && !jsonObj.get("packageWeight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `packageWeight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("packageWeight").toString())); - } - if ((jsonObj.get("cartonNumber") != null && !jsonObj.get("cartonNumber").isJsonNull()) && !jsonObj.get("cartonNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cartonNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cartonNumber").toString())); - } - if ((jsonObj.get("quantityInBox") != null && !jsonObj.get("quantityInBox").isJsonNull()) && !jsonObj.get("quantityInBox").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `quantityInBox` to be a primitive type in the JSON string but got `%s`", jsonObj.get("quantityInBox").toString())); - } - if (jsonObj.get("SerialNumbers") != null && !jsonObj.get("SerialNumbers").isJsonNull()) { - JsonArray jsonArrayserialNumbers = jsonObj.getAsJsonArray("SerialNumbers"); - if (jsonArrayserialNumbers != null) { - // ensure the json data is an array - if (!jsonObj.get("SerialNumbers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `SerialNumbers` to be an array in the JSON string but got `%s`", jsonObj.get("SerialNumbers").toString())); - } - - // validate the optional field `SerialNumbers` (array) - for (int i = 0; i < jsonArrayserialNumbers.size(); i++) { - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.validateJsonElement(jsonArrayserialNumbers.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - */ - public static OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java deleted file mode 100644 index 3b2d1c0c..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.java +++ /dev/null @@ -1,206 +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.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; - -/** - * A list of serial numbers of the line items contained in the shipment. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner { - public static final String SERIALIZED_NAME_SERIAL_NUMBER = "serialNumber"; - @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) - private String serialNumber; - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner() { - } - - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner serialNumber(String serialNumber) { - this.serialNumber = serialNumber; - return this; - } - - /** - * The serial number for the line item. - * @return serialNumber - **/ - @javax.annotation.Nullable - public String getSerialNumber() { - return serialNumber; - } - - public void setSerialNumber(String serialNumber) { - this.serialNumber = serialNumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner = (OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner) o; - return Objects.equals(this.serialNumber, orderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.serialNumber); - } - - @Override - public int hashCode() { - return Objects.hash(serialNumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner {\n"); - sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).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("serialNumber"); - - // 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 OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner is not found in the empty JSON string", OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - */ - public static OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner.class); - } - - /** - * Convert an instance of OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java b/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java deleted file mode 100644 index 1c3c57ec..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInner.java +++ /dev/null @@ -1,290 +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.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; - -/** - * OrderDetailResponseMiscellaneousChargesInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseMiscellaneousChargesInner { - public static final String SERIALIZED_NAME_SUB_ORDER_NUMBER = "subOrderNumber"; - @SerializedName(SERIALIZED_NAME_SUB_ORDER_NUMBER) - private String subOrderNumber; - - public static final String SERIALIZED_NAME_CHARGE_LINE_REFERENCE = "chargeLineReference"; - @SerializedName(SERIALIZED_NAME_CHARGE_LINE_REFERENCE) - private String chargeLineReference; - - public static final String SERIALIZED_NAME_CHARGE_DESCRIPTION = "chargeDescription"; - @SerializedName(SERIALIZED_NAME_CHARGE_DESCRIPTION) - private String chargeDescription; - - public static final String SERIALIZED_NAME_CHARGE_AMOUNT = "chargeAmount"; - @SerializedName(SERIALIZED_NAME_CHARGE_AMOUNT) - private Double chargeAmount; - - public OrderDetailResponseMiscellaneousChargesInner() { - } - - public OrderDetailResponseMiscellaneousChargesInner subOrderNumber(String subOrderNumber) { - this.subOrderNumber = subOrderNumber; - return this; - } - - /** - * The sub order number. The two-digit prefix is the warehouse code of the warehouse nearest the reseller. The middle number is the order number. The two-digit suffix is the sub order number. - * @return subOrderNumber - **/ - @javax.annotation.Nullable - public String getSubOrderNumber() { - return subOrderNumber; - } - - public void setSubOrderNumber(String subOrderNumber) { - this.subOrderNumber = subOrderNumber; - } - - - public OrderDetailResponseMiscellaneousChargesInner chargeLineReference(String chargeLineReference) { - this.chargeLineReference = chargeLineReference; - return this; - } - - /** - * Impulse line number for the miscellaneous charge. - * @return chargeLineReference - **/ - @javax.annotation.Nullable - public String getChargeLineReference() { - return chargeLineReference; - } - - public void setChargeLineReference(String chargeLineReference) { - this.chargeLineReference = chargeLineReference; - } - - - public OrderDetailResponseMiscellaneousChargesInner chargeDescription(String chargeDescription) { - this.chargeDescription = chargeDescription; - return this; - } - - /** - * Description of the miscellaneous charges. - * @return chargeDescription - **/ - @javax.annotation.Nullable - public String getChargeDescription() { - return chargeDescription; - } - - public void setChargeDescription(String chargeDescription) { - this.chargeDescription = chargeDescription; - } - - - public OrderDetailResponseMiscellaneousChargesInner chargeAmount(Double chargeAmount) { - this.chargeAmount = chargeAmount; - return this; - } - - /** - * The amount of miscellaneous charges. - * @return chargeAmount - **/ - @javax.annotation.Nullable - public Double getChargeAmount() { - return chargeAmount; - } - - public void setChargeAmount(Double chargeAmount) { - this.chargeAmount = chargeAmount; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseMiscellaneousChargesInner orderDetailResponseMiscellaneousChargesInner = (OrderDetailResponseMiscellaneousChargesInner) o; - return Objects.equals(this.subOrderNumber, orderDetailResponseMiscellaneousChargesInner.subOrderNumber) && - Objects.equals(this.chargeLineReference, orderDetailResponseMiscellaneousChargesInner.chargeLineReference) && - Objects.equals(this.chargeDescription, orderDetailResponseMiscellaneousChargesInner.chargeDescription) && - Objects.equals(this.chargeAmount, orderDetailResponseMiscellaneousChargesInner.chargeAmount); - } - - @Override - public int hashCode() { - return Objects.hash(subOrderNumber, chargeLineReference, chargeDescription, chargeAmount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseMiscellaneousChargesInner {\n"); - sb.append(" subOrderNumber: ").append(toIndentedString(subOrderNumber)).append("\n"); - sb.append(" chargeLineReference: ").append(toIndentedString(chargeLineReference)).append("\n"); - sb.append(" chargeDescription: ").append(toIndentedString(chargeDescription)).append("\n"); - sb.append(" chargeAmount: ").append(toIndentedString(chargeAmount)).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("subOrderNumber"); - openapiFields.add("chargeLineReference"); - openapiFields.add("chargeDescription"); - openapiFields.add("chargeAmount"); - - // 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 OrderDetailResponseMiscellaneousChargesInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseMiscellaneousChargesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseMiscellaneousChargesInner is not found in the empty JSON string", OrderDetailResponseMiscellaneousChargesInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseMiscellaneousChargesInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseMiscellaneousChargesInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("subOrderNumber") != null && !jsonObj.get("subOrderNumber").isJsonNull()) && !jsonObj.get("subOrderNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `subOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subOrderNumber").toString())); - } - if ((jsonObj.get("chargeLineReference") != null && !jsonObj.get("chargeLineReference").isJsonNull()) && !jsonObj.get("chargeLineReference").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeLineReference` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeLineReference").toString())); - } - if ((jsonObj.get("chargeDescription") != null && !jsonObj.get("chargeDescription").isJsonNull()) && !jsonObj.get("chargeDescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `chargeDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chargeDescription").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!OrderDetailResponseMiscellaneousChargesInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseMiscellaneousChargesInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseMiscellaneousChargesInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseMiscellaneousChargesInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseMiscellaneousChargesInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseMiscellaneousChargesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseMiscellaneousChargesInner - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseMiscellaneousChargesInner - */ - public static OrderDetailResponseMiscellaneousChargesInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseMiscellaneousChargesInner.class); - } - - /** - * Convert an instance of OrderDetailResponseMiscellaneousChargesInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java b/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java deleted file mode 100644 index 4b287296..00000000 --- a/src/main/java/xiresellers/client/model/OrderDetailResponseShipToInfo.java +++ /dev/null @@ -1,554 +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.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 shipping information provided by the reseller for order delivery. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class OrderDetailResponseShipToInfo { - 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_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_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_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 OrderDetailResponseShipToInfo() { - } - - public OrderDetailResponseShipToInfo contact(String contact) { - this.contact = contact; - return this; - } - - /** - * The company contact provided by the reseller. - * @return contact - **/ - @javax.annotation.Nullable - public String getContact() { - return contact; - } - - public void setContact(String contact) { - this.contact = contact; - } - - - public OrderDetailResponseShipToInfo 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 OrderDetailResponseShipToInfo name1(String name1) { - this.name1 = name1; - return this; - } - - /** - * First name. - * @return name1 - **/ - @javax.annotation.Nullable - public String getName1() { - return name1; - } - - public void setName1(String name1) { - this.name1 = name1; - } - - - public OrderDetailResponseShipToInfo name2(String name2) { - this.name2 = name2; - return this; - } - - /** - * Last name. - * @return name2 - **/ - @javax.annotation.Nullable - public String getName2() { - return name2; - } - - public void setName2(String name2) { - this.name2 = name2; - } - - - public OrderDetailResponseShipToInfo addressLine1(String addressLine1) { - this.addressLine1 = addressLine1; - return this; - } - - /** - * The street address 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 OrderDetailResponseShipToInfo addressLine2(String addressLine2) { - this.addressLine2 = addressLine2; - return this; - } - - /** - * The building or apartment number 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 OrderDetailResponseShipToInfo addressLine3(String addressLine3) { - this.addressLine3 = addressLine3; - return this; - } - - /** - * Line 3 of the address 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 OrderDetailResponseShipToInfo 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 OrderDetailResponseShipToInfo 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 OrderDetailResponseShipToInfo 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 OrderDetailResponseShipToInfo 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 OrderDetailResponseShipToInfo phoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - return this; - } - - /** - * The company contact phone number. - * @return phoneNumber - **/ - @javax.annotation.Nullable - public String getPhoneNumber() { - return phoneNumber; - } - - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - - public OrderDetailResponseShipToInfo 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; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OrderDetailResponseShipToInfo orderDetailResponseShipToInfo = (OrderDetailResponseShipToInfo) o; - return Objects.equals(this.contact, orderDetailResponseShipToInfo.contact) && - Objects.equals(this.companyName, orderDetailResponseShipToInfo.companyName) && - Objects.equals(this.name1, orderDetailResponseShipToInfo.name1) && - Objects.equals(this.name2, orderDetailResponseShipToInfo.name2) && - Objects.equals(this.addressLine1, orderDetailResponseShipToInfo.addressLine1) && - Objects.equals(this.addressLine2, orderDetailResponseShipToInfo.addressLine2) && - Objects.equals(this.addressLine3, orderDetailResponseShipToInfo.addressLine3) && - Objects.equals(this.city, orderDetailResponseShipToInfo.city) && - Objects.equals(this.state, orderDetailResponseShipToInfo.state) && - Objects.equals(this.postalCode, orderDetailResponseShipToInfo.postalCode) && - Objects.equals(this.countryCode, orderDetailResponseShipToInfo.countryCode) && - Objects.equals(this.phoneNumber, orderDetailResponseShipToInfo.phoneNumber) && - Objects.equals(this.email, orderDetailResponseShipToInfo.email); - } - - @Override - public int hashCode() { - return Objects.hash(contact, companyName, name1, name2, addressLine1, addressLine2, addressLine3, city, state, postalCode, countryCode, phoneNumber, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OrderDetailResponseShipToInfo {\n"); - sb.append(" contact: ").append(toIndentedString(contact)).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(" 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(" 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("contact"); - openapiFields.add("companyName"); - openapiFields.add("name1"); - openapiFields.add("name2"); - openapiFields.add("addressLine1"); - openapiFields.add("addressLine2"); - openapiFields.add("addressLine3"); - openapiFields.add("city"); - openapiFields.add("state"); - openapiFields.add("postalCode"); - 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 OrderDetailResponseShipToInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!OrderDetailResponseShipToInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in OrderDetailResponseShipToInfo is not found in the empty JSON string", OrderDetailResponseShipToInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!OrderDetailResponseShipToInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrderDetailResponseShipToInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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("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("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("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 (!OrderDetailResponseShipToInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'OrderDetailResponseShipToInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(OrderDetailResponseShipToInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, OrderDetailResponseShipToInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public OrderDetailResponseShipToInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of OrderDetailResponseShipToInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of OrderDetailResponseShipToInfo - * @throws IOException if the JSON string is invalid with respect to OrderDetailResponseShipToInfo - */ - public static OrderDetailResponseShipToInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, OrderDetailResponseShipToInfo.class); - } - - /** - * Convert an instance of OrderDetailResponseShipToInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequest.java b/src/main/java/xiresellers/client/model/OrderModifyRequest.java index 148b0e59..68bb4c01 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -54,7 +54,7 @@ /** * OrderModifyRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderModifyRequest { public static final String SERIALIZED_NAME_NOTES = "notes"; @SerializedName(SERIALIZED_NAME_NOTES) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index 5537d7b2..dfc2772d 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4c115f7c..9cab9afa 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1f857e5a..ec1f540b 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f4170ad9..b6cd7503 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -56,7 +56,7 @@ /** * OrderModifyResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderModifyResponse { 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/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index ed42e0c2..10ecdb47 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderModifyResponseLinesInner { 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/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index c188c954..f25c7f1b 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1b0790ca..e9716f60 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 890384fd..a24e0b3f 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f6966315..3288edc7 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 bfe8cdd6..28c27068 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -52,7 +52,7 @@ /** * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index ea497fe6..27dd7e96 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderSearchResponseOrdersInner { 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/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index b0459582..9bae9228 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 b7d2f1ec..9d6a5e27 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInner { 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/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index 50dae16d..080748ba 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 efadd84a..9746b6f0 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index 3331ee05..4c973d5e 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index 7351a42c..cf36a94f 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 353cf7d8..933ee963 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 32531df9..5a66efd0 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index 1dd01dc6..8adf7673 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 6a98ac7d..1067446d 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/PostQuoteToOrderV6400Response.java index 136aefe9..346a6702 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java @@ -52,7 +52,7 @@ /** * PostQuoteToOrderV6400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java index e287447c..ddc8b8ef 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * PostQuoteToOrderV6400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PostQuoteToOrderV6400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index 0cda3663..59b4c3c5 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index aad1979d..3c1b1124 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -54,7 +54,7 @@ /** * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index e2d169d5..ad286299 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1ffcbd4b..d96b316c 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 5e9b0e8d..35b06d14 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityRequestProductsInner { 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/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index 5a2d290f..57a93ac2 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f32c398a..ad316304 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index c5a12613..9545ba7b 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index 0e65f2cc..69168ef5 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index 5d1ce505..26586dfc 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4ec18177..5f163438 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -53,7 +53,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index 0599f656..742526ad 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 0241bc97..90847426 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4f60659b..5c20f8de 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 621928fd..e1fc3406 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 1296d500..4edbff60 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 dd6615b1..1a55d440 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ProductDetailResponse { public static final String SERIALIZED_NAME_INGRAM_PART_NUMBER = "ingramPartNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_PART_NUMBER) @@ -71,7 +71,7 @@ public class ProductDetailResponse { public static final String SERIALIZED_NAME_PRODUCT_AUTHORIZED = "productAuthorized"; @SerializedName(SERIALIZED_NAME_PRODUCT_AUTHORIZED) - private Boolean productAuthorized; + private String productAuthorized; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -189,7 +189,7 @@ public void setCustomerPartNumber(String customerPartNumber) { } - public ProductDetailResponse productAuthorized(Boolean productAuthorized) { + public ProductDetailResponse productAuthorized(String productAuthorized) { this.productAuthorized = productAuthorized; return this; } @@ -199,11 +199,11 @@ public ProductDetailResponse productAuthorized(Boolean productAuthorized) { * @return productAuthorized **/ @javax.annotation.Nullable - public Boolean getProductAuthorized() { + public String getProductAuthorized() { return productAuthorized; } - public void setProductAuthorized(Boolean productAuthorized) { + public void setProductAuthorized(String productAuthorized) { this.productAuthorized = productAuthorized; } @@ -622,6 +622,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("customerPartNumber") != null && !jsonObj.get("customerPartNumber").isJsonNull()) && !jsonObj.get("customerPartNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `customerPartNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerPartNumber").toString())); } + if ((jsonObj.get("productAuthorized") != null && !jsonObj.get("productAuthorized").isJsonNull()) && !jsonObj.get("productAuthorized").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `productAuthorized` to be a primitive type in the JSON string but got `%s`", jsonObj.get("productAuthorized").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())); } diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index 312ab26e..a9ba5eaa 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -52,7 +52,7 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index a908140c..f2c1aac5 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 e4466a08..b01a4a8e 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 10fa60e9..a7aace2a 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 f2d632c5..1a1bdc27 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADERNAME = "headername"; @SerializedName(SERIALIZED_NAME_HEADERNAME) diff --git a/src/main/java/xiresellers/client/model/ProductLineType.java b/src/main/java/xiresellers/client/model/ProductLineType.java deleted file mode 100644 index b7a79fa3..00000000 --- a/src/main/java/xiresellers/client/model/ProductLineType.java +++ /dev/null @@ -1,817 +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.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.ProductLineTypeSerialnumberdetailsInner; -import xiresellers.client.model.ProductLineTypeTrackingnumberdetailsInner; - -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; - -/** - * Product line items object under each invoice - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class ProductLineType { - public static final String SERIALIZED_NAME_LINENUMBER = "linenumber"; - @SerializedName(SERIALIZED_NAME_LINENUMBER) - private String linenumber; - - public static final String SERIALIZED_NAME_LINETYPE = "linetype"; - @SerializedName(SERIALIZED_NAME_LINETYPE) - private String linetype; - - public static final String SERIALIZED_NAME_PARTNUMBER = "partnumber"; - @SerializedName(SERIALIZED_NAME_PARTNUMBER) - private String partnumber; - - public static final String SERIALIZED_NAME_VENDORPARTNUMBER = "vendorpartnumber"; - @SerializedName(SERIALIZED_NAME_VENDORPARTNUMBER) - private String vendorpartnumber; - - public static final String SERIALIZED_NAME_PARTDESCRIPTION = "partdescription"; - @SerializedName(SERIALIZED_NAME_PARTDESCRIPTION) - private String partdescription; - - public static final String SERIALIZED_NAME_SHIPFROMBRANCH = "shipfrombranch"; - @SerializedName(SERIALIZED_NAME_SHIPFROMBRANCH) - private String shipfrombranch; - - public static final String SERIALIZED_NAME_SHIPPEDQUANTITY = "shippedquantity"; - @SerializedName(SERIALIZED_NAME_SHIPPEDQUANTITY) - private String shippedquantity; - - public static final String SERIALIZED_NAME_ORDEREDQUANTITY = "orderedquantity"; - @SerializedName(SERIALIZED_NAME_ORDEREDQUANTITY) - private String orderedquantity; - - public static final String SERIALIZED_NAME_MARGINPERCENT = "marginpercent"; - @SerializedName(SERIALIZED_NAME_MARGINPERCENT) - private String marginpercent; - - public static final String SERIALIZED_NAME_BACKORDERQUANTITY = "backorderquantity"; - @SerializedName(SERIALIZED_NAME_BACKORDERQUANTITY) - private String backorderquantity; - - public static final String SERIALIZED_NAME_BACKORDERETADATE = "backorderetadate"; - @SerializedName(SERIALIZED_NAME_BACKORDERETADATE) - private LocalDate backorderetadate; - - public static final String SERIALIZED_NAME_EXTENDEDPRICE = "extendedprice"; - @SerializedName(SERIALIZED_NAME_EXTENDEDPRICE) - private String extendedprice; - - public static final String SERIALIZED_NAME_SPECIALBIDNUMBER = "specialbidnumber"; - @SerializedName(SERIALIZED_NAME_SPECIALBIDNUMBER) - private String specialbidnumber; - - public static final String SERIALIZED_NAME_ORDERSUFFIX = "ordersuffix"; - @SerializedName(SERIALIZED_NAME_ORDERSUFFIX) - private String ordersuffix; - - public static final String SERIALIZED_NAME_ISACOPAPPLIED = "isacopapplied"; - @SerializedName(SERIALIZED_NAME_ISACOPAPPLIED) - private String isacopapplied; - - public static final String SERIALIZED_NAME_UNITPRICE = "unitprice"; - @SerializedName(SERIALIZED_NAME_UNITPRICE) - private String unitprice; - - public static final String SERIALIZED_NAME_UNITOFMEASURE = "unitofmeasure"; - @SerializedName(SERIALIZED_NAME_UNITOFMEASURE) - private String unitofmeasure; - - public static final String SERIALIZED_NAME_SERIALNUMBERDETAILS = "serialnumberdetails"; - @SerializedName(SERIALIZED_NAME_SERIALNUMBERDETAILS) - private List serialnumberdetails; - - public static final String SERIALIZED_NAME_TRACKINGNUMBERDETAILS = "trackingnumberdetails"; - @SerializedName(SERIALIZED_NAME_TRACKINGNUMBERDETAILS) - private List trackingnumberdetails; - - public static final String SERIALIZED_NAME_PRODUCTEXTENDEDSPECS = "productextendedspecs"; - @SerializedName(SERIALIZED_NAME_PRODUCTEXTENDEDSPECS) - private List productextendedspecs; - - public ProductLineType() { - } - - public ProductLineType linenumber(String linenumber) { - this.linenumber = linenumber; - return this; - } - - /** - * Get linenumber - * @return linenumber - **/ - @javax.annotation.Nullable - public String getLinenumber() { - return linenumber; - } - - public void setLinenumber(String linenumber) { - this.linenumber = linenumber; - } - - - public ProductLineType linetype(String linetype) { - this.linetype = linetype; - return this; - } - - /** - * Get linetype - * @return linetype - **/ - @javax.annotation.Nullable - public String getLinetype() { - return linetype; - } - - public void setLinetype(String linetype) { - this.linetype = linetype; - } - - - public ProductLineType partnumber(String partnumber) { - this.partnumber = partnumber; - return this; - } - - /** - * Get partnumber - * @return partnumber - **/ - @javax.annotation.Nullable - public String getPartnumber() { - return partnumber; - } - - public void setPartnumber(String partnumber) { - this.partnumber = partnumber; - } - - - public ProductLineType vendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - return this; - } - - /** - * Get vendorpartnumber - * @return vendorpartnumber - **/ - @javax.annotation.Nullable - public String getVendorpartnumber() { - return vendorpartnumber; - } - - public void setVendorpartnumber(String vendorpartnumber) { - this.vendorpartnumber = vendorpartnumber; - } - - - public ProductLineType partdescription(String partdescription) { - this.partdescription = partdescription; - return this; - } - - /** - * Get partdescription - * @return partdescription - **/ - @javax.annotation.Nullable - public String getPartdescription() { - return partdescription; - } - - public void setPartdescription(String partdescription) { - this.partdescription = partdescription; - } - - - public ProductLineType shipfrombranch(String shipfrombranch) { - this.shipfrombranch = shipfrombranch; - return this; - } - - /** - * Get shipfrombranch - * @return shipfrombranch - **/ - @javax.annotation.Nullable - public String getShipfrombranch() { - return shipfrombranch; - } - - public void setShipfrombranch(String shipfrombranch) { - this.shipfrombranch = shipfrombranch; - } - - - public ProductLineType shippedquantity(String shippedquantity) { - this.shippedquantity = shippedquantity; - return this; - } - - /** - * Get shippedquantity - * @return shippedquantity - **/ - @javax.annotation.Nullable - public String getShippedquantity() { - return shippedquantity; - } - - public void setShippedquantity(String shippedquantity) { - this.shippedquantity = shippedquantity; - } - - - public ProductLineType orderedquantity(String orderedquantity) { - this.orderedquantity = orderedquantity; - return this; - } - - /** - * Get orderedquantity - * @return orderedquantity - **/ - @javax.annotation.Nullable - public String getOrderedquantity() { - return orderedquantity; - } - - public void setOrderedquantity(String orderedquantity) { - this.orderedquantity = orderedquantity; - } - - - public ProductLineType marginpercent(String marginpercent) { - this.marginpercent = marginpercent; - return this; - } - - /** - * Get marginpercent - * @return marginpercent - **/ - @javax.annotation.Nullable - public String getMarginpercent() { - return marginpercent; - } - - public void setMarginpercent(String marginpercent) { - this.marginpercent = marginpercent; - } - - - public ProductLineType backorderquantity(String backorderquantity) { - this.backorderquantity = backorderquantity; - return this; - } - - /** - * Get backorderquantity - * @return backorderquantity - **/ - @javax.annotation.Nullable - public String getBackorderquantity() { - return backorderquantity; - } - - public void setBackorderquantity(String backorderquantity) { - this.backorderquantity = backorderquantity; - } - - - public ProductLineType backorderetadate(LocalDate backorderetadate) { - this.backorderetadate = backorderetadate; - return this; - } - - /** - * Get backorderetadate - * @return backorderetadate - **/ - @javax.annotation.Nullable - public LocalDate getBackorderetadate() { - return backorderetadate; - } - - public void setBackorderetadate(LocalDate backorderetadate) { - this.backorderetadate = backorderetadate; - } - - - public ProductLineType extendedprice(String extendedprice) { - this.extendedprice = extendedprice; - return this; - } - - /** - * Get extendedprice - * @return extendedprice - **/ - @javax.annotation.Nullable - public String getExtendedprice() { - return extendedprice; - } - - public void setExtendedprice(String extendedprice) { - this.extendedprice = extendedprice; - } - - - public ProductLineType 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 ProductLineType ordersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - return this; - } - - /** - * Get ordersuffix - * @return ordersuffix - **/ - @javax.annotation.Nullable - public String getOrdersuffix() { - return ordersuffix; - } - - public void setOrdersuffix(String ordersuffix) { - this.ordersuffix = ordersuffix; - } - - - public ProductLineType isacopapplied(String isacopapplied) { - this.isacopapplied = isacopapplied; - return this; - } - - /** - * Get isacopapplied - * @return isacopapplied - **/ - @javax.annotation.Nullable - public String getIsacopapplied() { - return isacopapplied; - } - - public void setIsacopapplied(String isacopapplied) { - this.isacopapplied = isacopapplied; - } - - - public ProductLineType unitprice(String unitprice) { - this.unitprice = unitprice; - return this; - } - - /** - * Get unitprice - * @return unitprice - **/ - @javax.annotation.Nullable - public String getUnitprice() { - return unitprice; - } - - public void setUnitprice(String unitprice) { - this.unitprice = unitprice; - } - - - public ProductLineType unitofmeasure(String unitofmeasure) { - this.unitofmeasure = unitofmeasure; - return this; - } - - /** - * Get unitofmeasure - * @return unitofmeasure - **/ - @javax.annotation.Nullable - public String getUnitofmeasure() { - return unitofmeasure; - } - - public void setUnitofmeasure(String unitofmeasure) { - this.unitofmeasure = unitofmeasure; - } - - - public ProductLineType serialnumberdetails(List serialnumberdetails) { - this.serialnumberdetails = serialnumberdetails; - return this; - } - - public ProductLineType addSerialnumberdetailsItem(ProductLineTypeSerialnumberdetailsInner serialnumberdetailsItem) { - if (this.serialnumberdetails == null) { - this.serialnumberdetails = new ArrayList<>(); - } - this.serialnumberdetails.add(serialnumberdetailsItem); - return this; - } - - /** - * Get serialnumberdetails - * @return serialnumberdetails - **/ - @javax.annotation.Nullable - public List getSerialnumberdetails() { - return serialnumberdetails; - } - - public void setSerialnumberdetails(List serialnumberdetails) { - this.serialnumberdetails = serialnumberdetails; - } - - - public ProductLineType trackingnumberdetails(List trackingnumberdetails) { - this.trackingnumberdetails = trackingnumberdetails; - return this; - } - - public ProductLineType addTrackingnumberdetailsItem(ProductLineTypeTrackingnumberdetailsInner trackingnumberdetailsItem) { - if (this.trackingnumberdetails == null) { - this.trackingnumberdetails = new ArrayList<>(); - } - this.trackingnumberdetails.add(trackingnumberdetailsItem); - return this; - } - - /** - * Get trackingnumberdetails - * @return trackingnumberdetails - **/ - @javax.annotation.Nullable - public List getTrackingnumberdetails() { - return trackingnumberdetails; - } - - public void setTrackingnumberdetails(List trackingnumberdetails) { - this.trackingnumberdetails = trackingnumberdetails; - } - - - public ProductLineType productextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - return this; - } - - public ProductLineType addProductextendedspecsItem(InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner productextendedspecsItem) { - if (this.productextendedspecs == null) { - this.productextendedspecs = new ArrayList<>(); - } - this.productextendedspecs.add(productextendedspecsItem); - return this; - } - - /** - * Get productextendedspecs - * @return productextendedspecs - **/ - @javax.annotation.Nullable - public List getProductextendedspecs() { - return productextendedspecs; - } - - public void setProductextendedspecs(List productextendedspecs) { - this.productextendedspecs = productextendedspecs; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductLineType productLineType = (ProductLineType) o; - return Objects.equals(this.linenumber, productLineType.linenumber) && - Objects.equals(this.linetype, productLineType.linetype) && - Objects.equals(this.partnumber, productLineType.partnumber) && - Objects.equals(this.vendorpartnumber, productLineType.vendorpartnumber) && - Objects.equals(this.partdescription, productLineType.partdescription) && - Objects.equals(this.shipfrombranch, productLineType.shipfrombranch) && - Objects.equals(this.shippedquantity, productLineType.shippedquantity) && - Objects.equals(this.orderedquantity, productLineType.orderedquantity) && - Objects.equals(this.marginpercent, productLineType.marginpercent) && - Objects.equals(this.backorderquantity, productLineType.backorderquantity) && - Objects.equals(this.backorderetadate, productLineType.backorderetadate) && - Objects.equals(this.extendedprice, productLineType.extendedprice) && - Objects.equals(this.specialbidnumber, productLineType.specialbidnumber) && - Objects.equals(this.ordersuffix, productLineType.ordersuffix) && - Objects.equals(this.isacopapplied, productLineType.isacopapplied) && - Objects.equals(this.unitprice, productLineType.unitprice) && - Objects.equals(this.unitofmeasure, productLineType.unitofmeasure) && - Objects.equals(this.serialnumberdetails, productLineType.serialnumberdetails) && - Objects.equals(this.trackingnumberdetails, productLineType.trackingnumberdetails) && - Objects.equals(this.productextendedspecs, productLineType.productextendedspecs); - } - - @Override - public int hashCode() { - return Objects.hash(linenumber, linetype, partnumber, vendorpartnumber, partdescription, shipfrombranch, shippedquantity, orderedquantity, marginpercent, backorderquantity, backorderetadate, extendedprice, specialbidnumber, ordersuffix, isacopapplied, unitprice, unitofmeasure, serialnumberdetails, trackingnumberdetails, productextendedspecs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductLineType {\n"); - sb.append(" linenumber: ").append(toIndentedString(linenumber)).append("\n"); - sb.append(" linetype: ").append(toIndentedString(linetype)).append("\n"); - sb.append(" partnumber: ").append(toIndentedString(partnumber)).append("\n"); - sb.append(" vendorpartnumber: ").append(toIndentedString(vendorpartnumber)).append("\n"); - sb.append(" partdescription: ").append(toIndentedString(partdescription)).append("\n"); - sb.append(" shipfrombranch: ").append(toIndentedString(shipfrombranch)).append("\n"); - sb.append(" shippedquantity: ").append(toIndentedString(shippedquantity)).append("\n"); - sb.append(" orderedquantity: ").append(toIndentedString(orderedquantity)).append("\n"); - sb.append(" marginpercent: ").append(toIndentedString(marginpercent)).append("\n"); - sb.append(" backorderquantity: ").append(toIndentedString(backorderquantity)).append("\n"); - sb.append(" backorderetadate: ").append(toIndentedString(backorderetadate)).append("\n"); - sb.append(" extendedprice: ").append(toIndentedString(extendedprice)).append("\n"); - sb.append(" specialbidnumber: ").append(toIndentedString(specialbidnumber)).append("\n"); - sb.append(" ordersuffix: ").append(toIndentedString(ordersuffix)).append("\n"); - sb.append(" isacopapplied: ").append(toIndentedString(isacopapplied)).append("\n"); - sb.append(" unitprice: ").append(toIndentedString(unitprice)).append("\n"); - sb.append(" unitofmeasure: ").append(toIndentedString(unitofmeasure)).append("\n"); - sb.append(" serialnumberdetails: ").append(toIndentedString(serialnumberdetails)).append("\n"); - sb.append(" trackingnumberdetails: ").append(toIndentedString(trackingnumberdetails)).append("\n"); - sb.append(" productextendedspecs: ").append(toIndentedString(productextendedspecs)).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("linenumber"); - openapiFields.add("linetype"); - openapiFields.add("partnumber"); - openapiFields.add("vendorpartnumber"); - openapiFields.add("partdescription"); - openapiFields.add("shipfrombranch"); - openapiFields.add("shippedquantity"); - openapiFields.add("orderedquantity"); - openapiFields.add("marginpercent"); - openapiFields.add("backorderquantity"); - openapiFields.add("backorderetadate"); - openapiFields.add("extendedprice"); - openapiFields.add("specialbidnumber"); - openapiFields.add("ordersuffix"); - openapiFields.add("isacopapplied"); - openapiFields.add("unitprice"); - openapiFields.add("unitofmeasure"); - openapiFields.add("serialnumberdetails"); - openapiFields.add("trackingnumberdetails"); - openapiFields.add("productextendedspecs"); - - // 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 ProductLineType - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductLineType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductLineType is not found in the empty JSON string", ProductLineType.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductLineType.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductLineType` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("linenumber") != null && !jsonObj.get("linenumber").isJsonNull()) && !jsonObj.get("linenumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linenumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linenumber").toString())); - } - if ((jsonObj.get("linetype") != null && !jsonObj.get("linetype").isJsonNull()) && !jsonObj.get("linetype").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linetype` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linetype").toString())); - } - if ((jsonObj.get("partnumber") != null && !jsonObj.get("partnumber").isJsonNull()) && !jsonObj.get("partnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partnumber").toString())); - } - if ((jsonObj.get("vendorpartnumber") != null && !jsonObj.get("vendorpartnumber").isJsonNull()) && !jsonObj.get("vendorpartnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vendorpartnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendorpartnumber").toString())); - } - if ((jsonObj.get("partdescription") != null && !jsonObj.get("partdescription").isJsonNull()) && !jsonObj.get("partdescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `partdescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("partdescription").toString())); - } - if ((jsonObj.get("shipfrombranch") != null && !jsonObj.get("shipfrombranch").isJsonNull()) && !jsonObj.get("shipfrombranch").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shipfrombranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipfrombranch").toString())); - } - if ((jsonObj.get("shippedquantity") != null && !jsonObj.get("shippedquantity").isJsonNull()) && !jsonObj.get("shippedquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `shippedquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shippedquantity").toString())); - } - if ((jsonObj.get("orderedquantity") != null && !jsonObj.get("orderedquantity").isJsonNull()) && !jsonObj.get("orderedquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orderedquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderedquantity").toString())); - } - if ((jsonObj.get("marginpercent") != null && !jsonObj.get("marginpercent").isJsonNull()) && !jsonObj.get("marginpercent").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `marginpercent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("marginpercent").toString())); - } - if ((jsonObj.get("backorderquantity") != null && !jsonObj.get("backorderquantity").isJsonNull()) && !jsonObj.get("backorderquantity").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `backorderquantity` to be a primitive type in the JSON string but got `%s`", jsonObj.get("backorderquantity").toString())); - } - if ((jsonObj.get("extendedprice") != null && !jsonObj.get("extendedprice").isJsonNull()) && !jsonObj.get("extendedprice").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `extendedprice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedprice").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("ordersuffix") != null && !jsonObj.get("ordersuffix").isJsonNull()) && !jsonObj.get("ordersuffix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ordersuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ordersuffix").toString())); - } - if ((jsonObj.get("isacopapplied") != null && !jsonObj.get("isacopapplied").isJsonNull()) && !jsonObj.get("isacopapplied").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `isacopapplied` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isacopapplied").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("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("serialnumberdetails") != null && !jsonObj.get("serialnumberdetails").isJsonNull()) { - JsonArray jsonArrayserialnumberdetails = jsonObj.getAsJsonArray("serialnumberdetails"); - if (jsonArrayserialnumberdetails != null) { - // ensure the json data is an array - if (!jsonObj.get("serialnumberdetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `serialnumberdetails` to be an array in the JSON string but got `%s`", jsonObj.get("serialnumberdetails").toString())); - } - - // validate the optional field `serialnumberdetails` (array) - for (int i = 0; i < jsonArrayserialnumberdetails.size(); i++) { - ProductLineTypeSerialnumberdetailsInner.validateJsonElement(jsonArrayserialnumberdetails.get(i)); - }; - } - } - if (jsonObj.get("trackingnumberdetails") != null && !jsonObj.get("trackingnumberdetails").isJsonNull()) { - JsonArray jsonArraytrackingnumberdetails = jsonObj.getAsJsonArray("trackingnumberdetails"); - if (jsonArraytrackingnumberdetails != null) { - // ensure the json data is an array - if (!jsonObj.get("trackingnumberdetails").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingnumberdetails` to be an array in the JSON string but got `%s`", jsonObj.get("trackingnumberdetails").toString())); - } - - // validate the optional field `trackingnumberdetails` (array) - for (int i = 0; i < jsonArraytrackingnumberdetails.size(); i++) { - ProductLineTypeTrackingnumberdetailsInner.validateJsonElement(jsonArraytrackingnumberdetails.get(i)); - }; - } - } - if (jsonObj.get("productextendedspecs") != null && !jsonObj.get("productextendedspecs").isJsonNull()) { - JsonArray jsonArrayproductextendedspecs = jsonObj.getAsJsonArray("productextendedspecs"); - if (jsonArrayproductextendedspecs != null) { - // ensure the json data is an array - if (!jsonObj.get("productextendedspecs").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `productextendedspecs` to be an array in the JSON string but got `%s`", jsonObj.get("productextendedspecs").toString())); - } - - // validate the optional field `productextendedspecs` (array) - for (int i = 0; i < jsonArrayproductextendedspecs.size(); i++) { - InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner.validateJsonElement(jsonArrayproductextendedspecs.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductLineType.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductLineType' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductLineType.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductLineType value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductLineType read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductLineType given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductLineType - * @throws IOException if the JSON string is invalid with respect to ProductLineType - */ - public static ProductLineType fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductLineType.class); - } - - /** - * Convert an instance of ProductLineType to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java deleted file mode 100644 index d996f9ae..00000000 --- a/src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java +++ /dev/null @@ -1,235 +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.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; - -/** - * ProductLineTypeSerialnumberdetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class ProductLineTypeSerialnumberdetailsInner { - public static final String SERIALIZED_NAME_SERIALNUMBER = "serialnumber"; - @SerializedName(SERIALIZED_NAME_SERIALNUMBER) - private String serialnumber; - - public static final String SERIALIZED_NAME_DELIVERYNUMBER = "deliverynumber"; - @SerializedName(SERIALIZED_NAME_DELIVERYNUMBER) - private String deliverynumber; - - public ProductLineTypeSerialnumberdetailsInner() { - } - - public ProductLineTypeSerialnumberdetailsInner 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 ProductLineTypeSerialnumberdetailsInner deliverynumber(String deliverynumber) { - this.deliverynumber = deliverynumber; - return this; - } - - /** - * Get deliverynumber - * @return deliverynumber - **/ - @javax.annotation.Nullable - public String getDeliverynumber() { - return deliverynumber; - } - - public void setDeliverynumber(String deliverynumber) { - this.deliverynumber = deliverynumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductLineTypeSerialnumberdetailsInner productLineTypeSerialnumberdetailsInner = (ProductLineTypeSerialnumberdetailsInner) o; - return Objects.equals(this.serialnumber, productLineTypeSerialnumberdetailsInner.serialnumber) && - Objects.equals(this.deliverynumber, productLineTypeSerialnumberdetailsInner.deliverynumber); - } - - @Override - public int hashCode() { - return Objects.hash(serialnumber, deliverynumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductLineTypeSerialnumberdetailsInner {\n"); - sb.append(" serialnumber: ").append(toIndentedString(serialnumber)).append("\n"); - sb.append(" deliverynumber: ").append(toIndentedString(deliverynumber)).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("serialnumber"); - openapiFields.add("deliverynumber"); - - // 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 ProductLineTypeSerialnumberdetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductLineTypeSerialnumberdetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductLineTypeSerialnumberdetailsInner is not found in the empty JSON string", ProductLineTypeSerialnumberdetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductLineTypeSerialnumberdetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductLineTypeSerialnumberdetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - 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())); - } - if ((jsonObj.get("deliverynumber") != null && !jsonObj.get("deliverynumber").isJsonNull()) && !jsonObj.get("deliverynumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `deliverynumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deliverynumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductLineTypeSerialnumberdetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductLineTypeSerialnumberdetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductLineTypeSerialnumberdetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductLineTypeSerialnumberdetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductLineTypeSerialnumberdetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductLineTypeSerialnumberdetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductLineTypeSerialnumberdetailsInner - * @throws IOException if the JSON string is invalid with respect to ProductLineTypeSerialnumberdetailsInner - */ - public static ProductLineTypeSerialnumberdetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductLineTypeSerialnumberdetailsInner.class); - } - - /** - * Convert an instance of ProductLineTypeSerialnumberdetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java b/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java deleted file mode 100644 index f76a1704..00000000 --- a/src/main/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInner.java +++ /dev/null @@ -1,206 +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.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; - -/** - * ProductLineTypeTrackingnumberdetailsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") -public class ProductLineTypeTrackingnumberdetailsInner { - public static final String SERIALIZED_NAME_TRACKINGNUMBER = "trackingnumber"; - @SerializedName(SERIALIZED_NAME_TRACKINGNUMBER) - private String trackingnumber; - - public ProductLineTypeTrackingnumberdetailsInner() { - } - - public ProductLineTypeTrackingnumberdetailsInner trackingnumber(String trackingnumber) { - this.trackingnumber = trackingnumber; - return this; - } - - /** - * Get trackingnumber - * @return trackingnumber - **/ - @javax.annotation.Nullable - public String getTrackingnumber() { - return trackingnumber; - } - - public void setTrackingnumber(String trackingnumber) { - this.trackingnumber = trackingnumber; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ProductLineTypeTrackingnumberdetailsInner productLineTypeTrackingnumberdetailsInner = (ProductLineTypeTrackingnumberdetailsInner) o; - return Objects.equals(this.trackingnumber, productLineTypeTrackingnumberdetailsInner.trackingnumber); - } - - @Override - public int hashCode() { - return Objects.hash(trackingnumber); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProductLineTypeTrackingnumberdetailsInner {\n"); - sb.append(" trackingnumber: ").append(toIndentedString(trackingnumber)).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("trackingnumber"); - - // 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 ProductLineTypeTrackingnumberdetailsInner - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ProductLineTypeTrackingnumberdetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ProductLineTypeTrackingnumberdetailsInner is not found in the empty JSON string", ProductLineTypeTrackingnumberdetailsInner.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ProductLineTypeTrackingnumberdetailsInner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ProductLineTypeTrackingnumberdetailsInner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("trackingnumber") != null && !jsonObj.get("trackingnumber").isJsonNull()) && !jsonObj.get("trackingnumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `trackingnumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("trackingnumber").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ProductLineTypeTrackingnumberdetailsInner.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ProductLineTypeTrackingnumberdetailsInner' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ProductLineTypeTrackingnumberdetailsInner.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ProductLineTypeTrackingnumberdetailsInner value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ProductLineTypeTrackingnumberdetailsInner read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ProductLineTypeTrackingnumberdetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProductLineTypeTrackingnumberdetailsInner - * @throws IOException if the JSON string is invalid with respect to ProductLineTypeTrackingnumberdetailsInner - */ - public static ProductLineTypeTrackingnumberdetailsInner fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ProductLineTypeTrackingnumberdetailsInner.class); - } - - /** - * Convert an instance of ProductLineTypeTrackingnumberdetailsInner to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index fb9dfec1..2a272fa4 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -52,7 +52,7 @@ /** * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ProductSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index 55ab259c..f974c43b 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index c74f5b5b..ec29c7ad 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -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-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 3787b1f4..6cf5a1ec 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -55,7 +55,7 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 4686c33f..6bfabc6a 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 2b8f6c8a..8755bc70 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 46b02385..c537caaf 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 17377c00..225c1ed2 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java index 6cfbe24e..cb0c9876 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index 70c03375..3c844084 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index a0aacf82..1b0d463c 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -50,7 +50,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java index eefc3411..a012477e 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java @@ -57,7 +57,7 @@ /** * QuoteToOrderDetailsDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTO { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java index 9c8d6458..ef2ff7d5 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java index c3333fcb..4079644c 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOEndUserInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java index 85696497..a875ec98 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java @@ -52,7 +52,7 @@ /** * QuoteToOrderDetailsDTOLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInner { 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/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java index ffbe971d..6c9dbd8c 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java index b0244448..9bbac5fb 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java @@ -50,7 +50,7 @@ /** * QuoteToOrderDetailsDTOShipToInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOShipToInfoInner { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java index dc8aac27..89367718 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java index 08c38d7b..30b7edd4 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -50,7 +50,7 @@ /** * QuoteToOrderResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class QuoteToOrderResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index f588984d..0bd653ba 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -57,7 +57,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index e17b90bf..458c1405 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/RenewalsDetailsResponseEndUserInfoInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java index c8c66c91..72f4ef28 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsDetailsResponseEndUserInfoInner { 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 bb7940ed..bfe6252e 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/RenewalsDetailsResponseReferenceNumberInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java index dc7b768d..2a7d0d69 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumberInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsDetailsResponseReferenceNumberInner { 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 f63f4bfd..412ae745 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java index 929ef4ad..413416b7 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDataType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequestDataType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java index 7c1d601d..2785ef81 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeEndDate { 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/RenewalsSearchRequestDataTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java index 725cb186..a0a6a42d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeExpirationDate { 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/RenewalsSearchRequestDataTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java index f444e910..44c853f8 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeInvoiceDate { 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/RenewalsSearchRequestDataTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java index 751608e2..2b0e634d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeStartDate { 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 57e9ce61..1bc65f09 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 7eee72c9..6e7b4690 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 4fb7cd12..f0c4233e 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index c25847fd..6018cc27 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index d4a56e71..b263def5 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 25d54d6c..2a9df9fe 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -52,7 +52,7 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index 5f74a5c4..59eb7862 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 5db930c5..4e72b236 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 478ff405..f14baba7 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -52,7 +52,7 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 2ad8f441..8cda04c6 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index 09e5d78a..e0a16ac7 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -54,7 +54,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index 2c0a4088..8e5a2e28 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -51,7 +51,7 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 db8aea2f..70b6ac22 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index aee9341d..fd1b1bc5 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index 83f1dc8c..803d7604 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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 09adf88a..68a8ff5c 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index fe18a534..58ce7de6 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -52,7 +52,7 @@ /** * ValidateQuoteResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") public class ValidateQuoteResponseLinesInner { 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/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index ffff37e3..93e1bc39 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T08:56:25.348026Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") 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/InvoicesV6ApiTest.java b/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java deleted file mode 100644 index 27ddfef3..00000000 --- a/src/test/java/xiresellers/client/api/InvoicesV6ApiTest.java +++ /dev/null @@ -1,56 +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.ErrorResponse; -import xiresellers.client.model.InvoiceDetailResponse; -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 InvoicesV6Api - */ -@Disabled -public class InvoicesV6ApiTest { - - private final InvoicesV6Api api = new InvoicesV6Api(); - - /** - * Get Invoice Details v6 - * - * Use your Ingram Micro invoice number to search for existing invoices or retrieve existing invoice details. The invoice number, IM-CustomerNumber, IM-CountryCode, IM-ApplicationId and IM-CorrelationID are required parameters. . - * - * @throws ApiException if the Api call fails - */ - @Test - public void getInvoicedetailsV6Test() throws ApiException { - String invoicenumber = null; - String version = null; - String imCustomerNumber = null; - String imCountryCode = null; - String imCorrelationID = null; - String imApplicationID = null; - String customerType = null; - Boolean includeSerialNumbers = null; - InvoiceDetailResponse response = api.getInvoicedetailsV6(invoicenumber, version, imCustomerNumber, imCountryCode, imCorrelationID, imApplicationID, customerType, includeSerialNumbers); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java b/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java deleted file mode 100644 index 7f825404..00000000 --- a/src/test/java/xiresellers/client/api/OrdersV6ApiTest.java +++ /dev/null @@ -1,59 +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.ErrorResponse; -import java.time.LocalDate; -import xiresellers.client.model.OrderDetailResponse; -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 OrdersV6Api - */ -@Disabled -public class OrdersV6ApiTest { - - private final OrdersV6Api api = new OrdersV6Api(); - - /** - * Get Order Details v6 - * - * Use your Ingram Micro sales order number to search for existing orders or retrieve existing order details. The sales order number, IM-CustomerNumber, IM-CountryCode, IM-SenderID and IM-CorrelationID are required parameters. In a case when the IM sales order number is repeated, you can refine the result by providing for additional filtering. Use the \"simulateStatus\" query parameter to test the GET order response for various order statuses. This parameter is only available in the sandbox to help with development and testing of the GET order endpoint. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getOrderdetailsV6Test() throws ApiException { - String ordernumber = null; - String imCustomerNumber = null; - String imCountryCode = null; - String imCorrelationID = null; - String imSenderID = null; - LocalDate ingramOrderDate = null; - String vendorNumber = null; - String simulateStatus = null; - Boolean isIml = null; - String regionCode = null; - OrderDetailResponse response = api.getOrderdetailsV6(ordernumber, imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, ingramOrderDate, vendorNumber, simulateStatus, isIml, regionCode); - // TODO: test validations - } - -} diff --git a/src/test/java/xiresellers/client/model/AddressTypeTest.java b/src/test/java/xiresellers/client/model/AddressTypeTest.java deleted file mode 100644 index ea042424..00000000 --- a/src/test/java/xiresellers/client/model/AddressTypeTest.java +++ /dev/null @@ -1,144 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for AddressType - */ -public class AddressTypeTest { - private final AddressType model = new AddressType(); - - /** - * Model tests for AddressType - */ - @Test - public void testAddressType() { - // TODO: test AddressType - } - - /** - * Test the property 'attention' - */ - @Test - public void attentionTest() { - // TODO: test attention - } - - /** - * 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 '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 'fax' - */ - @Test - public void faxTest() { - // TODO: test fax - } - - /** - * 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/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java deleted file mode 100644 index c9b53b20..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - */ -public class InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInnerTest { - private final InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner model = new InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner(); - - /** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - */ - @Test - public void testInvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner() { - // TODO: test InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner - } - - /** - * 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/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java deleted file mode 100644 index c87e8181..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - */ -public class InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInnerTest { - private final InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner model = new InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner(); - - /** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - */ - @Test - public void testInvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner() { - // TODO: test InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'chargeamount' - */ - @Test - public void chargeamountTest() { - // TODO: test chargeamount - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java deleted file mode 100644 index 246b9eff..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseInvoicedetailresponseTest.java +++ /dev/null @@ -1,384 +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.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.AddressType; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseMiscfeelineInner; -import xiresellers.client.model.ProductLineType; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponse - */ -public class InvoiceDetailResponseServiceresponseInvoicedetailresponseTest { - private final InvoiceDetailResponseServiceresponseInvoicedetailresponse model = new InvoiceDetailResponseServiceresponseInvoicedetailresponse(); - - /** - * Model tests for InvoiceDetailResponseServiceresponseInvoicedetailresponse - */ - @Test - public void testInvoiceDetailResponseServiceresponseInvoicedetailresponse() { - // TODO: test InvoiceDetailResponseServiceresponseInvoicedetailresponse - } - - /** - * Test the property 'customernumber' - */ - @Test - public void customernumberTest() { - // TODO: test customernumber - } - - /** - * Test the property 'invoicenumber' - */ - @Test - public void invoicenumberTest() { - // TODO: test invoicenumber - } - - /** - * Test the property 'invoicedate' - */ - @Test - public void invoicedateTest() { - // TODO: test invoicedate - } - - /** - * Test the property 'invoicetype' - */ - @Test - public void invoicetypeTest() { - // TODO: test invoicetype - } - - /** - * Test the property 'customerordernumber' - */ - @Test - public void customerordernumberTest() { - // TODO: test customerordernumber - } - - /** - * Test the property 'customerfreightamount' - */ - @Test - public void customerfreightamountTest() { - // TODO: test customerfreightamount - } - - /** - * Test the property 'customerforeignfrightamt' - */ - @Test - public void customerforeignfrightamtTest() { - // TODO: test customerforeignfrightamt - } - - /** - * Test the property 'totaltaxamount' - */ - @Test - public void totaltaxamountTest() { - // TODO: test totaltaxamount - } - - /** - * Test the property 'totalamount' - */ - @Test - public void totalamountTest() { - // TODO: test totalamount - } - - /** - * Test the property 'shiptosuffix' - */ - @Test - public void shiptosuffixTest() { - // TODO: test shiptosuffix - } - - /** - * Test the property 'billtosuffix' - */ - @Test - public void billtosuffixTest() { - // TODO: test billtosuffix - } - - /** - * Test the property 'freightamount' - */ - @Test - public void freightamountTest() { - // TODO: test freightamount - } - - /** - * Test the property 'paymentterms' - */ - @Test - public void paymenttermsTest() { - // TODO: test paymentterms - } - - /** - * Test the property 'orderdate' - */ - @Test - public void orderdateTest() { - // TODO: test orderdate - } - - /** - * Test the property 'carrier' - */ - @Test - public void carrierTest() { - // TODO: test carrier - } - - /** - * Test the property 'carrierdescription' - */ - @Test - public void carrierdescriptionTest() { - // TODO: test carrierdescription - } - - /** - * Test the property 'discountamount' - */ - @Test - public void discountamountTest() { - // TODO: test discountamount - } - - /** - * Test the property 'taxtype' - */ - @Test - public void taxtypeTest() { - // TODO: test taxtype - } - - /** - * Test the property 'enduserponumber' - */ - @Test - public void enduserponumberTest() { - // TODO: test enduserponumber - } - - /** - * Test the property 'freightforwardercode' - */ - @Test - public void freightforwardercodeTest() { - // TODO: test freightforwardercode - } - - /** - * Test the property 'creditmemoreasoncode' - */ - @Test - public void creditmemoreasoncodeTest() { - // TODO: test creditmemoreasoncode - } - - /** - * Test the property 'fulfillmentflag' - */ - @Test - public void fulfillmentflagTest() { - // TODO: test fulfillmentflag - } - - /** - * Test the property 'holdreason' - */ - @Test - public void holdreasonTest() { - // TODO: test holdreason - } - - /** - * Test the property 'shipcomplete' - */ - @Test - public void shipcompleteTest() { - // TODO: test shipcomplete - } - - /** - * Test the property 'shipdate' - */ - @Test - public void shipdateTest() { - // TODO: test shipdate - } - - /** - * Test the property 'companycurrency' - */ - @Test - public void companycurrencyTest() { - // TODO: test companycurrency - } - - /** - * Test the property 'currencycode' - */ - @Test - public void currencycodeTest() { - // TODO: test currencycode - } - - /** - * Test the property 'currencyrate' - */ - @Test - public void currencyrateTest() { - // TODO: test currencyrate - } - - /** - * Test the property 'globalorderid' - */ - @Test - public void globalorderidTest() { - // TODO: test globalorderid - } - - /** - * Test the property 'originalshipcode' - */ - @Test - public void originalshipcodeTest() { - // TODO: test originalshipcode - } - - /** - * Test the property 'ordertype' - */ - @Test - public void ordertypeTest() { - // TODO: test ordertype - } - - /** - * Test the property 'orderstatus' - */ - @Test - public void orderstatusTest() { - // TODO: test orderstatus - } - - /** - * Test the property 'totalotherfees' - */ - @Test - public void totalotherfeesTest() { - // TODO: test totalotherfees - } - - /** - * Test the property 'totalsales' - */ - @Test - public void totalsalesTest() { - // TODO: test totalsales - } - - /** - * Test the property 'weight' - */ - @Test - public void weightTest() { - // TODO: test weight - } - - /** - * Test the property 'shippableswitch' - */ - @Test - public void shippableswitchTest() { - // TODO: test shippableswitch - } - - /** - * Test the property 'soldto' - */ - @Test - public void soldtoTest() { - // TODO: test soldto - } - - /** - * Test the property 'billto' - */ - @Test - public void billtoTest() { - // TODO: test billto - } - - /** - * Test the property 'shoptoaddress' - */ - @Test - public void shoptoaddressTest() { - // TODO: test shoptoaddress - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - - /** - * Test the property 'extendedspecs' - */ - @Test - public void extendedspecsTest() { - // TODO: test extendedspecs - } - - /** - * Test the property 'miscfeeline' - */ - @Test - public void miscfeelineTest() { - // TODO: test miscfeeline - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java deleted file mode 100644 index 497fa4cb..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseResponsepreambleTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponseServiceresponseResponsepreamble - */ -public class InvoiceDetailResponseServiceresponseResponsepreambleTest { - private final InvoiceDetailResponseServiceresponseResponsepreamble model = new InvoiceDetailResponseServiceresponseResponsepreamble(); - - /** - * Model tests for InvoiceDetailResponseServiceresponseResponsepreamble - */ - @Test - public void testInvoiceDetailResponseServiceresponseResponsepreamble() { - // TODO: test InvoiceDetailResponseServiceresponseResponsepreamble - } - - /** - * Test the property 'responsestatus' - */ - @Test - public void responsestatusTest() { - // TODO: test responsestatus - } - - /** - * Test the property 'statuscode' - */ - @Test - public void statuscodeTest() { - // TODO: test statuscode - } - - /** - * Test the property 'responsemessage' - */ - @Test - public void responsemessageTest() { - // TODO: test responsemessage - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java deleted file mode 100644 index c1e7cec5..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseServiceresponseTest.java +++ /dev/null @@ -1,58 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponse; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseResponsepreamble; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponseServiceresponse - */ -public class InvoiceDetailResponseServiceresponseTest { - private final InvoiceDetailResponseServiceresponse model = new InvoiceDetailResponseServiceresponse(); - - /** - * Model tests for InvoiceDetailResponseServiceresponse - */ - @Test - public void testInvoiceDetailResponseServiceresponse() { - // TODO: test InvoiceDetailResponseServiceresponse - } - - /** - * Test the property 'responsepreamble' - */ - @Test - public void responsepreambleTest() { - // TODO: test responsepreamble - } - - /** - * Test the property 'invoicedetailresponse' - */ - @Test - public void invoicedetailresponseTest() { - // TODO: test invoicedetailresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java deleted file mode 100644 index 10b392e0..00000000 --- a/src/test/java/xiresellers/client/model/InvoiceDetailResponseTest.java +++ /dev/null @@ -1,49 +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.Arrays; -import xiresellers.client.model.InvoiceDetailResponseServiceresponse; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for InvoiceDetailResponse - */ -public class InvoiceDetailResponseTest { - private final InvoiceDetailResponse model = new InvoiceDetailResponse(); - - /** - * Model tests for InvoiceDetailResponse - */ - @Test - public void testInvoiceDetailResponse() { - // TODO: test InvoiceDetailResponse - } - - /** - * Test the property 'serviceresponse' - */ - @Test - public void serviceresponseTest() { - // TODO: test serviceresponse - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java deleted file mode 100644 index 10291cf7..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseBillToInfoTest.java +++ /dev/null @@ -1,144 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseBillToInfo - */ -public class OrderDetailResponseBillToInfoTest { - private final OrderDetailResponseBillToInfo model = new OrderDetailResponseBillToInfo(); - - /** - * Model tests for OrderDetailResponseBillToInfo - */ - @Test - public void testOrderDetailResponseBillToInfo() { - // TODO: test OrderDetailResponseBillToInfo - } - - /** - * 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 '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 '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 '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/OrderDetailResponseEndUserInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java deleted file mode 100644 index 2c1e0e44..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseEndUserInfoTest.java +++ /dev/null @@ -1,144 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseEndUserInfo - */ -public class OrderDetailResponseEndUserInfoTest { - private final OrderDetailResponseEndUserInfo model = new OrderDetailResponseEndUserInfo(); - - /** - * Model tests for OrderDetailResponseEndUserInfo - */ - @Test - public void testOrderDetailResponseEndUserInfo() { - // TODO: test OrderDetailResponseEndUserInfo - } - - /** - * 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 '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 '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 '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/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java deleted file mode 100644 index 0ae61f42..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerAdditionalAttributesInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerAdditionalAttributesInner - */ -public class OrderDetailResponseLinesInnerAdditionalAttributesInnerTest { - private final OrderDetailResponseLinesInnerAdditionalAttributesInner model = new OrderDetailResponseLinesInnerAdditionalAttributesInner(); - - /** - * Model tests for OrderDetailResponseLinesInnerAdditionalAttributesInner - */ - @Test - public void testOrderDetailResponseLinesInnerAdditionalAttributesInner() { - // TODO: test OrderDetailResponseLinesInnerAdditionalAttributesInner - } - - /** - * 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/OrderDetailResponseLinesInnerLinksInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java deleted file mode 100644 index 1b1c0357..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerLinksInnerTest.java +++ /dev/null @@ -1,64 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerLinksInner - */ -public class OrderDetailResponseLinesInnerLinksInnerTest { - private final OrderDetailResponseLinesInnerLinksInner model = new OrderDetailResponseLinesInnerLinksInner(); - - /** - * Model tests for OrderDetailResponseLinesInnerLinksInner - */ - @Test - public void testOrderDetailResponseLinesInnerLinksInner() { - // TODO: test OrderDetailResponseLinesInnerLinksInner - } - - /** - * Test the property 'topic' - */ - @Test - public void topicTest() { - // TODO: test topic - } - - /** - * Test the property 'href' - */ - @Test - public void hrefTest() { - // TODO: test href - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java deleted file mode 100644 index 94c25c9e..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest.java +++ /dev/null @@ -1,67 +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.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - */ -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTest { - private final OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails model = new OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails(); - - /** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - */ - @Test - public void testOrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails() { - // TODO: test OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails - } - - /** - * Test the property 'carrierCode' - */ - @Test - public void carrierCodeTest() { - // TODO: test carrierCode - } - - /** - * Test the property 'carrierName' - */ - @Test - public void carrierNameTest() { - // TODO: test carrierName - } - - /** - * Test the property 'trackingDetails' - */ - @Test - public void trackingDetailsTest() { - // TODO: test trackingDetails - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java deleted file mode 100644 index 9b62b381..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - */ -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInnerTest { - private final OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner model = new OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner(); - - /** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - */ - @Test - public void testOrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner() { - // TODO: test OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner - } - - /** - * Test the property 'serialNumber' - */ - @Test - public void serialNumberTest() { - // TODO: test serialNumber - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java deleted file mode 100644 index 8b136a49..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest.java +++ /dev/null @@ -1,91 +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.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerSerialNumbersInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - */ -public class OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInnerTest { - private final OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner model = new OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner(); - - /** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - */ - @Test - public void testOrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner() { - // TODO: test OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetailsTrackingDetailsInner - } - - /** - * Test the property 'trackingNumber' - */ - @Test - public void trackingNumberTest() { - // TODO: test trackingNumber - } - - /** - * Test the property 'trackingUrl' - */ - @Test - public void trackingUrlTest() { - // TODO: test trackingUrl - } - - /** - * Test the property 'packageWeight' - */ - @Test - public void packageWeightTest() { - // TODO: test packageWeight - } - - /** - * Test the property 'cartonNumber' - */ - @Test - public void cartonNumberTest() { - // TODO: test cartonNumber - } - - /** - * Test the property 'quantityInBox' - */ - @Test - public void quantityInBoxTest() { - // TODO: test quantityInBox - } - - /** - * Test the property 'serialNumbers' - */ - @Test - public void serialNumbersTest() { - // TODO: test serialNumbers - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java deleted file mode 100644 index 4b51e23b..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerShipmentDetailsInnerTest.java +++ /dev/null @@ -1,122 +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.time.LocalDate; -import java.util.Arrays; -import xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInnerCarrierDetails; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInner - */ -public class OrderDetailResponseLinesInnerShipmentDetailsInnerTest { - private final OrderDetailResponseLinesInnerShipmentDetailsInner model = new OrderDetailResponseLinesInnerShipmentDetailsInner(); - - /** - * Model tests for OrderDetailResponseLinesInnerShipmentDetailsInner - */ - @Test - public void testOrderDetailResponseLinesInnerShipmentDetailsInner() { - // TODO: test OrderDetailResponseLinesInnerShipmentDetailsInner - } - - /** - * Test the property 'quantity' - */ - @Test - public void quantityTest() { - // TODO: test quantity - } - - /** - * Test the property 'estimatedShipDate' - */ - @Test - public void estimatedShipDateTest() { - // TODO: test estimatedShipDate - } - - /** - * Test the property 'shippedDate' - */ - @Test - public void shippedDateTest() { - // TODO: test shippedDate - } - - /** - * Test the property 'estimatedDeliveryDate' - */ - @Test - public void estimatedDeliveryDateTest() { - // TODO: test estimatedDeliveryDate - } - - /** - * Test the property 'deliveredDate' - */ - @Test - public void deliveredDateTest() { - // TODO: test deliveredDate - } - - /** - * Test the property 'shipFromWarehouseId' - */ - @Test - public void shipFromWarehouseIdTest() { - // TODO: test shipFromWarehouseId - } - - /** - * Test the property 'shipFromLocation' - */ - @Test - public void shipFromLocationTest() { - // TODO: test shipFromLocation - } - - /** - * Test the property 'invoiceNumber' - */ - @Test - public void invoiceNumberTest() { - // TODO: test invoiceNumber - } - - /** - * Test the property 'invoiceDate' - */ - @Test - public void invoiceDateTest() { - // TODO: test invoiceDate - } - - /** - * Test the property 'carrierDetails' - */ - @Test - public void carrierDetailsTest() { - // TODO: test carrierDetails - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java deleted file mode 100644 index 3a317e0d..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseLinesInnerTest.java +++ /dev/null @@ -1,255 +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.math.BigDecimal; -import java.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerLinksInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerShipmentDetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseLinesInner - */ -public class OrderDetailResponseLinesInnerTest { - private final OrderDetailResponseLinesInner model = new OrderDetailResponseLinesInner(); - - /** - * Model tests for OrderDetailResponseLinesInner - */ - @Test - public void testOrderDetailResponseLinesInner() { - // TODO: test OrderDetailResponseLinesInner - } - - /** - * Test the property 'subOrderNumber' - */ - @Test - public void subOrderNumberTest() { - // TODO: test subOrderNumber - } - - /** - * Test the property 'ingramOrderLineNumber' - */ - @Test - public void ingramOrderLineNumberTest() { - // TODO: test ingramOrderLineNumber - } - - /** - * Test the property 'vendorSalesOrderLineNumber' - */ - @Test - public void vendorSalesOrderLineNumberTest() { - // TODO: test vendorSalesOrderLineNumber - } - - /** - * Test the property 'customerLinenumber' - */ - @Test - public void customerLinenumberTest() { - // TODO: test customerLinenumber - } - - /** - * Test the property 'lineStatus' - */ - @Test - public void lineStatusTest() { - // TODO: test lineStatus - } - - /** - * Test the property 'ingramPartNumber' - */ - @Test - public void ingramPartNumberTest() { - // TODO: test ingramPartNumber - } - - /** - * Test the property 'vendorPartNumber' - */ - @Test - public void vendorPartNumberTest() { - // TODO: test vendorPartNumber - } - - /** - * Test the property 'vendorName' - */ - @Test - public void vendorNameTest() { - // TODO: test vendorName - } - - /** - * Test the property 'partDescription' - */ - @Test - public void partDescriptionTest() { - // TODO: test partDescription - } - - /** - * Test the property 'unitWeight' - */ - @Test - public void unitWeightTest() { - // TODO: test unitWeight - } - - /** - * Test the property 'weightUom' - */ - @Test - public void weightUomTest() { - // TODO: test weightUom - } - - /** - * Test the property 'unitPrice' - */ - @Test - public void unitPriceTest() { - // TODO: test unitPrice - } - - /** - * Test the property 'upcCode' - */ - @Test - public void upcCodeTest() { - // TODO: test upcCode - } - - /** - * Test the property 'extendedPrice' - */ - @Test - public void extendedPriceTest() { - // TODO: test extendedPrice - } - - /** - * Test the property 'taxAmount' - */ - @Test - public void taxAmountTest() { - // TODO: test taxAmount - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'quantityOrdered' - */ - @Test - public void quantityOrderedTest() { - // TODO: test quantityOrdered - } - - /** - * Test the property 'quantityConfirmed' - */ - @Test - public void quantityConfirmedTest() { - // TODO: test quantityConfirmed - } - - /** - * Test the property 'quantityBackOrdered' - */ - @Test - public void quantityBackOrderedTest() { - // TODO: test quantityBackOrdered - } - - /** - * Test the property 'specialBidNumber' - */ - @Test - public void specialBidNumberTest() { - // TODO: test specialBidNumber - } - - /** - * Test the property 'requestedDeliveryDate' - */ - @Test - public void requestedDeliveryDateTest() { - // TODO: test requestedDeliveryDate - } - - /** - * Test the property 'promisedDeliveryDate' - */ - @Test - public void promisedDeliveryDateTest() { - // TODO: test promisedDeliveryDate - } - - /** - * Test the property 'lineNotes' - */ - @Test - public void lineNotesTest() { - // TODO: test lineNotes - } - - /** - * 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 'links' - */ - @Test - public void linksTest() { - // TODO: test links - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java deleted file mode 100644 index 57967def..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseMiscellaneousChargesInnerTest.java +++ /dev/null @@ -1,72 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseMiscellaneousChargesInner - */ -public class OrderDetailResponseMiscellaneousChargesInnerTest { - private final OrderDetailResponseMiscellaneousChargesInner model = new OrderDetailResponseMiscellaneousChargesInner(); - - /** - * Model tests for OrderDetailResponseMiscellaneousChargesInner - */ - @Test - public void testOrderDetailResponseMiscellaneousChargesInner() { - // TODO: test OrderDetailResponseMiscellaneousChargesInner - } - - /** - * Test the property 'subOrderNumber' - */ - @Test - public void subOrderNumberTest() { - // TODO: test subOrderNumber - } - - /** - * Test the property 'chargeLineReference' - */ - @Test - public void chargeLineReferenceTest() { - // TODO: test chargeLineReference - } - - /** - * Test the property 'chargeDescription' - */ - @Test - public void chargeDescriptionTest() { - // TODO: test chargeDescription - } - - /** - * Test the property 'chargeAmount' - */ - @Test - public void chargeAmountTest() { - // TODO: test chargeAmount - } - -} diff --git a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java deleted file mode 100644 index c5e7a18b..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseShipToInfoTest.java +++ /dev/null @@ -1,144 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponseShipToInfo - */ -public class OrderDetailResponseShipToInfoTest { - private final OrderDetailResponseShipToInfo model = new OrderDetailResponseShipToInfo(); - - /** - * Model tests for OrderDetailResponseShipToInfo - */ - @Test - public void testOrderDetailResponseShipToInfo() { - // TODO: test OrderDetailResponseShipToInfo - } - - /** - * 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 '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 '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 '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/OrderDetailResponseTest.java b/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java deleted file mode 100644 index 0896a685..00000000 --- a/src/test/java/xiresellers/client/model/OrderDetailResponseTest.java +++ /dev/null @@ -1,217 +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.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.OrderDetailResponseBillToInfo; -import xiresellers.client.model.OrderDetailResponseEndUserInfo; -import xiresellers.client.model.OrderDetailResponseLinesInner; -import xiresellers.client.model.OrderDetailResponseLinesInnerAdditionalAttributesInner; -import xiresellers.client.model.OrderDetailResponseMiscellaneousChargesInner; -import xiresellers.client.model.OrderDetailResponseShipToInfo; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for OrderDetailResponse - */ -public class OrderDetailResponseTest { - private final OrderDetailResponse model = new OrderDetailResponse(); - - /** - * Model tests for OrderDetailResponse - */ - @Test - public void testOrderDetailResponse() { - // TODO: test OrderDetailResponse - } - - /** - * Test the property 'ingramOrderNumber' - */ - @Test - public void ingramOrderNumberTest() { - // TODO: test ingramOrderNumber - } - - /** - * Test the property 'ingramOrderDate' - */ - @Test - public void ingramOrderDateTest() { - // TODO: test ingramOrderDate - } - - /** - * Test the property 'orderType' - */ - @Test - public void orderTypeTest() { - // TODO: test orderType - } - - /** - * 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 'vendorSalesOrderNumber' - */ - @Test - public void vendorSalesOrderNumberTest() { - // TODO: test vendorSalesOrderNumber - } - - /** - * Test the property 'orderStatus' - */ - @Test - public void orderStatusTest() { - // TODO: test orderStatus - } - - /** - * Test the property 'orderTotal' - */ - @Test - public void orderTotalTest() { - // TODO: test orderTotal - } - - /** - * Test the property 'orderSubTotal' - */ - @Test - public void orderSubTotalTest() { - // TODO: test orderSubTotal - } - - /** - * Test the property 'freightCharges' - */ - @Test - public void freightChargesTest() { - // TODO: test freightCharges - } - - /** - * Test the property 'currencyCode' - */ - @Test - public void currencyCodeTest() { - // TODO: test currencyCode - } - - /** - * Test the property 'totalWeight' - */ - @Test - public void totalWeightTest() { - // TODO: test totalWeight - } - - /** - * Test the property 'totalTax' - */ - @Test - public void totalTaxTest() { - // TODO: test totalTax - } - - /** - * Test the property 'paymentTerms' - */ - @Test - public void paymentTermsTest() { - // TODO: test paymentTerms - } - - /** - * Test the property 'notes' - */ - @Test - public void notesTest() { - // TODO: test notes - } - - /** - * Test the property 'billToInfo' - */ - @Test - public void billToInfoTest() { - // TODO: test billToInfo - } - - /** - * Test the property 'shipToInfo' - */ - @Test - public void shipToInfoTest() { - // TODO: test shipToInfo - } - - /** - * Test the property 'endUserInfo' - */ - @Test - public void endUserInfoTest() { - // TODO: test endUserInfo - } - - /** - * Test the property 'lines' - */ - @Test - public void linesTest() { - // TODO: test lines - } - - /** - * Test the property 'miscellaneousCharges' - */ - @Test - public void miscellaneousChargesTest() { - // TODO: test miscellaneousCharges - } - - /** - * Test the property 'additionalAttributes' - */ - @Test - public void additionalAttributesTest() { - // TODO: test additionalAttributes - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java deleted file mode 100644 index a44a4218..00000000 --- a/src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java +++ /dev/null @@ -1,56 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductLineTypeSerialnumberdetailsInner - */ -public class ProductLineTypeSerialnumberdetailsInnerTest { - private final ProductLineTypeSerialnumberdetailsInner model = new ProductLineTypeSerialnumberdetailsInner(); - - /** - * Model tests for ProductLineTypeSerialnumberdetailsInner - */ - @Test - public void testProductLineTypeSerialnumberdetailsInner() { - // TODO: test ProductLineTypeSerialnumberdetailsInner - } - - /** - * Test the property 'serialnumber' - */ - @Test - public void serialnumberTest() { - // TODO: test serialnumber - } - - /** - * Test the property 'deliverynumber' - */ - @Test - public void deliverynumberTest() { - // TODO: test deliverynumber - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTest.java deleted file mode 100644 index 0f71a1eb..00000000 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTest.java +++ /dev/null @@ -1,206 +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.time.LocalDate; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import xiresellers.client.model.InvoiceDetailResponseServiceresponseInvoicedetailresponseExtendedspecsInner; -import xiresellers.client.model.ProductLineTypeSerialnumberdetailsInner; -import xiresellers.client.model.ProductLineTypeTrackingnumberdetailsInner; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductLineType - */ -public class ProductLineTypeTest { - private final ProductLineType model = new ProductLineType(); - - /** - * Model tests for ProductLineType - */ - @Test - public void testProductLineType() { - // TODO: test ProductLineType - } - - /** - * Test the property 'linenumber' - */ - @Test - public void linenumberTest() { - // TODO: test linenumber - } - - /** - * Test the property 'linetype' - */ - @Test - public void linetypeTest() { - // TODO: test linetype - } - - /** - * Test the property 'partnumber' - */ - @Test - public void partnumberTest() { - // TODO: test partnumber - } - - /** - * Test the property 'vendorpartnumber' - */ - @Test - public void vendorpartnumberTest() { - // TODO: test vendorpartnumber - } - - /** - * Test the property 'partdescription' - */ - @Test - public void partdescriptionTest() { - // TODO: test partdescription - } - - /** - * Test the property 'shipfrombranch' - */ - @Test - public void shipfrombranchTest() { - // TODO: test shipfrombranch - } - - /** - * Test the property 'shippedquantity' - */ - @Test - public void shippedquantityTest() { - // TODO: test shippedquantity - } - - /** - * Test the property 'orderedquantity' - */ - @Test - public void orderedquantityTest() { - // TODO: test orderedquantity - } - - /** - * Test the property 'marginpercent' - */ - @Test - public void marginpercentTest() { - // TODO: test marginpercent - } - - /** - * Test the property 'backorderquantity' - */ - @Test - public void backorderquantityTest() { - // TODO: test backorderquantity - } - - /** - * Test the property 'backorderetadate' - */ - @Test - public void backorderetadateTest() { - // TODO: test backorderetadate - } - - /** - * Test the property 'extendedprice' - */ - @Test - public void extendedpriceTest() { - // TODO: test extendedprice - } - - /** - * Test the property 'specialbidnumber' - */ - @Test - public void specialbidnumberTest() { - // TODO: test specialbidnumber - } - - /** - * Test the property 'ordersuffix' - */ - @Test - public void ordersuffixTest() { - // TODO: test ordersuffix - } - - /** - * Test the property 'isacopapplied' - */ - @Test - public void isacopappliedTest() { - // TODO: test isacopapplied - } - - /** - * Test the property 'unitprice' - */ - @Test - public void unitpriceTest() { - // TODO: test unitprice - } - - /** - * Test the property 'unitofmeasure' - */ - @Test - public void unitofmeasureTest() { - // TODO: test unitofmeasure - } - - /** - * Test the property 'serialnumberdetails' - */ - @Test - public void serialnumberdetailsTest() { - // TODO: test serialnumberdetails - } - - /** - * Test the property 'trackingnumberdetails' - */ - @Test - public void trackingnumberdetailsTest() { - // TODO: test trackingnumberdetails - } - - /** - * Test the property 'productextendedspecs' - */ - @Test - public void productextendedspecsTest() { - // TODO: test productextendedspecs - } - -} diff --git a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java b/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java deleted file mode 100644 index e8a5f89d..00000000 --- a/src/test/java/xiresellers/client/model/ProductLineTypeTrackingnumberdetailsInnerTest.java +++ /dev/null @@ -1,48 +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.Arrays; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ProductLineTypeTrackingnumberdetailsInner - */ -public class ProductLineTypeTrackingnumberdetailsInnerTest { - private final ProductLineTypeTrackingnumberdetailsInner model = new ProductLineTypeTrackingnumberdetailsInner(); - - /** - * Model tests for ProductLineTypeTrackingnumberdetailsInner - */ - @Test - public void testProductLineTypeTrackingnumberdetailsInner() { - // TODO: test ProductLineTypeTrackingnumberdetailsInner - } - - /** - * Test the property 'trackingnumber' - */ - @Test - public void trackingnumberTest() { - // TODO: test trackingnumber - } - -} From f004d2ba6a62ff80fa01776b368fa283d0030970 Mon Sep 17 00:00:00 2001 From: ingrammicro-xvantage Date: Fri, 16 Feb 2024 12:42:31 +0000 Subject: [PATCH 5/6] Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispec/commit/e242e6ba1a559d309e1004494f395a0a35eb1847 --- README.md | 2 +- api/openapi.yaml | 209 +++++++++--------- docs/DealsDetailsResponse.md | 4 +- docs/InvoiceDetailsv61ResponseLinesInner.md | 2 +- docs/InvoiceSearchResponseInvoicesInner.md | 4 +- docs/ReturnsDetailsResponseProductsInner.md | 6 +- .../java/xiresellers/client/ApiException.java | 2 +- .../xiresellers/client/Configuration.java | 2 +- src/main/java/xiresellers/client/Pair.java | 2 +- .../java/xiresellers/client/StringUtil.java | 2 +- .../xiresellers/client/auth/ApiKeyAuth.java | 2 +- .../client/auth/HttpBearerAuth.java | 2 +- .../java/xiresellers/client/auth/OAuth.java | 2 +- .../xiresellers/client/auth/OAuthFlow.java | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../AvailabilityAsyncNotificationRequest.java | 2 +- ...AsyncNotificationRequestResourceInner.java | 2 +- ...icationRequestResourceInnerLinksInner.java | 2 +- .../client/model/DealsDetailsResponse.java | 24 +- .../DealsDetailsResponseProductsInner.java | 2 +- .../client/model/DealsSearchResponse.java | 2 +- .../model/DealsSearchResponseDealsInner.java | 2 +- .../java/xiresellers/client/model/Error.java | 2 +- .../client/model/ErrorResponse.java | 2 +- .../client/model/ErrorResponseDTO.java | 2 +- .../model/ErrorResponseErrorsInner.java | 2 +- .../ErrorResponseErrorsInnerFieldsInner.java | 2 +- .../java/xiresellers/client/model/Fields.java | 2 +- .../client/model/FreightRequest.java | 2 +- .../model/FreightRequestLinesInner.java | 2 +- .../FreightRequestShipToAddressInner.java | 2 +- .../client/model/FreightResponse.java | 2 +- ...reightResponseFreightEstimateResponse.java | 2 +- ...ightEstimateResponseDistributionInner.java | 2 +- ...onseDistributionInnerCarrierListInner.java | 2 +- ...onseFreightEstimateResponseLinesInner.java | 2 +- ...GetResellerV6ValidateQuote400Response.java | 2 +- ...V6ValidateQuote400ResponseFieldsInner.java | 2 +- ...GetResellerV6ValidateQuote500Response.java | 2 +- .../model/InvoiceDetailsv61Response.java | 2 +- .../InvoiceDetailsv61ResponseBillToInfo.java | 2 +- .../InvoiceDetailsv61ResponseFxRateInfo.java | 2 +- .../InvoiceDetailsv61ResponseLinesInner.java | 14 +- ...1ResponseLinesInnerSerialNumbersInner.java | 2 +- ...iceDetailsv61ResponsePaymentTermsInfo.java | 2 +- .../InvoiceDetailsv61ResponseShipToInfo.java | 2 +- .../InvoiceDetailsv61ResponseSummary.java | 2 +- ...ailsv61ResponseSummaryForeignFxTotals.java | 2 +- ...InvoiceDetailsv61ResponseSummaryLines.java | 2 +- ...ilsv61ResponseSummaryMiscChargesInner.java | 2 +- ...nvoiceDetailsv61ResponseSummaryTotals.java | 2 +- .../client/model/InvoiceSearchResponse.java | 2 +- .../InvoiceSearchResponseInvoicesInner.java | 25 +-- .../client/model/OrderCreateRequest.java | 2 +- ...reateRequestAdditionalAttributesInner.java | 2 +- .../model/OrderCreateRequestEndUserInfo.java | 2 +- .../model/OrderCreateRequestLinesInner.java | 2 +- ...stLinesInnerAdditionalAttributesInner.java | 2 +- ...eateRequestLinesInnerEndUserInfoInner.java | 2 +- ...ateRequestLinesInnerWarrantyInfoInner.java | 2 +- ...InnerWarrantyInfoInnerSerialInfoInner.java | 2 +- .../model/OrderCreateRequestResellerInfo.java | 2 +- .../model/OrderCreateRequestShipToInfo.java | 2 +- .../OrderCreateRequestShipmentDetails.java | 2 +- .../client/model/OrderCreateRequestVmf.java | 2 +- .../client/model/OrderCreateResponse.java | 2 +- .../model/OrderCreateResponseEndUserInfo.java | 2 +- .../model/OrderCreateResponseOrdersInner.java | 2 +- ...eOrdersInnerAdditionalAttributesInner.java | 2 +- ...erCreateResponseOrdersInnerLinesInner.java | 2 +- ...erLinesInnerAdditionalAttributesInner.java | 2 +- ...rsInnerLinesInnerShipmentDetailsInner.java | 2 +- ...erCreateResponseOrdersInnerLinksInner.java | 2 +- ...eOrdersInnerMiscellaneousChargesInner.java | 2 +- ...onseOrdersInnerRejectedLineItemsInner.java | 2 +- .../model/OrderCreateResponseShipToInfo.java | 2 +- .../client/model/OrderDetailB2B.java | 2 +- ...derDetailB2BAdditionalAttributesInner.java | 2 +- .../model/OrderDetailB2BBillToInfo.java | 2 +- .../model/OrderDetailB2BEndUserInfo.java | 2 +- .../model/OrderDetailB2BLinesInner.java | 2 +- ...2BLinesInnerAdditionalAttributesInner.java | 2 +- ...etailB2BLinesInnerEstimatedDatesInner.java | 2 +- ...LinesInnerEstimatedDatesInnerDelivery.java | 2 +- ...edDatesInnerDeliveryDeliveryDateRange.java | 2 +- ...lB2BLinesInnerEstimatedDatesInnerShip.java | 2 +- ...rEstimatedDatesInnerShipShipDateRange.java | 2 +- .../OrderDetailB2BLinesInnerLinksInner.java | 2 +- ...ilB2BLinesInnerMultipleShipmentsInner.java | 2 +- ...DetailB2BLinesInnerScheduleLinesInner.java | 2 +- ...etailB2BLinesInnerServiceContractInfo.java | 2 +- ...sInnerServiceContractInfoContractInfo.java | 2 +- ...esInnerServiceContractInfoLicenseInfo.java | 2 +- ...InnerServiceContractInfoSubscriptions.java | 2 +- ...tailB2BLinesInnerShipmentDetailsInner.java | 2 +- ...ipmentDetailsInnerCarrierDetailsInner.java | 2 +- ...rrierDetailsInnerTrackingDetailsInner.java | 2 +- ...rackingDetailsInnerSerialNumbersInner.java | 2 +- ...derDetailB2BMiscellaneousChargesInner.java | 2 +- .../model/OrderDetailB2BShipToInfo.java | 2 +- .../client/model/OrderModifyRequest.java | 2 +- ...odifyRequestAdditionalAttributesInner.java | 2 +- .../model/OrderModifyRequestLinesInner.java | 2 +- .../model/OrderModifyRequestShipToInfo.java | 2 +- .../client/model/OrderModifyResponse.java | 2 +- .../model/OrderModifyResponseLinesInner.java | 2 +- ...seLinesInnerAdditionalAttributesInner.java | 2 +- ...difyResponseLinesInnerShipmentDetails.java | 2 +- ...rModifyResponseRejectedLineItemsInner.java | 2 +- .../model/OrderModifyResponseShipToInfo.java | 2 +- .../client/model/OrderSearchResponse.java | 2 +- .../model/OrderSearchResponseOrdersInner.java | 2 +- .../OrderSearchResponseOrdersInnerLinks.java | 2 +- ...archResponseOrdersInnerSubOrdersInner.java | 2 +- ...seOrdersInnerSubOrdersInnerLinksInner.java | 2 +- .../OrderStatusAsyncNotificationRequest.java | 2 +- ...AsyncNotificationRequestResourceInner.java | 2 +- ...icationRequestResourceInnerLinesInner.java | 2 +- ...nerLinesInnerSerialNumberDetailsInner.java | 2 +- ...ceInnerLinesInnerShipmentDetailsInner.java | 2 +- ...ipmentDetailsInnerPackageDetailsInner.java | 2 +- ...icationRequestResourceInnerLinksInner.java | 2 +- .../model/PostQuoteToOrderV6400Response.java | 2 +- ...tQuoteToOrderV6400ResponseFieldsInner.java | 2 +- .../model/PostRenewalssearch400Response.java | 2 +- .../model/PriceAndAvailabilityRequest.java | 2 +- ...ilityRequestAdditionalAttributesInner.java | 2 +- ...tyRequestAvailabilityByWarehouseInner.java | 2 +- ...ceAndAvailabilityRequestProductsInner.java | 2 +- ...roductsInnerAdditionalAttributesInner.java | 2 +- .../PriceAndAvailabilityResponseInner.java | 2 +- ...AvailabilityResponseInnerAvailability.java | 2 +- ...ilabilityAvailabilityByWarehouseInner.java | 2 +- ...ityByWarehouseInnerBackOrderInfoInner.java | 2 +- ...ailabilityResponseInnerDiscountsInner.java | 2 +- ...rDiscountsInnerQuantityDiscountsInner.java | 2 +- ...nnerDiscountsInnerSpecialPricingInner.java | 2 +- ...ceAndAvailabilityResponseInnerPricing.java | 2 +- ...onseInnerReserveInventoryDetailsInner.java | 2 +- ...labilityResponseInnerServiceFeesInner.java | 2 +- .../client/model/ProductDetailResponse.java | 2 +- ...ctDetailResponseAdditionalInformation.java | 2 +- ...ditionalInformationProductWeightInner.java | 2 +- .../ProductDetailResponseCiscoFields.java | 2 +- .../ProductDetailResponseIndicators.java | 2 +- ...lResponseTechnicalSpecificationsInner.java | 2 +- .../client/model/ProductSearchResponse.java | 2 +- .../ProductSearchResponseCatalogInner.java | 2 +- ...tSearchResponseCatalogInnerLinksInner.java | 2 +- .../client/model/QuoteDetailsResponse.java | 2 +- ...ailsResponseAdditionalAttributesInner.java | 2 +- .../QuoteDetailsResponseEndUserInfo.java | 2 +- .../QuoteDetailsResponseProductsInner.java | 2 +- ...uoteDetailsResponseProductsInnerPrice.java | 2 +- .../QuoteDetailsResponseResellerInfo.java | 2 +- .../client/model/QuoteSearchResponse.java | 2 +- .../model/QuoteSearchResponseQuotesInner.java | 2 +- .../client/model/QuoteToOrderDetailsDTO.java | 2 +- ...erDetailsDTOAdditionalAttributesInner.java | 2 +- ...uoteToOrderDetailsDTOEndUserInfoInner.java | 2 +- .../QuoteToOrderDetailsDTOLinesInner.java | 2 +- ...nnerVmfAdditionalAttributesLinesInner.java | 2 +- ...QuoteToOrderDetailsDTOShipToInfoInner.java | 2 +- ...etailsDTOVmfadditionalAttributesInner.java | 2 +- .../client/model/QuoteToOrderResponse.java | 2 +- .../client/model/RenewalsDetailsResponse.java | 2 +- ...ailsResponseAdditionalAttributesInner.java | 2 +- ...newalsDetailsResponseEndUserInfoInner.java | 2 +- .../RenewalsDetailsResponseProductsInner.java | 2 +- ...lsDetailsResponseReferenceNumberInner.java | 2 +- .../client/model/RenewalsSearchRequest.java | 2 +- .../model/RenewalsSearchRequestDataType.java | 2 +- .../RenewalsSearchRequestDataTypeEndDate.java | 2 +- ...lsSearchRequestDataTypeExpirationDate.java | 2 +- ...ewalsSearchRequestDataTypeInvoiceDate.java | 2 +- ...enewalsSearchRequestDataTypeStartDate.java | 2 +- .../model/RenewalsSearchRequestStatus.java | 2 +- ...lsSearchRequestStatusOpporutinyStatus.java | 2 +- .../client/model/RenewalsSearchResponse.java | 2 +- .../RenewalsSearchResponseRenewalsInner.java | 2 +- ...SearchResponseRenewalsInnerLinksInner.java | 2 +- .../client/model/ReturnsCreateRequest.java | 2 +- .../model/ReturnsCreateRequestListInner.java | 2 +- ...eateRequestListInnerShipFromInfoInner.java | 2 +- .../client/model/ReturnsCreateResponse.java | 2 +- ...turnsCreateResponseReturnsClaimsInner.java | 2 +- .../client/model/ReturnsDetailsResponse.java | 2 +- .../ReturnsDetailsResponseProductsInner.java | 35 +-- .../client/model/ReturnsSearchResponse.java | 2 +- ...turnsSearchResponseReturnsClaimsInner.java | 2 +- ...hResponseReturnsClaimsInnerLinksInner.java | 2 +- .../client/model/ValidateQuoteResponse.java | 2 +- .../ValidateQuoteResponseLinesInner.java | 2 +- ...eResponseVmfAdditionalAttributesInner.java | 2 +- ...voiceDetailsv61ResponseLinesInnerTest.java | 1 + ...nvoiceSearchResponseInvoicesInnerTest.java | 1 + 196 files changed, 350 insertions(+), 345 deletions(-) diff --git a/README.md b/README.md index ec651aed..9064a4c7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ XI Sdk Resellers - API version: 1.0.0 - - Build date: 2024-02-16T12:20:55.562369Z[Etc/UTC] + - Build date: 2024-02-16T12:42:01.934049Z[Etc/UTC] For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. diff --git a/api/openapi.yaml b/api/openapi.yaml index 2b686465..4e2bbdec 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -9478,7 +9478,7 @@ components: dealsDetailsResponse: example: endUser: endUser - priceProtectionEndDate: 2000-01-23 + priceProtectionEndDate: priceProtectionEndDate endUserInfo: city: city companyName: companyName @@ -9500,7 +9500,7 @@ components: version: version extendedMsrp: 0.8008281904610115 currencyCode: currencyCode - dealExpiryDate: 2000-01-23 + dealExpiryDate: dealExpiryDate products: - ingramPartNumber: ingramPartNumber remainingQuantity: 2 @@ -9553,11 +9553,9 @@ components: type: string dealExpiryDate: description: Expiration date of the deal/Special bid. - format: date type: string priceProtectionEndDate: description: The date on which the price protection will end. - format: date type: string currencyCode: description: Country specific currency code. @@ -9635,48 +9633,48 @@ components: returnsDetailsResponse: example: returnWarehouseAddress: returnWarehouseAddress - tax: 7.061401241503109 - subTotal: 2.3021358869347655 + tax: 2.3021358869347655 + subTotal: 5.637376656633329 createdOn: 2000-01-23 rmaClaimId: rmaClaimId products: - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 + unitPrice: 1.4658129805029452 + quantity: 6.027456183070403 requestDetails: requestDetails description: description upc: upc - ingramLineNumber: ingramLineNumber + ingramLineNumber: 0 invoiceDate: 2000-01-23 customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 + extendedPrice: 5.962133916683182 invoiceNumber: invoiceNumber - returnBranch: 5 + returnBranch: returnBranch vendorPartNumber: vendorPartNumber - shipFromBranch: 5 + shipFromBranch: shipFromBranch status: status - ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 + unitPrice: 1.4658129805029452 + quantity: 6.027456183070403 requestDetails: requestDetails description: description upc: upc - ingramLineNumber: ingramLineNumber + ingramLineNumber: 0 invoiceDate: 2000-01-23 customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 + extendedPrice: 5.962133916683182 invoiceNumber: invoiceNumber - returnBranch: 5 + returnBranch: returnBranch vendorPartNumber: vendorPartNumber - shipFromBranch: 5 + shipFromBranch: shipFromBranch status: status typeOfDetails: typeOfDetails referenceNumber: referenceNumber returnReason: returnReason caseRequestNumber: caseRequestNumber - estimatedTotal: 3.616076749251911 + estimatedTotal: 9.301444243932576 status: status - additionalFees: 9.301444243932576 + additionalFees: 7.061401241503109 properties: typeOfDetails: description: The type of the details. Return or Claim. @@ -10363,9 +10361,9 @@ components: invoices: - orderCreateDate: orderCreateDate paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue + invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax + invoiceAmountInclTax: 5.637376656633329 invoiceNumber: invoiceNumber erpOrderNumber: erpOrderNumber invoiceStatus: invoiceStatus @@ -10374,9 +10372,9 @@ components: invoiceDueDate: invoiceDueDate - orderCreateDate: orderCreateDate paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue + invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax + invoiceAmountInclTax: 5.637376656633329 invoiceNumber: invoiceNumber erpOrderNumber: erpOrderNumber invoiceStatus: invoiceStatus @@ -10412,30 +10410,30 @@ components: miscCharges: - chargeLineReference: chargeLineReference isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 + miscChargeLineTotal: 1.0246457001441578 + miscChargeLineCount: 1 chargeDescription: chargeDescription - chargeLineReference: chargeLineReference isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 + miscChargeLineTotal: 1.0246457001441578 + miscChargeLineCount: 1 chargeDescription: chargeDescription totals: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 + netInvoiceAmount: 1.4894159098541704 + freightAmount: 4.965218492984954 + invoicedAmountDue: 1.1730742509559433 + discountAmount: 6.84685269835264 discountType: discountType - totalTaxAmount: 6.84685269835264 + totalTaxAmount: 7.457744773683766 foreignFxTotals: foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 + foreignCurrencyFxRate: 5.025004791520295 + foreignTotalTaxAmount: 9.965781217890562 foreignInvoiceAmountDue: foreignInvoiceAmountDue foreignTotalTaxableAmount: foreignTotalTaxableAmount lines: - productLineCount: 2 - productLineTotalQuantity: 4 + productLineCount: 4 + productLineTotalQuantity: 7 notes: notes endCustomerOrderNumber: endCustomerOrderNumber invoiceDate: 2000-01-23 @@ -10476,7 +10474,7 @@ components: invoiceNumber: invoiceNumber fxRateInfo: companyCurrency: companyCurrency - currencyFxRate: 3.616076749251911 + currencyFxRate: 2.027123023002322 currencyCode: currencyCode invoiceCurrency: invoiceCurrency invoiceType: invoiceType @@ -10484,45 +10482,45 @@ components: invoiceStatus: invoiceStatus lines: - ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 + unitWeight: 0.8008281904610115 + unitPrice: 1.4658129805029452 customerPartNumber: customerPartNumber - quantity: 0 + quantity: 6 unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 + taxPercentage: 5.637376656633329 serialNumbers: - serialNumber: serialNumber - serialNumber: serialNumber ingramLineNumber: ingramLineNumber - quantityOrdered: 7 + quantityOrdered: 9 vendorName: vendorName customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 + taxRate: 2.3021358869347655 + quantityShipped: 3 + extendedPrice: 5.962133916683182 vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 + taxAmount: 7.061401241503109 currencyCode: currencyCode productDescription: productDescription - ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 + unitWeight: 0.8008281904610115 + unitPrice: 1.4658129805029452 customerPartNumber: customerPartNumber - quantity: 0 + quantity: 6 unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 + taxPercentage: 5.637376656633329 serialNumbers: - serialNumber: serialNumber - serialNumber: serialNumber ingramLineNumber: ingramLineNumber - quantityOrdered: 7 + quantityOrdered: 9 vendorName: vendorName customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 + taxRate: 2.3021358869347655 + quantityShipped: 3 + extendedPrice: 5.962133916683182 vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 + taxAmount: 7.061401241503109 currencyCode: currencyCode productDescription: productDescription properties: @@ -14682,24 +14680,24 @@ components: returnsDetailsResponse_products_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 6.027456183070403 - quantity: 0.8008281904610115 + unitPrice: 1.4658129805029452 + quantity: 6.027456183070403 requestDetails: requestDetails description: description upc: upc - ingramLineNumber: ingramLineNumber + ingramLineNumber: 0 invoiceDate: 2000-01-23 customerOrderNumber: customerOrderNumber - extendedPrice: 1.4658129805029452 + extendedPrice: 5.962133916683182 invoiceNumber: invoiceNumber - returnBranch: 5 + returnBranch: returnBranch vendorPartNumber: vendorPartNumber - shipFromBranch: 5 + shipFromBranch: shipFromBranch status: status properties: ingramLineNumber: description: Unique Ingram Micro line number. - type: string + type: integer description: description: The description of the line item product. type: string @@ -14742,10 +14740,10 @@ components: type: string returnBranch: description: The code of the return branch. - type: integer + type: string shipFromBranch: description: The code of the ship from branch. - type: integer + type: string type: object returnsCreateRequest_list_inner_shipFromInfo_inner: properties: @@ -15759,9 +15757,9 @@ components: example: orderCreateDate: orderCreateDate paymentTermsDueDate: paymentTermsDueDate - invoicedAmountDue: invoicedAmountDue + invoicedAmountDue: 5.962133916683182 endCustomerOrderNumber: endCustomerOrderNumber - invoiceAmountInclTax: invoiceAmountInclTax + invoiceAmountInclTax: 5.637376656633329 invoiceNumber: invoiceNumber erpOrderNumber: erpOrderNumber invoiceStatus: invoiceStatus @@ -15789,7 +15787,8 @@ components: type: string invoicedAmountDue: description: Invoice Amount. - type: string + format: decimal + type: number customerOrderNumber: description: Customer Order No. type: string @@ -15801,7 +15800,8 @@ components: type: string invoiceAmountInclTax: description: Invoice Amount Inclusive of Taxes - type: string + format: decimal + type: number InvoiceDetailsv6_1Response_paymentTermsInfo: additionalProperties: false description: Payment terms is the agreement between Ingram and the customer @@ -15933,24 +15933,24 @@ components: additionalProperties: false example: ingramPartNumber: ingramPartNumber - unitWeight: unitWeight - unitPrice: 6.027456183070403 + unitWeight: 0.8008281904610115 + unitPrice: 1.4658129805029452 customerPartNumber: customerPartNumber - quantity: 0 + quantity: 6 unitOfMeasure: unitOfMeasure - taxPercentage: 5.962133916683182 + taxPercentage: 5.637376656633329 serialNumbers: - serialNumber: serialNumber - serialNumber: serialNumber ingramLineNumber: ingramLineNumber - quantityOrdered: 7 + quantityOrdered: 9 vendorName: vendorName customerLineNumber: "0" - taxRate: 5.637376656633329 - quantityShipped: 9 - extendedPrice: 1.4658129805029452 + taxRate: 2.3021358869347655 + quantityShipped: 3 + extendedPrice: 5.962133916683182 vendorPartNumber: vendorPartNumber - taxAmount: 2.3021358869347655 + taxAmount: 7.061401241503109 currencyCode: currencyCode productDescription: productDescription properties: @@ -15980,7 +15980,8 @@ components: type: string unitWeight: description: Weight of the product. - type: string + format: decimal + type: number quantity: description: Quantity of the product. format: int32 @@ -16029,7 +16030,7 @@ components: additionalProperties: false example: companyCurrency: companyCurrency - currencyFxRate: 3.616076749251911 + currencyFxRate: 2.027123023002322 currencyCode: currencyCode invoiceCurrency: invoiceCurrency properties: @@ -16050,8 +16051,8 @@ components: InvoiceDetailsv6_1Response_summary_lines: additionalProperties: false example: - productLineCount: 2 - productLineTotalQuantity: 4 + productLineCount: 4 + productLineTotalQuantity: 7 properties: productLineCount: description: Number of lines in the order. @@ -16067,8 +16068,8 @@ components: example: chargeLineReference: chargeLineReference isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 + miscChargeLineTotal: 1.0246457001441578 + miscChargeLineCount: 1 chargeDescription: chargeDescription properties: chargeDescription: @@ -16092,12 +16093,12 @@ components: InvoiceDetailsv6_1Response_summary_totals: additionalProperties: false example: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 + netInvoiceAmount: 1.4894159098541704 + freightAmount: 4.965218492984954 + invoicedAmountDue: 1.1730742509559433 + discountAmount: 6.84685269835264 discountType: discountType - totalTaxAmount: 6.84685269835264 + totalTaxAmount: 7.457744773683766 properties: netInvoiceAmount: description: Net Invoice amount. @@ -16127,8 +16128,8 @@ components: additionalProperties: false example: foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 + foreignCurrencyFxRate: 5.025004791520295 + foreignTotalTaxAmount: 9.965781217890562 foreignInvoiceAmountDue: foreignInvoiceAmountDue foreignTotalTaxableAmount: foreignTotalTaxableAmount properties: @@ -16156,30 +16157,30 @@ components: miscCharges: - chargeLineReference: chargeLineReference isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 + miscChargeLineTotal: 1.0246457001441578 + miscChargeLineCount: 1 chargeDescription: chargeDescription - chargeLineReference: chargeLineReference isNonMisc: isNonMisc - miscChargeLineTotal: 1.2315135367772556 - miscChargeLineCount: 7 + miscChargeLineTotal: 1.0246457001441578 + miscChargeLineCount: 1 chargeDescription: chargeDescription totals: - netInvoiceAmount: 1.0246457001441578 - freightAmount: 1.1730742509559433 - invoicedAmountDue: 7.457744773683766 - discountAmount: 1.4894159098541704 + netInvoiceAmount: 1.4894159098541704 + freightAmount: 4.965218492984954 + invoicedAmountDue: 1.1730742509559433 + discountAmount: 6.84685269835264 discountType: discountType - totalTaxAmount: 6.84685269835264 + totalTaxAmount: 7.457744773683766 foreignFxTotals: foreignCurrencyCode: foreignCurrencyCode - foreignCurrencyFxRate: 4.965218492984954 - foreignTotalTaxAmount: 5.025004791520295 + foreignCurrencyFxRate: 5.025004791520295 + foreignTotalTaxAmount: 9.965781217890562 foreignInvoiceAmountDue: foreignInvoiceAmountDue foreignTotalTaxableAmount: foreignTotalTaxableAmount lines: - productLineCount: 2 - productLineTotalQuantity: 4 + productLineCount: 4 + productLineTotalQuantity: 7 properties: lines: $ref: '#/components/schemas/InvoiceDetailsv6_1Response_summary_lines' diff --git a/docs/DealsDetailsResponse.md b/docs/DealsDetailsResponse.md index e3522b47..a3de354a 100644 --- a/docs/DealsDetailsResponse.md +++ b/docs/DealsDetailsResponse.md @@ -13,8 +13,8 @@ |**extendedMsrp** | **BigDecimal** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity. | [optional] | |**vendor** | **String** | The vendor's name. | [optional] | |**dealReceivedOn** | **LocalDate** | The date on which the deal starts. | [optional] | -|**dealExpiryDate** | **LocalDate** | Expiration date of the deal/Special bid. | [optional] | -|**priceProtectionEndDate** | **LocalDate** | The date on which the price protection will end. | [optional] | +|**dealExpiryDate** | **String** | Expiration date of the deal/Special bid. | [optional] | +|**priceProtectionEndDate** | **String** | The date on which the price protection will end. | [optional] | |**currencyCode** | **String** | Country specific currency code. | [optional] | |**endUserInfo** | [**RenewalsDetailsResponseEndUserInfoInner**](RenewalsDetailsResponseEndUserInfoInner.md) | | [optional] | |**products** | [**List<DealsDetailsResponseProductsInner>**](DealsDetailsResponseProductsInner.md) | | [optional] | diff --git a/docs/InvoiceDetailsv61ResponseLinesInner.md b/docs/InvoiceDetailsv61ResponseLinesInner.md index 9ca1668d..332b484e 100644 --- a/docs/InvoiceDetailsv61ResponseLinesInner.md +++ b/docs/InvoiceDetailsv61ResponseLinesInner.md @@ -14,7 +14,7 @@ |**customerPartNumber** | **String** | Part number from customer's system. | [optional] | |**vendorName** | **String** | Name of the vendor. | [optional] | |**productDescription** | **String** | Description of the product. | [optional] | -|**unitWeight** | **String** | Weight of the product. | [optional] | +|**unitWeight** | **BigDecimal** | Weight of the product. | [optional] | |**quantity** | **Integer** | Quantity of the product. | [optional] | |**unitPrice** | **Double** | Unit price of the product. | [optional] | |**unitOfMeasure** | **String** | Unit of measure of the product. | [optional] | diff --git a/docs/InvoiceSearchResponseInvoicesInner.md b/docs/InvoiceSearchResponseInvoicesInner.md index 78a53bf0..b9d8a92d 100644 --- a/docs/InvoiceSearchResponseInvoicesInner.md +++ b/docs/InvoiceSearchResponseInvoicesInner.md @@ -13,11 +13,11 @@ |**invoiceStatus** | **String** | Invoice Status. | [optional] | |**invoiceDate** | **String** | Invoice Date. | [optional] | |**invoiceDueDate** | **String** | Invoice Due Date. | [optional] | -|**invoicedAmountDue** | **String** | Invoice Amount. | [optional] | +|**invoicedAmountDue** | **BigDecimal** | Invoice Amount. | [optional] | |**customerOrderNumber** | **String** | Customer Order No. | [optional] | |**orderCreateDate** | **String** | Order Create Date. | [optional] | |**endCustomerOrderNumber** | **String** | End Customer Order number. | [optional] | -|**invoiceAmountInclTax** | **String** | Invoice Amount Inclusive of Taxes | [optional] | +|**invoiceAmountInclTax** | **BigDecimal** | Invoice Amount Inclusive of Taxes | [optional] | diff --git a/docs/ReturnsDetailsResponseProductsInner.md b/docs/ReturnsDetailsResponseProductsInner.md index 4e123ae9..ce69813e 100644 --- a/docs/ReturnsDetailsResponseProductsInner.md +++ b/docs/ReturnsDetailsResponseProductsInner.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**ingramLineNumber** | **String** | Unique Ingram Micro line number. | [optional] | +|**ingramLineNumber** | **Integer** | Unique Ingram Micro line number. | [optional] | |**description** | **String** | The description of the line item product. | [optional] | |**ingramPartNumber** | **String** | Unique IngramMicro part number. | [optional] | |**vendorPartNumber** | **String** | The vendor's part number for the line item. | [optional] | @@ -20,8 +20,8 @@ |**unitPrice** | **BigDecimal** | The unit price of the line item. | [optional] | |**extendedPrice** | **BigDecimal** | Unit price X quantity for the line item. | [optional] | |**status** | **String** | The status of the line item. | [optional] | -|**returnBranch** | **Integer** | The code of the return branch. | [optional] | -|**shipFromBranch** | **Integer** | The code of the ship from branch. | [optional] | +|**returnBranch** | **String** | The code of the return branch. | [optional] | +|**shipFromBranch** | **String** | The code of the ship from branch. | [optional] | diff --git a/src/main/java/xiresellers/client/ApiException.java b/src/main/java/xiresellers/client/ApiException.java index a01beeb3..bcae186f 100644 --- a/src/main/java/xiresellers/client/ApiException.java +++ b/src/main/java/xiresellers/client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/xiresellers/client/Configuration.java b/src/main/java/xiresellers/client/Configuration.java index 7086ae2e..05d8dd01 100644 --- a/src/main/java/xiresellers/client/Configuration.java +++ b/src/main/java/xiresellers/client/Configuration.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class Configuration { public static final String VERSION = "1.0.0"; diff --git a/src/main/java/xiresellers/client/Pair.java b/src/main/java/xiresellers/client/Pair.java index 8e450f91..bb03a232 100644 --- a/src/main/java/xiresellers/client/Pair.java +++ b/src/main/java/xiresellers/client/Pair.java @@ -13,7 +13,7 @@ package xiresellers.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/xiresellers/client/StringUtil.java b/src/main/java/xiresellers/client/StringUtil.java index 10086908..ffe8bb27 100644 --- a/src/main/java/xiresellers/client/StringUtil.java +++ b/src/main/java/xiresellers/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java index 4b09ae84..1b9e6b85 100644 --- a/src/main/java/xiresellers/client/auth/ApiKeyAuth.java +++ b/src/main/java/xiresellers/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java index 1f23202c..89554f5e 100644 --- a/src/main/java/xiresellers/client/auth/HttpBearerAuth.java +++ b/src/main/java/xiresellers/client/auth/HttpBearerAuth.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e654f07e..548f55bf 100644 --- a/src/main/java/xiresellers/client/auth/OAuth.java +++ b/src/main/java/xiresellers/client/auth/OAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 51ce84ce..95973a9b 100644 --- a/src/main/java/xiresellers/client/auth/OAuthFlow.java +++ b/src/main/java/xiresellers/client/auth/OAuthFlow.java @@ -16,7 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 5ad07354..aaa14800 100644 --- a/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/xiresellers/client/model/AbstractOpenApiSchema.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java index 3b2b2ba4..87493c16 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java index 4f73d902..81ae5d64 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInner.java @@ -52,7 +52,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class AvailabilityAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java index 3f8ad7d6..65b726ff 100644 --- a/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * AvailabilityAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 2b387c7e..b1851139 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponse.java @@ -55,7 +55,7 @@ /** * DealsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_ID = "dealId"; @SerializedName(SERIALIZED_NAME_DEAL_ID) @@ -83,11 +83,11 @@ public class DealsDetailsResponse { public static final String SERIALIZED_NAME_DEAL_EXPIRY_DATE = "dealExpiryDate"; @SerializedName(SERIALIZED_NAME_DEAL_EXPIRY_DATE) - private LocalDate dealExpiryDate; + private String dealExpiryDate; public static final String SERIALIZED_NAME_PRICE_PROTECTION_END_DATE = "priceProtectionEndDate"; @SerializedName(SERIALIZED_NAME_PRICE_PROTECTION_END_DATE) - private LocalDate priceProtectionEndDate; + private String priceProtectionEndDate; public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) @@ -218,7 +218,7 @@ public void setDealReceivedOn(LocalDate dealReceivedOn) { } - public DealsDetailsResponse dealExpiryDate(LocalDate dealExpiryDate) { + public DealsDetailsResponse dealExpiryDate(String dealExpiryDate) { this.dealExpiryDate = dealExpiryDate; return this; } @@ -228,16 +228,16 @@ public DealsDetailsResponse dealExpiryDate(LocalDate dealExpiryDate) { * @return dealExpiryDate **/ @javax.annotation.Nullable - public LocalDate getDealExpiryDate() { + public String getDealExpiryDate() { return dealExpiryDate; } - public void setDealExpiryDate(LocalDate dealExpiryDate) { + public void setDealExpiryDate(String dealExpiryDate) { this.dealExpiryDate = dealExpiryDate; } - public DealsDetailsResponse priceProtectionEndDate(LocalDate priceProtectionEndDate) { + public DealsDetailsResponse priceProtectionEndDate(String priceProtectionEndDate) { this.priceProtectionEndDate = priceProtectionEndDate; return this; } @@ -247,11 +247,11 @@ public DealsDetailsResponse priceProtectionEndDate(LocalDate priceProtectionEndD * @return priceProtectionEndDate **/ @javax.annotation.Nullable - public LocalDate getPriceProtectionEndDate() { + public String getPriceProtectionEndDate() { return priceProtectionEndDate; } - public void setPriceProtectionEndDate(LocalDate priceProtectionEndDate) { + public void setPriceProtectionEndDate(String priceProtectionEndDate) { this.priceProtectionEndDate = priceProtectionEndDate; } @@ -435,6 +435,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("vendor") != null && !jsonObj.get("vendor").isJsonNull()) && !jsonObj.get("vendor").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `vendor` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vendor").toString())); } + if ((jsonObj.get("dealExpiryDate") != null && !jsonObj.get("dealExpiryDate").isJsonNull()) && !jsonObj.get("dealExpiryDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dealExpiryDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dealExpiryDate").toString())); + } + if ((jsonObj.get("priceProtectionEndDate") != null && !jsonObj.get("priceProtectionEndDate").isJsonNull()) && !jsonObj.get("priceProtectionEndDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `priceProtectionEndDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priceProtectionEndDate").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())); } diff --git a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java index 83caf661..03a7b8aa 100644 --- a/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/DealsDetailsResponseProductsInner.java @@ -51,7 +51,7 @@ /** * DealsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 cba70af1..5379177b 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponse.java @@ -52,7 +52,7 @@ /** * DealsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class DealsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java index 450b2708..e957d699 100644 --- a/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java +++ b/src/main/java/xiresellers/client/model/DealsSearchResponseDealsInner.java @@ -50,7 +50,7 @@ /** * DealsSearchResponseDealsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 38311800..ef4e6db9 100644 --- a/src/main/java/xiresellers/client/model/Error.java +++ b/src/main/java/xiresellers/client/model/Error.java @@ -53,7 +53,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 c72d9101..2fade018 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponse.java +++ b/src/main/java/xiresellers/client/model/ErrorResponse.java @@ -52,7 +52,7 @@ /** * ErrorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java index 3d461e67..c5776fe4 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseDTO.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseDTO.java @@ -53,7 +53,7 @@ /** * ErrorResponseDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 0c349d1c..f5f06fa4 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInner.java @@ -52,7 +52,7 @@ /** * ErrorResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ErrorResponseErrorsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java index e83c565d..02f94e84 100644 --- a/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java +++ b/src/main/java/xiresellers/client/model/ErrorResponseErrorsInnerFieldsInner.java @@ -49,7 +49,7 @@ /** * ErrorResponseErrorsInnerFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 56857b2f..9bbe566b 100644 --- a/src/main/java/xiresellers/client/model/Fields.java +++ b/src/main/java/xiresellers/client/model/Fields.java @@ -50,7 +50,7 @@ /** * Fields */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 49b6838f..5ffe492d 100644 --- a/src/main/java/xiresellers/client/model/FreightRequest.java +++ b/src/main/java/xiresellers/client/model/FreightRequest.java @@ -53,7 +53,7 @@ /** * FreightRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class FreightRequest { public static final String SERIALIZED_NAME_BILL_TO_ADDRESS_ID = "billToAddressId"; @SerializedName(SERIALIZED_NAME_BILL_TO_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java index a68fc800..02801761 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestLinesInner.java @@ -49,7 +49,7 @@ /** * FreightRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ff65d510..f721f42a 100644 --- a/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java +++ b/src/main/java/xiresellers/client/model/FreightRequestShipToAddressInner.java @@ -49,7 +49,7 @@ /** * FreightRequestShipToAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 2758473a..cd8dc78f 100644 --- a/src/main/java/xiresellers/client/model/FreightResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponse.java @@ -50,7 +50,7 @@ /** * FreightResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 21b9aa4d..920dac54 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponse.java @@ -54,7 +54,7 @@ /** * FreightResponseFreightEstimateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class FreightResponseFreightEstimateResponse { public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode"; @SerializedName(SERIALIZED_NAME_CURRENCY_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java index ba947a70..486bec8e 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInner.java @@ -53,7 +53,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInner { public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER = "shipFromBranchNumber"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH_NUMBER) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java index 757b64d9..d69a62d5 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner { public static final String SERIALIZED_NAME_CARRIER_CODE = "carrierCode"; @SerializedName(SERIALIZED_NAME_CARRIER_CODE) diff --git a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java index e88475ac..5051a783 100644 --- a/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/FreightResponseFreightEstimateResponseLinesInner.java @@ -50,7 +50,7 @@ /** * FreightResponseFreightEstimateResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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/GetResellerV6ValidateQuote400Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java index a02eb9cc..557acf73 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400Response.java @@ -52,7 +52,7 @@ /** * GetResellerV6ValidateQuote400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class GetResellerV6ValidateQuote400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java index 196f1c6e..f96aa529 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * GetResellerV6ValidateQuote400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class GetResellerV6ValidateQuote400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java index cc24fe92..731f23a8 100644 --- a/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java +++ b/src/main/java/xiresellers/client/model/GetResellerV6ValidateQuote500Response.java @@ -51,7 +51,7 @@ /** * GetResellerV6ValidateQuote500Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class GetResellerV6ValidateQuote500Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java index 7c3d0d50..22b0c7d5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61Response.java @@ -58,7 +58,7 @@ /** * InvoiceDetailsv61Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class InvoiceDetailsv61Response { public static final String SERIALIZED_NAME_INVOICE_NUMBER = "invoiceNumber"; @SerializedName(SERIALIZED_NAME_INVOICE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java index 0baf1b0b..34d40dde 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseBillToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseBillToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 520c5b95..65716a47 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseFxRateInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseFxRateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 29df906f..25ff48f6 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInner.java @@ -20,6 +20,7 @@ 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; @@ -53,7 +54,7 @@ /** * InvoiceDetailsv61ResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class InvoiceDetailsv61ResponseLinesInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) @@ -85,7 +86,7 @@ public class InvoiceDetailsv61ResponseLinesInner { public static final String SERIALIZED_NAME_UNIT_WEIGHT = "unitWeight"; @SerializedName(SERIALIZED_NAME_UNIT_WEIGHT) - private String unitWeight; + private BigDecimal unitWeight; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) @@ -267,7 +268,7 @@ public void setProductDescription(String productDescription) { } - public InvoiceDetailsv61ResponseLinesInner unitWeight(String unitWeight) { + public InvoiceDetailsv61ResponseLinesInner unitWeight(BigDecimal unitWeight) { this.unitWeight = unitWeight; return this; } @@ -277,11 +278,11 @@ public InvoiceDetailsv61ResponseLinesInner unitWeight(String unitWeight) { * @return unitWeight **/ @javax.annotation.Nullable - public String getUnitWeight() { + public BigDecimal getUnitWeight() { return unitWeight; } - public void setUnitWeight(String unitWeight) { + public void setUnitWeight(BigDecimal unitWeight) { this.unitWeight = unitWeight; } @@ -661,9 +662,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("productDescription") != null && !jsonObj.get("productDescription").isJsonNull()) && !jsonObj.get("productDescription").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `productDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("productDescription").toString())); } - if ((jsonObj.get("unitWeight") != null && !jsonObj.get("unitWeight").isJsonNull()) && !jsonObj.get("unitWeight").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `unitWeight` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unitWeight").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())); } diff --git a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java index ac7b7909..9f1f20db 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner.java @@ -50,7 +50,7 @@ /** * InvoiceDetailsv61ResponseLinesInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 9a975990..00fbc27b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponsePaymentTermsInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 6e724919..0dc936c5 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseShipToInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 458a43b1..61e32b2d 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummary.java @@ -56,7 +56,7 @@ /** * InvoiceDetailsv61ResponseSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 79434af7..2c1803ab 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryForeignFxTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryForeignFxTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 2a35f734..204609b0 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryLines.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 7658d8b5..e2503868 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryMiscChargesInner.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryMiscChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 4692669a..a4d7798e 100644 --- a/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java +++ b/src/main/java/xiresellers/client/model/InvoiceDetailsv61ResponseSummaryTotals.java @@ -49,7 +49,7 @@ /** * InvoiceDetailsv61ResponseSummaryTotals */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class InvoiceDetailsv61ResponseSummaryTotals { public static final String SERIALIZED_NAME_NET_INVOICE_AMOUNT = "netInvoiceAmount"; @SerializedName(SERIALIZED_NAME_NET_INVOICE_AMOUNT) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java index fc540c8d..cb3eb3fa 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponse.java @@ -52,7 +52,7 @@ /** * InvoiceSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class InvoiceSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java index ad6abc2b..a85b731b 100644 --- a/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java +++ b/src/main/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInner.java @@ -20,6 +20,7 @@ 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; @@ -49,7 +50,7 @@ /** * InvoiceSearchResponseInvoicesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE = "paymentTermsDueDate"; @SerializedName(SERIALIZED_NAME_PAYMENT_TERMS_DUE_DATE) @@ -77,7 +78,7 @@ public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_INVOICED_AMOUNT_DUE = "invoicedAmountDue"; @SerializedName(SERIALIZED_NAME_INVOICED_AMOUNT_DUE) - private String invoicedAmountDue; + private BigDecimal invoicedAmountDue; public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) @@ -93,7 +94,7 @@ public class InvoiceSearchResponseInvoicesInner { public static final String SERIALIZED_NAME_INVOICE_AMOUNT_INCL_TAX = "invoiceAmountInclTax"; @SerializedName(SERIALIZED_NAME_INVOICE_AMOUNT_INCL_TAX) - private String invoiceAmountInclTax; + private BigDecimal invoiceAmountInclTax; public InvoiceSearchResponseInvoicesInner() { } @@ -212,7 +213,7 @@ public void setInvoiceDueDate(String invoiceDueDate) { } - public InvoiceSearchResponseInvoicesInner invoicedAmountDue(String invoicedAmountDue) { + public InvoiceSearchResponseInvoicesInner invoicedAmountDue(BigDecimal invoicedAmountDue) { this.invoicedAmountDue = invoicedAmountDue; return this; } @@ -222,11 +223,11 @@ public InvoiceSearchResponseInvoicesInner invoicedAmountDue(String invoicedAmoun * @return invoicedAmountDue **/ @javax.annotation.Nullable - public String getInvoicedAmountDue() { + public BigDecimal getInvoicedAmountDue() { return invoicedAmountDue; } - public void setInvoicedAmountDue(String invoicedAmountDue) { + public void setInvoicedAmountDue(BigDecimal invoicedAmountDue) { this.invoicedAmountDue = invoicedAmountDue; } @@ -288,7 +289,7 @@ public void setEndCustomerOrderNumber(String endCustomerOrderNumber) { } - public InvoiceSearchResponseInvoicesInner invoiceAmountInclTax(String invoiceAmountInclTax) { + public InvoiceSearchResponseInvoicesInner invoiceAmountInclTax(BigDecimal invoiceAmountInclTax) { this.invoiceAmountInclTax = invoiceAmountInclTax; return this; } @@ -298,11 +299,11 @@ public InvoiceSearchResponseInvoicesInner invoiceAmountInclTax(String invoiceAmo * @return invoiceAmountInclTax **/ @javax.annotation.Nullable - public String getInvoiceAmountInclTax() { + public BigDecimal getInvoiceAmountInclTax() { return invoiceAmountInclTax; } - public void setInvoiceAmountInclTax(String invoiceAmountInclTax) { + public void setInvoiceAmountInclTax(BigDecimal invoiceAmountInclTax) { this.invoiceAmountInclTax = invoiceAmountInclTax; } @@ -427,9 +428,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("invoiceDueDate") != null && !jsonObj.get("invoiceDueDate").isJsonNull()) && !jsonObj.get("invoiceDueDate").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `invoiceDueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoiceDueDate").toString())); } - if ((jsonObj.get("invoicedAmountDue") != null && !jsonObj.get("invoicedAmountDue").isJsonNull()) && !jsonObj.get("invoicedAmountDue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoicedAmountDue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoicedAmountDue").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())); } @@ -439,9 +437,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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("invoiceAmountInclTax") != null && !jsonObj.get("invoiceAmountInclTax").isJsonNull()) && !jsonObj.get("invoiceAmountInclTax").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `invoiceAmountInclTax` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoiceAmountInclTax").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequest.java b/src/main/java/xiresellers/client/model/OrderCreateRequest.java index 0cfcfbc0..c38bb9c5 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequest.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequest.java @@ -58,7 +58,7 @@ /** * OrderCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateRequest { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java index 7a80f3e0..e1a388cf 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 4f691e45..76c4ee90 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestEndUserInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateRequestEndUserInfo { 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/OrderCreateRequestLinesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java index e762ff65..6427a168 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInner.java @@ -55,7 +55,7 @@ /** * OrderCreateRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateRequestLinesInner { 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/OrderCreateRequestLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java index 1b6a4e5e..b625e548 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateRequestLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 a18fda6d..691951ce 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerEndUserInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 164ee910..49b29228 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInner.java @@ -52,7 +52,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateRequestLinesInnerWarrantyInfoInner { public static final String SERIALIZED_NAME_DIRECT_LINE_LINK = "directLineLink"; @SerializedName(SERIALIZED_NAME_DIRECT_LINE_LINK) diff --git a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java index a7ff2176..e9526284 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner.java @@ -50,7 +50,7 @@ /** * OrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 6b5c13d8..ebe82b48 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestResellerInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 8e9a7fb1..696d0f66 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ec6f1102..21f65e9b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestShipmentDetails.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 cc305214..6b5678d7 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java +++ b/src/main/java/xiresellers/client/model/OrderCreateRequestVmf.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 d39e1227..dc93830b 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponse.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponse.java @@ -55,7 +55,7 @@ /** * OrderCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateResponse { public static final String SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER = "customerOrderNumber"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ORDER_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java index 63a054e9..bfcf60d3 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseEndUserInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e45699a5..4fafdb3d 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInner.java @@ -57,7 +57,7 @@ /** * OrderCreateResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateResponseOrdersInner { public static final String SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS = "numberOfLinesWithSuccess"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_LINES_WITH_SUCCESS) diff --git a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java index f357366a..d3364380 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ec2f6cb6..34e6a070 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInner.java @@ -54,7 +54,7 @@ /** * OrderCreateResponseOrdersInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderCreateResponseOrdersInnerLinesInner { 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/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java index f35dc535..0041e041 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 d0e43c3c..31b7ee81 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 d9890b74..9b6412f7 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 0cf07877..67c1ca2a 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerMiscellaneousChargesInner.java @@ -50,7 +50,7 @@ /** * OrderCreateResponseOrdersInnerMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 0c7797d4..859749cf 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseOrdersInnerRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderCreateResponseOrdersInnerRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1d28113e..6a726b71 100644 --- a/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderCreateResponseShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 19e08841..393a7cf7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2B.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2B.java @@ -59,7 +59,7 @@ /** * OrderDetailB2B */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1a1420de..4a4ddb3d 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e415d0d1..f623c225 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BBillToInfo.java @@ -49,7 +49,7 @@ /** * The billing information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 95d67693..60400bfe 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BEndUserInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 5d1c5209..647147c6 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInner.java @@ -59,7 +59,7 @@ /** * OrderDetailB2BLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderDetailB2BLinesInner { 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/OrderDetailB2BLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java index 17a996f0..63d8f427 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 c844f8d8..76568624 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInner.java @@ -51,7 +51,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1c986d80..a2646d1e 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery { public static final String SERIALIZED_NAME_DELIVERY_DATE_TYPE = "deliveryDateType"; @SerializedName(SERIALIZED_NAME_DELIVERY_DATE_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java index 87593ea8..40afadb3 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.java @@ -49,7 +49,7 @@ /** * Delivery date range. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ed5683f6..f6c4e581 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShip.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShip */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e9cc335b..657ad635 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRange */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 bbb820ba..a14c9285 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerLinksInner.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the line item. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 b1da9da6..3506dde4 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerMultipleShipmentsInner.java @@ -50,7 +50,7 @@ /** * OrderDetailB2BLinesInnerMultipleShipmentsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 8ea90efa..34ab84fd 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerScheduleLinesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerScheduleLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e68299a2..883f8105 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1a3a5282..086a22b5 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoContractInfo.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoContractInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 4d31dd6a..88d85e55 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo.java @@ -52,7 +52,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 68cf8e97..31d1eda7 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerServiceContractInfoSubscriptions.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerServiceContractInfoSubscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 9c1157c6..628691aa 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e42d95d7..58f6c3ed 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 a4a6b084..84954052 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner.java @@ -53,7 +53,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ce8e5135..bcba19d1 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 61d8cc4e..4ecc1184 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BMiscellaneousChargesInner.java @@ -49,7 +49,7 @@ /** * OrderDetailB2BMiscellaneousChargesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 85a0f9fe..dabf219b 100644 --- a/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderDetailB2BShipToInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 68bb4c01..777f41c1 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequest.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequest.java @@ -54,7 +54,7 @@ /** * OrderModifyRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderModifyRequest { public static final String SERIALIZED_NAME_NOTES = "notes"; @SerializedName(SERIALIZED_NAME_NOTES) diff --git a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java index dfc2772d..627e1315 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 9cab9afa..c9c0b466 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestLinesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyRequestLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ec1f540b..240d833a 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyRequestShipToInfo.java @@ -49,7 +49,7 @@ /** * The shipping information provided by the reseller. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 b6cd7503..96c5342f 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponse.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponse.java @@ -56,7 +56,7 @@ /** * OrderModifyResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderModifyResponse { 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/OrderModifyResponseLinesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java index 10ecdb47..71a4b981 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInner.java @@ -53,7 +53,7 @@ /** * OrderModifyResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderModifyResponseLinesInner { 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/OrderModifyResponseLinesInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java index f25c7f1b..66eafedc 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseLinesInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e9716f60..e0d96d99 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseLinesInnerShipmentDetails.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 a24e0b3f..427a113e 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseRejectedLineItemsInner.java @@ -49,7 +49,7 @@ /** * OrderModifyResponseRejectedLineItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 3288edc7..75a77ddd 100644 --- a/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java +++ b/src/main/java/xiresellers/client/model/OrderModifyResponseShipToInfo.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 28c27068..bbf3d686 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponse.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponse.java @@ -52,7 +52,7 @@ /** * OrderSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java index 27dd7e96..bfdeb6d2 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInner.java @@ -54,7 +54,7 @@ /** * OrderSearchResponseOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderSearchResponseOrdersInner { 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/OrderSearchResponseOrdersInnerLinks.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java index 9bae9228..994ac318 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerLinks.java @@ -49,7 +49,7 @@ /** * Link to Order Details for the order(s). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 9d6a5e27..138c9d88 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInner.java @@ -53,7 +53,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderSearchResponseOrdersInnerSubOrdersInner { 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/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java index 080748ba..f0cc0b1e 100644 --- a/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderSearchResponseOrdersInnerSubOrdersInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 9746b6f0..ac5ec464 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequest.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequest { public static final String SERIALIZED_NAME_TOPIC = "topic"; @SerializedName(SERIALIZED_NAME_TOPIC) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java index 4c973d5e..0c0cdb48 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInner { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java index cf36a94f..0622596e 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInner.java @@ -53,7 +53,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInner { public static final String SERIALIZED_NAME_LINE_NUMBER = "LineNumber"; @SerializedName(SERIALIZED_NAME_LINE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java index 933ee963..d77837f2 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 5a66efd0..a82692df 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.java @@ -52,7 +52,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner { public static final String SERIALIZED_NAME_SHIPMENT_DATE = "shipmentDate"; @SerializedName(SERIALIZED_NAME_SHIPMENT_DATE) diff --git a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java index 8adf7673..5223e428 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1067446d..206ee77a 100644 --- a/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.java @@ -49,7 +49,7 @@ /** * OrderStatusAsyncNotificationRequestResourceInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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/PostQuoteToOrderV6400Response.java index 346a6702..48f17019 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400Response.java @@ -52,7 +52,7 @@ /** * PostQuoteToOrderV6400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PostQuoteToOrderV6400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java index ddc8b8ef..7be4b44d 100644 --- a/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java +++ b/src/main/java/xiresellers/client/model/PostQuoteToOrderV6400ResponseFieldsInner.java @@ -49,7 +49,7 @@ /** * PostQuoteToOrderV6400ResponseFieldsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PostQuoteToOrderV6400ResponseFieldsInner { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) diff --git a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java index 59b4c3c5..b8c2c470 100644 --- a/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java +++ b/src/main/java/xiresellers/client/model/PostRenewalssearch400Response.java @@ -52,7 +52,7 @@ /** * PostRenewalssearch400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PostRenewalssearch400Response { public static final String SERIALIZED_NAME_TRACEID = "traceid"; @SerializedName(SERIALIZED_NAME_TRACEID) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java index 3c1b1124..e4344e6a 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequest.java @@ -54,7 +54,7 @@ /** * PriceAndAvailabilityRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityRequest { public static final String SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS = "showAvailableDiscounts"; @SerializedName(SERIALIZED_NAME_SHOW_AVAILABLE_DISCOUNTS) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java index ad286299..1ff4aa01 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 d96b316c..82879677 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestAvailabilityByWarehouseInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 35b06d14..1a2cc4a8 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityRequestProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityRequestProductsInner { 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/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java index 57a93ac2..3d6aed38 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityRequestProductsInnerAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 ad316304..2028056f 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInner.java @@ -56,7 +56,7 @@ /** * PriceAndAvailabilityResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityResponseInner { public static final String SERIALIZED_NAME_PRODUCT_STATUS_CODE = "productStatusCode"; @SerializedName(SERIALIZED_NAME_PRODUCT_STATUS_CODE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java index 9545ba7b..53054bff 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailability.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailability */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailability { public static final String SERIALIZED_NAME_AVAILABLE = "available"; @SerializedName(SERIALIZED_NAME_AVAILABLE) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java index 69168ef5..d9d44b65 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner.java @@ -52,7 +52,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInner { public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java index 26586dfc..06b8f302 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 5f163438..c044a7c4 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInner.java @@ -53,7 +53,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class PriceAndAvailabilityResponseInnerDiscountsInner { public static final String SERIALIZED_NAME_SPECIAL_PRICING = "specialPricing"; @SerializedName(SERIALIZED_NAME_SPECIAL_PRICING) diff --git a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java index 742526ad..c1340918 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 90847426..0cc1e556 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner.java @@ -51,7 +51,7 @@ /** * PriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 5c20f8de..31a77665 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerPricing.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerPricing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 e1fc3406..3415be64 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner.java @@ -49,7 +49,7 @@ /** * PriceAndAvailabilityResponseInnerReserveInventoryDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 4edbff60..382d96a8 100644 --- a/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java +++ b/src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseInnerServiceFeesInner.java @@ -50,7 +50,7 @@ /** * PriceAndAvailabilityResponseInnerServiceFeesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1a55d440..dbe18587 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponse.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponse.java @@ -55,7 +55,7 @@ /** * ProductDetailResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ProductDetailResponse { 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/ProductDetailResponseAdditionalInformation.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java index a9ba5eaa..1e7f7015 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java @@ -52,7 +52,7 @@ /** * Additional Information related to the product. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ProductDetailResponseAdditionalInformation { public static final String SERIALIZED_NAME_PRODUCT_WEIGHT = "productWeight"; @SerializedName(SERIALIZED_NAME_PRODUCT_WEIGHT) diff --git a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java index f2c1aac5..ebb0f138 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java @@ -50,7 +50,7 @@ /** * ProductDetailResponseAdditionalInformationProductWeightInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 b01a4a8e..d2e100be 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java @@ -49,7 +49,7 @@ /** * Cisco product related information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 a7aace2a..48dea38a 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java @@ -49,7 +49,7 @@ /** * Indicators of the Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 1a1bdc27..953c9115 100644 --- a/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java +++ b/src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java @@ -49,7 +49,7 @@ /** * ProductDetailResponseTechnicalSpecificationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ProductDetailResponseTechnicalSpecificationsInner { public static final String SERIALIZED_NAME_HEADERNAME = "headername"; @SerializedName(SERIALIZED_NAME_HEADERNAME) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponse.java b/src/main/java/xiresellers/client/model/ProductSearchResponse.java index 2a272fa4..257cf9e0 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponse.java @@ -52,7 +52,7 @@ /** * ProductSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ProductSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java index f974c43b..d66cc31f 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInner.java @@ -52,7 +52,7 @@ /** * ProductSearchResponseCatalogInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ProductSearchResponseCatalogInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java index ec29c7ad..4a69fe59 100644 --- a/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ProductSearchResponseCatalogInnerLinksInner.java @@ -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-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 6cf5a1ec..4fded9a6 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponse.java @@ -55,7 +55,7 @@ /** * QuoteDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteDetailsResponse { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java index 6bfabc6a..e7b5e0a9 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 8755bc70..c5e1cf28 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseEndUserInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseEndUserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 c537caaf..b12e5c8a 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteDetailsResponseProductsInner { public static final String SERIALIZED_NAME_QUOTE_PRODUCT_GUID = "quoteProductGuid"; @SerializedName(SERIALIZED_NAME_QUOTE_PRODUCT_GUID) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java index 225c1ed2..c1efd6b9 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseProductsInnerPrice.java @@ -50,7 +50,7 @@ /** * QuoteDetailsResponseProductsInnerPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteDetailsResponseProductsInnerPrice { public static final String SERIALIZED_NAME_QUOTE_PRICE = "quotePrice"; @SerializedName(SERIALIZED_NAME_QUOTE_PRICE) diff --git a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java index cb0c9876..8bb0706b 100644 --- a/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java +++ b/src/main/java/xiresellers/client/model/QuoteDetailsResponseResellerInfo.java @@ -49,7 +49,7 @@ /** * QuoteDetailsResponseResellerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteDetailsResponseResellerInfo { public static final String SERIALIZED_NAME_CONTACT = "contact"; @SerializedName(SERIALIZED_NAME_CONTACT) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java index 3c844084..0f3d5f60 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponse.java @@ -52,7 +52,7 @@ /** * QuoteSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java index 1b0d463c..290222e9 100644 --- a/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java @@ -50,7 +50,7 @@ /** * QuoteSearchResponseQuotesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteSearchResponseQuotesInner { public static final String SERIALIZED_NAME_QUOTE_NAME = "quoteName"; @SerializedName(SERIALIZED_NAME_QUOTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java index a012477e..a3ee9ae0 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java @@ -57,7 +57,7 @@ /** * QuoteToOrderDetailsDTO */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTO { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java index ef2ff7d5..992abb57 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOAdditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java index 4079644c..bc2ffeca 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOEndUserInfoInner { public static final String SERIALIZED_NAME_COMPANY_NAME = "companyName"; @SerializedName(SERIALIZED_NAME_COMPANY_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java index a875ec98..f4a94c97 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java @@ -52,7 +52,7 @@ /** * QuoteToOrderDetailsDTOLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInner { 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/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java index 6c9dbd8c..bbaf1047 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java index 9bbac5fb..6996c975 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java @@ -50,7 +50,7 @@ /** * QuoteToOrderDetailsDTOShipToInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOShipToInfoInner { public static final String SERIALIZED_NAME_ADDRESS_ID = "addressId"; @SerializedName(SERIALIZED_NAME_ADDRESS_ID) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java index 89367718..c0192fea 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * QuoteToOrderDetailsDTOVmfadditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderDetailsDTOVmfadditionalAttributesInner { public static final String SERIALIZED_NAME_ATTRIBUTE_NAME = "attributeName"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NAME) diff --git a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java index 30b7edd4..e79fec12 100644 --- a/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java +++ b/src/main/java/xiresellers/client/model/QuoteToOrderResponse.java @@ -50,7 +50,7 @@ /** * QuoteToOrderResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class QuoteToOrderResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java index 0bd653ba..44c50b80 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java @@ -57,7 +57,7 @@ /** * RenewalsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsDetailsResponse { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java index 458c1405..52f0e7c5 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseAdditionalAttributesInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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/RenewalsDetailsResponseEndUserInfoInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java index 72f4ef28..4057beb2 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseEndUserInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsDetailsResponseEndUserInfoInner { 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 bfe6252e..89265b28 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java @@ -50,7 +50,7 @@ /** * RenewalsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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/RenewalsDetailsResponseReferenceNumberInner.java b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java index 2a7d0d69..4de89db8 100644 --- a/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java @@ -49,7 +49,7 @@ /** * RenewalsDetailsResponseReferenceNumberInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsDetailsResponseReferenceNumberInner { 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 412ae745..edcc70f2 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequest.java @@ -51,7 +51,7 @@ /** * RenewalsSearchRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequest { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java index 413416b7..bb269e10 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java @@ -53,7 +53,7 @@ /** * RenewalsSearchRequestDataType */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequestDataType { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java index 2785ef81..2803c591 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeEndDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeEndDate { 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/RenewalsSearchRequestDataTypeExpirationDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java index a0a6a42d..626cf09d 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeExpirationDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeExpirationDate { 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/RenewalsSearchRequestDataTypeInvoiceDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java index 44c853f8..45ebd66c 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeInvoiceDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeInvoiceDate { 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/RenewalsSearchRequestDataTypeStartDate.java b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java index 2b0e634d..fe78cc65 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestDataTypeStartDate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchRequestDataTypeStartDate { 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 1bc65f09..c2b25a97 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java @@ -50,7 +50,7 @@ /** * RenewalsSearchRequestStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 6e7b4690..54ec53ac 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java @@ -49,7 +49,7 @@ /** * RenewalsSearchRequestStatusOpporutinyStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 f0c4233e..1fd721b4 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponse.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java index 6018cc27..bce83692 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInner.java @@ -52,7 +52,7 @@ /** * RenewalsSearchResponseRenewalsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class RenewalsSearchResponseRenewalsInner { public static final String SERIALIZED_NAME_RENEWAL_ID = "renewalId"; @SerializedName(SERIALIZED_NAME_RENEWAL_ID) diff --git a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java index b263def5..f6c90778 100644 --- a/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/RenewalsSearchResponseRenewalsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * RenewalsSearchResponseRenewalsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 2a9df9fe..e0efd103 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequest.java @@ -52,7 +52,7 @@ /** * ReturnsCreateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsCreateRequest { public static final String SERIALIZED_NAME_LIST = "list"; @SerializedName(SERIALIZED_NAME_LIST) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java index 59eb7862..fc812f2c 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInner.java @@ -53,7 +53,7 @@ /** * ReturnsCreateRequestListInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 4e72b236..03cd750d 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateRequestListInnerShipFromInfoInner.java @@ -49,7 +49,7 @@ /** * ReturnsCreateRequestListInnerShipFromInfoInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 f14baba7..67a48b51 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponse.java @@ -52,7 +52,7 @@ /** * ReturnsCreateResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsCreateResponse { public static final String SERIALIZED_NAME_RETURNS_CLAIMS = "returnsClaims"; @SerializedName(SERIALIZED_NAME_RETURNS_CLAIMS) diff --git a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java index 8cda04c6..ce17aa15 100644 --- a/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsCreateResponseReturnsClaimsInner.java @@ -54,7 +54,7 @@ /** * ReturnsCreateResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsCreateResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RMA_CLAIM_ID = "rmaClaimId"; @SerializedName(SERIALIZED_NAME_RMA_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java index e0a16ac7..252cb75e 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponse.java @@ -54,7 +54,7 @@ /** * ReturnsDetailsResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsDetailsResponse { public static final String SERIALIZED_NAME_TYPE_OF_DETAILS = "typeOfDetails"; @SerializedName(SERIALIZED_NAME_TYPE_OF_DETAILS) diff --git a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java index 8e5a2e28..cd294bc9 100644 --- a/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsDetailsResponseProductsInner.java @@ -51,11 +51,11 @@ /** * ReturnsDetailsResponseProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsDetailsResponseProductsInner { public static final String SERIALIZED_NAME_INGRAM_LINE_NUMBER = "ingramLineNumber"; @SerializedName(SERIALIZED_NAME_INGRAM_LINE_NUMBER) - private String ingramLineNumber; + private Integer ingramLineNumber; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -107,16 +107,16 @@ public class ReturnsDetailsResponseProductsInner { public static final String SERIALIZED_NAME_RETURN_BRANCH = "returnBranch"; @SerializedName(SERIALIZED_NAME_RETURN_BRANCH) - private Integer returnBranch; + private String returnBranch; public static final String SERIALIZED_NAME_SHIP_FROM_BRANCH = "shipFromBranch"; @SerializedName(SERIALIZED_NAME_SHIP_FROM_BRANCH) - private Integer shipFromBranch; + private String shipFromBranch; public ReturnsDetailsResponseProductsInner() { } - public ReturnsDetailsResponseProductsInner ingramLineNumber(String ingramLineNumber) { + public ReturnsDetailsResponseProductsInner ingramLineNumber(Integer ingramLineNumber) { this.ingramLineNumber = ingramLineNumber; return this; } @@ -126,11 +126,11 @@ public ReturnsDetailsResponseProductsInner ingramLineNumber(String ingramLineNum * @return ingramLineNumber **/ @javax.annotation.Nullable - public String getIngramLineNumber() { + public Integer getIngramLineNumber() { return ingramLineNumber; } - public void setIngramLineNumber(String ingramLineNumber) { + public void setIngramLineNumber(Integer ingramLineNumber) { this.ingramLineNumber = ingramLineNumber; } @@ -363,7 +363,7 @@ public void setStatus(String status) { } - public ReturnsDetailsResponseProductsInner returnBranch(Integer returnBranch) { + public ReturnsDetailsResponseProductsInner returnBranch(String returnBranch) { this.returnBranch = returnBranch; return this; } @@ -373,16 +373,16 @@ public ReturnsDetailsResponseProductsInner returnBranch(Integer returnBranch) { * @return returnBranch **/ @javax.annotation.Nullable - public Integer getReturnBranch() { + public String getReturnBranch() { return returnBranch; } - public void setReturnBranch(Integer returnBranch) { + public void setReturnBranch(String returnBranch) { this.returnBranch = returnBranch; } - public ReturnsDetailsResponseProductsInner shipFromBranch(Integer shipFromBranch) { + public ReturnsDetailsResponseProductsInner shipFromBranch(String shipFromBranch) { this.shipFromBranch = shipFromBranch; return this; } @@ -392,11 +392,11 @@ public ReturnsDetailsResponseProductsInner shipFromBranch(Integer shipFromBranch * @return shipFromBranch **/ @javax.annotation.Nullable - public Integer getShipFromBranch() { + public String getShipFromBranch() { return shipFromBranch; } - public void setShipFromBranch(Integer shipFromBranch) { + public void setShipFromBranch(String shipFromBranch) { this.shipFromBranch = shipFromBranch; } @@ -515,9 +515,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("ingramLineNumber") != null && !jsonObj.get("ingramLineNumber").isJsonNull()) && !jsonObj.get("ingramLineNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ingramLineNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ingramLineNumber").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())); } @@ -542,6 +539,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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("returnBranch") != null && !jsonObj.get("returnBranch").isJsonNull()) && !jsonObj.get("returnBranch").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `returnBranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnBranch").toString())); + } + if ((jsonObj.get("shipFromBranch") != null && !jsonObj.get("shipFromBranch").isJsonNull()) && !jsonObj.get("shipFromBranch").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shipFromBranch` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shipFromBranch").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java index 70b6ac22..f10f64e4 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponse.java @@ -52,7 +52,7 @@ /** * ReturnsSearchResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsSearchResponse { public static final String SERIALIZED_NAME_RECORDS_FOUND = "recordsFound"; @SerializedName(SERIALIZED_NAME_RECORDS_FOUND) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java index fd1b1bc5..5639db72 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInner.java @@ -53,7 +53,7 @@ /** * ReturnsSearchResponseReturnsClaimsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ReturnsSearchResponseReturnsClaimsInner { public static final String SERIALIZED_NAME_RETURN_CLAIM_ID = "returnClaimId"; @SerializedName(SERIALIZED_NAME_RETURN_CLAIM_ID) diff --git a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java index 803d7604..de453a7f 100644 --- a/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java +++ b/src/main/java/xiresellers/client/model/ReturnsSearchResponseReturnsClaimsInnerLinksInner.java @@ -49,7 +49,7 @@ /** * ReturnsSearchResponseReturnsClaimsInnerLinksInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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 68a8ff5c..9433c98c 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponse.java @@ -53,7 +53,7 @@ /** * ValidateQuoteResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ValidateQuoteResponse { public static final String SERIALIZED_NAME_QUOTE_NUMBER = "quoteNumber"; @SerializedName(SERIALIZED_NAME_QUOTE_NUMBER) diff --git a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java index 58ce7de6..b132976f 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseLinesInner.java @@ -52,7 +52,7 @@ /** * ValidateQuoteResponseLinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") public class ValidateQuoteResponseLinesInner { 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/ValidateQuoteResponseVmfAdditionalAttributesInner.java b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java index 93e1bc39..29e6556b 100644 --- a/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java +++ b/src/main/java/xiresellers/client/model/ValidateQuoteResponseVmfAdditionalAttributesInner.java @@ -49,7 +49,7 @@ /** * ValidateQuoteResponseVmfAdditionalAttributesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:20:55.562369Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-16T12:42:01.934049Z[Etc/UTC]") 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/model/InvoiceDetailsv61ResponseLinesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java index aff47d46..dd048c6f 100644 --- a/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceDetailsv61ResponseLinesInnerTest.java @@ -19,6 +19,7 @@ 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; diff --git a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java index f20ae129..3279bee8 100644 --- a/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java +++ b/src/test/java/xiresellers/client/model/InvoiceSearchResponseInvoicesInnerTest.java @@ -19,6 +19,7 @@ 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; From 04723e4b3eb4dd084ed247d47597fd5e39e8a0f3 Mon Sep 17 00:00:00 2001 From: im-deviprakash Date: Fri, 16 Feb 2024 23:38:46 +0530 Subject: [PATCH 6/6] New SDK removed legacy endpoints and minor changes --- LICENCE | 21 +++++++++++++++++++++ README.md | 21 +++++++++++---------- pom.xml | 2 +- 3 files changed, 33 insertions(+), 11 deletions(-) create mode 100644 LICENCE diff --git a/LICENCE b/LICENCE new file mode 100644 index 00000000..84e2962e --- /dev/null +++ b/LICENCE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Ingram Micro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 9064a4c7..5c63552a 100644 --- a/README.md +++ b/README.md @@ -45,19 +45,15 @@ Add this dependency to your project's POM: ``` -### Gradle users +### +If you want to compile it yourself, here's how: -Add this dependency to your project's build file: -```groovy - repositories { - mavenCentral() // Needed if the 'xi.sdk.resellers' jar has been published to maven central. - mavenLocal() // Needed if the 'xi.sdk.resellers' jar has been published to the local maven repo. - } +```shell +git clone https://github.com/ingrammicro-xvantage/xi-sdk-resellers-java.git +cd xi-sdk-resellers-java +mvn install # Requires maven, download from https://maven.apache.org/download.html - dependencies { - implementation "xi.sdk.resellers:xi.sdk.resellers:1.0.0" - } ``` ### Others @@ -354,6 +350,11 @@ Authentication schemes defined for the API: It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues. ## Author +-[Ingram Micro Xvantage](https://github.com/ingrammicro-xvantage) + +## Contact +For any inquiries or support, please feel free to contact us at: +- Email: [xi_support@ingrammicro.com](xi_support@ingrammicro.com) diff --git a/pom.xml b/pom.xml index b6822cb9..6e70faca 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ xi.sdk.resellers jar xi.sdk.resellers - 1.0.1 + 1.0.2 https://github.com/ingrammicro-xvantage/xi-sdk-resellers-java