diff --git a/.github/workflows/find_replace.yml b/.github/workflows/find_replace.yml index 623d525..3e0a7c7 100644 --- a/.github/workflows/find_replace.yml +++ b/.github/workflows/find_replace.yml @@ -14,6 +14,8 @@ jobs: - name: Find and Replace run: | find docs/ -type f -name "*.md" -exec sed -i 's/openapiclient "github.com\/GIT_USER_ID\/GIT_REPO_ID"/xi_sdk_resellers "https:\/\/github.com\/ingrammicro-xvantage\/xi-sdk-resellers-go"/g' {} + + find docs/ -type f -name "*.md" -exec sed -i 's/openapiclient\.NewConfiguration()/xi_sdk_resellers.NewConfiguration()/g' {} + + find docs/ -type f -name "*.md" -exec sed -i 's/openapiclient\.NewAPIClient(configuration)/xi_sdk_resellers.NewAPIClient(configuration)/g' {} + - name: Commit changes run: | git config --global user.email "${{ secrets.ADMIN_EMAIL }}" diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index bacb248..da95f1c 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,13 +4,13 @@ README.md api/openapi.yaml api_accesstoken.go +api_async_order_create.go api_deals.go api_freight_estimate.go api_invoices.go api_order_status.go api_orders.go api_product_catalog.go -api_quote_to_order.go api_quotes.go api_renewals.go api_returns.go @@ -19,6 +19,20 @@ client.go configuration.go docs/AccesstokenAPI.md docs/AccesstokenResponse.md +docs/AsyncOrderCreateAPI.md +docs/AsyncOrderCreateDTO.md +docs/AsyncOrderCreateDTOAdditionalAttributesInner.md +docs/AsyncOrderCreateDTOEndUserInfo.md +docs/AsyncOrderCreateDTOLinesInner.md +docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md +docs/AsyncOrderCreateDTOResellerInfo.md +docs/AsyncOrderCreateDTOShipToInfo.md +docs/AsyncOrderCreateDTOShipmentDetails.md +docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md +docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md +docs/AsyncOrderCreateResponse.md docs/AvailabilityAsyncNotificationRequest.md docs/AvailabilityAsyncNotificationRequestResourceInner.md docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md @@ -135,8 +149,8 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md docs/OrdersAPI.md -docs/PostQuoteToOrderV6400Response.md -docs/PostQuoteToOrderV6400ResponseFieldsInner.md +docs/PostAsyncOrderCreateV7400Response.md +docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md docs/PostRenewalssearch400Response.md docs/PriceAndAvailabilityRequest.md docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md @@ -172,15 +186,6 @@ docs/QuoteDetailsResponseResellerInfo.md docs/QuoteSearchResponse.md docs/QuoteSearchResponseQuotesInner.md docs/QuoteSearchResponseQuotesInnerLinks.md -docs/QuoteToOrderAPI.md -docs/QuoteToOrderDetailsDTO.md -docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md -docs/QuoteToOrderDetailsDTOEndUserInfo.md -docs/QuoteToOrderDetailsDTOLinesInner.md -docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md -docs/QuoteToOrderDetailsDTOShipToInfo.md -docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md -docs/QuoteToOrderResponse.md docs/QuotesAPI.md docs/RenewalsAPI.md docs/RenewalsDetailsResponse.md @@ -213,11 +218,25 @@ docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md docs/StockUpdateAPI.md docs/ValidateQuoteResponse.md docs/ValidateQuoteResponseLinesInner.md +docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md git_push.sh go.mod go.sum model_accesstoken_response.go +model_async_order_create_dto.go +model_async_order_create_dto_additional_attributes_inner.go +model_async_order_create_dto_end_user_info.go +model_async_order_create_dto_lines_inner.go +model_async_order_create_dto_lines_inner_end_user_info_inner.go +model_async_order_create_dto_reseller_info.go +model_async_order_create_dto_ship_to_info.go +model_async_order_create_dto_shipment_details.go +model_async_order_create_dto_vmfadditional_attributes_inner.go +model_async_order_create_dto_warranty_info_inner.go +model_async_order_create_dto_warranty_info_inner_serial_info_inner.go +model_async_order_create_dto_warranty_info_inner_vmf_additional_attributes_lines_inner.go +model_async_order_create_response.go model_availability_async_notification_request.go model_availability_async_notification_request_resource_inner.go model_availability_async_notification_request_resource_inner_links_inner.go @@ -329,8 +348,8 @@ model_order_status_async_notification_request_resource_inner_lines_inner_serial_ model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go model_order_status_async_notification_request_resource_inner_links_inner.go -model_post_quote_to_order_v6_400_response.go -model_post_quote_to_order_v6_400_response_fields_inner.go +model_post_async_order_create_v7_400_response.go +model_post_async_order_create_v7_400_response_fields_inner.go model_post_renewalssearch_400_response.go model_price_and_availability_request.go model_price_and_availability_request_additional_attributes_inner.go @@ -365,14 +384,6 @@ model_quote_details_response_reseller_info.go model_quote_search_response.go model_quote_search_response_quotes_inner.go model_quote_search_response_quotes_inner_links.go -model_quote_to_order_details_dto.go -model_quote_to_order_details_dto_additional_attributes_inner.go -model_quote_to_order_details_dto_end_user_info.go -model_quote_to_order_details_dto_lines_inner.go -model_quote_to_order_details_dto_lines_inner_vmf_additional_attributes_lines_inner.go -model_quote_to_order_details_dto_ship_to_info.go -model_quote_to_order_details_dto_vmfadditional_attributes_inner.go -model_quote_to_order_response.go model_renewals_details_response.go model_renewals_details_response_additional_attributes_inner.go model_renewals_details_response_end_user_info.go @@ -401,16 +412,17 @@ model_returns_search_response_returns_claims_inner.go model_returns_search_response_returns_claims_inner_links_inner.go model_validate_quote_response.go model_validate_quote_response_lines_inner.go +model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.go model_validate_quote_response_vmf_additional_attributes_inner.go response.go test/api_accesstoken_test.go +test/api_async_order_create_test.go test/api_deals_test.go test/api_freight_estimate_test.go test/api_invoices_test.go test/api_order_status_test.go test/api_orders_test.go test/api_product_catalog_test.go -test/api_quote_to_order_test.go test/api_quotes_test.go test/api_renewals_test.go test/api_returns_test.go diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 8b23b8d..ba7f754 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.4.0 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..84e2962 --- /dev/null +++ b/LICENSE @@ -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 cd9922f..0d5ce41 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ # Go API client for xi_sdk_resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 1.0.0 - Package version: 1.0.0 +- Generator version: 7.4.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation @@ -79,6 +80,7 @@ All URIs are relative to *https://api.ingrammicro.com:443* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *AccesstokenAPI* | [**GetAccesstoken**](docs/AccesstokenAPI.md#getaccesstoken) | **Get** /oauth/oauth20/token | Accesstoken +*AsyncOrderCreateAPI* | [**PostAsyncOrderCreateV7**](docs/AsyncOrderCreateAPI.md#postasyncordercreatev7) | **Post** /resellers/v7/orders | Async Order Create *DealsAPI* | [**GetResellersV6Dealsdetails**](docs/DealsAPI.md#getresellersv6dealsdetails) | **Get** /resellers/v6/deals/{dealId} | Deals Details *DealsAPI* | [**GetResellersV6Dealssearch**](docs/DealsAPI.md#getresellersv6dealssearch) | **Get** /resellers/v6/deals/search | Deals Search *FreightEstimateAPI* | [**PostFreightestimate**](docs/FreightEstimateAPI.md#postfreightestimate) | **Post** /resellers/v6/freightestimate | Freight Estimate @@ -93,7 +95,6 @@ Class | Method | HTTP request | Description *ProductCatalogAPI* | [**GetResellerV6Productdetail**](docs/ProductCatalogAPI.md#getresellerv6productdetail) | **Get** /resellers/v6/catalog/details/{ingramPartNumber} | Product Details *ProductCatalogAPI* | [**GetResellerV6Productsearch**](docs/ProductCatalogAPI.md#getresellerv6productsearch) | **Get** /resellers/v6/catalog | Search Products *ProductCatalogAPI* | [**PostPriceandavailability**](docs/ProductCatalogAPI.md#postpriceandavailability) | **Post** /resellers/v6/catalog/priceandavailability | Price and Availability -*QuoteToOrderAPI* | [**PostQuoteToOrderV6**](docs/QuoteToOrderAPI.md#postquotetoorderv6) | **Post** /resellers/v6/q2o/orders | Quote To Order *QuotesAPI* | [**GetQuotessearchV6**](docs/QuotesAPI.md#getquotessearchv6) | **Get** /resellers/v6/quotes/search | Quote Search *QuotesAPI* | [**GetResellerV6ValidateQuote**](docs/QuotesAPI.md#getresellerv6validatequote) | **Get** /resellers/v6/q2o/validatequote | Validate Quote *QuotesAPI* | [**GetResellersV6Quotes**](docs/QuotesAPI.md#getresellersv6quotes) | **Get** /resellers/v6/quotes/{quoteNumber} | Get Quote Details @@ -108,6 +109,19 @@ Class | Method | HTTP request | Description ## Documentation For Models - [AccesstokenResponse](docs/AccesstokenResponse.md) + - [AsyncOrderCreateDTO](docs/AsyncOrderCreateDTO.md) + - [AsyncOrderCreateDTOAdditionalAttributesInner](docs/AsyncOrderCreateDTOAdditionalAttributesInner.md) + - [AsyncOrderCreateDTOEndUserInfo](docs/AsyncOrderCreateDTOEndUserInfo.md) + - [AsyncOrderCreateDTOLinesInner](docs/AsyncOrderCreateDTOLinesInner.md) + - [AsyncOrderCreateDTOLinesInnerEndUserInfoInner](docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md) + - [AsyncOrderCreateDTOResellerInfo](docs/AsyncOrderCreateDTOResellerInfo.md) + - [AsyncOrderCreateDTOShipToInfo](docs/AsyncOrderCreateDTOShipToInfo.md) + - [AsyncOrderCreateDTOShipmentDetails](docs/AsyncOrderCreateDTOShipmentDetails.md) + - [AsyncOrderCreateDTOVmfadditionalAttributesInner](docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md) + - [AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md) + - [AsyncOrderCreateResponse](docs/AsyncOrderCreateResponse.md) - [AvailabilityAsyncNotificationRequest](docs/AvailabilityAsyncNotificationRequest.md) - [AvailabilityAsyncNotificationRequestResourceInner](docs/AvailabilityAsyncNotificationRequestResourceInner.md) - [AvailabilityAsyncNotificationRequestResourceInnerLinksInner](docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md) @@ -219,8 +233,8 @@ Class | Method | HTTP request | Description - [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.md) - [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md) - [OrderStatusAsyncNotificationRequestResourceInnerLinksInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md) - - [PostQuoteToOrderV6400Response](docs/PostQuoteToOrderV6400Response.md) - - [PostQuoteToOrderV6400ResponseFieldsInner](docs/PostQuoteToOrderV6400ResponseFieldsInner.md) + - [PostAsyncOrderCreateV7400Response](docs/PostAsyncOrderCreateV7400Response.md) + - [PostAsyncOrderCreateV7400ResponseFieldsInner](docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md) - [PostRenewalssearch400Response](docs/PostRenewalssearch400Response.md) - [PriceAndAvailabilityRequest](docs/PriceAndAvailabilityRequest.md) - [PriceAndAvailabilityRequestAdditionalAttributesInner](docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md) @@ -255,14 +269,6 @@ Class | Method | HTTP request | Description - [QuoteSearchResponse](docs/QuoteSearchResponse.md) - [QuoteSearchResponseQuotesInner](docs/QuoteSearchResponseQuotesInner.md) - [QuoteSearchResponseQuotesInnerLinks](docs/QuoteSearchResponseQuotesInnerLinks.md) - - [QuoteToOrderDetailsDTO](docs/QuoteToOrderDetailsDTO.md) - - [QuoteToOrderDetailsDTOAdditionalAttributesInner](docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md) - - [QuoteToOrderDetailsDTOEndUserInfo](docs/QuoteToOrderDetailsDTOEndUserInfo.md) - - [QuoteToOrderDetailsDTOLinesInner](docs/QuoteToOrderDetailsDTOLinesInner.md) - - [QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner](docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) - - [QuoteToOrderDetailsDTOShipToInfo](docs/QuoteToOrderDetailsDTOShipToInfo.md) - - [QuoteToOrderDetailsDTOVmfadditionalAttributesInner](docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) - - [QuoteToOrderResponse](docs/QuoteToOrderResponse.md) - [RenewalsDetailsResponse](docs/RenewalsDetailsResponse.md) - [RenewalsDetailsResponseAdditionalAttributesInner](docs/RenewalsDetailsResponseAdditionalAttributesInner.md) - [RenewalsDetailsResponseEndUserInfo](docs/RenewalsDetailsResponseEndUserInfo.md) @@ -291,6 +297,7 @@ Class | Method | HTTP request | Description - [ReturnsSearchResponseReturnsClaimsInnerLinksInner](docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md) - [ValidateQuoteResponse](docs/ValidateQuoteResponse.md) - [ValidateQuoteResponseLinesInner](docs/ValidateQuoteResponseLinesInner.md) + - [ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner](docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) - [ValidateQuoteResponseVmfAdditionalAttributesInner](docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 7f4c50e..9f3661e 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: For Ingram Micro Resellers. Who are looking to Innovate with Ingram - Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks - to create a seamless experience for your customers. + description: "For resellers seeking to innovate with Ingram Micro's API solutions,\ + \ automate your eCommerce experience with our array of API's and webhooks to craft\ + \ a seamless journey for your customers." title: XI Sdk Resellers version: 1.0.0 servers: @@ -33,8 +33,12 @@ tags: \ not accessible through this API.\n \n*Host Production URL - https://api.ingrammicro.com:443/resellers/v6*\ \ " name: Quotes -- description: ' ' - name: Quote To Order +- description: | + This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. + + This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. + It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + name: AsyncOrderCreate - description: |2 The Ingram Micro Invoice v6 API endpoint provide real-time information for invoices. Users can: @@ -5643,33 +5647,15 @@ paths: summary: Validate Quote tags: - Quotes - /resellers/v6/q2o/orders: + /resellers/v7/orders: post: - description: "The “Quote to Order” (QTO) endpoint allows a customer to create\ - \ an order using the existing quote which is in “Ready to Order” status. A\ - \ customer can create an order using Configure to order (CTO) quote or a non-configure\ - \ to order (Non-CTO) quote. Upon successful submission of the order create\ - \ request, a confirmation message will be returned as an API response.
Ingram Micro offers webhooks as a method to send notifications to\ - \ Resellers once the order creation request is received. All the updates related\ - \ to Order creation will be pushed as a notification to the customer via a\ - \ pre-defined callback URL as an HTTP post.

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

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

\ - \ **How it works:**

- The customer validates the quote with a quote\ - \ number from Validate Quote endpoint.
- The customer copies all the\ - \ mandatory fields required by the vendor and adds them to the QTO request\ - \ body.
- The customer provides all the values for Vendor mandatory\ - \ fields along with other required information for QTO to create an order.\ - \
- After the order creation request receipt acknowledgment from the\ - \ QTO endpoint, all further order creation updates will be provided via webhook\ - \ push notification." - operationId: post-QuoteToOrder_v6 + description: | + This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. + + This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. + + It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. + operationId: post-AsyncOrderCreate_v7 parameters: - description: Your unique Ingram Micro customer number. explode: false @@ -5763,7 +5749,7 @@ paths: attributeValue: "" attributeDescription: "" schema: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO' + $ref: '#/components/schemas/AsyncOrderCreateDTO' required: true responses: "200": @@ -5779,7 +5765,7 @@ paths: \ under process.We will notify you of the status via the Order\ \ Status webhook." schema: - $ref: '#/components/schemas/QuoteToOrderResponse' + $ref: '#/components/schemas/AsyncOrderCreateResponse' description: Success "400": content: @@ -5797,7 +5783,7 @@ paths: message: Required field is missing value: null schema: - $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response' + $ref: '#/components/schemas/post_AsyncOrderCreate_v7_400_response' description: Bad Request "500": content: @@ -5817,9 +5803,9 @@ paths: security: - application: - read - summary: Quote To Order + summary: Async Order Create tags: - - Quote To Order + - AsyncOrderCreate /resellers/v6/invoices: get: description: Search your Ingram Micro invoices. This endpoint searches by multiple @@ -6843,6 +6829,25 @@ paths: example: "12345678" type: string style: form + - description: The number of records required in the call - max records 100 + per page. + explode: true + in: query + name: Size + required: false + schema: + format: int32 + type: integer + style: form + - description: The page number reference. + explode: true + in: query + name: Page + required: false + schema: + format: int32 + type: integer + style: form responses: "200": content: @@ -8099,65 +8104,198 @@ components: required: - customerOrderNumber type: object - QuoteToOrderDetailsDTO: - additionalProperties: false + AsyncOrderCreateDTO: example: + internalComments: internalComments + notes: notes endUserInfo: - phoneNumber: phoneNumber + endUserId: endUserId + contactId: contactId city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode - addressLine1: addressLine1 - addressLine2: addressLine2 - addressLine3: addressLine3 - state: state - email: email - shipToInfo: - city: city + phoneNumber: phoneNumber countryCode: countryCode - companyName: companyName contact: contact - postalCode: postalCode addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email - addressId: addressId + vendAuthNumber: vendAuthNumber billToAddressId: billToAddressId - enduserOrderNumber: enduserOrderNumber - lines: - - ingramPartNumber: ingramPartNumber + warrantyInfo: + - hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber - - ingramPartNumber: ingramPartNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate customerOrderNumber: customerOrderNumber vmfadditionalAttributes: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription quoteNumber: quoteNumber + specialBidNumber: specialBidNumber + shipToInfo: + shippingNotes: shippingNotes + city: city + companyName: companyName + postalCode: postalCode + addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + name2: name2 + name1: name1 + email: email + shipmentDetails: + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: requestedDeliveryDate + endcustomerOrderNumber: endcustomerOrderNumber + resellerInfo: + city: city + companyName: companyName + postalCode: postalCode + resellerId: resellerId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + email: email + acceptBackOrder: true + lines: + - ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber + - ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber additionalAttributes: - attributeValue: attributeValue attributeName: attributeName @@ -8175,11 +8313,14 @@ components: maxLength: 35 nullable: true type: string - enduserOrderNumber: + endcustomerOrderNumber: description: The end customer's order number for reference in their system. maxLength: 35 nullable: true type: string + notes: + description: Order header level notes. + type: string billToAddressId: description: Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many @@ -8187,26 +8328,54 @@ components: for credit. nullable: true type: string + specialBidNumber: + description: The bid number is provided to the reseller by the vendor for + special pricing and discounts. Line-level bid numbers take precedence + over header-level bid numbers. + type: string + internalComments: + description: need to replace with actual description + type: string + acceptBackOrder: + description: "ENUM [\"true\",\"false\"] - accept order if this item is backordered.\ + \ This field along with shipComplete field decides the value of backorderflag.\ + \ The value of this field is ignored when shipComplete field is present." + type: boolean + vendAuthNumber: + description: "Authorization number provided by vendor to Ingram's reseller.\ + \ Orders will be placed on hold without this value, vendor specific mandatory\ + \ field - please reach out Ingram Sales team for list of vendor for whom\ + \ this is mandatory." + type: string + resellerInfo: + $ref: '#/components/schemas/AsyncOrderCreateDTO_resellerInfo' endUserInfo: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo' + $ref: '#/components/schemas/AsyncOrderCreateDTO_endUserInfo' shipToInfo: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo' + $ref: '#/components/schemas/AsyncOrderCreateDTO_shipToInfo' + shipmentDetails: + $ref: '#/components/schemas/AsyncOrderCreateDTO_shipmentDetails' additionalAttributes: description: Additional order create attributes. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_additionalAttributes_inner' + $ref: '#/components/schemas/AsyncOrderCreateDTO_additionalAttributes_inner' type: array vmfadditionalAttributes: description: The object containing the list of fields required at a header level by the vendor. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner' + $ref: '#/components/schemas/AsyncOrderCreateDTO_vmfadditionalAttributes_inner' type: array lines: description: The object containing the lines that require vendor mandatory fields. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner' + $ref: '#/components/schemas/AsyncOrderCreateDTO_lines_inner' + type: array + warrantyInfo: + description: Warranty Information + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner' type: array type: object ValidateQuoteResponse: @@ -8229,7 +8398,7 @@ components: - attributeValue: attributeValue attributeName: attributeName attributeDescription: attributeDescription - quantity: "1" + quantity: 1 customerLineNumber: "11" - ingramPartNumber: YN6551 vmfAdditionalAttributesLines: @@ -8239,7 +8408,7 @@ components: - attributeValue: attributeValue attributeName: attributeName attributeDescription: attributeDescription - quantity: "1" + quantity: 1 customerLineNumber: "11" quoteType: 0 quoteNumber: QUO-14551943-D2Y9L9 @@ -9737,15 +9906,15 @@ components: totalTaxAmount: 6.027456183070403 distribution: - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -9754,15 +9923,15 @@ components: shipFromBranchNumber: shipFromBranchNumber transitDays: 9 - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -9772,16 +9941,16 @@ components: transitDays: 9 lines: - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber currencyCode: currencyCode properties: @@ -9870,15 +10039,15 @@ components: ean: ean terms: terms price: - quotePrice: 1 + quotePrice: 1.4658129805029452 totalVisibleReserveQuantity: 3 extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel vendorprice: 7.061401241503109 type: type - extendedMsrp: 5 + extendedMsrp: 5.637376656633329 discountOffList: discountOffList quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber @@ -9899,15 +10068,15 @@ components: ean: ean terms: terms price: - quotePrice: 1 + quotePrice: 1.4658129805029452 totalVisibleReserveQuantity: 3 extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel vendorprice: 7.061401241503109 type: type - extendedMsrp: 5 + extendedMsrp: 5.637376656633329 discountOffList: discountOffList quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber @@ -9931,13 +10100,13 @@ components: email: email marketSegment: marketSegment introPreamble: introPreamble - extendedMsrpTotal: 4 + extendedMsrpTotal: 4.145608029883936 lastModifiedDate: lastModifiedDate legalTerms: legalTerms specialBidExpirationDate: specialBidExpirationDate quoteNumber: quoteNumber revision: revision - extendedQuotePriceTotal: 1 + extendedQuotePriceTotal: 1.2315135367772556 customerNeed: customerNeed resellerInfo: phoneNumber: phoneNumber @@ -10055,14 +10224,16 @@ components: type: integer extendedMsrpTotal: description: Total extended MSRP for all products included in the quote - type: integer + format: decimal + type: number quantityTotal: description: Total quantity of all items in the quote. type: integer extendedQuotePriceTotal: description: Total amount of quoted price for all products in the quote including both solution products and suggested products. - type: integer + format: decimal + type: number totalQuoteAmount: type: string additionalAttributes: @@ -10398,7 +10569,7 @@ components: totals: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -10593,7 +10764,7 @@ components: $ref: '#/components/schemas/ErrorResponse_errors_inner' type: array type: object - QuoteToOrderResponse: + AsyncOrderCreateResponse: example: confirmationNumber: "987654322" message: message @@ -10808,10 +10979,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -10824,10 +10995,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -10839,6 +11010,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -11051,10 +11223,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -11067,10 +11239,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -11082,6 +11254,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -11435,7 +11608,7 @@ components: type: object type: array type: object - post_QuoteToOrder_v6_400_response_fields_inner: + post_AsyncOrderCreate_v7_400_response_fields_inner: example: field: field message: message @@ -11451,7 +11624,7 @@ components: description: Value of the message. type: string type: object - post_QuoteToOrder_v6_400_response: + post_AsyncOrderCreate_v7_400_response: example: traceid: traceid type: type @@ -11475,7 +11648,7 @@ components: type: string fields: items: - $ref: '#/components/schemas/post_QuoteToOrder_v6_400_response_fields_inner' + $ref: '#/components/schemas/post_AsyncOrderCreate_v7_400_response_fields_inner' type: array type: object post_renewalssearch_400_response: @@ -12085,80 +12258,164 @@ components: description: attributefield data type: string type: object - QuoteToOrderDetailsDTO_endUserInfo: - description: The contact information for the end user/customer provided by the - reseller. Used to determine pricing and discounts. + AsyncOrderCreateDTO_resellerInfo: + description: The address and contact information provided by the reseller. example: - phoneNumber: phoneNumber city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode + resellerId: resellerId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + addressLine4: addressLine4 email: email properties: + resellerId: + description: The reseller's Id. + type: string companyName: - description: The company name for the end user/customer. + description: The reseller's company name. type: string contact: - description: The contact name for the end user/customer. + description: The reseller's contact name. type: string addressLine1: - description: The address line 1 for the end user/customer. + description: The reseller's address line 1. type: string addressLine2: - description: The address line 2 for the end user/customer. + description: The reseller's address line 2. type: string addressLine3: - description: The address line 3 for the end user/customer. + description: The reseller's address line 3. + type: string + addressLine4: + description: The reseller's address line 4. type: string city: - description: The end user/customer's city. + description: The reseller's city. type: string state: - description: The end user/customer's state. + description: The reseller's state. type: string postalCode: - description: The end user/customer's zip or postal code. + description: The reseller'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. + description: The reseller's two-character ISO country code. type: string phoneNumber: - description: The end user/customer's phone number. + description: The reseller's phone number. + type: string + email: + description: The reseller's Email Address. type: string type: object - QuoteToOrderDetailsDTO_shipToInfo: - description: The shipping information provided by the reseller for order delivery. + AsyncOrderCreateDTO_endUserInfo: + description: The contact information for the end user/customer provided by the + reseller. Used to determine pricing and discounts. example: + endUserId: endUserId + contactId: contactId city: city - countryCode: countryCode companyName: companyName - contact: contact postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact addressLine1: addressLine1 addressLine2: addressLine2 addressLine3: addressLine3 state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 email: email + properties: + endUserId: + description: ID for the end user/customer in Ingram Micro's system. + type: string + endUserType: + description: End user type + type: string + companyName: + description: The company name for the end user/customer. + type: string + name1: + type: string + name2: + type: string + contactId: + description: The contact Id for the end user/customer. + type: string + addressLine1: + description: The address line 1 for the end user/customer. + type: string + addressLine2: + description: The address line 2 for the end user/customer. + type: string + addressLine3: + description: The address line 3 for the end user/customer. + type: string + contact: + description: The contact name for the end user/customer. + type: string + city: + description: The end user/customer's city. + type: string + state: + description: The end user/customer's state. + type: string + postalCode: + description: The end user/customer's zip or postal code. + type: string + addressLine4: + description: The address line 4 for the end user/customer. + type: string + countryCode: + description: The end user/customer's two character ISO country code. + type: string + phoneNumber: + description: The end user/customer's phone number. + type: string + email: + description: The end user/customer's phone number. + type: string + type: object + AsyncOrderCreateDTO_shipToInfo: + description: The shipping information provided by the reseller for order delivery. + example: + shippingNotes: shippingNotes + city: city + companyName: companyName + postalCode: postalCode addressId: addressId + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + addressLine4: addressLine4 + name2: name2 + name1: name1 + email: email properties: addressId: description: The company contact provided by the reseller. type: string - companyName: - description: The name of the company the order will be shipped to. - type: string contact: description: The contact name for the order will be shipped to. type: string + companyName: + description: The name of the company the order will be shipped to. + type: string addressLine1: description: The address line 1 the order will be shipped to. type: string @@ -12169,6 +12426,16 @@ components: description: The address line 3 the order will be shipped to. nullable: true type: string + addressLine4: + description: The address line 4 the order will be shipped to. + nullable: true + type: string + name1: + description: Need description + type: string + name2: + description: Need description + type: string city: description: The city the order will be shipped to. type: string @@ -12186,8 +12453,50 @@ components: description: The company contact email address. nullable: true type: string + shippingNotes: + description: Shipping Notes + type: string + phoneNumber: + description: Phone number for shipping + type: string type: object - QuoteToOrderDetailsDTO_additionalAttributes_inner: + AsyncOrderCreateDTO_shipmentDetails: + description: Shipping details for the order provided by the customer. + example: + shipComplete: shipComplete + freightAccountNumber: freightAccountNumber + shippingInstructions: shippingInstructions + carrierCode: carrierCode + signatureRequired: true + requestedDeliveryDate: requestedDeliveryDate + properties: + carrierCode: + description: The code for the shipping carrier for the line item. + type: string + requestedDeliveryDate: + description: The reseller-requested delivery date in UTC format. Delivery + date is not guaranteed. + type: string + shipComplete: + description: "Specifies whether the shipment will be shipped only when all\ + \ products are fulfilled. The value of this field along with acceptBackOrder\ + \ field decides the value of backorderflag. If this field is set, acceptBackOrder\ + \ field is ignored. Possible values for this field are true, C, P, E." + type: string + shippingInstructions: + description: Any special shipping instructions for the order. + type: string + freightAccountNumber: + description: The reseller 's shipping account number with carrier. Used + to bill the shipping carrier directly from the reseller's account with + the carrier. + type: string + signatureRequired: + description: Specifies whether a signature is required for delivery. Default + is False. + type: boolean + type: object + AsyncOrderCreateDTO_additionalAttributes_inner: example: attributeValue: attributeValue attributeName: attributeName @@ -12201,12 +12510,10 @@ components: attributeValue: description: The attribute field data. type: string - QuoteToOrderDetailsDTO_vmfadditionalAttributes_inner: - additionalProperties: false + AsyncOrderCreateDTO_vmfadditionalAttributes_inner: example: attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription properties: attributeName: description: The name of the header level field. @@ -12214,15 +12521,167 @@ components: attributeValue: description: The value of the header level field. type: string - attributeDescription: - description: The description of the header level field. + type: object + AsyncOrderCreateDTO_lines_inner_endUserInfo_inner: + example: + endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + properties: + endUserId: + description: ID for the end user/customer in Ingram Micro's system. + type: string + endUserType: + description: End user type + type: string + companyName: + description: The company name for the end user/customer. + type: string + name1: + type: string + name2: + type: string + contactId: + description: The contact Id for the end user/customer. + type: string + addressLine1: + description: The address line 1 for the end user/customer. + type: string + addressLine2: + description: The address line 2 for the end user/customer. + type: string + addressLine3: + description: The address line 3 for the end user/customer. + type: string + contact: + description: The contact name for the end user/customer. type: string + city: + description: The end user/customer's city. + type: string + state: + description: The end user/customer's state. + type: string + postalCode: + description: The end user/customer's zip or postal code. + type: string + addressLine4: + description: The address line 4 for the end user/customer. + type: string + countryCode: + description: The end user/customer's two character ISO country code. + type: string + phoneNumber: + description: The end user/customer's phone number. + type: string + email: + description: The end user/customer's phone number. + type: string + type: object + AsyncOrderCreateDTO_lines_inner: + example: + ingramPartNumber: ingramPartNumber + unitPrice: unitPrice + quantity: quantity + specialBidNumber: specialBidNumber + notes: notes + endUserInfo: + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + - endUserId: endUserId + contactId: contactId + city: city + companyName: companyName + postalCode: postalCode + phoneNumber: phoneNumber + countryCode: countryCode + contact: contact + addressLine1: addressLine1 + addressLine2: addressLine2 + addressLine3: addressLine3 + state: state + endUserType: endUserType + name2: name2 + addressLine4: addressLine4 + name1: name1 + email: email + endUserPrice: endUserPrice + customerLineNumber: customerLineNumber + properties: + customerLineNumber: + description: The reseller's line item number for reference in their system. + type: string + ingramPartNumber: + description: Unique IngramMicro part number. + type: string + quantity: + description: The quantity of the line item. + type: string + unitPrice: + description: Unit Price of Item + type: string + specialBidNumber: + type: string + endUserPrice: + type: string + notes: + type: string + endUserInfo: + description: The contact information for the end user/customer provided + by the reseller. Used to determine pricing and discounts. + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_lines_inner_endUserInfo_inner' + type: array type: object - QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner: + AsyncOrderCreateDTO_warrantyInfo_inner_serialInfo_inner: + example: + dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + properties: + dateOfPurchase: + type: string + shipDate: + type: string + primarySerialNumber: + type: string + secondarySerialNumber: + type: string + type: object + AsyncOrderCreateDTO_warrantyInfo_inner_vmfAdditionalAttributesLines_inner: example: attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription properties: attributeName: description: The name of the line level field. @@ -12230,37 +12689,42 @@ components: attributeValue: description: The value of the line level field. type: string - attributeDescription: - description: The description of the line level field. - type: string type: object - QuoteToOrderDetailsDTO_lines_inner: + AsyncOrderCreateDTO_warrantyInfo_inner: example: - ingramPartNumber: ingramPartNumber + hardwareLineLink: hardwareLineLink vmfAdditionalAttributesLines: - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - attributeValue: attributeValue attributeName: attributeName - attributeDescription: attributeDescription - quantity: quantity - customerLineNumber: customerLineNumber + warrantyLineLink: warrantyLineLink + directLineLink: directLineLink + serialInfo: + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate + - dateOfPurchase: dateOfPurchase + primarySerialNumber: primarySerialNumber + secondarySerialNumber: secondarySerialNumber + shipDate: shipDate properties: - customerLineNumber: - description: The reseller's line item number for reference in their system. + hardwareLineLink: type: string - ingramPartNumber: - description: Unique IngramMicro part number. + warrantyLineLink: type: string - quantity: - description: The quantity of the line item. + directLineLink: type: string + serialInfo: + items: + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner_serialInfo_inner' + type: array vmfAdditionalAttributesLines: description: The object containing the list of fields required at a line level by the vendor. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner' + $ref: '#/components/schemas/AsyncOrderCreateDTO_warrantyInfo_inner_vmfAdditionalAttributesLines_inner' type: array type: object ValidateQuoteResponse_vmfAdditionalAttributes_inner: @@ -12282,6 +12746,22 @@ components: example: Authorization Number type: string type: object + ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner: + example: + attributeValue: attributeValue + attributeName: attributeName + attributeDescription: attributeDescription + properties: + attributeName: + description: The name of the line level field. + type: string + attributeValue: + description: The value of the line level field. + type: string + attributeDescription: + description: The description of the line level field. + type: string + type: object ValidateQuoteResponse_lines_inner: example: ingramPartNumber: YN6551 @@ -12292,7 +12772,7 @@ components: - attributeValue: attributeValue attributeName: attributeName attributeDescription: attributeDescription - quantity: "1" + quantity: 1 customerLineNumber: "11" properties: customerLineNumber: @@ -12305,13 +12785,13 @@ components: type: string quantity: description: The quantity of the line item. - example: "1" - type: string + example: 1 + type: integer vmfAdditionalAttributesLines: description: The object containing the list of fields required at a line level by the vendor. items: - $ref: '#/components/schemas/QuoteToOrderDetailsDTO_lines_inner_vmfAdditionalAttributesLines_inner' + $ref: '#/components/schemas/ValidateQuoteResponse_lines_inner_vmfAdditionalAttributesLines_inner' type: array type: object OrderCreateResponse_shipToInfo: @@ -15008,10 +15488,10 @@ components: type: object freightResponse_freightEstimateResponse_distribution_inner_carrierList_inner: example: - daysInTransit: 2 + daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode properties: carrierCode: @@ -15025,24 +15505,23 @@ components: type: string estimatedFreightCharge: description: Estimated freight charge. - format: decimal - type: number + type: string daysInTransit: description: Number of transit days. - type: integer + type: string type: object freightResponse_freightEstimateResponse_distribution_inner: example: carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15079,10 +15558,10 @@ components: freightResponse_freightEstimateResponse_lines_inner: example: ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber properties: ingramPartNumber: @@ -15115,15 +15594,15 @@ components: totalTaxAmount: 6.027456183070403 distribution: - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15132,15 +15611,15 @@ components: shipFromBranchNumber: shipFromBranchNumber transitDays: 9 - carrierList: - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode - - daysInTransit: 2 + - daysInTransit: daysInTransit shipVia: shipVia carrierCode: carrierCode - estimatedFreightCharge: 3.616076749251911 + estimatedFreightCharge: estimatedFreightCharge carrierMode: carrierMode freightRate: 2.3021358869347655 shipVia: shipVia @@ -15150,16 +15629,16 @@ components: transitDays: 9 lines: - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber - ingramPartNumber: ingramPartNumber - unitPrice: 7.386281948385884 - quantity: 4 + unitPrice: 2.027123023002322 + quantity: 3 warehouseId: warehouseId - netAmount: 1.2315135367772556 + netAmount: 4.145608029883936 vendorPartNumber: vendorPartNumber currencyCode: currencyCode properties: @@ -15367,29 +15846,33 @@ components: type: object QuoteDetailsResponse_products_inner_price: example: - quotePrice: 1 + quotePrice: 1.4658129805029452 totalVisibleReserveQuantity: 3 extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel vendorprice: 7.061401241503109 type: type - extendedMsrp: 5 + extendedMsrp: 5.637376656633329 discountOffList: discountOffList properties: quotePrice: description: Ingram Micro quoted price specific to the reseller and quote. - type: integer + format: decimal + type: number msrp: description: Manufacturer Suggested Retail Price - type: integer + format: decimal + type: number extendedMsrp: description: Extended MSRP - Manufacturer Suggested Retail Price X Quantity - type: integer + format: decimal + type: number extendedQuotePrice: description: Extended reseller quoted price (cost to reseller) X Quantity - type: integer + format: decimal + type: number discountOffList: description: Discount off list percentage extended type: string @@ -15421,15 +15904,15 @@ components: ean: ean terms: terms price: - quotePrice: 1 + quotePrice: 1.4658129805029452 totalVisibleReserveQuantity: 3 extendedvendorprice: 9.301444243932576 - msrp: 5 - extendedQuotePrice: 2 + msrp: 5.962133916683182 + extendedQuotePrice: 2.3021358869347655 recurringPriceModel: recurringPriceModel vendorprice: 7.061401241503109 type: type - extendedMsrp: 5 + extendedMsrp: 5.637376656633329 discountOffList: discountOffList quoteProductGuid: quoteProductGuid vendorPartNumber: vendorPartNumber @@ -16212,7 +16695,7 @@ components: example: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -16232,7 +16715,7 @@ components: description: Total Tax amount. format: double type: number - invoicesAmountDue: + invoicedAmountDue: description: Total amount due for the invoice. format: double type: number @@ -16285,7 +16768,7 @@ components: totals: netInvoiceAmount: 1.4894159098541704 freightAmount: 4.965218492984954 - invoicesAmountDue: 1.1730742509559433 + invoicedAmountDue: 1.1730742509559433 discountAmount: 6.84685269835264 discountType: discountType totalTaxAmount: 7.457744773683766 @@ -16909,10 +17392,10 @@ components: type: string OrderDetailB2B_lines_inner_estimatedDates_inner_delivery: example: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -16928,17 +17411,17 @@ components: deliveryDescription: description: Delivery description. type: string - deliveredDate: + deliveryDate: description: Delivery date. type: string type: object OrderDetailB2B_lines_inner_estimatedDates_inner: example: delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17080,10 +17563,10 @@ components: ingramOrderLineNumber: ingramOrderLineNumber estimatedDates: - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17096,10 +17579,10 @@ components: shipDateType: shipDateType shipDescription: shipDescription - delivery: - deliveredDate: deliveredDate deliveryDescription: deliveryDescription deliveryDateType: deliveryDateType deliverySource: deliverySource + deliveryDate: deliveryDate deliveryDateRange: endDate: endDate startDate: startDate @@ -17111,6 +17594,7 @@ components: shipDate: shipDate shipDateType: shipDateType shipDescription: shipDescription + defaultCarrierName: FEDEX GROUND serviceContractInfo: subscriptions: renewalTerm: renewalTerm @@ -17385,6 +17869,9 @@ components: items: $ref: '#/components/schemas/OrderDetailB2B_lines_inner_multipleShipments_inner' type: array + defaultCarrierName: + example: FEDEX GROUND + type: string type: object OrderDetailB2B_miscellaneousCharges_inner: additionalProperties: false @@ -17433,12 +17920,14 @@ components: tokenUrl: https://api.ingrammicro.com:443/oauth/oauth30/token type: oauth2 x-tagGroups: +- name: Reseller API (Version 7) + tags: + - AyncOrderCreate - name: Reseller API (Version 6) tags: - Product Catalog - Orders - Quotes - - Quote To Order - Invoices - Renewals - Deals diff --git a/api_accesstoken.go b/api_accesstoken.go index 47ff4e1..a348d38 100644 --- a/api_accesstoken.go +++ b/api_accesstoken.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_quote_to_order.go b/api_async_order_create.go similarity index 59% rename from api_quote_to_order.go rename to api_async_order_create.go index 6b0472d..cab3422 100644 --- a/api_quote_to_order.go +++ b/api_async_order_create.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -19,83 +19,88 @@ import ( ) -// QuoteToOrderAPIService QuoteToOrderAPI service -type QuoteToOrderAPIService service +// AsyncOrderCreateAPIService AsyncOrderCreateAPI service +type AsyncOrderCreateAPIService service -type ApiPostQuoteToOrderV6Request struct { +type ApiPostAsyncOrderCreateV7Request struct { ctx context.Context - ApiService *QuoteToOrderAPIService + ApiService *AsyncOrderCreateAPIService iMCustomerNumber *string iMCountryCode *string iMCorrelationID *string - quoteToOrderDetailsDTO *QuoteToOrderDetailsDTO + asyncOrderCreateDTO *AsyncOrderCreateDTO iMSenderID *string } // Your unique Ingram Micro customer number. -func (r ApiPostQuoteToOrderV6Request) IMCustomerNumber(iMCustomerNumber string) ApiPostQuoteToOrderV6Request { +func (r ApiPostAsyncOrderCreateV7Request) IMCustomerNumber(iMCustomerNumber string) ApiPostAsyncOrderCreateV7Request { r.iMCustomerNumber = &iMCustomerNumber return r } // Two-character ISO country code. -func (r ApiPostQuoteToOrderV6Request) IMCountryCode(iMCountryCode string) ApiPostQuoteToOrderV6Request { +func (r ApiPostAsyncOrderCreateV7Request) IMCountryCode(iMCountryCode string) ApiPostAsyncOrderCreateV7Request { r.iMCountryCode = &iMCountryCode return r } // Unique transaction number to identify each transaction accross all the systems. -func (r ApiPostQuoteToOrderV6Request) IMCorrelationID(iMCorrelationID string) ApiPostQuoteToOrderV6Request { +func (r ApiPostAsyncOrderCreateV7Request) IMCorrelationID(iMCorrelationID string) ApiPostAsyncOrderCreateV7Request { r.iMCorrelationID = &iMCorrelationID return r } -func (r ApiPostQuoteToOrderV6Request) QuoteToOrderDetailsDTO(quoteToOrderDetailsDTO QuoteToOrderDetailsDTO) ApiPostQuoteToOrderV6Request { - r.quoteToOrderDetailsDTO = "eToOrderDetailsDTO +func (r ApiPostAsyncOrderCreateV7Request) AsyncOrderCreateDTO(asyncOrderCreateDTO AsyncOrderCreateDTO) ApiPostAsyncOrderCreateV7Request { + r.asyncOrderCreateDTO = &asyncOrderCreateDTO return r } // Unique value used to identify the sender of the transaction. -func (r ApiPostQuoteToOrderV6Request) IMSenderID(iMSenderID string) ApiPostQuoteToOrderV6Request { +func (r ApiPostAsyncOrderCreateV7Request) IMSenderID(iMSenderID string) ApiPostAsyncOrderCreateV7Request { r.iMSenderID = &iMSenderID return r } -func (r ApiPostQuoteToOrderV6Request) Execute() (*QuoteToOrderResponse, *http.Response, error) { - return r.ApiService.PostQuoteToOrderV6Execute(r) +func (r ApiPostAsyncOrderCreateV7Request) Execute() (*AsyncOrderCreateResponse, *http.Response, error) { + return r.ApiService.PostAsyncOrderCreateV7Execute(r) } /* -PostQuoteToOrderV6 Quote To Order +PostAsyncOrderCreateV7 Async Order Create + +This API will allow customers to perform both standard ordering and quote to order functionality via a single API enabling them to have a single endpoint to cater to all types of orders. + +This approach will standardize the ordering flow for customers where they will get the response for all orders on to their webhooks. + +It provides the much-awaited async ordering flow for Reseller API where large orders can also be placed via a single API with guaranteed delivery. -The “Quote to Order” (QTO) endpoint allows a customer to create an order using the existing quote which is in “Ready to Order” status. A customer can create an order using Configure to order (CTO) quote or a non-configure to order (Non-CTO) quote. Upon successful submission of the order create request, a confirmation message will be returned as an API response.

Ingram Micro offers webhooks as a method to send notifications to Resellers once the order creation request is received. All the updates related to Order creation will be pushed as a notification to the customer via a pre-defined callback URL as an HTTP post.

**Prerequisite:** Pre-defined callback URL

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

**How it works:**

- The customer validates the quote with a quote number from Validate Quote endpoint.
- The customer copies all the mandatory fields required by the vendor and adds them to the QTO request body.
- The customer provides all the values for Vendor mandatory fields along with other required information for QTO to create an order.
- After the order creation request receipt acknowledgment from the QTO endpoint, all further order creation updates will be provided via webhook push notification. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiPostQuoteToOrderV6Request + @return ApiPostAsyncOrderCreateV7Request */ -func (a *QuoteToOrderAPIService) PostQuoteToOrderV6(ctx context.Context) ApiPostQuoteToOrderV6Request { - return ApiPostQuoteToOrderV6Request{ +func (a *AsyncOrderCreateAPIService) PostAsyncOrderCreateV7(ctx context.Context) ApiPostAsyncOrderCreateV7Request { + return ApiPostAsyncOrderCreateV7Request{ ApiService: a, ctx: ctx, } } // Execute executes the request -// @return QuoteToOrderResponse -func (a *QuoteToOrderAPIService) PostQuoteToOrderV6Execute(r ApiPostQuoteToOrderV6Request) (*QuoteToOrderResponse, *http.Response, error) { +// @return AsyncOrderCreateResponse +func (a *AsyncOrderCreateAPIService) PostAsyncOrderCreateV7Execute(r ApiPostAsyncOrderCreateV7Request) (*AsyncOrderCreateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *QuoteToOrderResponse + localVarReturnValue *AsyncOrderCreateResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuoteToOrderAPIService.PostQuoteToOrderV6") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AsyncOrderCreateAPIService.PostAsyncOrderCreateV7") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/resellers/v6/q2o/orders" + localVarPath := localBasePath + "/resellers/v7/orders" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -121,8 +126,8 @@ func (a *QuoteToOrderAPIService) PostQuoteToOrderV6Execute(r ApiPostQuoteToOrder if strlen(*r.iMCorrelationID) > 32 { return localVarReturnValue, nil, reportError("iMCorrelationID must have less than 32 elements") } - if r.quoteToOrderDetailsDTO == nil { - return localVarReturnValue, nil, reportError("quoteToOrderDetailsDTO is required and must be specified") + if r.asyncOrderCreateDTO == nil { + return localVarReturnValue, nil, reportError("asyncOrderCreateDTO is required and must be specified") } // to determine the Content-Type header @@ -149,7 +154,7 @@ func (a *QuoteToOrderAPIService) PostQuoteToOrderV6Execute(r ApiPostQuoteToOrder } parameterAddToHeaderOrQuery(localVarHeaderParams, "IM-CorrelationID", r.iMCorrelationID, "") // body params - localVarPostBody = r.quoteToOrderDetailsDTO + localVarPostBody = r.asyncOrderCreateDTO req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -173,7 +178,7 @@ func (a *QuoteToOrderAPIService) PostQuoteToOrderV6Execute(r ApiPostQuoteToOrder error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v PostQuoteToOrderV6400Response + var v PostAsyncOrderCreateV7400Response err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() diff --git a/api_deals.go b/api_deals.go index 6e15a2c..b23a9d1 100644 --- a/api_deals.go +++ b/api_deals.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -230,6 +230,8 @@ type ApiGetResellersV6DealssearchRequest struct { endUser *string vendor *string dealId *string + size *int32 + page *int32 } // Your unique Ingram Micro customer number. @@ -274,6 +276,18 @@ func (r ApiGetResellersV6DealssearchRequest) DealId(dealId string) ApiGetReselle return r } +// The number of records required in the call - max records 100 per page. +func (r ApiGetResellersV6DealssearchRequest) Size(size int32) ApiGetResellersV6DealssearchRequest { + r.size = &size + return r +} + +// The page number reference. +func (r ApiGetResellersV6DealssearchRequest) Page(page int32) ApiGetResellersV6DealssearchRequest { + r.page = &page + return r +} + func (r ApiGetResellersV6DealssearchRequest) Execute() (*DealsSearchResponse, *http.Response, error) { return r.ApiService.GetResellersV6DealssearchExecute(r) } @@ -344,6 +358,12 @@ func (a *DealsAPIService) GetResellersV6DealssearchExecute(r ApiGetResellersV6De if r.dealId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "dealId", r.dealId, "") } + if r.size != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "Size", r.size, "") + } + if r.page != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "Page", r.page, "") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_freight_estimate.go b/api_freight_estimate.go index 63be246..6b38530 100644 --- a/api_freight_estimate.go +++ b/api_freight_estimate.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_invoices.go b/api_invoices.go index 3a94841..c5836ac 100644 --- a/api_invoices.go +++ b/api_invoices.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_order_status.go b/api_order_status.go index 81e1467..5124a10 100644 --- a/api_order_status.go +++ b/api_order_status.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_orders.go b/api_orders.go index 507ee4d..e95768d 100644 --- a/api_orders.go +++ b/api_orders.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_product_catalog.go b/api_product_catalog.go index 6f00f21..60771c9 100644 --- a/api_product_catalog.go +++ b/api_product_catalog.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_quotes.go b/api_quotes.go index 92e8c33..453fcdf 100644 --- a/api_quotes.go +++ b/api_quotes.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_renewals.go b/api_renewals.go index c387055..47a5580 100644 --- a/api_renewals.go +++ b/api_renewals.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_returns.go b/api_returns.go index 831a27b..3763d0e 100644 --- a/api_returns.go +++ b/api_returns.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/api_stock_update.go b/api_stock_update.go index e623951..cf80aae 100644 --- a/api_stock_update.go +++ b/api_stock_update.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/assets/images/Go-icon.png b/assets/images/Go-icon.png new file mode 100644 index 0000000..1f1dac2 Binary files /dev/null and b/assets/images/Go-icon.png differ diff --git a/assets/images/quickstart-code-client-info.png b/assets/images/quickstart-code-client-info.png new file mode 100644 index 0000000..a62ca77 Binary files /dev/null and b/assets/images/quickstart-code-client-info.png differ diff --git a/assets/images/quickstart-code-run.png b/assets/images/quickstart-code-run.png new file mode 100644 index 0000000..dfaac78 Binary files /dev/null and b/assets/images/quickstart-code-run.png differ diff --git a/assets/images/quickstart-initialize-mod.png b/assets/images/quickstart-initialize-mod.png new file mode 100644 index 0000000..dce38d6 Binary files /dev/null and b/assets/images/quickstart-initialize-mod.png differ diff --git a/assets/images/quickstart-install-package.png b/assets/images/quickstart-install-package.png new file mode 100644 index 0000000..2df44c1 Binary files /dev/null and b/assets/images/quickstart-install-package.png differ diff --git a/assets/images/quickstart-new-mod.png b/assets/images/quickstart-new-mod.png new file mode 100644 index 0000000..dce38d6 Binary files /dev/null and b/assets/images/quickstart-new-mod.png differ diff --git a/assets/images/quickstart-new-project.png b/assets/images/quickstart-new-project.png new file mode 100644 index 0000000..b303dd3 Binary files /dev/null and b/assets/images/quickstart-new-project.png differ diff --git a/client.go b/client.go index addbbfe..fb9c1fe 100644 --- a/client.go +++ b/client.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -52,6 +52,8 @@ type APIClient struct { AccesstokenAPI *AccesstokenAPIService + AsyncOrderCreateAPI *AsyncOrderCreateAPIService + DealsAPI *DealsAPIService FreightEstimateAPI *FreightEstimateAPIService @@ -64,8 +66,6 @@ type APIClient struct { ProductCatalogAPI *ProductCatalogAPIService - QuoteToOrderAPI *QuoteToOrderAPIService - QuotesAPI *QuotesAPIService RenewalsAPI *RenewalsAPIService @@ -92,13 +92,13 @@ func NewAPIClient(cfg *Configuration) *APIClient { // API Services c.AccesstokenAPI = (*AccesstokenAPIService)(&c.common) + c.AsyncOrderCreateAPI = (*AsyncOrderCreateAPIService)(&c.common) c.DealsAPI = (*DealsAPIService)(&c.common) c.FreightEstimateAPI = (*FreightEstimateAPIService)(&c.common) c.InvoicesAPI = (*InvoicesAPIService)(&c.common) c.OrderStatusAPI = (*OrderStatusAPIService)(&c.common) c.OrdersAPI = (*OrdersAPIService)(&c.common) c.ProductCatalogAPI = (*ProductCatalogAPIService)(&c.common) - c.QuoteToOrderAPI = (*QuoteToOrderAPIService)(&c.common) c.QuotesAPI = (*QuotesAPIService)(&c.common) c.RenewalsAPI = (*RenewalsAPIService)(&c.common) c.ReturnsAPI = (*ReturnsAPIService)(&c.common) diff --git a/configuration.go b/configuration.go index 225b282..770ea5f 100644 --- a/configuration.go +++ b/configuration.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/docs/QuoteToOrderAPI.md b/docs/AsyncOrderCreateAPI.md similarity index 57% rename from docs/QuoteToOrderAPI.md rename to docs/AsyncOrderCreateAPI.md index bf76e14..6d97eb5 100644 --- a/docs/QuoteToOrderAPI.md +++ b/docs/AsyncOrderCreateAPI.md @@ -1,18 +1,18 @@ -# \QuoteToOrderAPI +# \AsyncOrderCreateAPI All URIs are relative to *https://api.ingrammicro.com:443* Method | HTTP request | Description ------------- | ------------- | ------------- -[**PostQuoteToOrderV6**](QuoteToOrderAPI.md#PostQuoteToOrderV6) | **Post** /resellers/v6/q2o/orders | Quote To Order +[**PostAsyncOrderCreateV7**](AsyncOrderCreateAPI.md#PostAsyncOrderCreateV7) | **Post** /resellers/v7/orders | Async Order Create -## PostQuoteToOrderV6 +## PostAsyncOrderCreateV7 -> QuoteToOrderResponse PostQuoteToOrderV6(ctx).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).QuoteToOrderDetailsDTO(quoteToOrderDetailsDTO).IMSenderID(iMSenderID).Execute() +> AsyncOrderCreateResponse PostAsyncOrderCreateV7(ctx).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).AsyncOrderCreateDTO(asyncOrderCreateDTO).IMSenderID(iMSenderID).Execute() -Quote To Order +Async Order Create @@ -32,18 +32,18 @@ func main() { iMCustomerNumber := "20-222222" // string | Your unique Ingram Micro customer number. iMCountryCode := "US" // string | Two-character ISO country code. iMCorrelationID := "fbac82ba-cf0a-4bcf-fc03-0c5084" // string | Unique transaction number to identify each transaction accross all the systems. - quoteToOrderDetailsDTO := *openapiclient.NewQuoteToOrderDetailsDTO() // QuoteToOrderDetailsDTO | + asyncOrderCreateDTO := *openapiclient.NewAsyncOrderCreateDTO() // AsyncOrderCreateDTO | iMSenderID := "MyCompany" // string | Unique value used to identify the sender of the transaction. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.QuoteToOrderAPI.PostQuoteToOrderV6(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).QuoteToOrderDetailsDTO(quoteToOrderDetailsDTO).IMSenderID(iMSenderID).Execute() + resp, r, err := apiClient.AsyncOrderCreateAPI.PostAsyncOrderCreateV7(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).AsyncOrderCreateDTO(asyncOrderCreateDTO).IMSenderID(iMSenderID).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QuoteToOrderAPI.PostQuoteToOrderV6``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AsyncOrderCreateAPI.PostAsyncOrderCreateV7``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostQuoteToOrderV6`: QuoteToOrderResponse - fmt.Fprintf(os.Stdout, "Response from `QuoteToOrderAPI.PostQuoteToOrderV6`: %v\n", resp) + // response from `PostAsyncOrderCreateV7`: AsyncOrderCreateResponse + fmt.Fprintf(os.Stdout, "Response from `AsyncOrderCreateAPI.PostAsyncOrderCreateV7`: %v\n", resp) } ``` @@ -53,7 +53,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiPostQuoteToOrderV6Request struct via the builder pattern +Other parameters are passed through a pointer to a apiPostAsyncOrderCreateV7Request struct via the builder pattern Name | Type | Description | Notes @@ -61,12 +61,12 @@ Name | Type | Description | Notes **iMCustomerNumber** | **string** | Your unique Ingram Micro customer number. | **iMCountryCode** | **string** | Two-character ISO country code. | **iMCorrelationID** | **string** | Unique transaction number to identify each transaction accross all the systems. | - **quoteToOrderDetailsDTO** | [**QuoteToOrderDetailsDTO**](QuoteToOrderDetailsDTO.md) | | + **asyncOrderCreateDTO** | [**AsyncOrderCreateDTO**](AsyncOrderCreateDTO.md) | | **iMSenderID** | **string** | Unique value used to identify the sender of the transaction. | ### Return type -[**QuoteToOrderResponse**](QuoteToOrderResponse.md) +[**AsyncOrderCreateResponse**](AsyncOrderCreateResponse.md) ### Authorization diff --git a/docs/AsyncOrderCreateDTO.md b/docs/AsyncOrderCreateDTO.md new file mode 100644 index 0000000..be3ffbf --- /dev/null +++ b/docs/AsyncOrderCreateDTO.md @@ -0,0 +1,512 @@ +# AsyncOrderCreateDTO + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**QuoteNumber** | Pointer to **NullableString** | A unique identifier generated by Ingram Micro's CRM specific to each quote. | [optional] +**CustomerOrderNumber** | Pointer to **NullableString** | The reseller's order number for reference in their system. | [optional] +**EndcustomerOrderNumber** | Pointer to **NullableString** | The end customer's order number for reference in their system. | [optional] +**Notes** | Pointer to **string** | Order header level notes. | [optional] +**BillToAddressId** | Pointer to **NullableString** | 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** | Pointer to **string** | The bid number is provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. | [optional] +**InternalComments** | Pointer to **string** | need to replace with actual description | [optional] +**AcceptBackOrder** | Pointer to **bool** | ENUM [\"true\",\"false\"] - accept order if this item is backordered. This field along with shipComplete field decides the value of backorderflag. The value of this field is ignored when shipComplete field is present. | [optional] +**VendAuthNumber** | Pointer to **string** | Authorization number provided by vendor to Ingram's reseller. Orders will be placed on hold without this value, vendor specific mandatory field - please reach out Ingram Sales team for list of vendor for whom this is mandatory. | [optional] +**ResellerInfo** | Pointer to [**AsyncOrderCreateDTOResellerInfo**](AsyncOrderCreateDTOResellerInfo.md) | | [optional] +**EndUserInfo** | Pointer to [**AsyncOrderCreateDTOEndUserInfo**](AsyncOrderCreateDTOEndUserInfo.md) | | [optional] +**ShipToInfo** | Pointer to [**AsyncOrderCreateDTOShipToInfo**](AsyncOrderCreateDTOShipToInfo.md) | | [optional] +**ShipmentDetails** | Pointer to [**AsyncOrderCreateDTOShipmentDetails**](AsyncOrderCreateDTOShipmentDetails.md) | | [optional] +**AdditionalAttributes** | Pointer to [**[]AsyncOrderCreateDTOAdditionalAttributesInner**](AsyncOrderCreateDTOAdditionalAttributesInner.md) | Additional order create attributes. | [optional] +**VmfadditionalAttributes** | Pointer to [**[]AsyncOrderCreateDTOVmfadditionalAttributesInner**](AsyncOrderCreateDTOVmfadditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] +**Lines** | Pointer to [**[]AsyncOrderCreateDTOLinesInner**](AsyncOrderCreateDTOLinesInner.md) | The object containing the lines that require vendor mandatory fields. | [optional] +**WarrantyInfo** | Pointer to [**[]AsyncOrderCreateDTOWarrantyInfoInner**](AsyncOrderCreateDTOWarrantyInfoInner.md) | Warranty Information | [optional] + +## Methods + +### NewAsyncOrderCreateDTO + +`func NewAsyncOrderCreateDTO() *AsyncOrderCreateDTO` + +NewAsyncOrderCreateDTO instantiates a new AsyncOrderCreateDTO object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOWithDefaults + +`func NewAsyncOrderCreateDTOWithDefaults() *AsyncOrderCreateDTO` + +NewAsyncOrderCreateDTOWithDefaults instantiates a new AsyncOrderCreateDTO object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetQuoteNumber + +`func (o *AsyncOrderCreateDTO) GetQuoteNumber() string` + +GetQuoteNumber returns the QuoteNumber field if non-nil, zero value otherwise. + +### GetQuoteNumberOk + +`func (o *AsyncOrderCreateDTO) GetQuoteNumberOk() (*string, bool)` + +GetQuoteNumberOk returns a tuple with the QuoteNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuoteNumber + +`func (o *AsyncOrderCreateDTO) SetQuoteNumber(v string)` + +SetQuoteNumber sets QuoteNumber field to given value. + +### HasQuoteNumber + +`func (o *AsyncOrderCreateDTO) HasQuoteNumber() bool` + +HasQuoteNumber returns a boolean if a field has been set. + +### SetQuoteNumberNil + +`func (o *AsyncOrderCreateDTO) SetQuoteNumberNil(b bool)` + + SetQuoteNumberNil sets the value for QuoteNumber to be an explicit nil + +### UnsetQuoteNumber +`func (o *AsyncOrderCreateDTO) UnsetQuoteNumber()` + +UnsetQuoteNumber ensures that no value is present for QuoteNumber, not even an explicit nil +### GetCustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) GetCustomerOrderNumber() string` + +GetCustomerOrderNumber returns the CustomerOrderNumber field if non-nil, zero value otherwise. + +### GetCustomerOrderNumberOk + +`func (o *AsyncOrderCreateDTO) GetCustomerOrderNumberOk() (*string, bool)` + +GetCustomerOrderNumberOk returns a tuple with the CustomerOrderNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) SetCustomerOrderNumber(v string)` + +SetCustomerOrderNumber sets CustomerOrderNumber field to given value. + +### HasCustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) HasCustomerOrderNumber() bool` + +HasCustomerOrderNumber returns a boolean if a field has been set. + +### SetCustomerOrderNumberNil + +`func (o *AsyncOrderCreateDTO) SetCustomerOrderNumberNil(b bool)` + + SetCustomerOrderNumberNil sets the value for CustomerOrderNumber to be an explicit nil + +### UnsetCustomerOrderNumber +`func (o *AsyncOrderCreateDTO) UnsetCustomerOrderNumber()` + +UnsetCustomerOrderNumber ensures that no value is present for CustomerOrderNumber, not even an explicit nil +### GetEndcustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) GetEndcustomerOrderNumber() string` + +GetEndcustomerOrderNumber returns the EndcustomerOrderNumber field if non-nil, zero value otherwise. + +### GetEndcustomerOrderNumberOk + +`func (o *AsyncOrderCreateDTO) GetEndcustomerOrderNumberOk() (*string, bool)` + +GetEndcustomerOrderNumberOk returns a tuple with the EndcustomerOrderNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndcustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) SetEndcustomerOrderNumber(v string)` + +SetEndcustomerOrderNumber sets EndcustomerOrderNumber field to given value. + +### HasEndcustomerOrderNumber + +`func (o *AsyncOrderCreateDTO) HasEndcustomerOrderNumber() bool` + +HasEndcustomerOrderNumber returns a boolean if a field has been set. + +### SetEndcustomerOrderNumberNil + +`func (o *AsyncOrderCreateDTO) SetEndcustomerOrderNumberNil(b bool)` + + SetEndcustomerOrderNumberNil sets the value for EndcustomerOrderNumber to be an explicit nil + +### UnsetEndcustomerOrderNumber +`func (o *AsyncOrderCreateDTO) UnsetEndcustomerOrderNumber()` + +UnsetEndcustomerOrderNumber ensures that no value is present for EndcustomerOrderNumber, not even an explicit nil +### GetNotes + +`func (o *AsyncOrderCreateDTO) GetNotes() string` + +GetNotes returns the Notes field if non-nil, zero value otherwise. + +### GetNotesOk + +`func (o *AsyncOrderCreateDTO) GetNotesOk() (*string, bool)` + +GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotes + +`func (o *AsyncOrderCreateDTO) SetNotes(v string)` + +SetNotes sets Notes field to given value. + +### HasNotes + +`func (o *AsyncOrderCreateDTO) HasNotes() bool` + +HasNotes returns a boolean if a field has been set. + +### GetBillToAddressId + +`func (o *AsyncOrderCreateDTO) GetBillToAddressId() string` + +GetBillToAddressId returns the BillToAddressId field if non-nil, zero value otherwise. + +### GetBillToAddressIdOk + +`func (o *AsyncOrderCreateDTO) GetBillToAddressIdOk() (*string, bool)` + +GetBillToAddressIdOk returns a tuple with the BillToAddressId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBillToAddressId + +`func (o *AsyncOrderCreateDTO) SetBillToAddressId(v string)` + +SetBillToAddressId sets BillToAddressId field to given value. + +### HasBillToAddressId + +`func (o *AsyncOrderCreateDTO) HasBillToAddressId() bool` + +HasBillToAddressId returns a boolean if a field has been set. + +### SetBillToAddressIdNil + +`func (o *AsyncOrderCreateDTO) SetBillToAddressIdNil(b bool)` + + SetBillToAddressIdNil sets the value for BillToAddressId to be an explicit nil + +### UnsetBillToAddressId +`func (o *AsyncOrderCreateDTO) UnsetBillToAddressId()` + +UnsetBillToAddressId ensures that no value is present for BillToAddressId, not even an explicit nil +### GetSpecialBidNumber + +`func (o *AsyncOrderCreateDTO) GetSpecialBidNumber() string` + +GetSpecialBidNumber returns the SpecialBidNumber field if non-nil, zero value otherwise. + +### GetSpecialBidNumberOk + +`func (o *AsyncOrderCreateDTO) GetSpecialBidNumberOk() (*string, bool)` + +GetSpecialBidNumberOk returns a tuple with the SpecialBidNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpecialBidNumber + +`func (o *AsyncOrderCreateDTO) SetSpecialBidNumber(v string)` + +SetSpecialBidNumber sets SpecialBidNumber field to given value. + +### HasSpecialBidNumber + +`func (o *AsyncOrderCreateDTO) HasSpecialBidNumber() bool` + +HasSpecialBidNumber returns a boolean if a field has been set. + +### GetInternalComments + +`func (o *AsyncOrderCreateDTO) GetInternalComments() string` + +GetInternalComments returns the InternalComments field if non-nil, zero value otherwise. + +### GetInternalCommentsOk + +`func (o *AsyncOrderCreateDTO) GetInternalCommentsOk() (*string, bool)` + +GetInternalCommentsOk returns a tuple with the InternalComments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInternalComments + +`func (o *AsyncOrderCreateDTO) SetInternalComments(v string)` + +SetInternalComments sets InternalComments field to given value. + +### HasInternalComments + +`func (o *AsyncOrderCreateDTO) HasInternalComments() bool` + +HasInternalComments returns a boolean if a field has been set. + +### GetAcceptBackOrder + +`func (o *AsyncOrderCreateDTO) GetAcceptBackOrder() bool` + +GetAcceptBackOrder returns the AcceptBackOrder field if non-nil, zero value otherwise. + +### GetAcceptBackOrderOk + +`func (o *AsyncOrderCreateDTO) GetAcceptBackOrderOk() (*bool, bool)` + +GetAcceptBackOrderOk returns a tuple with the AcceptBackOrder field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAcceptBackOrder + +`func (o *AsyncOrderCreateDTO) SetAcceptBackOrder(v bool)` + +SetAcceptBackOrder sets AcceptBackOrder field to given value. + +### HasAcceptBackOrder + +`func (o *AsyncOrderCreateDTO) HasAcceptBackOrder() bool` + +HasAcceptBackOrder returns a boolean if a field has been set. + +### GetVendAuthNumber + +`func (o *AsyncOrderCreateDTO) GetVendAuthNumber() string` + +GetVendAuthNumber returns the VendAuthNumber field if non-nil, zero value otherwise. + +### GetVendAuthNumberOk + +`func (o *AsyncOrderCreateDTO) GetVendAuthNumberOk() (*string, bool)` + +GetVendAuthNumberOk returns a tuple with the VendAuthNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVendAuthNumber + +`func (o *AsyncOrderCreateDTO) SetVendAuthNumber(v string)` + +SetVendAuthNumber sets VendAuthNumber field to given value. + +### HasVendAuthNumber + +`func (o *AsyncOrderCreateDTO) HasVendAuthNumber() bool` + +HasVendAuthNumber returns a boolean if a field has been set. + +### GetResellerInfo + +`func (o *AsyncOrderCreateDTO) GetResellerInfo() AsyncOrderCreateDTOResellerInfo` + +GetResellerInfo returns the ResellerInfo field if non-nil, zero value otherwise. + +### GetResellerInfoOk + +`func (o *AsyncOrderCreateDTO) GetResellerInfoOk() (*AsyncOrderCreateDTOResellerInfo, bool)` + +GetResellerInfoOk returns a tuple with the ResellerInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResellerInfo + +`func (o *AsyncOrderCreateDTO) SetResellerInfo(v AsyncOrderCreateDTOResellerInfo)` + +SetResellerInfo sets ResellerInfo field to given value. + +### HasResellerInfo + +`func (o *AsyncOrderCreateDTO) HasResellerInfo() bool` + +HasResellerInfo returns a boolean if a field has been set. + +### GetEndUserInfo + +`func (o *AsyncOrderCreateDTO) GetEndUserInfo() AsyncOrderCreateDTOEndUserInfo` + +GetEndUserInfo returns the EndUserInfo field if non-nil, zero value otherwise. + +### GetEndUserInfoOk + +`func (o *AsyncOrderCreateDTO) GetEndUserInfoOk() (*AsyncOrderCreateDTOEndUserInfo, bool)` + +GetEndUserInfoOk returns a tuple with the EndUserInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserInfo + +`func (o *AsyncOrderCreateDTO) SetEndUserInfo(v AsyncOrderCreateDTOEndUserInfo)` + +SetEndUserInfo sets EndUserInfo field to given value. + +### HasEndUserInfo + +`func (o *AsyncOrderCreateDTO) HasEndUserInfo() bool` + +HasEndUserInfo returns a boolean if a field has been set. + +### GetShipToInfo + +`func (o *AsyncOrderCreateDTO) GetShipToInfo() AsyncOrderCreateDTOShipToInfo` + +GetShipToInfo returns the ShipToInfo field if non-nil, zero value otherwise. + +### GetShipToInfoOk + +`func (o *AsyncOrderCreateDTO) GetShipToInfoOk() (*AsyncOrderCreateDTOShipToInfo, bool)` + +GetShipToInfoOk returns a tuple with the ShipToInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShipToInfo + +`func (o *AsyncOrderCreateDTO) SetShipToInfo(v AsyncOrderCreateDTOShipToInfo)` + +SetShipToInfo sets ShipToInfo field to given value. + +### HasShipToInfo + +`func (o *AsyncOrderCreateDTO) HasShipToInfo() bool` + +HasShipToInfo returns a boolean if a field has been set. + +### GetShipmentDetails + +`func (o *AsyncOrderCreateDTO) GetShipmentDetails() AsyncOrderCreateDTOShipmentDetails` + +GetShipmentDetails returns the ShipmentDetails field if non-nil, zero value otherwise. + +### GetShipmentDetailsOk + +`func (o *AsyncOrderCreateDTO) GetShipmentDetailsOk() (*AsyncOrderCreateDTOShipmentDetails, bool)` + +GetShipmentDetailsOk returns a tuple with the ShipmentDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShipmentDetails + +`func (o *AsyncOrderCreateDTO) SetShipmentDetails(v AsyncOrderCreateDTOShipmentDetails)` + +SetShipmentDetails sets ShipmentDetails field to given value. + +### HasShipmentDetails + +`func (o *AsyncOrderCreateDTO) HasShipmentDetails() bool` + +HasShipmentDetails returns a boolean if a field has been set. + +### GetAdditionalAttributes + +`func (o *AsyncOrderCreateDTO) GetAdditionalAttributes() []AsyncOrderCreateDTOAdditionalAttributesInner` + +GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise. + +### GetAdditionalAttributesOk + +`func (o *AsyncOrderCreateDTO) GetAdditionalAttributesOk() (*[]AsyncOrderCreateDTOAdditionalAttributesInner, bool)` + +GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdditionalAttributes + +`func (o *AsyncOrderCreateDTO) SetAdditionalAttributes(v []AsyncOrderCreateDTOAdditionalAttributesInner)` + +SetAdditionalAttributes sets AdditionalAttributes field to given value. + +### HasAdditionalAttributes + +`func (o *AsyncOrderCreateDTO) HasAdditionalAttributes() bool` + +HasAdditionalAttributes returns a boolean if a field has been set. + +### GetVmfadditionalAttributes + +`func (o *AsyncOrderCreateDTO) GetVmfadditionalAttributes() []AsyncOrderCreateDTOVmfadditionalAttributesInner` + +GetVmfadditionalAttributes returns the VmfadditionalAttributes field if non-nil, zero value otherwise. + +### GetVmfadditionalAttributesOk + +`func (o *AsyncOrderCreateDTO) GetVmfadditionalAttributesOk() (*[]AsyncOrderCreateDTOVmfadditionalAttributesInner, bool)` + +GetVmfadditionalAttributesOk returns a tuple with the VmfadditionalAttributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVmfadditionalAttributes + +`func (o *AsyncOrderCreateDTO) SetVmfadditionalAttributes(v []AsyncOrderCreateDTOVmfadditionalAttributesInner)` + +SetVmfadditionalAttributes sets VmfadditionalAttributes field to given value. + +### HasVmfadditionalAttributes + +`func (o *AsyncOrderCreateDTO) HasVmfadditionalAttributes() bool` + +HasVmfadditionalAttributes returns a boolean if a field has been set. + +### GetLines + +`func (o *AsyncOrderCreateDTO) GetLines() []AsyncOrderCreateDTOLinesInner` + +GetLines returns the Lines field if non-nil, zero value otherwise. + +### GetLinesOk + +`func (o *AsyncOrderCreateDTO) GetLinesOk() (*[]AsyncOrderCreateDTOLinesInner, bool)` + +GetLinesOk returns a tuple with the Lines field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLines + +`func (o *AsyncOrderCreateDTO) SetLines(v []AsyncOrderCreateDTOLinesInner)` + +SetLines sets Lines field to given value. + +### HasLines + +`func (o *AsyncOrderCreateDTO) HasLines() bool` + +HasLines returns a boolean if a field has been set. + +### GetWarrantyInfo + +`func (o *AsyncOrderCreateDTO) GetWarrantyInfo() []AsyncOrderCreateDTOWarrantyInfoInner` + +GetWarrantyInfo returns the WarrantyInfo field if non-nil, zero value otherwise. + +### GetWarrantyInfoOk + +`func (o *AsyncOrderCreateDTO) GetWarrantyInfoOk() (*[]AsyncOrderCreateDTOWarrantyInfoInner, bool)` + +GetWarrantyInfoOk returns a tuple with the WarrantyInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWarrantyInfo + +`func (o *AsyncOrderCreateDTO) SetWarrantyInfo(v []AsyncOrderCreateDTOWarrantyInfoInner)` + +SetWarrantyInfo sets WarrantyInfo field to given value. + +### HasWarrantyInfo + +`func (o *AsyncOrderCreateDTO) HasWarrantyInfo() bool` + +HasWarrantyInfo returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md b/docs/AsyncOrderCreateDTOAdditionalAttributesInner.md similarity index 58% rename from docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md rename to docs/AsyncOrderCreateDTOAdditionalAttributesInner.md index df8b873..9e71e70 100644 --- a/docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md +++ b/docs/AsyncOrderCreateDTOAdditionalAttributesInner.md @@ -1,4 +1,4 @@ -# QuoteToOrderDetailsDTOAdditionalAttributesInner +# AsyncOrderCreateDTOAdditionalAttributesInner ## Properties @@ -9,70 +9,70 @@ Name | Type | Description | Notes ## Methods -### NewQuoteToOrderDetailsDTOAdditionalAttributesInner +### NewAsyncOrderCreateDTOAdditionalAttributesInner -`func NewQuoteToOrderDetailsDTOAdditionalAttributesInner() *QuoteToOrderDetailsDTOAdditionalAttributesInner` +`func NewAsyncOrderCreateDTOAdditionalAttributesInner() *AsyncOrderCreateDTOAdditionalAttributesInner` -NewQuoteToOrderDetailsDTOAdditionalAttributesInner instantiates a new QuoteToOrderDetailsDTOAdditionalAttributesInner object +NewAsyncOrderCreateDTOAdditionalAttributesInner instantiates a new AsyncOrderCreateDTOAdditionalAttributesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewQuoteToOrderDetailsDTOAdditionalAttributesInnerWithDefaults +### NewAsyncOrderCreateDTOAdditionalAttributesInnerWithDefaults -`func NewQuoteToOrderDetailsDTOAdditionalAttributesInnerWithDefaults() *QuoteToOrderDetailsDTOAdditionalAttributesInner` +`func NewAsyncOrderCreateDTOAdditionalAttributesInnerWithDefaults() *AsyncOrderCreateDTOAdditionalAttributesInner` -NewQuoteToOrderDetailsDTOAdditionalAttributesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOAdditionalAttributesInner object +NewAsyncOrderCreateDTOAdditionalAttributesInnerWithDefaults instantiates a new AsyncOrderCreateDTOAdditionalAttributesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetAttributeName -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeName() string` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeName() string` GetAttributeName returns the AttributeName field if non-nil, zero value otherwise. ### GetAttributeNameOk -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeNameOk() (*string, bool)` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeNameOk() (*string, bool)` GetAttributeNameOk returns a tuple with the AttributeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeName -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) SetAttributeName(v string)` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) SetAttributeName(v string)` SetAttributeName sets AttributeName field to given value. ### HasAttributeName -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeName() bool` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) HasAttributeName() bool` HasAttributeName returns a boolean if a field has been set. ### GetAttributeValue -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValue() string` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeValue() string` GetAttributeValue returns the AttributeValue field if non-nil, zero value otherwise. ### GetAttributeValueOk -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValueOk() (*string, bool)` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeValueOk() (*string, bool)` GetAttributeValueOk returns a tuple with the AttributeValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeValue -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) SetAttributeValue(v string)` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) SetAttributeValue(v string)` SetAttributeValue sets AttributeValue field to given value. ### HasAttributeValue -`func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeValue() bool` +`func (o *AsyncOrderCreateDTOAdditionalAttributesInner) HasAttributeValue() bool` HasAttributeValue returns a boolean if a field has been set. diff --git a/docs/AsyncOrderCreateDTOEndUserInfo.md b/docs/AsyncOrderCreateDTOEndUserInfo.md new file mode 100644 index 0000000..239d13f --- /dev/null +++ b/docs/AsyncOrderCreateDTOEndUserInfo.md @@ -0,0 +1,472 @@ +# AsyncOrderCreateDTOEndUserInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EndUserId** | Pointer to **string** | ID for the end user/customer in Ingram Micro's system. | [optional] +**EndUserType** | Pointer to **string** | End user type | [optional] +**CompanyName** | Pointer to **string** | The company name for the end user/customer. | [optional] +**Name1** | Pointer to **string** | | [optional] +**Name2** | Pointer to **string** | | [optional] +**ContactId** | Pointer to **string** | The contact Id for the end user/customer. | [optional] +**AddressLine1** | Pointer to **string** | The address line 1 for the end user/customer. | [optional] +**AddressLine2** | Pointer to **string** | The address line 2 for the end user/customer. | [optional] +**AddressLine3** | Pointer to **string** | The address line 3 for the end user/customer. | [optional] +**Contact** | Pointer to **string** | The contact name for the end user/customer. | [optional] +**City** | Pointer to **string** | The end user/customer's city. | [optional] +**State** | Pointer to **string** | The end user/customer's state. | [optional] +**PostalCode** | Pointer to **string** | The end user/customer's zip or postal code. | [optional] +**AddressLine4** | Pointer to **string** | The address line 4 for the end user/customer. | [optional] +**CountryCode** | Pointer to **string** | The end user/customer's two character ISO country code. | [optional] +**PhoneNumber** | Pointer to **string** | The end user/customer's phone number. | [optional] +**Email** | Pointer to **string** | The end user/customer's phone number. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOEndUserInfo + +`func NewAsyncOrderCreateDTOEndUserInfo() *AsyncOrderCreateDTOEndUserInfo` + +NewAsyncOrderCreateDTOEndUserInfo instantiates a new AsyncOrderCreateDTOEndUserInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOEndUserInfoWithDefaults + +`func NewAsyncOrderCreateDTOEndUserInfoWithDefaults() *AsyncOrderCreateDTOEndUserInfo` + +NewAsyncOrderCreateDTOEndUserInfoWithDefaults instantiates a new AsyncOrderCreateDTOEndUserInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEndUserId + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserId() string` + +GetEndUserId returns the EndUserId field if non-nil, zero value otherwise. + +### GetEndUserIdOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserIdOk() (*string, bool)` + +GetEndUserIdOk returns a tuple with the EndUserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserId + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetEndUserId(v string)` + +SetEndUserId sets EndUserId field to given value. + +### HasEndUserId + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasEndUserId() bool` + +HasEndUserId returns a boolean if a field has been set. + +### GetEndUserType + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserType() string` + +GetEndUserType returns the EndUserType field if non-nil, zero value otherwise. + +### GetEndUserTypeOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserTypeOk() (*string, bool)` + +GetEndUserTypeOk returns a tuple with the EndUserType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserType + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetEndUserType(v string)` + +SetEndUserType sets EndUserType field to given value. + +### HasEndUserType + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasEndUserType() bool` + +HasEndUserType returns a boolean if a field has been set. + +### GetCompanyName + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCompanyName() string` + +GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. + +### GetCompanyNameOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCompanyNameOk() (*string, bool)` + +GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompanyName + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetCompanyName(v string)` + +SetCompanyName sets CompanyName field to given value. + +### HasCompanyName + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasCompanyName() bool` + +HasCompanyName returns a boolean if a field has been set. + +### GetName1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetName1() string` + +GetName1 returns the Name1 field if non-nil, zero value otherwise. + +### GetName1Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetName1Ok() (*string, bool)` + +GetName1Ok returns a tuple with the Name1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetName1(v string)` + +SetName1 sets Name1 field to given value. + +### HasName1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasName1() bool` + +HasName1 returns a boolean if a field has been set. + +### GetName2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetName2() string` + +GetName2 returns the Name2 field if non-nil, zero value otherwise. + +### GetName2Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetName2Ok() (*string, bool)` + +GetName2Ok returns a tuple with the Name2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetName2(v string)` + +SetName2 sets Name2 field to given value. + +### HasName2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasName2() bool` + +HasName2 returns a boolean if a field has been set. + +### GetContactId + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetContactId() string` + +GetContactId returns the ContactId field if non-nil, zero value otherwise. + +### GetContactIdOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetContactIdOk() (*string, bool)` + +GetContactIdOk returns a tuple with the ContactId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContactId + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetContactId(v string)` + +SetContactId sets ContactId field to given value. + +### HasContactId + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasContactId() bool` + +HasContactId returns a boolean if a field has been set. + +### GetAddressLine1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine1() string` + +GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. + +### GetAddressLine1Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine1Ok() (*string, bool)` + +GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine1(v string)` + +SetAddressLine1 sets AddressLine1 field to given value. + +### HasAddressLine1 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine1() bool` + +HasAddressLine1 returns a boolean if a field has been set. + +### GetAddressLine2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine2() string` + +GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. + +### GetAddressLine2Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine2Ok() (*string, bool)` + +GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine2(v string)` + +SetAddressLine2 sets AddressLine2 field to given value. + +### HasAddressLine2 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine2() bool` + +HasAddressLine2 returns a boolean if a field has been set. + +### GetAddressLine3 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine3() string` + +GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. + +### GetAddressLine3Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine3Ok() (*string, bool)` + +GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine3 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine3(v string)` + +SetAddressLine3 sets AddressLine3 field to given value. + +### HasAddressLine3 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine3() bool` + +HasAddressLine3 returns a boolean if a field has been set. + +### GetContact + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetContact() string` + +GetContact returns the Contact field if non-nil, zero value otherwise. + +### GetContactOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetContactOk() (*string, bool)` + +GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContact + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetContact(v string)` + +SetContact sets Contact field to given value. + +### HasContact + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasContact() bool` + +HasContact returns a boolean if a field has been set. + +### GetCity + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCity() string` + +GetCity returns the City field if non-nil, zero value otherwise. + +### GetCityOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCityOk() (*string, bool)` + +GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCity + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetCity(v string)` + +SetCity sets City field to given value. + +### HasCity + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasCity() bool` + +HasCity returns a boolean if a field has been set. + +### GetState + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetPostalCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetPostalCode() string` + +GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. + +### GetPostalCodeOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetPostalCodeOk() (*string, bool)` + +GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPostalCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetPostalCode(v string)` + +SetPostalCode sets PostalCode field to given value. + +### HasPostalCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasPostalCode() bool` + +HasPostalCode returns a boolean if a field has been set. + +### GetAddressLine4 + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine4() string` + +GetAddressLine4 returns the AddressLine4 field if non-nil, zero value otherwise. + +### GetAddressLine4Ok + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine4Ok() (*string, bool)` + +GetAddressLine4Ok returns a tuple with the AddressLine4 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine4 + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine4(v string)` + +SetAddressLine4 sets AddressLine4 field to given value. + +### HasAddressLine4 + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine4() bool` + +HasAddressLine4 returns a boolean if a field has been set. + +### GetCountryCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCountryCode() string` + +GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. + +### GetCountryCodeOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetCountryCodeOk() (*string, bool)` + +GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountryCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetCountryCode(v string)` + +SetCountryCode sets CountryCode field to given value. + +### HasCountryCode + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasCountryCode() bool` + +HasCountryCode returns a boolean if a field has been set. + +### GetPhoneNumber + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetPhoneNumber() string` + +GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. + +### GetPhoneNumberOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetPhoneNumberOk() (*string, bool)` + +GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhoneNumber + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetPhoneNumber(v string)` + +SetPhoneNumber sets PhoneNumber field to given value. + +### HasPhoneNumber + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasPhoneNumber() bool` + +HasPhoneNumber returns a boolean if a field has been set. + +### GetEmail + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *AsyncOrderCreateDTOEndUserInfo) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *AsyncOrderCreateDTOEndUserInfo) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *AsyncOrderCreateDTOEndUserInfo) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOLinesInner.md b/docs/AsyncOrderCreateDTOLinesInner.md new file mode 100644 index 0000000..6769109 --- /dev/null +++ b/docs/AsyncOrderCreateDTOLinesInner.md @@ -0,0 +1,238 @@ +# AsyncOrderCreateDTOLinesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CustomerLineNumber** | Pointer to **string** | The reseller's line item number for reference in their system. | [optional] +**IngramPartNumber** | Pointer to **string** | Unique IngramMicro part number. | [optional] +**Quantity** | Pointer to **string** | The quantity of the line item. | [optional] +**UnitPrice** | Pointer to **string** | Unit Price of Item | [optional] +**SpecialBidNumber** | Pointer to **string** | | [optional] +**EndUserPrice** | Pointer to **string** | | [optional] +**Notes** | Pointer to **string** | | [optional] +**EndUserInfo** | Pointer to [**[]AsyncOrderCreateDTOLinesInnerEndUserInfoInner**](AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md) | The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOLinesInner + +`func NewAsyncOrderCreateDTOLinesInner() *AsyncOrderCreateDTOLinesInner` + +NewAsyncOrderCreateDTOLinesInner instantiates a new AsyncOrderCreateDTOLinesInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOLinesInnerWithDefaults + +`func NewAsyncOrderCreateDTOLinesInnerWithDefaults() *AsyncOrderCreateDTOLinesInner` + +NewAsyncOrderCreateDTOLinesInnerWithDefaults instantiates a new AsyncOrderCreateDTOLinesInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCustomerLineNumber + +`func (o *AsyncOrderCreateDTOLinesInner) GetCustomerLineNumber() string` + +GetCustomerLineNumber returns the CustomerLineNumber field if non-nil, zero value otherwise. + +### GetCustomerLineNumberOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetCustomerLineNumberOk() (*string, bool)` + +GetCustomerLineNumberOk returns a tuple with the CustomerLineNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomerLineNumber + +`func (o *AsyncOrderCreateDTOLinesInner) SetCustomerLineNumber(v string)` + +SetCustomerLineNumber sets CustomerLineNumber field to given value. + +### HasCustomerLineNumber + +`func (o *AsyncOrderCreateDTOLinesInner) HasCustomerLineNumber() bool` + +HasCustomerLineNumber returns a boolean if a field has been set. + +### GetIngramPartNumber + +`func (o *AsyncOrderCreateDTOLinesInner) GetIngramPartNumber() string` + +GetIngramPartNumber returns the IngramPartNumber field if non-nil, zero value otherwise. + +### GetIngramPartNumberOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetIngramPartNumberOk() (*string, bool)` + +GetIngramPartNumberOk returns a tuple with the IngramPartNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIngramPartNumber + +`func (o *AsyncOrderCreateDTOLinesInner) SetIngramPartNumber(v string)` + +SetIngramPartNumber sets IngramPartNumber field to given value. + +### HasIngramPartNumber + +`func (o *AsyncOrderCreateDTOLinesInner) HasIngramPartNumber() bool` + +HasIngramPartNumber returns a boolean if a field has been set. + +### GetQuantity + +`func (o *AsyncOrderCreateDTOLinesInner) GetQuantity() string` + +GetQuantity returns the Quantity field if non-nil, zero value otherwise. + +### GetQuantityOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetQuantityOk() (*string, bool)` + +GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuantity + +`func (o *AsyncOrderCreateDTOLinesInner) SetQuantity(v string)` + +SetQuantity sets Quantity field to given value. + +### HasQuantity + +`func (o *AsyncOrderCreateDTOLinesInner) HasQuantity() bool` + +HasQuantity returns a boolean if a field has been set. + +### GetUnitPrice + +`func (o *AsyncOrderCreateDTOLinesInner) GetUnitPrice() string` + +GetUnitPrice returns the UnitPrice field if non-nil, zero value otherwise. + +### GetUnitPriceOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetUnitPriceOk() (*string, bool)` + +GetUnitPriceOk returns a tuple with the UnitPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnitPrice + +`func (o *AsyncOrderCreateDTOLinesInner) SetUnitPrice(v string)` + +SetUnitPrice sets UnitPrice field to given value. + +### HasUnitPrice + +`func (o *AsyncOrderCreateDTOLinesInner) HasUnitPrice() bool` + +HasUnitPrice returns a boolean if a field has been set. + +### GetSpecialBidNumber + +`func (o *AsyncOrderCreateDTOLinesInner) GetSpecialBidNumber() string` + +GetSpecialBidNumber returns the SpecialBidNumber field if non-nil, zero value otherwise. + +### GetSpecialBidNumberOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetSpecialBidNumberOk() (*string, bool)` + +GetSpecialBidNumberOk returns a tuple with the SpecialBidNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpecialBidNumber + +`func (o *AsyncOrderCreateDTOLinesInner) SetSpecialBidNumber(v string)` + +SetSpecialBidNumber sets SpecialBidNumber field to given value. + +### HasSpecialBidNumber + +`func (o *AsyncOrderCreateDTOLinesInner) HasSpecialBidNumber() bool` + +HasSpecialBidNumber returns a boolean if a field has been set. + +### GetEndUserPrice + +`func (o *AsyncOrderCreateDTOLinesInner) GetEndUserPrice() string` + +GetEndUserPrice returns the EndUserPrice field if non-nil, zero value otherwise. + +### GetEndUserPriceOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetEndUserPriceOk() (*string, bool)` + +GetEndUserPriceOk returns a tuple with the EndUserPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserPrice + +`func (o *AsyncOrderCreateDTOLinesInner) SetEndUserPrice(v string)` + +SetEndUserPrice sets EndUserPrice field to given value. + +### HasEndUserPrice + +`func (o *AsyncOrderCreateDTOLinesInner) HasEndUserPrice() bool` + +HasEndUserPrice returns a boolean if a field has been set. + +### GetNotes + +`func (o *AsyncOrderCreateDTOLinesInner) GetNotes() string` + +GetNotes returns the Notes field if non-nil, zero value otherwise. + +### GetNotesOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetNotesOk() (*string, bool)` + +GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotes + +`func (o *AsyncOrderCreateDTOLinesInner) SetNotes(v string)` + +SetNotes sets Notes field to given value. + +### HasNotes + +`func (o *AsyncOrderCreateDTOLinesInner) HasNotes() bool` + +HasNotes returns a boolean if a field has been set. + +### GetEndUserInfo + +`func (o *AsyncOrderCreateDTOLinesInner) GetEndUserInfo() []AsyncOrderCreateDTOLinesInnerEndUserInfoInner` + +GetEndUserInfo returns the EndUserInfo field if non-nil, zero value otherwise. + +### GetEndUserInfoOk + +`func (o *AsyncOrderCreateDTOLinesInner) GetEndUserInfoOk() (*[]AsyncOrderCreateDTOLinesInnerEndUserInfoInner, bool)` + +GetEndUserInfoOk returns a tuple with the EndUserInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserInfo + +`func (o *AsyncOrderCreateDTOLinesInner) SetEndUserInfo(v []AsyncOrderCreateDTOLinesInnerEndUserInfoInner)` + +SetEndUserInfo sets EndUserInfo field to given value. + +### HasEndUserInfo + +`func (o *AsyncOrderCreateDTOLinesInner) HasEndUserInfo() bool` + +HasEndUserInfo returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md b/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md new file mode 100644 index 0000000..bd54a4e --- /dev/null +++ b/docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md @@ -0,0 +1,472 @@ +# AsyncOrderCreateDTOLinesInnerEndUserInfoInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EndUserId** | Pointer to **string** | ID for the end user/customer in Ingram Micro's system. | [optional] +**EndUserType** | Pointer to **string** | End user type | [optional] +**CompanyName** | Pointer to **string** | The company name for the end user/customer. | [optional] +**Name1** | Pointer to **string** | | [optional] +**Name2** | Pointer to **string** | | [optional] +**ContactId** | Pointer to **string** | The contact Id for the end user/customer. | [optional] +**AddressLine1** | Pointer to **string** | The address line 1 for the end user/customer. | [optional] +**AddressLine2** | Pointer to **string** | The address line 2 for the end user/customer. | [optional] +**AddressLine3** | Pointer to **string** | The address line 3 for the end user/customer. | [optional] +**Contact** | Pointer to **string** | The contact name for the end user/customer. | [optional] +**City** | Pointer to **string** | The end user/customer's city. | [optional] +**State** | Pointer to **string** | The end user/customer's state. | [optional] +**PostalCode** | Pointer to **string** | The end user/customer's zip or postal code. | [optional] +**AddressLine4** | Pointer to **string** | The address line 4 for the end user/customer. | [optional] +**CountryCode** | Pointer to **string** | The end user/customer's two character ISO country code. | [optional] +**PhoneNumber** | Pointer to **string** | The end user/customer's phone number. | [optional] +**Email** | Pointer to **string** | The end user/customer's phone number. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOLinesInnerEndUserInfoInner + +`func NewAsyncOrderCreateDTOLinesInnerEndUserInfoInner() *AsyncOrderCreateDTOLinesInnerEndUserInfoInner` + +NewAsyncOrderCreateDTOLinesInnerEndUserInfoInner instantiates a new AsyncOrderCreateDTOLinesInnerEndUserInfoInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOLinesInnerEndUserInfoInnerWithDefaults + +`func NewAsyncOrderCreateDTOLinesInnerEndUserInfoInnerWithDefaults() *AsyncOrderCreateDTOLinesInnerEndUserInfoInner` + +NewAsyncOrderCreateDTOLinesInnerEndUserInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOLinesInnerEndUserInfoInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEndUserId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserId() string` + +GetEndUserId returns the EndUserId field if non-nil, zero value otherwise. + +### GetEndUserIdOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserIdOk() (*string, bool)` + +GetEndUserIdOk returns a tuple with the EndUserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEndUserId(v string)` + +SetEndUserId sets EndUserId field to given value. + +### HasEndUserId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEndUserId() bool` + +HasEndUserId returns a boolean if a field has been set. + +### GetEndUserType + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserType() string` + +GetEndUserType returns the EndUserType field if non-nil, zero value otherwise. + +### GetEndUserTypeOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserTypeOk() (*string, bool)` + +GetEndUserTypeOk returns a tuple with the EndUserType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEndUserType + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEndUserType(v string)` + +SetEndUserType sets EndUserType field to given value. + +### HasEndUserType + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEndUserType() bool` + +HasEndUserType returns a boolean if a field has been set. + +### GetCompanyName + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCompanyName() string` + +GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. + +### GetCompanyNameOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCompanyNameOk() (*string, bool)` + +GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompanyName + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCompanyName(v string)` + +SetCompanyName sets CompanyName field to given value. + +### HasCompanyName + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCompanyName() bool` + +HasCompanyName returns a boolean if a field has been set. + +### GetName1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName1() string` + +GetName1 returns the Name1 field if non-nil, zero value otherwise. + +### GetName1Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName1Ok() (*string, bool)` + +GetName1Ok returns a tuple with the Name1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetName1(v string)` + +SetName1 sets Name1 field to given value. + +### HasName1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasName1() bool` + +HasName1 returns a boolean if a field has been set. + +### GetName2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName2() string` + +GetName2 returns the Name2 field if non-nil, zero value otherwise. + +### GetName2Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName2Ok() (*string, bool)` + +GetName2Ok returns a tuple with the Name2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetName2(v string)` + +SetName2 sets Name2 field to given value. + +### HasName2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasName2() bool` + +HasName2 returns a boolean if a field has been set. + +### GetContactId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactId() string` + +GetContactId returns the ContactId field if non-nil, zero value otherwise. + +### GetContactIdOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactIdOk() (*string, bool)` + +GetContactIdOk returns a tuple with the ContactId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContactId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetContactId(v string)` + +SetContactId sets ContactId field to given value. + +### HasContactId + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasContactId() bool` + +HasContactId returns a boolean if a field has been set. + +### GetAddressLine1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine1() string` + +GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. + +### GetAddressLine1Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine1Ok() (*string, bool)` + +GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine1(v string)` + +SetAddressLine1 sets AddressLine1 field to given value. + +### HasAddressLine1 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine1() bool` + +HasAddressLine1 returns a boolean if a field has been set. + +### GetAddressLine2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine2() string` + +GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. + +### GetAddressLine2Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine2Ok() (*string, bool)` + +GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine2(v string)` + +SetAddressLine2 sets AddressLine2 field to given value. + +### HasAddressLine2 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine2() bool` + +HasAddressLine2 returns a boolean if a field has been set. + +### GetAddressLine3 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine3() string` + +GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. + +### GetAddressLine3Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine3Ok() (*string, bool)` + +GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine3 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine3(v string)` + +SetAddressLine3 sets AddressLine3 field to given value. + +### HasAddressLine3 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine3() bool` + +HasAddressLine3 returns a boolean if a field has been set. + +### GetContact + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContact() string` + +GetContact returns the Contact field if non-nil, zero value otherwise. + +### GetContactOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactOk() (*string, bool)` + +GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContact + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetContact(v string)` + +SetContact sets Contact field to given value. + +### HasContact + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasContact() bool` + +HasContact returns a boolean if a field has been set. + +### GetCity + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCity() string` + +GetCity returns the City field if non-nil, zero value otherwise. + +### GetCityOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCityOk() (*string, bool)` + +GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCity + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCity(v string)` + +SetCity sets City field to given value. + +### HasCity + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCity() bool` + +HasCity returns a boolean if a field has been set. + +### GetState + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetPostalCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPostalCode() string` + +GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. + +### GetPostalCodeOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPostalCodeOk() (*string, bool)` + +GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPostalCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetPostalCode(v string)` + +SetPostalCode sets PostalCode field to given value. + +### HasPostalCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasPostalCode() bool` + +HasPostalCode returns a boolean if a field has been set. + +### GetAddressLine4 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine4() string` + +GetAddressLine4 returns the AddressLine4 field if non-nil, zero value otherwise. + +### GetAddressLine4Ok + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine4Ok() (*string, bool)` + +GetAddressLine4Ok returns a tuple with the AddressLine4 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine4 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine4(v string)` + +SetAddressLine4 sets AddressLine4 field to given value. + +### HasAddressLine4 + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine4() bool` + +HasAddressLine4 returns a boolean if a field has been set. + +### GetCountryCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCountryCode() string` + +GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. + +### GetCountryCodeOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCountryCodeOk() (*string, bool)` + +GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountryCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCountryCode(v string)` + +SetCountryCode sets CountryCode field to given value. + +### HasCountryCode + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCountryCode() bool` + +HasCountryCode returns a boolean if a field has been set. + +### GetPhoneNumber + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPhoneNumber() string` + +GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. + +### GetPhoneNumberOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPhoneNumberOk() (*string, bool)` + +GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhoneNumber + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetPhoneNumber(v string)` + +SetPhoneNumber sets PhoneNumber field to given value. + +### HasPhoneNumber + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasPhoneNumber() bool` + +HasPhoneNumber returns a boolean if a field has been set. + +### GetEmail + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOResellerInfo.md b/docs/AsyncOrderCreateDTOResellerInfo.md new file mode 100644 index 0000000..b0d289b --- /dev/null +++ b/docs/AsyncOrderCreateDTOResellerInfo.md @@ -0,0 +1,368 @@ +# AsyncOrderCreateDTOResellerInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ResellerId** | Pointer to **string** | The reseller's Id. | [optional] +**CompanyName** | Pointer to **string** | The reseller's company name. | [optional] +**Contact** | Pointer to **string** | The reseller's contact name. | [optional] +**AddressLine1** | Pointer to **string** | The reseller's address line 1. | [optional] +**AddressLine2** | Pointer to **string** | The reseller's address line 2. | [optional] +**AddressLine3** | Pointer to **string** | The reseller's address line 3. | [optional] +**AddressLine4** | Pointer to **string** | The reseller's address line 4. | [optional] +**City** | Pointer to **string** | The reseller's city. | [optional] +**State** | Pointer to **string** | The reseller's state. | [optional] +**PostalCode** | Pointer to **string** | The reseller's zip or postal code. | [optional] +**CountryCode** | Pointer to **string** | The reseller's two-character ISO country code. | [optional] +**PhoneNumber** | Pointer to **string** | The reseller's phone number. | [optional] +**Email** | Pointer to **string** | The reseller's Email Address. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOResellerInfo + +`func NewAsyncOrderCreateDTOResellerInfo() *AsyncOrderCreateDTOResellerInfo` + +NewAsyncOrderCreateDTOResellerInfo instantiates a new AsyncOrderCreateDTOResellerInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOResellerInfoWithDefaults + +`func NewAsyncOrderCreateDTOResellerInfoWithDefaults() *AsyncOrderCreateDTOResellerInfo` + +NewAsyncOrderCreateDTOResellerInfoWithDefaults instantiates a new AsyncOrderCreateDTOResellerInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetResellerId + +`func (o *AsyncOrderCreateDTOResellerInfo) GetResellerId() string` + +GetResellerId returns the ResellerId field if non-nil, zero value otherwise. + +### GetResellerIdOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetResellerIdOk() (*string, bool)` + +GetResellerIdOk returns a tuple with the ResellerId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResellerId + +`func (o *AsyncOrderCreateDTOResellerInfo) SetResellerId(v string)` + +SetResellerId sets ResellerId field to given value. + +### HasResellerId + +`func (o *AsyncOrderCreateDTOResellerInfo) HasResellerId() bool` + +HasResellerId returns a boolean if a field has been set. + +### GetCompanyName + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCompanyName() string` + +GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. + +### GetCompanyNameOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCompanyNameOk() (*string, bool)` + +GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompanyName + +`func (o *AsyncOrderCreateDTOResellerInfo) SetCompanyName(v string)` + +SetCompanyName sets CompanyName field to given value. + +### HasCompanyName + +`func (o *AsyncOrderCreateDTOResellerInfo) HasCompanyName() bool` + +HasCompanyName returns a boolean if a field has been set. + +### GetContact + +`func (o *AsyncOrderCreateDTOResellerInfo) GetContact() string` + +GetContact returns the Contact field if non-nil, zero value otherwise. + +### GetContactOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetContactOk() (*string, bool)` + +GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContact + +`func (o *AsyncOrderCreateDTOResellerInfo) SetContact(v string)` + +SetContact sets Contact field to given value. + +### HasContact + +`func (o *AsyncOrderCreateDTOResellerInfo) HasContact() bool` + +HasContact returns a boolean if a field has been set. + +### GetAddressLine1 + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine1() string` + +GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. + +### GetAddressLine1Ok + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine1Ok() (*string, bool)` + +GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine1 + +`func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine1(v string)` + +SetAddressLine1 sets AddressLine1 field to given value. + +### HasAddressLine1 + +`func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine1() bool` + +HasAddressLine1 returns a boolean if a field has been set. + +### GetAddressLine2 + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine2() string` + +GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. + +### GetAddressLine2Ok + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine2Ok() (*string, bool)` + +GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine2 + +`func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine2(v string)` + +SetAddressLine2 sets AddressLine2 field to given value. + +### HasAddressLine2 + +`func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine2() bool` + +HasAddressLine2 returns a boolean if a field has been set. + +### GetAddressLine3 + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine3() string` + +GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. + +### GetAddressLine3Ok + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine3Ok() (*string, bool)` + +GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine3 + +`func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine3(v string)` + +SetAddressLine3 sets AddressLine3 field to given value. + +### HasAddressLine3 + +`func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine3() bool` + +HasAddressLine3 returns a boolean if a field has been set. + +### GetAddressLine4 + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine4() string` + +GetAddressLine4 returns the AddressLine4 field if non-nil, zero value otherwise. + +### GetAddressLine4Ok + +`func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine4Ok() (*string, bool)` + +GetAddressLine4Ok returns a tuple with the AddressLine4 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine4 + +`func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine4(v string)` + +SetAddressLine4 sets AddressLine4 field to given value. + +### HasAddressLine4 + +`func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine4() bool` + +HasAddressLine4 returns a boolean if a field has been set. + +### GetCity + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCity() string` + +GetCity returns the City field if non-nil, zero value otherwise. + +### GetCityOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCityOk() (*string, bool)` + +GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCity + +`func (o *AsyncOrderCreateDTOResellerInfo) SetCity(v string)` + +SetCity sets City field to given value. + +### HasCity + +`func (o *AsyncOrderCreateDTOResellerInfo) HasCity() bool` + +HasCity returns a boolean if a field has been set. + +### GetState + +`func (o *AsyncOrderCreateDTOResellerInfo) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AsyncOrderCreateDTOResellerInfo) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *AsyncOrderCreateDTOResellerInfo) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetPostalCode + +`func (o *AsyncOrderCreateDTOResellerInfo) GetPostalCode() string` + +GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. + +### GetPostalCodeOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetPostalCodeOk() (*string, bool)` + +GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPostalCode + +`func (o *AsyncOrderCreateDTOResellerInfo) SetPostalCode(v string)` + +SetPostalCode sets PostalCode field to given value. + +### HasPostalCode + +`func (o *AsyncOrderCreateDTOResellerInfo) HasPostalCode() bool` + +HasPostalCode returns a boolean if a field has been set. + +### GetCountryCode + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCountryCode() string` + +GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. + +### GetCountryCodeOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetCountryCodeOk() (*string, bool)` + +GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountryCode + +`func (o *AsyncOrderCreateDTOResellerInfo) SetCountryCode(v string)` + +SetCountryCode sets CountryCode field to given value. + +### HasCountryCode + +`func (o *AsyncOrderCreateDTOResellerInfo) HasCountryCode() bool` + +HasCountryCode returns a boolean if a field has been set. + +### GetPhoneNumber + +`func (o *AsyncOrderCreateDTOResellerInfo) GetPhoneNumber() string` + +GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. + +### GetPhoneNumberOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetPhoneNumberOk() (*string, bool)` + +GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhoneNumber + +`func (o *AsyncOrderCreateDTOResellerInfo) SetPhoneNumber(v string)` + +SetPhoneNumber sets PhoneNumber field to given value. + +### HasPhoneNumber + +`func (o *AsyncOrderCreateDTOResellerInfo) HasPhoneNumber() bool` + +HasPhoneNumber returns a boolean if a field has been set. + +### GetEmail + +`func (o *AsyncOrderCreateDTOResellerInfo) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *AsyncOrderCreateDTOResellerInfo) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *AsyncOrderCreateDTOResellerInfo) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *AsyncOrderCreateDTOResellerInfo) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOShipToInfo.md b/docs/AsyncOrderCreateDTOShipToInfo.md new file mode 100644 index 0000000..64fa09e --- /dev/null +++ b/docs/AsyncOrderCreateDTOShipToInfo.md @@ -0,0 +1,476 @@ +# AsyncOrderCreateDTOShipToInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AddressId** | Pointer to **string** | The company contact provided by the reseller. | [optional] +**Contact** | Pointer to **string** | The contact name for the order will be shipped to. | [optional] +**CompanyName** | Pointer to **string** | The name of the company the order will be shipped to. | [optional] +**AddressLine1** | Pointer to **string** | The address line 1 the order will be shipped to. | [optional] +**AddressLine2** | Pointer to **string** | The address line 2 the order will be shipped to. | [optional] +**AddressLine3** | Pointer to **NullableString** | The address line 3 the order will be shipped to. | [optional] +**AddressLine4** | Pointer to **NullableString** | The address line 4 the order will be shipped to. | [optional] +**Name1** | Pointer to **string** | Need description | [optional] +**Name2** | Pointer to **string** | Need description | [optional] +**City** | Pointer to **string** | The city the order will be shipped to. | [optional] +**State** | Pointer to **string** | The state the order will be shipped to. | [optional] +**PostalCode** | Pointer to **string** | The zip or postal code the order will be shipped to. | [optional] +**CountryCode** | Pointer to **string** | The two-character ISO country code the order will be shipped to. | [optional] +**Email** | Pointer to **NullableString** | The company contact email address. | [optional] +**ShippingNotes** | Pointer to **string** | Shipping Notes | [optional] +**PhoneNumber** | Pointer to **string** | Phone number for shipping | [optional] + +## Methods + +### NewAsyncOrderCreateDTOShipToInfo + +`func NewAsyncOrderCreateDTOShipToInfo() *AsyncOrderCreateDTOShipToInfo` + +NewAsyncOrderCreateDTOShipToInfo instantiates a new AsyncOrderCreateDTOShipToInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOShipToInfoWithDefaults + +`func NewAsyncOrderCreateDTOShipToInfoWithDefaults() *AsyncOrderCreateDTOShipToInfo` + +NewAsyncOrderCreateDTOShipToInfoWithDefaults instantiates a new AsyncOrderCreateDTOShipToInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddressId + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressId() string` + +GetAddressId returns the AddressId field if non-nil, zero value otherwise. + +### GetAddressIdOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressIdOk() (*string, bool)` + +GetAddressIdOk returns a tuple with the AddressId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressId + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressId(v string)` + +SetAddressId sets AddressId field to given value. + +### HasAddressId + +`func (o *AsyncOrderCreateDTOShipToInfo) HasAddressId() bool` + +HasAddressId returns a boolean if a field has been set. + +### GetContact + +`func (o *AsyncOrderCreateDTOShipToInfo) GetContact() string` + +GetContact returns the Contact field if non-nil, zero value otherwise. + +### GetContactOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetContactOk() (*string, bool)` + +GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContact + +`func (o *AsyncOrderCreateDTOShipToInfo) SetContact(v string)` + +SetContact sets Contact field to given value. + +### HasContact + +`func (o *AsyncOrderCreateDTOShipToInfo) HasContact() bool` + +HasContact returns a boolean if a field has been set. + +### GetCompanyName + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCompanyName() string` + +GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. + +### GetCompanyNameOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCompanyNameOk() (*string, bool)` + +GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompanyName + +`func (o *AsyncOrderCreateDTOShipToInfo) SetCompanyName(v string)` + +SetCompanyName sets CompanyName field to given value. + +### HasCompanyName + +`func (o *AsyncOrderCreateDTOShipToInfo) HasCompanyName() bool` + +HasCompanyName returns a boolean if a field has been set. + +### GetAddressLine1 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine1() string` + +GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. + +### GetAddressLine1Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine1Ok() (*string, bool)` + +GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine1 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine1(v string)` + +SetAddressLine1 sets AddressLine1 field to given value. + +### HasAddressLine1 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine1() bool` + +HasAddressLine1 returns a boolean if a field has been set. + +### GetAddressLine2 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine2() string` + +GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. + +### GetAddressLine2Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine2Ok() (*string, bool)` + +GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine2 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine2(v string)` + +SetAddressLine2 sets AddressLine2 field to given value. + +### HasAddressLine2 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine2() bool` + +HasAddressLine2 returns a boolean if a field has been set. + +### GetAddressLine3 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine3() string` + +GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. + +### GetAddressLine3Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine3Ok() (*string, bool)` + +GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine3 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine3(v string)` + +SetAddressLine3 sets AddressLine3 field to given value. + +### HasAddressLine3 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine3() bool` + +HasAddressLine3 returns a boolean if a field has been set. + +### SetAddressLine3Nil + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine3Nil(b bool)` + + SetAddressLine3Nil sets the value for AddressLine3 to be an explicit nil + +### UnsetAddressLine3 +`func (o *AsyncOrderCreateDTOShipToInfo) UnsetAddressLine3()` + +UnsetAddressLine3 ensures that no value is present for AddressLine3, not even an explicit nil +### GetAddressLine4 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine4() string` + +GetAddressLine4 returns the AddressLine4 field if non-nil, zero value otherwise. + +### GetAddressLine4Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine4Ok() (*string, bool)` + +GetAddressLine4Ok returns a tuple with the AddressLine4 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressLine4 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine4(v string)` + +SetAddressLine4 sets AddressLine4 field to given value. + +### HasAddressLine4 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine4() bool` + +HasAddressLine4 returns a boolean if a field has been set. + +### SetAddressLine4Nil + +`func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine4Nil(b bool)` + + SetAddressLine4Nil sets the value for AddressLine4 to be an explicit nil + +### UnsetAddressLine4 +`func (o *AsyncOrderCreateDTOShipToInfo) UnsetAddressLine4()` + +UnsetAddressLine4 ensures that no value is present for AddressLine4, not even an explicit nil +### GetName1 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetName1() string` + +GetName1 returns the Name1 field if non-nil, zero value otherwise. + +### GetName1Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetName1Ok() (*string, bool)` + +GetName1Ok returns a tuple with the Name1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName1 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetName1(v string)` + +SetName1 sets Name1 field to given value. + +### HasName1 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasName1() bool` + +HasName1 returns a boolean if a field has been set. + +### GetName2 + +`func (o *AsyncOrderCreateDTOShipToInfo) GetName2() string` + +GetName2 returns the Name2 field if non-nil, zero value otherwise. + +### GetName2Ok + +`func (o *AsyncOrderCreateDTOShipToInfo) GetName2Ok() (*string, bool)` + +GetName2Ok returns a tuple with the Name2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName2 + +`func (o *AsyncOrderCreateDTOShipToInfo) SetName2(v string)` + +SetName2 sets Name2 field to given value. + +### HasName2 + +`func (o *AsyncOrderCreateDTOShipToInfo) HasName2() bool` + +HasName2 returns a boolean if a field has been set. + +### GetCity + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCity() string` + +GetCity returns the City field if non-nil, zero value otherwise. + +### GetCityOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCityOk() (*string, bool)` + +GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCity + +`func (o *AsyncOrderCreateDTOShipToInfo) SetCity(v string)` + +SetCity sets City field to given value. + +### HasCity + +`func (o *AsyncOrderCreateDTOShipToInfo) HasCity() bool` + +HasCity returns a boolean if a field has been set. + +### GetState + +`func (o *AsyncOrderCreateDTOShipToInfo) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AsyncOrderCreateDTOShipToInfo) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *AsyncOrderCreateDTOShipToInfo) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetPostalCode + +`func (o *AsyncOrderCreateDTOShipToInfo) GetPostalCode() string` + +GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. + +### GetPostalCodeOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetPostalCodeOk() (*string, bool)` + +GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPostalCode + +`func (o *AsyncOrderCreateDTOShipToInfo) SetPostalCode(v string)` + +SetPostalCode sets PostalCode field to given value. + +### HasPostalCode + +`func (o *AsyncOrderCreateDTOShipToInfo) HasPostalCode() bool` + +HasPostalCode returns a boolean if a field has been set. + +### GetCountryCode + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCountryCode() string` + +GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. + +### GetCountryCodeOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetCountryCodeOk() (*string, bool)` + +GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountryCode + +`func (o *AsyncOrderCreateDTOShipToInfo) SetCountryCode(v string)` + +SetCountryCode sets CountryCode field to given value. + +### HasCountryCode + +`func (o *AsyncOrderCreateDTOShipToInfo) HasCountryCode() bool` + +HasCountryCode returns a boolean if a field has been set. + +### GetEmail + +`func (o *AsyncOrderCreateDTOShipToInfo) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *AsyncOrderCreateDTOShipToInfo) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *AsyncOrderCreateDTOShipToInfo) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### SetEmailNil + +`func (o *AsyncOrderCreateDTOShipToInfo) SetEmailNil(b bool)` + + SetEmailNil sets the value for Email to be an explicit nil + +### UnsetEmail +`func (o *AsyncOrderCreateDTOShipToInfo) UnsetEmail()` + +UnsetEmail ensures that no value is present for Email, not even an explicit nil +### GetShippingNotes + +`func (o *AsyncOrderCreateDTOShipToInfo) GetShippingNotes() string` + +GetShippingNotes returns the ShippingNotes field if non-nil, zero value otherwise. + +### GetShippingNotesOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetShippingNotesOk() (*string, bool)` + +GetShippingNotesOk returns a tuple with the ShippingNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShippingNotes + +`func (o *AsyncOrderCreateDTOShipToInfo) SetShippingNotes(v string)` + +SetShippingNotes sets ShippingNotes field to given value. + +### HasShippingNotes + +`func (o *AsyncOrderCreateDTOShipToInfo) HasShippingNotes() bool` + +HasShippingNotes returns a boolean if a field has been set. + +### GetPhoneNumber + +`func (o *AsyncOrderCreateDTOShipToInfo) GetPhoneNumber() string` + +GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. + +### GetPhoneNumberOk + +`func (o *AsyncOrderCreateDTOShipToInfo) GetPhoneNumberOk() (*string, bool)` + +GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhoneNumber + +`func (o *AsyncOrderCreateDTOShipToInfo) SetPhoneNumber(v string)` + +SetPhoneNumber sets PhoneNumber field to given value. + +### HasPhoneNumber + +`func (o *AsyncOrderCreateDTOShipToInfo) HasPhoneNumber() bool` + +HasPhoneNumber returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOShipmentDetails.md b/docs/AsyncOrderCreateDTOShipmentDetails.md new file mode 100644 index 0000000..08d06e4 --- /dev/null +++ b/docs/AsyncOrderCreateDTOShipmentDetails.md @@ -0,0 +1,186 @@ +# AsyncOrderCreateDTOShipmentDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CarrierCode** | Pointer to **string** | The code for the shipping carrier for the line item. | [optional] +**RequestedDeliveryDate** | Pointer to **string** | The reseller-requested delivery date in UTC format. Delivery date is not guaranteed. | [optional] +**ShipComplete** | Pointer to **string** | Specifies whether the shipment will be shipped only when all products are fulfilled. The value of this field along with acceptBackOrder field decides the value of backorderflag. If this field is set, acceptBackOrder field is ignored. Possible values for this field are true, C, P, E. | [optional] +**ShippingInstructions** | Pointer to **string** | Any special shipping instructions for the order. | [optional] +**FreightAccountNumber** | Pointer to **string** | The reseller 's shipping account number with carrier. Used to bill the shipping carrier directly from the reseller's account with the carrier. | [optional] +**SignatureRequired** | Pointer to **bool** | Specifies whether a signature is required for delivery. Default is False. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOShipmentDetails + +`func NewAsyncOrderCreateDTOShipmentDetails() *AsyncOrderCreateDTOShipmentDetails` + +NewAsyncOrderCreateDTOShipmentDetails instantiates a new AsyncOrderCreateDTOShipmentDetails object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOShipmentDetailsWithDefaults + +`func NewAsyncOrderCreateDTOShipmentDetailsWithDefaults() *AsyncOrderCreateDTOShipmentDetails` + +NewAsyncOrderCreateDTOShipmentDetailsWithDefaults instantiates a new AsyncOrderCreateDTOShipmentDetails object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCarrierCode + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetCarrierCode() string` + +GetCarrierCode returns the CarrierCode field if non-nil, zero value otherwise. + +### GetCarrierCodeOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetCarrierCodeOk() (*string, bool)` + +GetCarrierCodeOk returns a tuple with the CarrierCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCarrierCode + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetCarrierCode(v string)` + +SetCarrierCode sets CarrierCode field to given value. + +### HasCarrierCode + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasCarrierCode() bool` + +HasCarrierCode returns a boolean if a field has been set. + +### GetRequestedDeliveryDate + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetRequestedDeliveryDate() string` + +GetRequestedDeliveryDate returns the RequestedDeliveryDate field if non-nil, zero value otherwise. + +### GetRequestedDeliveryDateOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetRequestedDeliveryDateOk() (*string, bool)` + +GetRequestedDeliveryDateOk returns a tuple with the RequestedDeliveryDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestedDeliveryDate + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetRequestedDeliveryDate(v string)` + +SetRequestedDeliveryDate sets RequestedDeliveryDate field to given value. + +### HasRequestedDeliveryDate + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasRequestedDeliveryDate() bool` + +HasRequestedDeliveryDate returns a boolean if a field has been set. + +### GetShipComplete + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetShipComplete() string` + +GetShipComplete returns the ShipComplete field if non-nil, zero value otherwise. + +### GetShipCompleteOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetShipCompleteOk() (*string, bool)` + +GetShipCompleteOk returns a tuple with the ShipComplete field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShipComplete + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetShipComplete(v string)` + +SetShipComplete sets ShipComplete field to given value. + +### HasShipComplete + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasShipComplete() bool` + +HasShipComplete returns a boolean if a field has been set. + +### GetShippingInstructions + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetShippingInstructions() string` + +GetShippingInstructions returns the ShippingInstructions field if non-nil, zero value otherwise. + +### GetShippingInstructionsOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetShippingInstructionsOk() (*string, bool)` + +GetShippingInstructionsOk returns a tuple with the ShippingInstructions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShippingInstructions + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetShippingInstructions(v string)` + +SetShippingInstructions sets ShippingInstructions field to given value. + +### HasShippingInstructions + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasShippingInstructions() bool` + +HasShippingInstructions returns a boolean if a field has been set. + +### GetFreightAccountNumber + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetFreightAccountNumber() string` + +GetFreightAccountNumber returns the FreightAccountNumber field if non-nil, zero value otherwise. + +### GetFreightAccountNumberOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetFreightAccountNumberOk() (*string, bool)` + +GetFreightAccountNumberOk returns a tuple with the FreightAccountNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreightAccountNumber + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetFreightAccountNumber(v string)` + +SetFreightAccountNumber sets FreightAccountNumber field to given value. + +### HasFreightAccountNumber + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasFreightAccountNumber() bool` + +HasFreightAccountNumber returns a boolean if a field has been set. + +### GetSignatureRequired + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetSignatureRequired() bool` + +GetSignatureRequired returns the SignatureRequired field if non-nil, zero value otherwise. + +### GetSignatureRequiredOk + +`func (o *AsyncOrderCreateDTOShipmentDetails) GetSignatureRequiredOk() (*bool, bool)` + +GetSignatureRequiredOk returns a tuple with the SignatureRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureRequired + +`func (o *AsyncOrderCreateDTOShipmentDetails) SetSignatureRequired(v bool)` + +SetSignatureRequired sets SignatureRequired field to given value. + +### HasSignatureRequired + +`func (o *AsyncOrderCreateDTOShipmentDetails) HasSignatureRequired() bool` + +HasSignatureRequired returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md b/docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md new file mode 100644 index 0000000..7bc48ff --- /dev/null +++ b/docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md @@ -0,0 +1,82 @@ +# AsyncOrderCreateDTOVmfadditionalAttributesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AttributeName** | Pointer to **string** | The name of the header level field. | [optional] +**AttributeValue** | Pointer to **string** | The value of the header level field. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOVmfadditionalAttributesInner + +`func NewAsyncOrderCreateDTOVmfadditionalAttributesInner() *AsyncOrderCreateDTOVmfadditionalAttributesInner` + +NewAsyncOrderCreateDTOVmfadditionalAttributesInner instantiates a new AsyncOrderCreateDTOVmfadditionalAttributesInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOVmfadditionalAttributesInnerWithDefaults + +`func NewAsyncOrderCreateDTOVmfadditionalAttributesInnerWithDefaults() *AsyncOrderCreateDTOVmfadditionalAttributesInner` + +NewAsyncOrderCreateDTOVmfadditionalAttributesInnerWithDefaults instantiates a new AsyncOrderCreateDTOVmfadditionalAttributesInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAttributeName + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeName() string` + +GetAttributeName returns the AttributeName field if non-nil, zero value otherwise. + +### GetAttributeNameOk + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeNameOk() (*string, bool)` + +GetAttributeNameOk returns a tuple with the AttributeName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributeName + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) SetAttributeName(v string)` + +SetAttributeName sets AttributeName field to given value. + +### HasAttributeName + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) HasAttributeName() bool` + +HasAttributeName returns a boolean if a field has been set. + +### GetAttributeValue + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeValue() string` + +GetAttributeValue returns the AttributeValue field if non-nil, zero value otherwise. + +### GetAttributeValueOk + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeValueOk() (*string, bool)` + +GetAttributeValueOk returns a tuple with the AttributeValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributeValue + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) SetAttributeValue(v string)` + +SetAttributeValue sets AttributeValue field to given value. + +### HasAttributeValue + +`func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) HasAttributeValue() bool` + +HasAttributeValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInner.md new file mode 100644 index 0000000..c9f665e --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInner.md @@ -0,0 +1,160 @@ +# AsyncOrderCreateDTOWarrantyInfoInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**HardwareLineLink** | Pointer to **string** | | [optional] +**WarrantyLineLink** | Pointer to **string** | | [optional] +**DirectLineLink** | Pointer to **string** | | [optional] +**SerialInfo** | Pointer to [**[]AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner**](AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md) | | [optional] +**VmfAdditionalAttributesLines** | Pointer to [**[]AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner**](AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOWarrantyInfoInner + +`func NewAsyncOrderCreateDTOWarrantyInfoInner() *AsyncOrderCreateDTOWarrantyInfoInner` + +NewAsyncOrderCreateDTOWarrantyInfoInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOWarrantyInfoInnerWithDefaults + +`func NewAsyncOrderCreateDTOWarrantyInfoInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInner` + +NewAsyncOrderCreateDTOWarrantyInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetHardwareLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetHardwareLineLink() string` + +GetHardwareLineLink returns the HardwareLineLink field if non-nil, zero value otherwise. + +### GetHardwareLineLinkOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetHardwareLineLinkOk() (*string, bool)` + +GetHardwareLineLinkOk returns a tuple with the HardwareLineLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardwareLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetHardwareLineLink(v string)` + +SetHardwareLineLink sets HardwareLineLink field to given value. + +### HasHardwareLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasHardwareLineLink() bool` + +HasHardwareLineLink returns a boolean if a field has been set. + +### GetWarrantyLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetWarrantyLineLink() string` + +GetWarrantyLineLink returns the WarrantyLineLink field if non-nil, zero value otherwise. + +### GetWarrantyLineLinkOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetWarrantyLineLinkOk() (*string, bool)` + +GetWarrantyLineLinkOk returns a tuple with the WarrantyLineLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWarrantyLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetWarrantyLineLink(v string)` + +SetWarrantyLineLink sets WarrantyLineLink field to given value. + +### HasWarrantyLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasWarrantyLineLink() bool` + +HasWarrantyLineLink returns a boolean if a field has been set. + +### GetDirectLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetDirectLineLink() string` + +GetDirectLineLink returns the DirectLineLink field if non-nil, zero value otherwise. + +### GetDirectLineLinkOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetDirectLineLinkOk() (*string, bool)` + +GetDirectLineLinkOk returns a tuple with the DirectLineLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDirectLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetDirectLineLink(v string)` + +SetDirectLineLink sets DirectLineLink field to given value. + +### HasDirectLineLink + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasDirectLineLink() bool` + +HasDirectLineLink returns a boolean if a field has been set. + +### GetSerialInfo + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetSerialInfo() []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner` + +GetSerialInfo returns the SerialInfo field if non-nil, zero value otherwise. + +### GetSerialInfoOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetSerialInfoOk() (*[]AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner, bool)` + +GetSerialInfoOk returns a tuple with the SerialInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerialInfo + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetSerialInfo(v []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner)` + +SetSerialInfo sets SerialInfo field to given value. + +### HasSerialInfo + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasSerialInfo() bool` + +HasSerialInfo returns a boolean if a field has been set. + +### GetVmfAdditionalAttributesLines + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetVmfAdditionalAttributesLines() []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner` + +GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field if non-nil, zero value otherwise. + +### GetVmfAdditionalAttributesLinesOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetVmfAdditionalAttributesLinesOk() (*[]AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner, bool)` + +GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVmfAdditionalAttributesLines + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetVmfAdditionalAttributesLines(v []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner)` + +SetVmfAdditionalAttributesLines sets VmfAdditionalAttributesLines field to given value. + +### HasVmfAdditionalAttributesLines + +`func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasVmfAdditionalAttributesLines() bool` + +HasVmfAdditionalAttributesLines returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md new file mode 100644 index 0000000..106ab49 --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md @@ -0,0 +1,134 @@ +# AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DateOfPurchase** | Pointer to **string** | | [optional] +**ShipDate** | Pointer to **string** | | [optional] +**PrimarySerialNumber** | Pointer to **string** | | [optional] +**SecondarySerialNumber** | Pointer to **string** | | [optional] + +## Methods + +### NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + +`func NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner() *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner` + +NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerWithDefaults + +`func NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner` + +NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDateOfPurchase + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetDateOfPurchase() string` + +GetDateOfPurchase returns the DateOfPurchase field if non-nil, zero value otherwise. + +### GetDateOfPurchaseOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetDateOfPurchaseOk() (*string, bool)` + +GetDateOfPurchaseOk returns a tuple with the DateOfPurchase field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDateOfPurchase + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetDateOfPurchase(v string)` + +SetDateOfPurchase sets DateOfPurchase field to given value. + +### HasDateOfPurchase + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasDateOfPurchase() bool` + +HasDateOfPurchase returns a boolean if a field has been set. + +### GetShipDate + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetShipDate() string` + +GetShipDate returns the ShipDate field if non-nil, zero value otherwise. + +### GetShipDateOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetShipDateOk() (*string, bool)` + +GetShipDateOk returns a tuple with the ShipDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShipDate + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetShipDate(v string)` + +SetShipDate sets ShipDate field to given value. + +### HasShipDate + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasShipDate() bool` + +HasShipDate returns a boolean if a field has been set. + +### GetPrimarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetPrimarySerialNumber() string` + +GetPrimarySerialNumber returns the PrimarySerialNumber field if non-nil, zero value otherwise. + +### GetPrimarySerialNumberOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetPrimarySerialNumberOk() (*string, bool)` + +GetPrimarySerialNumberOk returns a tuple with the PrimarySerialNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrimarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetPrimarySerialNumber(v string)` + +SetPrimarySerialNumber sets PrimarySerialNumber field to given value. + +### HasPrimarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasPrimarySerialNumber() bool` + +HasPrimarySerialNumber returns a boolean if a field has been set. + +### GetSecondarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetSecondarySerialNumber() string` + +GetSecondarySerialNumber returns the SecondarySerialNumber field if non-nil, zero value otherwise. + +### GetSecondarySerialNumberOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetSecondarySerialNumberOk() (*string, bool)` + +GetSecondarySerialNumberOk returns a tuple with the SecondarySerialNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetSecondarySerialNumber(v string)` + +SetSecondarySerialNumber sets SecondarySerialNumber field to given value. + +### HasSecondarySerialNumber + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasSecondarySerialNumber() bool` + +HasSecondarySerialNumber returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md b/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md new file mode 100644 index 0000000..da45d87 --- /dev/null +++ b/docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md @@ -0,0 +1,82 @@ +# AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AttributeName** | Pointer to **string** | The name of the line level field. | [optional] +**AttributeValue** | Pointer to **string** | The value of the line level field. | [optional] + +## Methods + +### NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + +`func NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner() *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner` + +NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerWithDefaults + +`func NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner` + +NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAttributeName + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string` + +GetAttributeName returns the AttributeName field if non-nil, zero value otherwise. + +### GetAttributeNameOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool)` + +GetAttributeNameOk returns a tuple with the AttributeName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributeName + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string)` + +SetAttributeName sets AttributeName field to given value. + +### HasAttributeName + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool` + +HasAttributeName returns a boolean if a field has been set. + +### GetAttributeValue + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string` + +GetAttributeValue returns the AttributeValue field if non-nil, zero value otherwise. + +### GetAttributeValueOk + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool)` + +GetAttributeValueOk returns a tuple with the AttributeValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributeValue + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string)` + +SetAttributeValue sets AttributeValue field to given value. + +### HasAttributeValue + +`func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool` + +HasAttributeValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/QuoteToOrderResponse.md b/docs/AsyncOrderCreateResponse.md similarity index 66% rename from docs/QuoteToOrderResponse.md rename to docs/AsyncOrderCreateResponse.md index cee5c0c..d24afbe 100644 --- a/docs/QuoteToOrderResponse.md +++ b/docs/AsyncOrderCreateResponse.md @@ -1,4 +1,4 @@ -# QuoteToOrderResponse +# AsyncOrderCreateResponse ## Properties @@ -10,95 +10,95 @@ Name | Type | Description | Notes ## Methods -### NewQuoteToOrderResponse +### NewAsyncOrderCreateResponse -`func NewQuoteToOrderResponse() *QuoteToOrderResponse` +`func NewAsyncOrderCreateResponse() *AsyncOrderCreateResponse` -NewQuoteToOrderResponse instantiates a new QuoteToOrderResponse object +NewAsyncOrderCreateResponse instantiates a new AsyncOrderCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewQuoteToOrderResponseWithDefaults +### NewAsyncOrderCreateResponseWithDefaults -`func NewQuoteToOrderResponseWithDefaults() *QuoteToOrderResponse` +`func NewAsyncOrderCreateResponseWithDefaults() *AsyncOrderCreateResponse` -NewQuoteToOrderResponseWithDefaults instantiates a new QuoteToOrderResponse object +NewAsyncOrderCreateResponseWithDefaults instantiates a new AsyncOrderCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetQuoteNumber -`func (o *QuoteToOrderResponse) GetQuoteNumber() string` +`func (o *AsyncOrderCreateResponse) GetQuoteNumber() string` GetQuoteNumber returns the QuoteNumber field if non-nil, zero value otherwise. ### GetQuoteNumberOk -`func (o *QuoteToOrderResponse) GetQuoteNumberOk() (*string, bool)` +`func (o *AsyncOrderCreateResponse) GetQuoteNumberOk() (*string, bool)` GetQuoteNumberOk returns a tuple with the QuoteNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetQuoteNumber -`func (o *QuoteToOrderResponse) SetQuoteNumber(v string)` +`func (o *AsyncOrderCreateResponse) SetQuoteNumber(v string)` SetQuoteNumber sets QuoteNumber field to given value. ### HasQuoteNumber -`func (o *QuoteToOrderResponse) HasQuoteNumber() bool` +`func (o *AsyncOrderCreateResponse) HasQuoteNumber() bool` HasQuoteNumber returns a boolean if a field has been set. ### GetConfirmationNumber -`func (o *QuoteToOrderResponse) GetConfirmationNumber() string` +`func (o *AsyncOrderCreateResponse) GetConfirmationNumber() string` GetConfirmationNumber returns the ConfirmationNumber field if non-nil, zero value otherwise. ### GetConfirmationNumberOk -`func (o *QuoteToOrderResponse) GetConfirmationNumberOk() (*string, bool)` +`func (o *AsyncOrderCreateResponse) GetConfirmationNumberOk() (*string, bool)` GetConfirmationNumberOk returns a tuple with the ConfirmationNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfirmationNumber -`func (o *QuoteToOrderResponse) SetConfirmationNumber(v string)` +`func (o *AsyncOrderCreateResponse) SetConfirmationNumber(v string)` SetConfirmationNumber sets ConfirmationNumber field to given value. ### HasConfirmationNumber -`func (o *QuoteToOrderResponse) HasConfirmationNumber() bool` +`func (o *AsyncOrderCreateResponse) HasConfirmationNumber() bool` HasConfirmationNumber returns a boolean if a field has been set. ### GetMessage -`func (o *QuoteToOrderResponse) GetMessage() string` +`func (o *AsyncOrderCreateResponse) GetMessage() string` GetMessage returns the Message field if non-nil, zero value otherwise. ### GetMessageOk -`func (o *QuoteToOrderResponse) GetMessageOk() (*string, bool)` +`func (o *AsyncOrderCreateResponse) GetMessageOk() (*string, bool)` GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMessage -`func (o *QuoteToOrderResponse) SetMessage(v string)` +`func (o *AsyncOrderCreateResponse) SetMessage(v string)` SetMessage sets Message field to given value. ### HasMessage -`func (o *QuoteToOrderResponse) HasMessage() bool` +`func (o *AsyncOrderCreateResponse) HasMessage() bool` HasMessage returns a boolean if a field has been set. diff --git a/docs/DealsAPI.md b/docs/DealsAPI.md index 170f620..de76db1 100644 --- a/docs/DealsAPI.md +++ b/docs/DealsAPI.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes ## GetResellersV6Dealssearch -> DealsSearchResponse GetResellersV6Dealssearch(ctx).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMSenderID(iMSenderID).EndUser(endUser).Vendor(vendor).DealId(dealId).Execute() +> DealsSearchResponse GetResellersV6Dealssearch(ctx).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMSenderID(iMSenderID).EndUser(endUser).Vendor(vendor).DealId(dealId).Size(size).Page(page).Execute() Deals Search @@ -117,10 +117,12 @@ func main() { endUser := "EnduserCompany" // string | The end user/customer's name. (optional) vendor := "Cisco" // string | The vendor's name. (optional) dealId := "12345678" // string | Deal/Special bid number. (optional) + size := int32(56) // int32 | The number of records required in the call - max records 100 per page. (optional) + page := int32(56) // int32 | The page number reference. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DealsAPI.GetResellersV6Dealssearch(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMSenderID(iMSenderID).EndUser(endUser).Vendor(vendor).DealId(dealId).Execute() + resp, r, err := apiClient.DealsAPI.GetResellersV6Dealssearch(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMSenderID(iMSenderID).EndUser(endUser).Vendor(vendor).DealId(dealId).Size(size).Page(page).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DealsAPI.GetResellersV6Dealssearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -148,6 +150,8 @@ Name | Type | Description | Notes **endUser** | **string** | The end user/customer's name. | **vendor** | **string** | The vendor's name. | **dealId** | **string** | Deal/Special bid number. | + **size** | **int32** | The number of records required in the call - max records 100 per page. | + **page** | **int32** | The page number reference. | ### Return type diff --git a/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md b/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md index 10facf2..f51de64 100644 --- a/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md +++ b/docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **CarrierCode** | Pointer to **string** | The code for the shipping carrier for the line item. | [optional] **ShipVia** | Pointer to **string** | The name of the shipping carrier. | [optional] **CarrierMode** | Pointer to **string** | Mode of the carrier. | [optional] -**EstimatedFreightCharge** | Pointer to **float32** | Estimated freight charge. | [optional] -**DaysInTransit** | Pointer to **int32** | Number of transit days. | [optional] +**EstimatedFreightCharge** | Pointer to **string** | Estimated freight charge. | [optional] +**DaysInTransit** | Pointer to **string** | Number of transit days. | [optional] ## Methods @@ -106,20 +106,20 @@ HasCarrierMode returns a boolean if a field has been set. ### GetEstimatedFreightCharge -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightCharge() float32` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightCharge() string` GetEstimatedFreightCharge returns the EstimatedFreightCharge field if non-nil, zero value otherwise. ### GetEstimatedFreightChargeOk -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightChargeOk() (*float32, bool)` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightChargeOk() (*string, bool)` GetEstimatedFreightChargeOk returns a tuple with the EstimatedFreightCharge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEstimatedFreightCharge -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetEstimatedFreightCharge(v float32)` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetEstimatedFreightCharge(v string)` SetEstimatedFreightCharge sets EstimatedFreightCharge field to given value. @@ -131,20 +131,20 @@ HasEstimatedFreightCharge returns a boolean if a field has been set. ### GetDaysInTransit -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransit() int32` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransit() string` GetDaysInTransit returns the DaysInTransit field if non-nil, zero value otherwise. ### GetDaysInTransitOk -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransitOk() (*int32, bool)` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransitOk() (*string, bool)` GetDaysInTransitOk returns a tuple with the DaysInTransit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDaysInTransit -`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetDaysInTransit(v int32)` +`func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetDaysInTransit(v string)` SetDaysInTransit sets DaysInTransit field to given value. diff --git a/docs/InvoiceDetailsv61ResponseSummaryTotals.md b/docs/InvoiceDetailsv61ResponseSummaryTotals.md index ad50fab..37df85c 100644 --- a/docs/InvoiceDetailsv61ResponseSummaryTotals.md +++ b/docs/InvoiceDetailsv61ResponseSummaryTotals.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **DiscountAmount** | Pointer to **float64** | Discount amount. | [optional] **DiscountType** | Pointer to **string** | Type of discount. | [optional] **TotalTaxAmount** | Pointer to **float64** | Total Tax amount. | [optional] -**InvoicesAmountDue** | Pointer to **float64** | Total amount due for the invoice. | [optional] +**InvoicedAmountDue** | Pointer to **float64** | Total amount due for the invoice. | [optional] **FreightAmount** | Pointer to **float64** | Freight amount | [optional] ## Methods @@ -130,30 +130,30 @@ SetTotalTaxAmount sets TotalTaxAmount field to given value. HasTotalTaxAmount returns a boolean if a field has been set. -### GetInvoicesAmountDue +### GetInvoicedAmountDue -`func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicesAmountDue() float64` +`func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicedAmountDue() float64` -GetInvoicesAmountDue returns the InvoicesAmountDue field if non-nil, zero value otherwise. +GetInvoicedAmountDue returns the InvoicedAmountDue field if non-nil, zero value otherwise. -### GetInvoicesAmountDueOk +### GetInvoicedAmountDueOk -`func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicesAmountDueOk() (*float64, bool)` +`func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicedAmountDueOk() (*float64, bool)` -GetInvoicesAmountDueOk returns a tuple with the InvoicesAmountDue field if it's non-nil, zero value otherwise +GetInvoicedAmountDueOk returns a tuple with the InvoicedAmountDue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetInvoicesAmountDue +### SetInvoicedAmountDue -`func (o *InvoiceDetailsv61ResponseSummaryTotals) SetInvoicesAmountDue(v float64)` +`func (o *InvoiceDetailsv61ResponseSummaryTotals) SetInvoicedAmountDue(v float64)` -SetInvoicesAmountDue sets InvoicesAmountDue field to given value. +SetInvoicedAmountDue sets InvoicedAmountDue field to given value. -### HasInvoicesAmountDue +### HasInvoicedAmountDue -`func (o *InvoiceDetailsv61ResponseSummaryTotals) HasInvoicesAmountDue() bool` +`func (o *InvoiceDetailsv61ResponseSummaryTotals) HasInvoicedAmountDue() bool` -HasInvoicesAmountDue returns a boolean if a field has been set. +HasInvoicedAmountDue returns a boolean if a field has been set. ### GetFreightAmount diff --git a/docs/OrderDetailB2BLinesInner.md b/docs/OrderDetailB2BLinesInner.md index f7789da..85df15d 100644 --- a/docs/OrderDetailB2BLinesInner.md +++ b/docs/OrderDetailB2BLinesInner.md @@ -35,6 +35,7 @@ Name | Type | Description | Notes **EstimatedDates** | Pointer to [**[]OrderDetailB2BLinesInnerEstimatedDatesInner**](OrderDetailB2BLinesInnerEstimatedDatesInner.md) | | [optional] **ScheduleLines** | Pointer to [**[]OrderDetailB2BLinesInnerScheduleLinesInner**](OrderDetailB2BLinesInnerScheduleLinesInner.md) | | [optional] **MultipleShipments** | Pointer to [**[]OrderDetailB2BLinesInnerMultipleShipmentsInner**](OrderDetailB2BLinesInnerMultipleShipmentsInner.md) | | [optional] +**DefaultCarrierName** | Pointer to **string** | | [optional] ## Methods @@ -860,6 +861,31 @@ SetMultipleShipments sets MultipleShipments field to given value. HasMultipleShipments returns a boolean if a field has been set. +### GetDefaultCarrierName + +`func (o *OrderDetailB2BLinesInner) GetDefaultCarrierName() string` + +GetDefaultCarrierName returns the DefaultCarrierName field if non-nil, zero value otherwise. + +### GetDefaultCarrierNameOk + +`func (o *OrderDetailB2BLinesInner) GetDefaultCarrierNameOk() (*string, bool)` + +GetDefaultCarrierNameOk returns a tuple with the DefaultCarrierName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultCarrierName + +`func (o *OrderDetailB2BLinesInner) SetDefaultCarrierName(v string)` + +SetDefaultCarrierName sets DefaultCarrierName field to given value. + +### HasDefaultCarrierName + +`func (o *OrderDetailB2BLinesInner) HasDefaultCarrierName() bool` + +HasDefaultCarrierName returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md b/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md index b8efea1..30b12b6 100644 --- a/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md +++ b/docs/OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **DeliveryDateRange** | Pointer to [**OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange**](OrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRange.md) | | [optional] **DeliverySource** | Pointer to **string** | Source of the delivery. | [optional] **DeliveryDescription** | Pointer to **string** | Delivery description. | [optional] -**DeliveredDate** | Pointer to **string** | Delivery date. | [optional] +**DeliveryDate** | Pointer to **string** | Delivery date. | [optional] ## Methods @@ -129,30 +129,30 @@ SetDeliveryDescription sets DeliveryDescription field to given value. HasDeliveryDescription returns a boolean if a field has been set. -### GetDeliveredDate +### GetDeliveryDate -`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveredDate() string` +`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveryDate() string` -GetDeliveredDate returns the DeliveredDate field if non-nil, zero value otherwise. +GetDeliveryDate returns the DeliveryDate field if non-nil, zero value otherwise. -### GetDeliveredDateOk +### GetDeliveryDateOk -`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveredDateOk() (*string, bool)` +`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveryDateOk() (*string, bool)` -GetDeliveredDateOk returns a tuple with the DeliveredDate field if it's non-nil, zero value otherwise +GetDeliveryDateOk returns a tuple with the DeliveryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDeliveredDate +### SetDeliveryDate -`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) SetDeliveredDate(v string)` +`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) SetDeliveryDate(v string)` -SetDeliveredDate sets DeliveredDate field to given value. +SetDeliveryDate sets DeliveryDate field to given value. -### HasDeliveredDate +### HasDeliveryDate -`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) HasDeliveredDate() bool` +`func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) HasDeliveryDate() bool` -HasDeliveredDate returns a boolean if a field has been set. +HasDeliveryDate returns a boolean if a field has been set. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostQuoteToOrderV6400Response.md b/docs/PostAsyncOrderCreateV7400Response.md similarity index 57% rename from docs/PostQuoteToOrderV6400Response.md rename to docs/PostAsyncOrderCreateV7400Response.md index f2c7f38..618b010 100644 --- a/docs/PostQuoteToOrderV6400Response.md +++ b/docs/PostAsyncOrderCreateV7400Response.md @@ -1,4 +1,4 @@ -# PostQuoteToOrderV6400Response +# PostAsyncOrderCreateV7400Response ## Properties @@ -7,124 +7,124 @@ Name | Type | Description | Notes **Traceid** | Pointer to **string** | A unique trace id to identify the issue. | [optional] **Type** | Pointer to **string** | Type of the error message. | [optional] **Message** | Pointer to **string** | A detailed error message. | [optional] -**Fields** | Pointer to [**[]PostQuoteToOrderV6400ResponseFieldsInner**](PostQuoteToOrderV6400ResponseFieldsInner.md) | | [optional] +**Fields** | Pointer to [**[]PostAsyncOrderCreateV7400ResponseFieldsInner**](PostAsyncOrderCreateV7400ResponseFieldsInner.md) | | [optional] ## Methods -### NewPostQuoteToOrderV6400Response +### NewPostAsyncOrderCreateV7400Response -`func NewPostQuoteToOrderV6400Response() *PostQuoteToOrderV6400Response` +`func NewPostAsyncOrderCreateV7400Response() *PostAsyncOrderCreateV7400Response` -NewPostQuoteToOrderV6400Response instantiates a new PostQuoteToOrderV6400Response object +NewPostAsyncOrderCreateV7400Response instantiates a new PostAsyncOrderCreateV7400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewPostQuoteToOrderV6400ResponseWithDefaults +### NewPostAsyncOrderCreateV7400ResponseWithDefaults -`func NewPostQuoteToOrderV6400ResponseWithDefaults() *PostQuoteToOrderV6400Response` +`func NewPostAsyncOrderCreateV7400ResponseWithDefaults() *PostAsyncOrderCreateV7400Response` -NewPostQuoteToOrderV6400ResponseWithDefaults instantiates a new PostQuoteToOrderV6400Response object +NewPostAsyncOrderCreateV7400ResponseWithDefaults instantiates a new PostAsyncOrderCreateV7400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetTraceid -`func (o *PostQuoteToOrderV6400Response) GetTraceid() string` +`func (o *PostAsyncOrderCreateV7400Response) GetTraceid() string` GetTraceid returns the Traceid field if non-nil, zero value otherwise. ### GetTraceidOk -`func (o *PostQuoteToOrderV6400Response) GetTraceidOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400Response) GetTraceidOk() (*string, bool)` GetTraceidOk returns a tuple with the Traceid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTraceid -`func (o *PostQuoteToOrderV6400Response) SetTraceid(v string)` +`func (o *PostAsyncOrderCreateV7400Response) SetTraceid(v string)` SetTraceid sets Traceid field to given value. ### HasTraceid -`func (o *PostQuoteToOrderV6400Response) HasTraceid() bool` +`func (o *PostAsyncOrderCreateV7400Response) HasTraceid() bool` HasTraceid returns a boolean if a field has been set. ### GetType -`func (o *PostQuoteToOrderV6400Response) GetType() string` +`func (o *PostAsyncOrderCreateV7400Response) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *PostQuoteToOrderV6400Response) GetTypeOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400Response) GetTypeOk() (*string, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *PostQuoteToOrderV6400Response) SetType(v string)` +`func (o *PostAsyncOrderCreateV7400Response) SetType(v string)` SetType sets Type field to given value. ### HasType -`func (o *PostQuoteToOrderV6400Response) HasType() bool` +`func (o *PostAsyncOrderCreateV7400Response) HasType() bool` HasType returns a boolean if a field has been set. ### GetMessage -`func (o *PostQuoteToOrderV6400Response) GetMessage() string` +`func (o *PostAsyncOrderCreateV7400Response) GetMessage() string` GetMessage returns the Message field if non-nil, zero value otherwise. ### GetMessageOk -`func (o *PostQuoteToOrderV6400Response) GetMessageOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400Response) GetMessageOk() (*string, bool)` GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMessage -`func (o *PostQuoteToOrderV6400Response) SetMessage(v string)` +`func (o *PostAsyncOrderCreateV7400Response) SetMessage(v string)` SetMessage sets Message field to given value. ### HasMessage -`func (o *PostQuoteToOrderV6400Response) HasMessage() bool` +`func (o *PostAsyncOrderCreateV7400Response) HasMessage() bool` HasMessage returns a boolean if a field has been set. ### GetFields -`func (o *PostQuoteToOrderV6400Response) GetFields() []PostQuoteToOrderV6400ResponseFieldsInner` +`func (o *PostAsyncOrderCreateV7400Response) GetFields() []PostAsyncOrderCreateV7400ResponseFieldsInner` GetFields returns the Fields field if non-nil, zero value otherwise. ### GetFieldsOk -`func (o *PostQuoteToOrderV6400Response) GetFieldsOk() (*[]PostQuoteToOrderV6400ResponseFieldsInner, bool)` +`func (o *PostAsyncOrderCreateV7400Response) GetFieldsOk() (*[]PostAsyncOrderCreateV7400ResponseFieldsInner, bool)` GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFields -`func (o *PostQuoteToOrderV6400Response) SetFields(v []PostQuoteToOrderV6400ResponseFieldsInner)` +`func (o *PostAsyncOrderCreateV7400Response) SetFields(v []PostAsyncOrderCreateV7400ResponseFieldsInner)` SetFields sets Fields field to given value. ### HasFields -`func (o *PostQuoteToOrderV6400Response) HasFields() bool` +`func (o *PostAsyncOrderCreateV7400Response) HasFields() bool` HasFields returns a boolean if a field has been set. diff --git a/docs/PostQuoteToOrderV6400ResponseFieldsInner.md b/docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md similarity index 55% rename from docs/PostQuoteToOrderV6400ResponseFieldsInner.md rename to docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md index 5c0e829..0bb94ed 100644 --- a/docs/PostQuoteToOrderV6400ResponseFieldsInner.md +++ b/docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md @@ -1,4 +1,4 @@ -# PostQuoteToOrderV6400ResponseFieldsInner +# PostAsyncOrderCreateV7400ResponseFieldsInner ## Properties @@ -10,95 +10,95 @@ Name | Type | Description | Notes ## Methods -### NewPostQuoteToOrderV6400ResponseFieldsInner +### NewPostAsyncOrderCreateV7400ResponseFieldsInner -`func NewPostQuoteToOrderV6400ResponseFieldsInner() *PostQuoteToOrderV6400ResponseFieldsInner` +`func NewPostAsyncOrderCreateV7400ResponseFieldsInner() *PostAsyncOrderCreateV7400ResponseFieldsInner` -NewPostQuoteToOrderV6400ResponseFieldsInner instantiates a new PostQuoteToOrderV6400ResponseFieldsInner object +NewPostAsyncOrderCreateV7400ResponseFieldsInner instantiates a new PostAsyncOrderCreateV7400ResponseFieldsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewPostQuoteToOrderV6400ResponseFieldsInnerWithDefaults +### NewPostAsyncOrderCreateV7400ResponseFieldsInnerWithDefaults -`func NewPostQuoteToOrderV6400ResponseFieldsInnerWithDefaults() *PostQuoteToOrderV6400ResponseFieldsInner` +`func NewPostAsyncOrderCreateV7400ResponseFieldsInnerWithDefaults() *PostAsyncOrderCreateV7400ResponseFieldsInner` -NewPostQuoteToOrderV6400ResponseFieldsInnerWithDefaults instantiates a new PostQuoteToOrderV6400ResponseFieldsInner object +NewPostAsyncOrderCreateV7400ResponseFieldsInnerWithDefaults instantiates a new PostAsyncOrderCreateV7400ResponseFieldsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetField -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetField() string` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetField() string` GetField returns the Field field if non-nil, zero value otherwise. ### GetFieldOk -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetFieldOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetFieldOk() (*string, bool)` GetFieldOk returns a tuple with the Field field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetField -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetField(v string)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetField(v string)` SetField sets Field field to given value. ### HasField -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasField() bool` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasField() bool` HasField returns a boolean if a field has been set. ### GetMessage -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessage() string` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetMessage() string` GetMessage returns the Message field if non-nil, zero value otherwise. ### GetMessageOk -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessageOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetMessageOk() (*string, bool)` GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMessage -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetMessage(v string)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetMessage(v string)` SetMessage sets Message field to given value. ### HasMessage -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasMessage() bool` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasMessage() bool` HasMessage returns a boolean if a field has been set. ### GetValue -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValue() string` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetValue() string` GetValue returns the Value field if non-nil, zero value otherwise. ### GetValueOk -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValueOk() (*string, bool)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetValueOk() (*string, bool)` GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetValue -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetValue(v string)` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetValue(v string)` SetValue sets Value field to given value. ### HasValue -`func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasValue() bool` +`func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasValue() bool` HasValue returns a boolean if a field has been set. diff --git a/docs/QuoteDetailsResponse.md b/docs/QuoteDetailsResponse.md index abfb352..f913507 100644 --- a/docs/QuoteDetailsResponse.md +++ b/docs/QuoteDetailsResponse.md @@ -30,9 +30,9 @@ Name | Type | Description | Notes **EndUserInfo** | Pointer to [**QuoteDetailsResponseEndUserInfo**](QuoteDetailsResponseEndUserInfo.md) | | [optional] **Products** | Pointer to [**[]QuoteDetailsResponseProductsInner**](QuoteDetailsResponseProductsInner.md) | | [optional] **ProductsCount** | Pointer to **int32** | Total number of products included in the quote | [optional] -**ExtendedMsrpTotal** | Pointer to **int32** | Total extended MSRP for all products included in the quote | [optional] +**ExtendedMsrpTotal** | Pointer to **float32** | Total extended MSRP for all products included in the quote | [optional] **QuantityTotal** | Pointer to **int32** | Total quantity of all items in the quote. | [optional] -**ExtendedQuotePriceTotal** | Pointer to **int32** | Total amount of quoted price for all products in the quote including both solution products and suggested products. | [optional] +**ExtendedQuotePriceTotal** | Pointer to **float32** | Total amount of quoted price for all products in the quote including both solution products and suggested products. | [optional] **TotalQuoteAmount** | Pointer to **string** | | [optional] **AdditionalAttributes** | Pointer to [**[]QuoteDetailsResponseAdditionalAttributesInner**](QuoteDetailsResponseAdditionalAttributesInner.md) | | [optional] @@ -707,20 +707,20 @@ HasProductsCount returns a boolean if a field has been set. ### GetExtendedMsrpTotal -`func (o *QuoteDetailsResponse) GetExtendedMsrpTotal() int32` +`func (o *QuoteDetailsResponse) GetExtendedMsrpTotal() float32` GetExtendedMsrpTotal returns the ExtendedMsrpTotal field if non-nil, zero value otherwise. ### GetExtendedMsrpTotalOk -`func (o *QuoteDetailsResponse) GetExtendedMsrpTotalOk() (*int32, bool)` +`func (o *QuoteDetailsResponse) GetExtendedMsrpTotalOk() (*float32, bool)` GetExtendedMsrpTotalOk returns a tuple with the ExtendedMsrpTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtendedMsrpTotal -`func (o *QuoteDetailsResponse) SetExtendedMsrpTotal(v int32)` +`func (o *QuoteDetailsResponse) SetExtendedMsrpTotal(v float32)` SetExtendedMsrpTotal sets ExtendedMsrpTotal field to given value. @@ -757,20 +757,20 @@ HasQuantityTotal returns a boolean if a field has been set. ### GetExtendedQuotePriceTotal -`func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotal() int32` +`func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotal() float32` GetExtendedQuotePriceTotal returns the ExtendedQuotePriceTotal field if non-nil, zero value otherwise. ### GetExtendedQuotePriceTotalOk -`func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotalOk() (*int32, bool)` +`func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotalOk() (*float32, bool)` GetExtendedQuotePriceTotalOk returns a tuple with the ExtendedQuotePriceTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtendedQuotePriceTotal -`func (o *QuoteDetailsResponse) SetExtendedQuotePriceTotal(v int32)` +`func (o *QuoteDetailsResponse) SetExtendedQuotePriceTotal(v float32)` SetExtendedQuotePriceTotal sets ExtendedQuotePriceTotal field to given value. diff --git a/docs/QuoteDetailsResponseProductsInnerPrice.md b/docs/QuoteDetailsResponseProductsInnerPrice.md index dcca4b8..c41bee7 100644 --- a/docs/QuoteDetailsResponseProductsInnerPrice.md +++ b/docs/QuoteDetailsResponseProductsInnerPrice.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**QuotePrice** | Pointer to **int32** | Ingram Micro quoted price specific to the reseller and quote. | [optional] -**Msrp** | Pointer to **int32** | Manufacturer Suggested Retail Price | [optional] -**ExtendedMsrp** | Pointer to **int32** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity | [optional] -**ExtendedQuotePrice** | Pointer to **int32** | Extended reseller quoted price (cost to reseller) X Quantity | [optional] +**QuotePrice** | Pointer to **float32** | Ingram Micro quoted price specific to the reseller and quote. | [optional] +**Msrp** | Pointer to **float32** | Manufacturer Suggested Retail Price | [optional] +**ExtendedMsrp** | Pointer to **float32** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity | [optional] +**ExtendedQuotePrice** | Pointer to **float32** | Extended reseller quoted price (cost to reseller) X Quantity | [optional] **DiscountOffList** | Pointer to **string** | Discount off list percentage extended | [optional] **Vendorprice** | Pointer to **float32** | | [optional] **Extendedvendorprice** | Pointer to **float32** | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetQuotePrice -`func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePrice() int32` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePrice() float32` GetQuotePrice returns the QuotePrice field if non-nil, zero value otherwise. ### GetQuotePriceOk -`func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePriceOk() (*int32, bool)` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePriceOk() (*float32, bool)` GetQuotePriceOk returns a tuple with the QuotePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetQuotePrice -`func (o *QuoteDetailsResponseProductsInnerPrice) SetQuotePrice(v int32)` +`func (o *QuoteDetailsResponseProductsInnerPrice) SetQuotePrice(v float32)` SetQuotePrice sets QuotePrice field to given value. @@ -61,20 +61,20 @@ HasQuotePrice returns a boolean if a field has been set. ### GetMsrp -`func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrp() int32` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrp() float32` GetMsrp returns the Msrp field if non-nil, zero value otherwise. ### GetMsrpOk -`func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrpOk() (*int32, bool)` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrpOk() (*float32, bool)` GetMsrpOk returns a tuple with the Msrp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMsrp -`func (o *QuoteDetailsResponseProductsInnerPrice) SetMsrp(v int32)` +`func (o *QuoteDetailsResponseProductsInnerPrice) SetMsrp(v float32)` SetMsrp sets Msrp field to given value. @@ -86,20 +86,20 @@ HasMsrp returns a boolean if a field has been set. ### GetExtendedMsrp -`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrp() int32` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrp() float32` GetExtendedMsrp returns the ExtendedMsrp field if non-nil, zero value otherwise. ### GetExtendedMsrpOk -`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrpOk() (*int32, bool)` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrpOk() (*float32, bool)` GetExtendedMsrpOk returns a tuple with the ExtendedMsrp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtendedMsrp -`func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedMsrp(v int32)` +`func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedMsrp(v float32)` SetExtendedMsrp sets ExtendedMsrp field to given value. @@ -111,20 +111,20 @@ HasExtendedMsrp returns a boolean if a field has been set. ### GetExtendedQuotePrice -`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePrice() int32` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePrice() float32` GetExtendedQuotePrice returns the ExtendedQuotePrice field if non-nil, zero value otherwise. ### GetExtendedQuotePriceOk -`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePriceOk() (*int32, bool)` +`func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePriceOk() (*float32, bool)` GetExtendedQuotePriceOk returns a tuple with the ExtendedQuotePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtendedQuotePrice -`func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedQuotePrice(v int32)` +`func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedQuotePrice(v float32)` SetExtendedQuotePrice sets ExtendedQuotePrice field to given value. diff --git a/docs/QuoteToOrderDetailsDTO.md b/docs/QuoteToOrderDetailsDTO.md deleted file mode 100644 index 464740a..0000000 --- a/docs/QuoteToOrderDetailsDTO.md +++ /dev/null @@ -1,304 +0,0 @@ -# QuoteToOrderDetailsDTO - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**QuoteNumber** | Pointer to **NullableString** | A unique identifier generated by Ingram Micro's CRM specific to each quote. | [optional] -**CustomerOrderNumber** | Pointer to **NullableString** | The reseller's order number for reference in their system. | [optional] -**EnduserOrderNumber** | Pointer to **NullableString** | The end customer's order number for reference in their system. | [optional] -**BillToAddressId** | Pointer to **NullableString** | Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. | [optional] -**EndUserInfo** | Pointer to [**QuoteToOrderDetailsDTOEndUserInfo**](QuoteToOrderDetailsDTOEndUserInfo.md) | | [optional] -**ShipToInfo** | Pointer to [**QuoteToOrderDetailsDTOShipToInfo**](QuoteToOrderDetailsDTOShipToInfo.md) | | [optional] -**AdditionalAttributes** | Pointer to [**[]QuoteToOrderDetailsDTOAdditionalAttributesInner**](QuoteToOrderDetailsDTOAdditionalAttributesInner.md) | Additional order create attributes. | [optional] -**VmfadditionalAttributes** | Pointer to [**[]QuoteToOrderDetailsDTOVmfadditionalAttributesInner**](QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] -**Lines** | Pointer to [**[]QuoteToOrderDetailsDTOLinesInner**](QuoteToOrderDetailsDTOLinesInner.md) | The object containing the lines that require vendor mandatory fields. | [optional] - -## Methods - -### NewQuoteToOrderDetailsDTO - -`func NewQuoteToOrderDetailsDTO() *QuoteToOrderDetailsDTO` - -NewQuoteToOrderDetailsDTO instantiates a new QuoteToOrderDetailsDTO object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewQuoteToOrderDetailsDTOWithDefaults - -`func NewQuoteToOrderDetailsDTOWithDefaults() *QuoteToOrderDetailsDTO` - -NewQuoteToOrderDetailsDTOWithDefaults instantiates a new QuoteToOrderDetailsDTO object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetQuoteNumber - -`func (o *QuoteToOrderDetailsDTO) GetQuoteNumber() string` - -GetQuoteNumber returns the QuoteNumber field if non-nil, zero value otherwise. - -### GetQuoteNumberOk - -`func (o *QuoteToOrderDetailsDTO) GetQuoteNumberOk() (*string, bool)` - -GetQuoteNumberOk returns a tuple with the QuoteNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuoteNumber - -`func (o *QuoteToOrderDetailsDTO) SetQuoteNumber(v string)` - -SetQuoteNumber sets QuoteNumber field to given value. - -### HasQuoteNumber - -`func (o *QuoteToOrderDetailsDTO) HasQuoteNumber() bool` - -HasQuoteNumber returns a boolean if a field has been set. - -### SetQuoteNumberNil - -`func (o *QuoteToOrderDetailsDTO) SetQuoteNumberNil(b bool)` - - SetQuoteNumberNil sets the value for QuoteNumber to be an explicit nil - -### UnsetQuoteNumber -`func (o *QuoteToOrderDetailsDTO) UnsetQuoteNumber()` - -UnsetQuoteNumber ensures that no value is present for QuoteNumber, not even an explicit nil -### GetCustomerOrderNumber - -`func (o *QuoteToOrderDetailsDTO) GetCustomerOrderNumber() string` - -GetCustomerOrderNumber returns the CustomerOrderNumber field if non-nil, zero value otherwise. - -### GetCustomerOrderNumberOk - -`func (o *QuoteToOrderDetailsDTO) GetCustomerOrderNumberOk() (*string, bool)` - -GetCustomerOrderNumberOk returns a tuple with the CustomerOrderNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomerOrderNumber - -`func (o *QuoteToOrderDetailsDTO) SetCustomerOrderNumber(v string)` - -SetCustomerOrderNumber sets CustomerOrderNumber field to given value. - -### HasCustomerOrderNumber - -`func (o *QuoteToOrderDetailsDTO) HasCustomerOrderNumber() bool` - -HasCustomerOrderNumber returns a boolean if a field has been set. - -### SetCustomerOrderNumberNil - -`func (o *QuoteToOrderDetailsDTO) SetCustomerOrderNumberNil(b bool)` - - SetCustomerOrderNumberNil sets the value for CustomerOrderNumber to be an explicit nil - -### UnsetCustomerOrderNumber -`func (o *QuoteToOrderDetailsDTO) UnsetCustomerOrderNumber()` - -UnsetCustomerOrderNumber ensures that no value is present for CustomerOrderNumber, not even an explicit nil -### GetEnduserOrderNumber - -`func (o *QuoteToOrderDetailsDTO) GetEnduserOrderNumber() string` - -GetEnduserOrderNumber returns the EnduserOrderNumber field if non-nil, zero value otherwise. - -### GetEnduserOrderNumberOk - -`func (o *QuoteToOrderDetailsDTO) GetEnduserOrderNumberOk() (*string, bool)` - -GetEnduserOrderNumberOk returns a tuple with the EnduserOrderNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnduserOrderNumber - -`func (o *QuoteToOrderDetailsDTO) SetEnduserOrderNumber(v string)` - -SetEnduserOrderNumber sets EnduserOrderNumber field to given value. - -### HasEnduserOrderNumber - -`func (o *QuoteToOrderDetailsDTO) HasEnduserOrderNumber() bool` - -HasEnduserOrderNumber returns a boolean if a field has been set. - -### SetEnduserOrderNumberNil - -`func (o *QuoteToOrderDetailsDTO) SetEnduserOrderNumberNil(b bool)` - - SetEnduserOrderNumberNil sets the value for EnduserOrderNumber to be an explicit nil - -### UnsetEnduserOrderNumber -`func (o *QuoteToOrderDetailsDTO) UnsetEnduserOrderNumber()` - -UnsetEnduserOrderNumber ensures that no value is present for EnduserOrderNumber, not even an explicit nil -### GetBillToAddressId - -`func (o *QuoteToOrderDetailsDTO) GetBillToAddressId() string` - -GetBillToAddressId returns the BillToAddressId field if non-nil, zero value otherwise. - -### GetBillToAddressIdOk - -`func (o *QuoteToOrderDetailsDTO) GetBillToAddressIdOk() (*string, bool)` - -GetBillToAddressIdOk returns a tuple with the BillToAddressId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBillToAddressId - -`func (o *QuoteToOrderDetailsDTO) SetBillToAddressId(v string)` - -SetBillToAddressId sets BillToAddressId field to given value. - -### HasBillToAddressId - -`func (o *QuoteToOrderDetailsDTO) HasBillToAddressId() bool` - -HasBillToAddressId returns a boolean if a field has been set. - -### SetBillToAddressIdNil - -`func (o *QuoteToOrderDetailsDTO) SetBillToAddressIdNil(b bool)` - - SetBillToAddressIdNil sets the value for BillToAddressId to be an explicit nil - -### UnsetBillToAddressId -`func (o *QuoteToOrderDetailsDTO) UnsetBillToAddressId()` - -UnsetBillToAddressId ensures that no value is present for BillToAddressId, not even an explicit nil -### GetEndUserInfo - -`func (o *QuoteToOrderDetailsDTO) GetEndUserInfo() QuoteToOrderDetailsDTOEndUserInfo` - -GetEndUserInfo returns the EndUserInfo field if non-nil, zero value otherwise. - -### GetEndUserInfoOk - -`func (o *QuoteToOrderDetailsDTO) GetEndUserInfoOk() (*QuoteToOrderDetailsDTOEndUserInfo, bool)` - -GetEndUserInfoOk returns a tuple with the EndUserInfo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEndUserInfo - -`func (o *QuoteToOrderDetailsDTO) SetEndUserInfo(v QuoteToOrderDetailsDTOEndUserInfo)` - -SetEndUserInfo sets EndUserInfo field to given value. - -### HasEndUserInfo - -`func (o *QuoteToOrderDetailsDTO) HasEndUserInfo() bool` - -HasEndUserInfo returns a boolean if a field has been set. - -### GetShipToInfo - -`func (o *QuoteToOrderDetailsDTO) GetShipToInfo() QuoteToOrderDetailsDTOShipToInfo` - -GetShipToInfo returns the ShipToInfo field if non-nil, zero value otherwise. - -### GetShipToInfoOk - -`func (o *QuoteToOrderDetailsDTO) GetShipToInfoOk() (*QuoteToOrderDetailsDTOShipToInfo, bool)` - -GetShipToInfoOk returns a tuple with the ShipToInfo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetShipToInfo - -`func (o *QuoteToOrderDetailsDTO) SetShipToInfo(v QuoteToOrderDetailsDTOShipToInfo)` - -SetShipToInfo sets ShipToInfo field to given value. - -### HasShipToInfo - -`func (o *QuoteToOrderDetailsDTO) HasShipToInfo() bool` - -HasShipToInfo returns a boolean if a field has been set. - -### GetAdditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) GetAdditionalAttributes() []QuoteToOrderDetailsDTOAdditionalAttributesInner` - -GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise. - -### GetAdditionalAttributesOk - -`func (o *QuoteToOrderDetailsDTO) GetAdditionalAttributesOk() (*[]QuoteToOrderDetailsDTOAdditionalAttributesInner, bool)` - -GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) SetAdditionalAttributes(v []QuoteToOrderDetailsDTOAdditionalAttributesInner)` - -SetAdditionalAttributes sets AdditionalAttributes field to given value. - -### HasAdditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) HasAdditionalAttributes() bool` - -HasAdditionalAttributes returns a boolean if a field has been set. - -### GetVmfadditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) GetVmfadditionalAttributes() []QuoteToOrderDetailsDTOVmfadditionalAttributesInner` - -GetVmfadditionalAttributes returns the VmfadditionalAttributes field if non-nil, zero value otherwise. - -### GetVmfadditionalAttributesOk - -`func (o *QuoteToOrderDetailsDTO) GetVmfadditionalAttributesOk() (*[]QuoteToOrderDetailsDTOVmfadditionalAttributesInner, bool)` - -GetVmfadditionalAttributesOk returns a tuple with the VmfadditionalAttributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVmfadditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) SetVmfadditionalAttributes(v []QuoteToOrderDetailsDTOVmfadditionalAttributesInner)` - -SetVmfadditionalAttributes sets VmfadditionalAttributes field to given value. - -### HasVmfadditionalAttributes - -`func (o *QuoteToOrderDetailsDTO) HasVmfadditionalAttributes() bool` - -HasVmfadditionalAttributes returns a boolean if a field has been set. - -### GetLines - -`func (o *QuoteToOrderDetailsDTO) GetLines() []QuoteToOrderDetailsDTOLinesInner` - -GetLines returns the Lines field if non-nil, zero value otherwise. - -### GetLinesOk - -`func (o *QuoteToOrderDetailsDTO) GetLinesOk() (*[]QuoteToOrderDetailsDTOLinesInner, bool)` - -GetLinesOk returns a tuple with the Lines field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLines - -`func (o *QuoteToOrderDetailsDTO) SetLines(v []QuoteToOrderDetailsDTOLinesInner)` - -SetLines sets Lines field to given value. - -### HasLines - -`func (o *QuoteToOrderDetailsDTO) HasLines() bool` - -HasLines returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/QuoteToOrderDetailsDTOEndUserInfo.md b/docs/QuoteToOrderDetailsDTOEndUserInfo.md deleted file mode 100644 index 6dfdbff..0000000 --- a/docs/QuoteToOrderDetailsDTOEndUserInfo.md +++ /dev/null @@ -1,316 +0,0 @@ -# QuoteToOrderDetailsDTOEndUserInfo - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CompanyName** | Pointer to **string** | The company name for the end user/customer. | [optional] -**Contact** | Pointer to **string** | The contact name for the end user/customer. | [optional] -**AddressLine1** | Pointer to **string** | The address line 1 for the end user/customer. | [optional] -**AddressLine2** | Pointer to **string** | The address line 2 for the end user/customer. | [optional] -**AddressLine3** | Pointer to **string** | The address line 3 for the end user/customer. | [optional] -**City** | Pointer to **string** | The end user/customer's city. | [optional] -**State** | Pointer to **string** | The end user/customer's state. | [optional] -**PostalCode** | Pointer to **string** | The end user/customer's zip or postal code. | [optional] -**CountryCode** | Pointer to **string** | The end user/customer's two character ISO country code. | [optional] -**Email** | Pointer to **string** | The end user/customer's phone number. | [optional] -**PhoneNumber** | Pointer to **string** | The end user/customer's phone number. | [optional] - -## Methods - -### NewQuoteToOrderDetailsDTOEndUserInfo - -`func NewQuoteToOrderDetailsDTOEndUserInfo() *QuoteToOrderDetailsDTOEndUserInfo` - -NewQuoteToOrderDetailsDTOEndUserInfo instantiates a new QuoteToOrderDetailsDTOEndUserInfo object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewQuoteToOrderDetailsDTOEndUserInfoWithDefaults - -`func NewQuoteToOrderDetailsDTOEndUserInfoWithDefaults() *QuoteToOrderDetailsDTOEndUserInfo` - -NewQuoteToOrderDetailsDTOEndUserInfoWithDefaults instantiates a new QuoteToOrderDetailsDTOEndUserInfo object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCompanyName - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyName() string` - -GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. - -### GetCompanyNameOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyNameOk() (*string, bool)` - -GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCompanyName - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCompanyName(v string)` - -SetCompanyName sets CompanyName field to given value. - -### HasCompanyName - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCompanyName() bool` - -HasCompanyName returns a boolean if a field has been set. - -### GetContact - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContact() string` - -GetContact returns the Contact field if non-nil, zero value otherwise. - -### GetContactOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContactOk() (*string, bool)` - -GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetContact - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetContact(v string)` - -SetContact sets Contact field to given value. - -### HasContact - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasContact() bool` - -HasContact returns a boolean if a field has been set. - -### GetAddressLine1 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1() string` - -GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. - -### GetAddressLine1Ok - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1Ok() (*string, bool)` - -GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine1 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine1(v string)` - -SetAddressLine1 sets AddressLine1 field to given value. - -### HasAddressLine1 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine1() bool` - -HasAddressLine1 returns a boolean if a field has been set. - -### GetAddressLine2 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2() string` - -GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. - -### GetAddressLine2Ok - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2Ok() (*string, bool)` - -GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine2 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine2(v string)` - -SetAddressLine2 sets AddressLine2 field to given value. - -### HasAddressLine2 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine2() bool` - -HasAddressLine2 returns a boolean if a field has been set. - -### GetAddressLine3 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3() string` - -GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. - -### GetAddressLine3Ok - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3Ok() (*string, bool)` - -GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine3 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine3(v string)` - -SetAddressLine3 sets AddressLine3 field to given value. - -### HasAddressLine3 - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine3() bool` - -HasAddressLine3 returns a boolean if a field has been set. - -### GetCity - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCity() string` - -GetCity returns the City field if non-nil, zero value otherwise. - -### GetCityOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCityOk() (*string, bool)` - -GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCity - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCity(v string)` - -SetCity sets City field to given value. - -### HasCity - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCity() bool` - -HasCity returns a boolean if a field has been set. - -### GetState - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetState() string` - -GetState returns the State field if non-nil, zero value otherwise. - -### GetStateOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetStateOk() (*string, bool)` - -GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetState - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetState(v string)` - -SetState sets State field to given value. - -### HasState - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasState() bool` - -HasState returns a boolean if a field has been set. - -### GetPostalCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCode() string` - -GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. - -### GetPostalCodeOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCodeOk() (*string, bool)` - -GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPostalCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetPostalCode(v string)` - -SetPostalCode sets PostalCode field to given value. - -### HasPostalCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasPostalCode() bool` - -HasPostalCode returns a boolean if a field has been set. - -### GetCountryCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCode() string` - -GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. - -### GetCountryCodeOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCodeOk() (*string, bool)` - -GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountryCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCountryCode(v string)` - -SetCountryCode sets CountryCode field to given value. - -### HasCountryCode - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCountryCode() bool` - -HasCountryCode returns a boolean if a field has been set. - -### GetEmail - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetPhoneNumber - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPhoneNumber() string` - -GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise. - -### GetPhoneNumberOk - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPhoneNumberOk() (*string, bool)` - -GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPhoneNumber - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) SetPhoneNumber(v string)` - -SetPhoneNumber sets PhoneNumber field to given value. - -### HasPhoneNumber - -`func (o *QuoteToOrderDetailsDTOEndUserInfo) HasPhoneNumber() bool` - -HasPhoneNumber returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/QuoteToOrderDetailsDTOLinesInner.md b/docs/QuoteToOrderDetailsDTOLinesInner.md deleted file mode 100644 index 74bf1da..0000000 --- a/docs/QuoteToOrderDetailsDTOLinesInner.md +++ /dev/null @@ -1,134 +0,0 @@ -# QuoteToOrderDetailsDTOLinesInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CustomerLineNumber** | Pointer to **string** | The reseller's line item number for reference in their system. | [optional] -**IngramPartNumber** | Pointer to **string** | Unique IngramMicro part number. | [optional] -**Quantity** | Pointer to **string** | The quantity of the line item. | [optional] -**VmfAdditionalAttributesLines** | Pointer to [**[]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner**](QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] - -## Methods - -### NewQuoteToOrderDetailsDTOLinesInner - -`func NewQuoteToOrderDetailsDTOLinesInner() *QuoteToOrderDetailsDTOLinesInner` - -NewQuoteToOrderDetailsDTOLinesInner instantiates a new QuoteToOrderDetailsDTOLinesInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewQuoteToOrderDetailsDTOLinesInnerWithDefaults - -`func NewQuoteToOrderDetailsDTOLinesInnerWithDefaults() *QuoteToOrderDetailsDTOLinesInner` - -NewQuoteToOrderDetailsDTOLinesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOLinesInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCustomerLineNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetCustomerLineNumber() string` - -GetCustomerLineNumber returns the CustomerLineNumber field if non-nil, zero value otherwise. - -### GetCustomerLineNumberOk - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetCustomerLineNumberOk() (*string, bool)` - -GetCustomerLineNumberOk returns a tuple with the CustomerLineNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomerLineNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) SetCustomerLineNumber(v string)` - -SetCustomerLineNumber sets CustomerLineNumber field to given value. - -### HasCustomerLineNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) HasCustomerLineNumber() bool` - -HasCustomerLineNumber returns a boolean if a field has been set. - -### GetIngramPartNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetIngramPartNumber() string` - -GetIngramPartNumber returns the IngramPartNumber field if non-nil, zero value otherwise. - -### GetIngramPartNumberOk - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetIngramPartNumberOk() (*string, bool)` - -GetIngramPartNumberOk returns a tuple with the IngramPartNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIngramPartNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) SetIngramPartNumber(v string)` - -SetIngramPartNumber sets IngramPartNumber field to given value. - -### HasIngramPartNumber - -`func (o *QuoteToOrderDetailsDTOLinesInner) HasIngramPartNumber() bool` - -HasIngramPartNumber returns a boolean if a field has been set. - -### GetQuantity - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetQuantity() string` - -GetQuantity returns the Quantity field if non-nil, zero value otherwise. - -### GetQuantityOk - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetQuantityOk() (*string, bool)` - -GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuantity - -`func (o *QuoteToOrderDetailsDTOLinesInner) SetQuantity(v string)` - -SetQuantity sets Quantity field to given value. - -### HasQuantity - -`func (o *QuoteToOrderDetailsDTOLinesInner) HasQuantity() bool` - -HasQuantity returns a boolean if a field has been set. - -### GetVmfAdditionalAttributesLines - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetVmfAdditionalAttributesLines() []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner` - -GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field if non-nil, zero value otherwise. - -### GetVmfAdditionalAttributesLinesOk - -`func (o *QuoteToOrderDetailsDTOLinesInner) GetVmfAdditionalAttributesLinesOk() (*[]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner, bool)` - -GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVmfAdditionalAttributesLines - -`func (o *QuoteToOrderDetailsDTOLinesInner) SetVmfAdditionalAttributesLines(v []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner)` - -SetVmfAdditionalAttributesLines sets VmfAdditionalAttributesLines field to given value. - -### HasVmfAdditionalAttributesLines - -`func (o *QuoteToOrderDetailsDTOLinesInner) HasVmfAdditionalAttributesLines() bool` - -HasVmfAdditionalAttributesLines returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/QuoteToOrderDetailsDTOShipToInfo.md b/docs/QuoteToOrderDetailsDTOShipToInfo.md deleted file mode 100644 index 2d46f6f..0000000 --- a/docs/QuoteToOrderDetailsDTOShipToInfo.md +++ /dev/null @@ -1,336 +0,0 @@ -# QuoteToOrderDetailsDTOShipToInfo - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**AddressId** | Pointer to **string** | The company contact provided by the reseller. | [optional] -**CompanyName** | Pointer to **string** | The name of the company the order will be shipped to. | [optional] -**Contact** | Pointer to **string** | The contact name for the order will be shipped to. | [optional] -**AddressLine1** | Pointer to **string** | The address line 1 the order will be shipped to. | [optional] -**AddressLine2** | Pointer to **string** | The address line 2 the order will be shipped to. | [optional] -**AddressLine3** | Pointer to **NullableString** | The address line 3 the order will be shipped to. | [optional] -**City** | Pointer to **string** | The city the order will be shipped to. | [optional] -**State** | Pointer to **string** | The state the order will be shipped to. | [optional] -**PostalCode** | Pointer to **string** | The zip or postal code the order will be shipped to. | [optional] -**CountryCode** | Pointer to **string** | The two-character ISO country code the order will be shipped to. | [optional] -**Email** | Pointer to **NullableString** | The company contact email address. | [optional] - -## Methods - -### NewQuoteToOrderDetailsDTOShipToInfo - -`func NewQuoteToOrderDetailsDTOShipToInfo() *QuoteToOrderDetailsDTOShipToInfo` - -NewQuoteToOrderDetailsDTOShipToInfo instantiates a new QuoteToOrderDetailsDTOShipToInfo object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewQuoteToOrderDetailsDTOShipToInfoWithDefaults - -`func NewQuoteToOrderDetailsDTOShipToInfoWithDefaults() *QuoteToOrderDetailsDTOShipToInfo` - -NewQuoteToOrderDetailsDTOShipToInfoWithDefaults instantiates a new QuoteToOrderDetailsDTOShipToInfo object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAddressId - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressId() string` - -GetAddressId returns the AddressId field if non-nil, zero value otherwise. - -### GetAddressIdOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressIdOk() (*string, bool)` - -GetAddressIdOk returns a tuple with the AddressId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressId - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressId(v string)` - -SetAddressId sets AddressId field to given value. - -### HasAddressId - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressId() bool` - -HasAddressId returns a boolean if a field has been set. - -### GetCompanyName - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCompanyName() string` - -GetCompanyName returns the CompanyName field if non-nil, zero value otherwise. - -### GetCompanyNameOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCompanyNameOk() (*string, bool)` - -GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCompanyName - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetCompanyName(v string)` - -SetCompanyName sets CompanyName field to given value. - -### HasCompanyName - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasCompanyName() bool` - -HasCompanyName returns a boolean if a field has been set. - -### GetContact - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetContact() string` - -GetContact returns the Contact field if non-nil, zero value otherwise. - -### GetContactOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetContactOk() (*string, bool)` - -GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetContact - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetContact(v string)` - -SetContact sets Contact field to given value. - -### HasContact - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasContact() bool` - -HasContact returns a boolean if a field has been set. - -### GetAddressLine1 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1() string` - -GetAddressLine1 returns the AddressLine1 field if non-nil, zero value otherwise. - -### GetAddressLine1Ok - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1Ok() (*string, bool)` - -GetAddressLine1Ok returns a tuple with the AddressLine1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine1 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine1(v string)` - -SetAddressLine1 sets AddressLine1 field to given value. - -### HasAddressLine1 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine1() bool` - -HasAddressLine1 returns a boolean if a field has been set. - -### GetAddressLine2 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2() string` - -GetAddressLine2 returns the AddressLine2 field if non-nil, zero value otherwise. - -### GetAddressLine2Ok - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2Ok() (*string, bool)` - -GetAddressLine2Ok returns a tuple with the AddressLine2 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine2 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine2(v string)` - -SetAddressLine2 sets AddressLine2 field to given value. - -### HasAddressLine2 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine2() bool` - -HasAddressLine2 returns a boolean if a field has been set. - -### GetAddressLine3 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3() string` - -GetAddressLine3 returns the AddressLine3 field if non-nil, zero value otherwise. - -### GetAddressLine3Ok - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3Ok() (*string, bool)` - -GetAddressLine3Ok returns a tuple with the AddressLine3 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddressLine3 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine3(v string)` - -SetAddressLine3 sets AddressLine3 field to given value. - -### HasAddressLine3 - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine3() bool` - -HasAddressLine3 returns a boolean if a field has been set. - -### SetAddressLine3Nil - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine3Nil(b bool)` - - SetAddressLine3Nil sets the value for AddressLine3 to be an explicit nil - -### UnsetAddressLine3 -`func (o *QuoteToOrderDetailsDTOShipToInfo) UnsetAddressLine3()` - -UnsetAddressLine3 ensures that no value is present for AddressLine3, not even an explicit nil -### GetCity - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCity() string` - -GetCity returns the City field if non-nil, zero value otherwise. - -### GetCityOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCityOk() (*string, bool)` - -GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCity - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetCity(v string)` - -SetCity sets City field to given value. - -### HasCity - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasCity() bool` - -HasCity returns a boolean if a field has been set. - -### GetState - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetState() string` - -GetState returns the State field if non-nil, zero value otherwise. - -### GetStateOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetStateOk() (*string, bool)` - -GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetState - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetState(v string)` - -SetState sets State field to given value. - -### HasState - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasState() bool` - -HasState returns a boolean if a field has been set. - -### GetPostalCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCode() string` - -GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. - -### GetPostalCodeOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCodeOk() (*string, bool)` - -GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPostalCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetPostalCode(v string)` - -SetPostalCode sets PostalCode field to given value. - -### HasPostalCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasPostalCode() bool` - -HasPostalCode returns a boolean if a field has been set. - -### GetCountryCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCode() string` - -GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. - -### GetCountryCodeOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCodeOk() (*string, bool)` - -GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountryCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetCountryCode(v string)` - -SetCountryCode sets CountryCode field to given value. - -### HasCountryCode - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasCountryCode() bool` - -HasCountryCode returns a boolean if a field has been set. - -### GetEmail - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *QuoteToOrderDetailsDTOShipToInfo) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### SetEmailNil - -`func (o *QuoteToOrderDetailsDTOShipToInfo) SetEmailNil(b bool)` - - SetEmailNil sets the value for Email to be an explicit nil - -### UnsetEmail -`func (o *QuoteToOrderDetailsDTOShipToInfo) UnsetEmail()` - -UnsetEmail ensures that no value is present for Email, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md b/docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md deleted file mode 100644 index ee87bd1..0000000 --- a/docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md +++ /dev/null @@ -1,108 +0,0 @@ -# QuoteToOrderDetailsDTOVmfadditionalAttributesInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**AttributeName** | Pointer to **string** | The name of the header level field. | [optional] -**AttributeValue** | Pointer to **string** | The value of the header level field. | [optional] -**AttributeDescription** | Pointer to **string** | The description of the header level field. | [optional] - -## Methods - -### NewQuoteToOrderDetailsDTOVmfadditionalAttributesInner - -`func NewQuoteToOrderDetailsDTOVmfadditionalAttributesInner() *QuoteToOrderDetailsDTOVmfadditionalAttributesInner` - -NewQuoteToOrderDetailsDTOVmfadditionalAttributesInner instantiates a new QuoteToOrderDetailsDTOVmfadditionalAttributesInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewQuoteToOrderDetailsDTOVmfadditionalAttributesInnerWithDefaults - -`func NewQuoteToOrderDetailsDTOVmfadditionalAttributesInnerWithDefaults() *QuoteToOrderDetailsDTOVmfadditionalAttributesInner` - -NewQuoteToOrderDetailsDTOVmfadditionalAttributesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOVmfadditionalAttributesInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAttributeName - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeName() string` - -GetAttributeName returns the AttributeName field if non-nil, zero value otherwise. - -### GetAttributeNameOk - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeNameOk() (*string, bool)` - -GetAttributeNameOk returns a tuple with the AttributeName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributeName - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeName(v string)` - -SetAttributeName sets AttributeName field to given value. - -### HasAttributeName - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeName() bool` - -HasAttributeName returns a boolean if a field has been set. - -### GetAttributeValue - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeValue() string` - -GetAttributeValue returns the AttributeValue field if non-nil, zero value otherwise. - -### GetAttributeValueOk - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeValueOk() (*string, bool)` - -GetAttributeValueOk returns a tuple with the AttributeValue field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributeValue - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeValue(v string)` - -SetAttributeValue sets AttributeValue field to given value. - -### HasAttributeValue - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeValue() bool` - -HasAttributeValue returns a boolean if a field has been set. - -### GetAttributeDescription - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeDescription() string` - -GetAttributeDescription returns the AttributeDescription field if non-nil, zero value otherwise. - -### GetAttributeDescriptionOk - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeDescriptionOk() (*string, bool)` - -GetAttributeDescriptionOk returns a tuple with the AttributeDescription field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributeDescription - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeDescription(v string)` - -SetAttributeDescription sets AttributeDescription field to given value. - -### HasAttributeDescription - -`func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeDescription() bool` - -HasAttributeDescription returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ValidateQuoteResponseLinesInner.md b/docs/ValidateQuoteResponseLinesInner.md index 3a97e2e..f679244 100644 --- a/docs/ValidateQuoteResponseLinesInner.md +++ b/docs/ValidateQuoteResponseLinesInner.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CustomerLineNumber** | Pointer to **string** | The reseller's line item number for reference in their system. | [optional] **IngramPartNumber** | Pointer to **string** | Unique Ingram Micro part number. | [optional] -**Quantity** | Pointer to **string** | The quantity of the line item. | [optional] -**VmfAdditionalAttributesLines** | Pointer to [**[]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner**](QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] +**Quantity** | Pointer to **int32** | The quantity of the line item. | [optional] +**VmfAdditionalAttributesLines** | Pointer to [**[]ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner**](ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md) | The object containing the list of fields required at a line level by the vendor. | [optional] ## Methods @@ -80,20 +80,20 @@ HasIngramPartNumber returns a boolean if a field has been set. ### GetQuantity -`func (o *ValidateQuoteResponseLinesInner) GetQuantity() string` +`func (o *ValidateQuoteResponseLinesInner) GetQuantity() int32` GetQuantity returns the Quantity field if non-nil, zero value otherwise. ### GetQuantityOk -`func (o *ValidateQuoteResponseLinesInner) GetQuantityOk() (*string, bool)` +`func (o *ValidateQuoteResponseLinesInner) GetQuantityOk() (*int32, bool)` GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetQuantity -`func (o *ValidateQuoteResponseLinesInner) SetQuantity(v string)` +`func (o *ValidateQuoteResponseLinesInner) SetQuantity(v int32)` SetQuantity sets Quantity field to given value. @@ -105,20 +105,20 @@ HasQuantity returns a boolean if a field has been set. ### GetVmfAdditionalAttributesLines -`func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLines() []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner` +`func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLines() []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner` GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field if non-nil, zero value otherwise. ### GetVmfAdditionalAttributesLinesOk -`func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLinesOk() (*[]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner, bool)` +`func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLinesOk() (*[]ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner, bool)` GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVmfAdditionalAttributesLines -`func (o *ValidateQuoteResponseLinesInner) SetVmfAdditionalAttributesLines(v []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner)` +`func (o *ValidateQuoteResponseLinesInner) SetVmfAdditionalAttributesLines(v []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner)` SetVmfAdditionalAttributesLines sets VmfAdditionalAttributesLines field to given value. diff --git a/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md b/docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md similarity index 52% rename from docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md rename to docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md index 179f164..dc455f5 100644 --- a/docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md +++ b/docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md @@ -1,4 +1,4 @@ -# QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner +# ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner ## Properties @@ -10,95 +10,95 @@ Name | Type | Description | Notes ## Methods -### NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner +### NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner -`func NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner` +`func NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner` -NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner instantiates a new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner object +NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner instantiates a new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults +### NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults -`func NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults() *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner` +`func NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults() *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner` -NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner object +NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetAttributeName -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string` GetAttributeName returns the AttributeName field if non-nil, zero value otherwise. ### GetAttributeNameOk -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool)` GetAttributeNameOk returns a tuple with the AttributeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeName -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string)` SetAttributeName sets AttributeName field to given value. ### HasAttributeName -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool` HasAttributeName returns a boolean if a field has been set. ### GetAttributeValue -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string` GetAttributeValue returns the AttributeValue field if non-nil, zero value otherwise. ### GetAttributeValueOk -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool)` GetAttributeValueOk returns a tuple with the AttributeValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeValue -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string)` SetAttributeValue sets AttributeValue field to given value. ### HasAttributeValue -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool` HasAttributeValue returns a boolean if a field has been set. ### GetAttributeDescription -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescription() string` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescription() string` GetAttributeDescription returns the AttributeDescription field if non-nil, zero value otherwise. ### GetAttributeDescriptionOk -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescriptionOk() (*string, bool)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescriptionOk() (*string, bool)` GetAttributeDescriptionOk returns a tuple with the AttributeDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeDescription -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeDescription(v string)` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeDescription(v string)` SetAttributeDescription sets AttributeDescription field to given value. ### HasAttributeDescription -`func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeDescription() bool` +`func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeDescription() bool` HasAttributeDescription returns a boolean if a field has been set. diff --git a/getting-started.md b/getting-started.md new file mode 100644 index 0000000..1f27abb --- /dev/null +++ b/getting-started.md @@ -0,0 +1,113 @@ +# XI SDK Quickstart for Go + +![Go icon](./assets/images/Go-icon.png) + +[Repository GitHub](https://github.com/ingrammicro-xvantage/xi-sdk-resellers-go) + +[SDK document](https://github.com/ingrammicro-xvantage/xi-sdk-resellers-go/tree/main/docs) + +### Step 1: Create a new Go application +* You can create a new Go application with your preferred tool. The below guide is using [VS Code](https://code.visualstudio.com/Download). if you don’t have the environment set up yet, please follow [this guide](https://learn.microsoft.com/en-us/azure/developer/go/configure-visual-studio-code) to install and set up Go environment for VS Code. +* Create a folder for the application: `Testing_XI_SDKs_Go_App` +* Open VS code and point to the above folder. +* Hover to the root folder name on the left panel and click “create new file” icon to create a new `main.go`. + +![quickstart-new-project](./assets/images/quickstart-new-project.png) + +* Create a new module `Testing_XI_SDKs_Go_App` +* Open a new terminal window (Ctrl+Shift+`) +* Type `go mod init Testing_XI_SDKs_Go_App` → It should create a `go.mod` file. +![quickstart-new-project](./assets/images/quickstart-new-mod.png) + +### Step 2: Install XI SDK package and all dependencies to your project from Go Modules + +* Open a new terminal window (Ctrl+Shift+`) +* Type: `go get -u github.com/ingrammicro-xvantage/xi-sdk-resellers-go` + +![quickstart-new-project](./assets/images/quickstart-install-package.png) + +### Step 3: Write a simple code to access the access token and product details endpoints. + +[Access Token API](https://github.com/ingrammicro-xvantage/xi-sdk-resellers-go/blob/main/docs/AccesstokenAPI.md) + +[Product API](https://github.com/ingrammicro-xvantage/xi-sdk-resellers-go/blob/main/docs/ProductCatalogAPI.md) + +* Open the `main.go` file and paste the following code. + +```go +package main + +import ( + "context" + "fmt" + "os" + + xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go" + "golang.org/x/oauth2" +) + +func main() { + baseUrl := "api.ingrammicro.com:443" + clientId := "" + clientSecret := "" + imCustomerNumber := "20-222222" + imCountryCode := "US" + imCorrelationId := "fbac82ba-cf0a-4bcf-fc03-0c5084" + imSenderId := "MyCompany" + productNumber := "TSXML3" + + // Get Access Token + tokenConfiguration := xi_sdk_resellers.NewConfiguration() + tokenConfiguration.Host = baseUrl + tokenApiClient := xi_sdk_resellers.NewAPIClient(tokenConfiguration) + tokenResp, tokenR, tokenErr := tokenApiClient.AccesstokenAPI.GetAccesstoken(context.Background()).GrantType("client_credentials").ClientId(clientId).ClientSecret(clientSecret).Execute() + if tokenErr != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AccesstokenAPI.GetAccesstoken``: %v\n", tokenErr) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", tokenR) + os.Exit(1) + } + accessToken := oauth2.Token{AccessToken: *tokenResp.AccessToken} + + // Get production details. + ctx := context.Background() + oauth2Conf := &oauth2.Config{} + tokenResource := oauth2Conf.TokenSource(ctx, &accessToken) + authContext := context.WithValue(ctx, xi_sdk_resellers.ContextOAuth2, tokenResource) + productConfiguration := xi_sdk_resellers.NewConfiguration() + productApiClient := xi_sdk_resellers.NewAPIClient(productConfiguration) + productResp, productR, productErr := productApiClient.ProductCatalogAPI.GetResellerV6Productdetail(authContext, productNumber).IMCustomerNumber(imCustomerNumber).IMCountryCode(imCountryCode).IMCorrelationID(imCorrelationId).IMSenderID(imSenderId).Execute() + if productErr != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ProductCatalogAPI.GetResellerV6Productdetail``: %v\n", productErr) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", productR) + os.Exit(1) + } + fmt.Println("Product Found") + fmt.Fprintf(os.Stdout, "Ingram Part Number`: %v\n", productResp.GetIngramPartNumber()) + fmt.Fprintf(os.Stdout, "Customer Part Number`: %v\n", productResp.GetCustomerPartNumber()) + fmt.Fprintf(os.Stdout, "Vendor Name`: %v\n", productResp.GetVendorName()) + fmt.Fprintf(os.Stdout, "Vendor Part Number`: %v\n", productResp.GetVendorPartNumber()) + fmt.Fprintf(os.Stdout, "Product Category`: %v\n", productResp.GetProductCategory()) + fmt.Fprintf(os.Stdout, "Description`: %v\n", productResp.GetDescription()) +} +``` + +* Replace your application information at the below section in the code: + * Client ID + * Client Secret. + * Your IM customer number + * Your country code + * Your Correlation ID + * Your Sender ID + * Product number to get the details. + +![Code client info](./assets/images/quickstart-code-client-info.png) + +### Step 4: Run the application + +* Open terminal window (Ctrl+Shift+`) and type go run main.go + +If everything is correct and the product exists, the console should return something like this. + +![Run code](./assets/images/quickstart-code-run.png) + + \ No newline at end of file diff --git a/model_accesstoken_response.go b/model_accesstoken_response.go index 0fd045b..4190e38 100644 --- a/model_accesstoken_response.go +++ b/model_accesstoken_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_async_order_create_dto.go b/model_async_order_create_dto.go new file mode 100644 index 0000000..9a1c341 --- /dev/null +++ b/model_async_order_create_dto.go @@ -0,0 +1,755 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTO type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTO{} + +// AsyncOrderCreateDTO struct for AsyncOrderCreateDTO +type AsyncOrderCreateDTO struct { + // A unique identifier generated by Ingram Micro's CRM specific to each quote. + QuoteNumber NullableString `json:"quoteNumber,omitempty"` + // The reseller's order number for reference in their system. + CustomerOrderNumber NullableString `json:"customerOrderNumber,omitempty"` + // The end customer's order number for reference in their system. + EndcustomerOrderNumber NullableString `json:"endcustomerOrderNumber,omitempty"` + // Order header level notes. + Notes *string `json:"notes,omitempty"` + // 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. + BillToAddressId NullableString `json:"billToAddressId,omitempty"` + // The bid number is provided to the reseller by the vendor for special pricing and discounts. Line-level bid numbers take precedence over header-level bid numbers. + SpecialBidNumber *string `json:"specialBidNumber,omitempty"` + // need to replace with actual description + InternalComments *string `json:"internalComments,omitempty"` + // 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. + AcceptBackOrder *bool `json:"acceptBackOrder,omitempty"` + // 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. + VendAuthNumber *string `json:"vendAuthNumber,omitempty"` + ResellerInfo *AsyncOrderCreateDTOResellerInfo `json:"resellerInfo,omitempty"` + EndUserInfo *AsyncOrderCreateDTOEndUserInfo `json:"endUserInfo,omitempty"` + ShipToInfo *AsyncOrderCreateDTOShipToInfo `json:"shipToInfo,omitempty"` + ShipmentDetails *AsyncOrderCreateDTOShipmentDetails `json:"shipmentDetails,omitempty"` + // Additional order create attributes. + AdditionalAttributes []AsyncOrderCreateDTOAdditionalAttributesInner `json:"additionalAttributes,omitempty"` + // The object containing the list of fields required at a header level by the vendor. + VmfadditionalAttributes []AsyncOrderCreateDTOVmfadditionalAttributesInner `json:"vmfadditionalAttributes,omitempty"` + // The object containing the lines that require vendor mandatory fields. + Lines []AsyncOrderCreateDTOLinesInner `json:"lines,omitempty"` + // Warranty Information + WarrantyInfo []AsyncOrderCreateDTOWarrantyInfoInner `json:"warrantyInfo,omitempty"` +} + +// NewAsyncOrderCreateDTO instantiates a new AsyncOrderCreateDTO object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTO() *AsyncOrderCreateDTO { + this := AsyncOrderCreateDTO{} + return &this +} + +// NewAsyncOrderCreateDTOWithDefaults instantiates a new AsyncOrderCreateDTO object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOWithDefaults() *AsyncOrderCreateDTO { + this := AsyncOrderCreateDTO{} + return &this +} + +// GetQuoteNumber returns the QuoteNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AsyncOrderCreateDTO) GetQuoteNumber() string { + if o == nil || IsNil(o.QuoteNumber.Get()) { + var ret string + return ret + } + return *o.QuoteNumber.Get() +} + +// GetQuoteNumberOk returns a tuple with the QuoteNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AsyncOrderCreateDTO) GetQuoteNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.QuoteNumber.Get(), o.QuoteNumber.IsSet() +} + +// HasQuoteNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasQuoteNumber() bool { + if o != nil && o.QuoteNumber.IsSet() { + return true + } + + return false +} + +// SetQuoteNumber gets a reference to the given NullableString and assigns it to the QuoteNumber field. +func (o *AsyncOrderCreateDTO) SetQuoteNumber(v string) { + o.QuoteNumber.Set(&v) +} +// SetQuoteNumberNil sets the value for QuoteNumber to be an explicit nil +func (o *AsyncOrderCreateDTO) SetQuoteNumberNil() { + o.QuoteNumber.Set(nil) +} + +// UnsetQuoteNumber ensures that no value is present for QuoteNumber, not even an explicit nil +func (o *AsyncOrderCreateDTO) UnsetQuoteNumber() { + o.QuoteNumber.Unset() +} + +// GetCustomerOrderNumber returns the CustomerOrderNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AsyncOrderCreateDTO) GetCustomerOrderNumber() string { + if o == nil || IsNil(o.CustomerOrderNumber.Get()) { + var ret string + return ret + } + return *o.CustomerOrderNumber.Get() +} + +// GetCustomerOrderNumberOk returns a tuple with the CustomerOrderNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AsyncOrderCreateDTO) GetCustomerOrderNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CustomerOrderNumber.Get(), o.CustomerOrderNumber.IsSet() +} + +// HasCustomerOrderNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasCustomerOrderNumber() bool { + if o != nil && o.CustomerOrderNumber.IsSet() { + return true + } + + return false +} + +// SetCustomerOrderNumber gets a reference to the given NullableString and assigns it to the CustomerOrderNumber field. +func (o *AsyncOrderCreateDTO) SetCustomerOrderNumber(v string) { + o.CustomerOrderNumber.Set(&v) +} +// SetCustomerOrderNumberNil sets the value for CustomerOrderNumber to be an explicit nil +func (o *AsyncOrderCreateDTO) SetCustomerOrderNumberNil() { + o.CustomerOrderNumber.Set(nil) +} + +// UnsetCustomerOrderNumber ensures that no value is present for CustomerOrderNumber, not even an explicit nil +func (o *AsyncOrderCreateDTO) UnsetCustomerOrderNumber() { + o.CustomerOrderNumber.Unset() +} + +// GetEndcustomerOrderNumber returns the EndcustomerOrderNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AsyncOrderCreateDTO) GetEndcustomerOrderNumber() string { + if o == nil || IsNil(o.EndcustomerOrderNumber.Get()) { + var ret string + return ret + } + return *o.EndcustomerOrderNumber.Get() +} + +// GetEndcustomerOrderNumberOk returns a tuple with the EndcustomerOrderNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AsyncOrderCreateDTO) GetEndcustomerOrderNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.EndcustomerOrderNumber.Get(), o.EndcustomerOrderNumber.IsSet() +} + +// HasEndcustomerOrderNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasEndcustomerOrderNumber() bool { + if o != nil && o.EndcustomerOrderNumber.IsSet() { + return true + } + + return false +} + +// SetEndcustomerOrderNumber gets a reference to the given NullableString and assigns it to the EndcustomerOrderNumber field. +func (o *AsyncOrderCreateDTO) SetEndcustomerOrderNumber(v string) { + o.EndcustomerOrderNumber.Set(&v) +} +// SetEndcustomerOrderNumberNil sets the value for EndcustomerOrderNumber to be an explicit nil +func (o *AsyncOrderCreateDTO) SetEndcustomerOrderNumberNil() { + o.EndcustomerOrderNumber.Set(nil) +} + +// UnsetEndcustomerOrderNumber ensures that no value is present for EndcustomerOrderNumber, not even an explicit nil +func (o *AsyncOrderCreateDTO) UnsetEndcustomerOrderNumber() { + o.EndcustomerOrderNumber.Unset() +} + +// GetNotes returns the Notes field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetNotes() string { + if o == nil || IsNil(o.Notes) { + var ret string + return ret + } + return *o.Notes +} + +// GetNotesOk returns a tuple with the Notes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetNotesOk() (*string, bool) { + if o == nil || IsNil(o.Notes) { + return nil, false + } + return o.Notes, true +} + +// HasNotes returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasNotes() bool { + if o != nil && !IsNil(o.Notes) { + return true + } + + return false +} + +// SetNotes gets a reference to the given string and assigns it to the Notes field. +func (o *AsyncOrderCreateDTO) SetNotes(v string) { + o.Notes = &v +} + +// GetBillToAddressId returns the BillToAddressId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AsyncOrderCreateDTO) GetBillToAddressId() string { + if o == nil || IsNil(o.BillToAddressId.Get()) { + var ret string + return ret + } + return *o.BillToAddressId.Get() +} + +// GetBillToAddressIdOk returns a tuple with the BillToAddressId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AsyncOrderCreateDTO) GetBillToAddressIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BillToAddressId.Get(), o.BillToAddressId.IsSet() +} + +// HasBillToAddressId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasBillToAddressId() bool { + if o != nil && o.BillToAddressId.IsSet() { + return true + } + + return false +} + +// SetBillToAddressId gets a reference to the given NullableString and assigns it to the BillToAddressId field. +func (o *AsyncOrderCreateDTO) SetBillToAddressId(v string) { + o.BillToAddressId.Set(&v) +} +// SetBillToAddressIdNil sets the value for BillToAddressId to be an explicit nil +func (o *AsyncOrderCreateDTO) SetBillToAddressIdNil() { + o.BillToAddressId.Set(nil) +} + +// UnsetBillToAddressId ensures that no value is present for BillToAddressId, not even an explicit nil +func (o *AsyncOrderCreateDTO) UnsetBillToAddressId() { + o.BillToAddressId.Unset() +} + +// GetSpecialBidNumber returns the SpecialBidNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetSpecialBidNumber() string { + if o == nil || IsNil(o.SpecialBidNumber) { + var ret string + return ret + } + return *o.SpecialBidNumber +} + +// GetSpecialBidNumberOk returns a tuple with the SpecialBidNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetSpecialBidNumberOk() (*string, bool) { + if o == nil || IsNil(o.SpecialBidNumber) { + return nil, false + } + return o.SpecialBidNumber, true +} + +// HasSpecialBidNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasSpecialBidNumber() bool { + if o != nil && !IsNil(o.SpecialBidNumber) { + return true + } + + return false +} + +// SetSpecialBidNumber gets a reference to the given string and assigns it to the SpecialBidNumber field. +func (o *AsyncOrderCreateDTO) SetSpecialBidNumber(v string) { + o.SpecialBidNumber = &v +} + +// GetInternalComments returns the InternalComments field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetInternalComments() string { + if o == nil || IsNil(o.InternalComments) { + var ret string + return ret + } + return *o.InternalComments +} + +// GetInternalCommentsOk returns a tuple with the InternalComments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetInternalCommentsOk() (*string, bool) { + if o == nil || IsNil(o.InternalComments) { + return nil, false + } + return o.InternalComments, true +} + +// HasInternalComments returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasInternalComments() bool { + if o != nil && !IsNil(o.InternalComments) { + return true + } + + return false +} + +// SetInternalComments gets a reference to the given string and assigns it to the InternalComments field. +func (o *AsyncOrderCreateDTO) SetInternalComments(v string) { + o.InternalComments = &v +} + +// GetAcceptBackOrder returns the AcceptBackOrder field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetAcceptBackOrder() bool { + if o == nil || IsNil(o.AcceptBackOrder) { + var ret bool + return ret + } + return *o.AcceptBackOrder +} + +// GetAcceptBackOrderOk returns a tuple with the AcceptBackOrder field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetAcceptBackOrderOk() (*bool, bool) { + if o == nil || IsNil(o.AcceptBackOrder) { + return nil, false + } + return o.AcceptBackOrder, true +} + +// HasAcceptBackOrder returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasAcceptBackOrder() bool { + if o != nil && !IsNil(o.AcceptBackOrder) { + return true + } + + return false +} + +// SetAcceptBackOrder gets a reference to the given bool and assigns it to the AcceptBackOrder field. +func (o *AsyncOrderCreateDTO) SetAcceptBackOrder(v bool) { + o.AcceptBackOrder = &v +} + +// GetVendAuthNumber returns the VendAuthNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetVendAuthNumber() string { + if o == nil || IsNil(o.VendAuthNumber) { + var ret string + return ret + } + return *o.VendAuthNumber +} + +// GetVendAuthNumberOk returns a tuple with the VendAuthNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetVendAuthNumberOk() (*string, bool) { + if o == nil || IsNil(o.VendAuthNumber) { + return nil, false + } + return o.VendAuthNumber, true +} + +// HasVendAuthNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasVendAuthNumber() bool { + if o != nil && !IsNil(o.VendAuthNumber) { + return true + } + + return false +} + +// SetVendAuthNumber gets a reference to the given string and assigns it to the VendAuthNumber field. +func (o *AsyncOrderCreateDTO) SetVendAuthNumber(v string) { + o.VendAuthNumber = &v +} + +// GetResellerInfo returns the ResellerInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetResellerInfo() AsyncOrderCreateDTOResellerInfo { + if o == nil || IsNil(o.ResellerInfo) { + var ret AsyncOrderCreateDTOResellerInfo + return ret + } + return *o.ResellerInfo +} + +// GetResellerInfoOk returns a tuple with the ResellerInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetResellerInfoOk() (*AsyncOrderCreateDTOResellerInfo, bool) { + if o == nil || IsNil(o.ResellerInfo) { + return nil, false + } + return o.ResellerInfo, true +} + +// HasResellerInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasResellerInfo() bool { + if o != nil && !IsNil(o.ResellerInfo) { + return true + } + + return false +} + +// SetResellerInfo gets a reference to the given AsyncOrderCreateDTOResellerInfo and assigns it to the ResellerInfo field. +func (o *AsyncOrderCreateDTO) SetResellerInfo(v AsyncOrderCreateDTOResellerInfo) { + o.ResellerInfo = &v +} + +// GetEndUserInfo returns the EndUserInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetEndUserInfo() AsyncOrderCreateDTOEndUserInfo { + if o == nil || IsNil(o.EndUserInfo) { + var ret AsyncOrderCreateDTOEndUserInfo + return ret + } + return *o.EndUserInfo +} + +// GetEndUserInfoOk returns a tuple with the EndUserInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetEndUserInfoOk() (*AsyncOrderCreateDTOEndUserInfo, bool) { + if o == nil || IsNil(o.EndUserInfo) { + return nil, false + } + return o.EndUserInfo, true +} + +// HasEndUserInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasEndUserInfo() bool { + if o != nil && !IsNil(o.EndUserInfo) { + return true + } + + return false +} + +// SetEndUserInfo gets a reference to the given AsyncOrderCreateDTOEndUserInfo and assigns it to the EndUserInfo field. +func (o *AsyncOrderCreateDTO) SetEndUserInfo(v AsyncOrderCreateDTOEndUserInfo) { + o.EndUserInfo = &v +} + +// GetShipToInfo returns the ShipToInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetShipToInfo() AsyncOrderCreateDTOShipToInfo { + if o == nil || IsNil(o.ShipToInfo) { + var ret AsyncOrderCreateDTOShipToInfo + return ret + } + return *o.ShipToInfo +} + +// GetShipToInfoOk returns a tuple with the ShipToInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetShipToInfoOk() (*AsyncOrderCreateDTOShipToInfo, bool) { + if o == nil || IsNil(o.ShipToInfo) { + return nil, false + } + return o.ShipToInfo, true +} + +// HasShipToInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasShipToInfo() bool { + if o != nil && !IsNil(o.ShipToInfo) { + return true + } + + return false +} + +// SetShipToInfo gets a reference to the given AsyncOrderCreateDTOShipToInfo and assigns it to the ShipToInfo field. +func (o *AsyncOrderCreateDTO) SetShipToInfo(v AsyncOrderCreateDTOShipToInfo) { + o.ShipToInfo = &v +} + +// GetShipmentDetails returns the ShipmentDetails field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetShipmentDetails() AsyncOrderCreateDTOShipmentDetails { + if o == nil || IsNil(o.ShipmentDetails) { + var ret AsyncOrderCreateDTOShipmentDetails + return ret + } + return *o.ShipmentDetails +} + +// GetShipmentDetailsOk returns a tuple with the ShipmentDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetShipmentDetailsOk() (*AsyncOrderCreateDTOShipmentDetails, bool) { + if o == nil || IsNil(o.ShipmentDetails) { + return nil, false + } + return o.ShipmentDetails, true +} + +// HasShipmentDetails returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasShipmentDetails() bool { + if o != nil && !IsNil(o.ShipmentDetails) { + return true + } + + return false +} + +// SetShipmentDetails gets a reference to the given AsyncOrderCreateDTOShipmentDetails and assigns it to the ShipmentDetails field. +func (o *AsyncOrderCreateDTO) SetShipmentDetails(v AsyncOrderCreateDTOShipmentDetails) { + o.ShipmentDetails = &v +} + +// GetAdditionalAttributes returns the AdditionalAttributes field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetAdditionalAttributes() []AsyncOrderCreateDTOAdditionalAttributesInner { + if o == nil || IsNil(o.AdditionalAttributes) { + var ret []AsyncOrderCreateDTOAdditionalAttributesInner + return ret + } + return o.AdditionalAttributes +} + +// GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetAdditionalAttributesOk() ([]AsyncOrderCreateDTOAdditionalAttributesInner, bool) { + if o == nil || IsNil(o.AdditionalAttributes) { + return nil, false + } + return o.AdditionalAttributes, true +} + +// HasAdditionalAttributes returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasAdditionalAttributes() bool { + if o != nil && !IsNil(o.AdditionalAttributes) { + return true + } + + return false +} + +// SetAdditionalAttributes gets a reference to the given []AsyncOrderCreateDTOAdditionalAttributesInner and assigns it to the AdditionalAttributes field. +func (o *AsyncOrderCreateDTO) SetAdditionalAttributes(v []AsyncOrderCreateDTOAdditionalAttributesInner) { + o.AdditionalAttributes = v +} + +// GetVmfadditionalAttributes returns the VmfadditionalAttributes field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetVmfadditionalAttributes() []AsyncOrderCreateDTOVmfadditionalAttributesInner { + if o == nil || IsNil(o.VmfadditionalAttributes) { + var ret []AsyncOrderCreateDTOVmfadditionalAttributesInner + return ret + } + return o.VmfadditionalAttributes +} + +// GetVmfadditionalAttributesOk returns a tuple with the VmfadditionalAttributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetVmfadditionalAttributesOk() ([]AsyncOrderCreateDTOVmfadditionalAttributesInner, bool) { + if o == nil || IsNil(o.VmfadditionalAttributes) { + return nil, false + } + return o.VmfadditionalAttributes, true +} + +// HasVmfadditionalAttributes returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasVmfadditionalAttributes() bool { + if o != nil && !IsNil(o.VmfadditionalAttributes) { + return true + } + + return false +} + +// SetVmfadditionalAttributes gets a reference to the given []AsyncOrderCreateDTOVmfadditionalAttributesInner and assigns it to the VmfadditionalAttributes field. +func (o *AsyncOrderCreateDTO) SetVmfadditionalAttributes(v []AsyncOrderCreateDTOVmfadditionalAttributesInner) { + o.VmfadditionalAttributes = v +} + +// GetLines returns the Lines field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetLines() []AsyncOrderCreateDTOLinesInner { + if o == nil || IsNil(o.Lines) { + var ret []AsyncOrderCreateDTOLinesInner + return ret + } + return o.Lines +} + +// GetLinesOk returns a tuple with the Lines field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetLinesOk() ([]AsyncOrderCreateDTOLinesInner, bool) { + if o == nil || IsNil(o.Lines) { + return nil, false + } + return o.Lines, true +} + +// HasLines returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasLines() bool { + if o != nil && !IsNil(o.Lines) { + return true + } + + return false +} + +// SetLines gets a reference to the given []AsyncOrderCreateDTOLinesInner and assigns it to the Lines field. +func (o *AsyncOrderCreateDTO) SetLines(v []AsyncOrderCreateDTOLinesInner) { + o.Lines = v +} + +// GetWarrantyInfo returns the WarrantyInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTO) GetWarrantyInfo() []AsyncOrderCreateDTOWarrantyInfoInner { + if o == nil || IsNil(o.WarrantyInfo) { + var ret []AsyncOrderCreateDTOWarrantyInfoInner + return ret + } + return o.WarrantyInfo +} + +// GetWarrantyInfoOk returns a tuple with the WarrantyInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTO) GetWarrantyInfoOk() ([]AsyncOrderCreateDTOWarrantyInfoInner, bool) { + if o == nil || IsNil(o.WarrantyInfo) { + return nil, false + } + return o.WarrantyInfo, true +} + +// HasWarrantyInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTO) HasWarrantyInfo() bool { + if o != nil && !IsNil(o.WarrantyInfo) { + return true + } + + return false +} + +// SetWarrantyInfo gets a reference to the given []AsyncOrderCreateDTOWarrantyInfoInner and assigns it to the WarrantyInfo field. +func (o *AsyncOrderCreateDTO) SetWarrantyInfo(v []AsyncOrderCreateDTOWarrantyInfoInner) { + o.WarrantyInfo = v +} + +func (o AsyncOrderCreateDTO) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTO) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.QuoteNumber.IsSet() { + toSerialize["quoteNumber"] = o.QuoteNumber.Get() + } + if o.CustomerOrderNumber.IsSet() { + toSerialize["customerOrderNumber"] = o.CustomerOrderNumber.Get() + } + if o.EndcustomerOrderNumber.IsSet() { + toSerialize["endcustomerOrderNumber"] = o.EndcustomerOrderNumber.Get() + } + if !IsNil(o.Notes) { + toSerialize["notes"] = o.Notes + } + if o.BillToAddressId.IsSet() { + toSerialize["billToAddressId"] = o.BillToAddressId.Get() + } + if !IsNil(o.SpecialBidNumber) { + toSerialize["specialBidNumber"] = o.SpecialBidNumber + } + if !IsNil(o.InternalComments) { + toSerialize["internalComments"] = o.InternalComments + } + if !IsNil(o.AcceptBackOrder) { + toSerialize["acceptBackOrder"] = o.AcceptBackOrder + } + if !IsNil(o.VendAuthNumber) { + toSerialize["vendAuthNumber"] = o.VendAuthNumber + } + if !IsNil(o.ResellerInfo) { + toSerialize["resellerInfo"] = o.ResellerInfo + } + if !IsNil(o.EndUserInfo) { + toSerialize["endUserInfo"] = o.EndUserInfo + } + if !IsNil(o.ShipToInfo) { + toSerialize["shipToInfo"] = o.ShipToInfo + } + if !IsNil(o.ShipmentDetails) { + toSerialize["shipmentDetails"] = o.ShipmentDetails + } + if !IsNil(o.AdditionalAttributes) { + toSerialize["additionalAttributes"] = o.AdditionalAttributes + } + if !IsNil(o.VmfadditionalAttributes) { + toSerialize["vmfadditionalAttributes"] = o.VmfadditionalAttributes + } + if !IsNil(o.Lines) { + toSerialize["lines"] = o.Lines + } + if !IsNil(o.WarrantyInfo) { + toSerialize["warrantyInfo"] = o.WarrantyInfo + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTO struct { + value *AsyncOrderCreateDTO + isSet bool +} + +func (v NullableAsyncOrderCreateDTO) Get() *AsyncOrderCreateDTO { + return v.value +} + +func (v *NullableAsyncOrderCreateDTO) Set(val *AsyncOrderCreateDTO) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTO) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTO) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTO(val *AsyncOrderCreateDTO) *NullableAsyncOrderCreateDTO { + return &NullableAsyncOrderCreateDTO{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTO) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTO) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_additional_attributes_inner.go b/model_async_order_create_dto_additional_attributes_inner.go new file mode 100644 index 0000000..f8b9596 --- /dev/null +++ b/model_async_order_create_dto_additional_attributes_inner.go @@ -0,0 +1,164 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOAdditionalAttributesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOAdditionalAttributesInner{} + +// AsyncOrderCreateDTOAdditionalAttributesInner struct for AsyncOrderCreateDTOAdditionalAttributesInner +type AsyncOrderCreateDTOAdditionalAttributesInner struct { + // 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. + AttributeName *string `json:"attributeName,omitempty"` + // The attribute field data. + AttributeValue *string `json:"attributeValue,omitempty"` +} + +// NewAsyncOrderCreateDTOAdditionalAttributesInner instantiates a new AsyncOrderCreateDTOAdditionalAttributesInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOAdditionalAttributesInner() *AsyncOrderCreateDTOAdditionalAttributesInner { + this := AsyncOrderCreateDTOAdditionalAttributesInner{} + return &this +} + +// NewAsyncOrderCreateDTOAdditionalAttributesInnerWithDefaults instantiates a new AsyncOrderCreateDTOAdditionalAttributesInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOAdditionalAttributesInnerWithDefaults() *AsyncOrderCreateDTOAdditionalAttributesInner { + this := AsyncOrderCreateDTOAdditionalAttributesInner{} + return &this +} + +// GetAttributeName returns the AttributeName field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeName() string { + if o == nil || IsNil(o.AttributeName) { + var ret string + return ret + } + return *o.AttributeName +} + +// GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeNameOk() (*string, bool) { + if o == nil || IsNil(o.AttributeName) { + return nil, false + } + return o.AttributeName, true +} + +// HasAttributeName returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) HasAttributeName() bool { + if o != nil && !IsNil(o.AttributeName) { + return true + } + + return false +} + +// SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) SetAttributeName(v string) { + o.AttributeName = &v +} + +// GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeValue() string { + if o == nil || IsNil(o.AttributeValue) { + var ret string + return ret + } + return *o.AttributeValue +} + +// GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) GetAttributeValueOk() (*string, bool) { + if o == nil || IsNil(o.AttributeValue) { + return nil, false + } + return o.AttributeValue, true +} + +// HasAttributeValue returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) HasAttributeValue() bool { + if o != nil && !IsNil(o.AttributeValue) { + return true + } + + return false +} + +// SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. +func (o *AsyncOrderCreateDTOAdditionalAttributesInner) SetAttributeValue(v string) { + o.AttributeValue = &v +} + +func (o AsyncOrderCreateDTOAdditionalAttributesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOAdditionalAttributesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AttributeName) { + toSerialize["attributeName"] = o.AttributeName + } + if !IsNil(o.AttributeValue) { + toSerialize["attributeValue"] = o.AttributeValue + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOAdditionalAttributesInner struct { + value *AsyncOrderCreateDTOAdditionalAttributesInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOAdditionalAttributesInner) Get() *AsyncOrderCreateDTOAdditionalAttributesInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOAdditionalAttributesInner) Set(val *AsyncOrderCreateDTOAdditionalAttributesInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOAdditionalAttributesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOAdditionalAttributesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOAdditionalAttributesInner(val *AsyncOrderCreateDTOAdditionalAttributesInner) *NullableAsyncOrderCreateDTOAdditionalAttributesInner { + return &NullableAsyncOrderCreateDTOAdditionalAttributesInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOAdditionalAttributesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOAdditionalAttributesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_end_user_info.go b/model_async_order_create_dto_end_user_info.go new file mode 100644 index 0000000..3e85e39 --- /dev/null +++ b/model_async_order_create_dto_end_user_info.go @@ -0,0 +1,717 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOEndUserInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOEndUserInfo{} + +// AsyncOrderCreateDTOEndUserInfo The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. +type AsyncOrderCreateDTOEndUserInfo struct { + // ID for the end user/customer in Ingram Micro's system. + EndUserId *string `json:"endUserId,omitempty"` + // End user type + EndUserType *string `json:"endUserType,omitempty"` + // The company name for the end user/customer. + CompanyName *string `json:"companyName,omitempty"` + Name1 *string `json:"name1,omitempty"` + Name2 *string `json:"name2,omitempty"` + // The contact Id for the end user/customer. + ContactId *string `json:"contactId,omitempty"` + // The address line 1 for the end user/customer. + AddressLine1 *string `json:"addressLine1,omitempty"` + // The address line 2 for the end user/customer. + AddressLine2 *string `json:"addressLine2,omitempty"` + // The address line 3 for the end user/customer. + AddressLine3 *string `json:"addressLine3,omitempty"` + // The contact name for the end user/customer. + Contact *string `json:"contact,omitempty"` + // The end user/customer's city. + City *string `json:"city,omitempty"` + // The end user/customer's state. + State *string `json:"state,omitempty"` + // The end user/customer's zip or postal code. + PostalCode *string `json:"postalCode,omitempty"` + // The address line 4 for the end user/customer. + AddressLine4 *string `json:"addressLine4,omitempty"` + // The end user/customer's two character ISO country code. + CountryCode *string `json:"countryCode,omitempty"` + // The end user/customer's phone number. + PhoneNumber *string `json:"phoneNumber,omitempty"` + // The end user/customer's phone number. + Email *string `json:"email,omitempty"` +} + +// NewAsyncOrderCreateDTOEndUserInfo instantiates a new AsyncOrderCreateDTOEndUserInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOEndUserInfo() *AsyncOrderCreateDTOEndUserInfo { + this := AsyncOrderCreateDTOEndUserInfo{} + return &this +} + +// NewAsyncOrderCreateDTOEndUserInfoWithDefaults instantiates a new AsyncOrderCreateDTOEndUserInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOEndUserInfoWithDefaults() *AsyncOrderCreateDTOEndUserInfo { + this := AsyncOrderCreateDTOEndUserInfo{} + return &this +} + +// GetEndUserId returns the EndUserId field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserId() string { + if o == nil || IsNil(o.EndUserId) { + var ret string + return ret + } + return *o.EndUserId +} + +// GetEndUserIdOk returns a tuple with the EndUserId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserIdOk() (*string, bool) { + if o == nil || IsNil(o.EndUserId) { + return nil, false + } + return o.EndUserId, true +} + +// HasEndUserId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasEndUserId() bool { + if o != nil && !IsNil(o.EndUserId) { + return true + } + + return false +} + +// SetEndUserId gets a reference to the given string and assigns it to the EndUserId field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetEndUserId(v string) { + o.EndUserId = &v +} + +// GetEndUserType returns the EndUserType field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserType() string { + if o == nil || IsNil(o.EndUserType) { + var ret string + return ret + } + return *o.EndUserType +} + +// GetEndUserTypeOk returns a tuple with the EndUserType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEndUserTypeOk() (*string, bool) { + if o == nil || IsNil(o.EndUserType) { + return nil, false + } + return o.EndUserType, true +} + +// HasEndUserType returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasEndUserType() bool { + if o != nil && !IsNil(o.EndUserType) { + return true + } + + return false +} + +// SetEndUserType gets a reference to the given string and assigns it to the EndUserType field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetEndUserType(v string) { + o.EndUserType = &v +} + +// GetCompanyName returns the CompanyName field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCompanyName() string { + if o == nil || IsNil(o.CompanyName) { + var ret string + return ret + } + return *o.CompanyName +} + +// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCompanyNameOk() (*string, bool) { + if o == nil || IsNil(o.CompanyName) { + return nil, false + } + return o.CompanyName, true +} + +// HasCompanyName returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasCompanyName() bool { + if o != nil && !IsNil(o.CompanyName) { + return true + } + + return false +} + +// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetCompanyName(v string) { + o.CompanyName = &v +} + +// GetName1 returns the Name1 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetName1() string { + if o == nil || IsNil(o.Name1) { + var ret string + return ret + } + return *o.Name1 +} + +// GetName1Ok returns a tuple with the Name1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetName1Ok() (*string, bool) { + if o == nil || IsNil(o.Name1) { + return nil, false + } + return o.Name1, true +} + +// HasName1 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasName1() bool { + if o != nil && !IsNil(o.Name1) { + return true + } + + return false +} + +// SetName1 gets a reference to the given string and assigns it to the Name1 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetName1(v string) { + o.Name1 = &v +} + +// GetName2 returns the Name2 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetName2() string { + if o == nil || IsNil(o.Name2) { + var ret string + return ret + } + return *o.Name2 +} + +// GetName2Ok returns a tuple with the Name2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetName2Ok() (*string, bool) { + if o == nil || IsNil(o.Name2) { + return nil, false + } + return o.Name2, true +} + +// HasName2 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasName2() bool { + if o != nil && !IsNil(o.Name2) { + return true + } + + return false +} + +// SetName2 gets a reference to the given string and assigns it to the Name2 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetName2(v string) { + o.Name2 = &v +} + +// GetContactId returns the ContactId field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetContactId() string { + if o == nil || IsNil(o.ContactId) { + var ret string + return ret + } + return *o.ContactId +} + +// GetContactIdOk returns a tuple with the ContactId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetContactIdOk() (*string, bool) { + if o == nil || IsNil(o.ContactId) { + return nil, false + } + return o.ContactId, true +} + +// HasContactId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasContactId() bool { + if o != nil && !IsNil(o.ContactId) { + return true + } + + return false +} + +// SetContactId gets a reference to the given string and assigns it to the ContactId field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetContactId(v string) { + o.ContactId = &v +} + +// GetAddressLine1 returns the AddressLine1 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine1() string { + if o == nil || IsNil(o.AddressLine1) { + var ret string + return ret + } + return *o.AddressLine1 +} + +// GetAddressLine1Ok returns a tuple with the AddressLine1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine1Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine1) { + return nil, false + } + return o.AddressLine1, true +} + +// HasAddressLine1 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine1() bool { + if o != nil && !IsNil(o.AddressLine1) { + return true + } + + return false +} + +// SetAddressLine1 gets a reference to the given string and assigns it to the AddressLine1 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine1(v string) { + o.AddressLine1 = &v +} + +// GetAddressLine2 returns the AddressLine2 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine2() string { + if o == nil || IsNil(o.AddressLine2) { + var ret string + return ret + } + return *o.AddressLine2 +} + +// GetAddressLine2Ok returns a tuple with the AddressLine2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine2Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine2) { + return nil, false + } + return o.AddressLine2, true +} + +// HasAddressLine2 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine2() bool { + if o != nil && !IsNil(o.AddressLine2) { + return true + } + + return false +} + +// SetAddressLine2 gets a reference to the given string and assigns it to the AddressLine2 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine2(v string) { + o.AddressLine2 = &v +} + +// GetAddressLine3 returns the AddressLine3 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine3() string { + if o == nil || IsNil(o.AddressLine3) { + var ret string + return ret + } + return *o.AddressLine3 +} + +// GetAddressLine3Ok returns a tuple with the AddressLine3 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine3Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine3) { + return nil, false + } + return o.AddressLine3, true +} + +// HasAddressLine3 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine3() bool { + if o != nil && !IsNil(o.AddressLine3) { + return true + } + + return false +} + +// SetAddressLine3 gets a reference to the given string and assigns it to the AddressLine3 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine3(v string) { + o.AddressLine3 = &v +} + +// GetContact returns the Contact field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetContact() string { + if o == nil || IsNil(o.Contact) { + var ret string + return ret + } + return *o.Contact +} + +// GetContactOk returns a tuple with the Contact field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetContactOk() (*string, bool) { + if o == nil || IsNil(o.Contact) { + return nil, false + } + return o.Contact, true +} + +// HasContact returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasContact() bool { + if o != nil && !IsNil(o.Contact) { + return true + } + + return false +} + +// SetContact gets a reference to the given string and assigns it to the Contact field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetContact(v string) { + o.Contact = &v +} + +// GetCity returns the City field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCity() string { + if o == nil || IsNil(o.City) { + var ret string + return ret + } + return *o.City +} + +// GetCityOk returns a tuple with the City field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCityOk() (*string, bool) { + if o == nil || IsNil(o.City) { + return nil, false + } + return o.City, true +} + +// HasCity returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasCity() bool { + if o != nil && !IsNil(o.City) { + return true + } + + return false +} + +// SetCity gets a reference to the given string and assigns it to the City field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetCity(v string) { + o.City = &v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetState() string { + if o == nil || IsNil(o.State) { + var ret string + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetStateOk() (*string, bool) { + if o == nil || IsNil(o.State) { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasState() bool { + if o != nil && !IsNil(o.State) { + return true + } + + return false +} + +// SetState gets a reference to the given string and assigns it to the State field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetState(v string) { + o.State = &v +} + +// GetPostalCode returns the PostalCode field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetPostalCode() string { + if o == nil || IsNil(o.PostalCode) { + var ret string + return ret + } + return *o.PostalCode +} + +// GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetPostalCodeOk() (*string, bool) { + if o == nil || IsNil(o.PostalCode) { + return nil, false + } + return o.PostalCode, true +} + +// HasPostalCode returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasPostalCode() bool { + if o != nil && !IsNil(o.PostalCode) { + return true + } + + return false +} + +// SetPostalCode gets a reference to the given string and assigns it to the PostalCode field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetPostalCode(v string) { + o.PostalCode = &v +} + +// GetAddressLine4 returns the AddressLine4 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine4() string { + if o == nil || IsNil(o.AddressLine4) { + var ret string + return ret + } + return *o.AddressLine4 +} + +// GetAddressLine4Ok returns a tuple with the AddressLine4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetAddressLine4Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine4) { + return nil, false + } + return o.AddressLine4, true +} + +// HasAddressLine4 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasAddressLine4() bool { + if o != nil && !IsNil(o.AddressLine4) { + return true + } + + return false +} + +// SetAddressLine4 gets a reference to the given string and assigns it to the AddressLine4 field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetAddressLine4(v string) { + o.AddressLine4 = &v +} + +// GetCountryCode returns the CountryCode field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCountryCode() string { + if o == nil || IsNil(o.CountryCode) { + var ret string + return ret + } + return *o.CountryCode +} + +// GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetCountryCodeOk() (*string, bool) { + if o == nil || IsNil(o.CountryCode) { + return nil, false + } + return o.CountryCode, true +} + +// HasCountryCode returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasCountryCode() bool { + if o != nil && !IsNil(o.CountryCode) { + return true + } + + return false +} + +// SetCountryCode gets a reference to the given string and assigns it to the CountryCode field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetCountryCode(v string) { + o.CountryCode = &v +} + +// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetPhoneNumber() string { + if o == nil || IsNil(o.PhoneNumber) { + var ret string + return ret + } + return *o.PhoneNumber +} + +// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetPhoneNumberOk() (*string, bool) { + if o == nil || IsNil(o.PhoneNumber) { + return nil, false + } + return o.PhoneNumber, true +} + +// HasPhoneNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasPhoneNumber() bool { + if o != nil && !IsNil(o.PhoneNumber) { + return true + } + + return false +} + +// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetPhoneNumber(v string) { + o.PhoneNumber = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOEndUserInfo) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *AsyncOrderCreateDTOEndUserInfo) SetEmail(v string) { + o.Email = &v +} + +func (o AsyncOrderCreateDTOEndUserInfo) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOEndUserInfo) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.EndUserId) { + toSerialize["endUserId"] = o.EndUserId + } + if !IsNil(o.EndUserType) { + toSerialize["endUserType"] = o.EndUserType + } + if !IsNil(o.CompanyName) { + toSerialize["companyName"] = o.CompanyName + } + if !IsNil(o.Name1) { + toSerialize["name1"] = o.Name1 + } + if !IsNil(o.Name2) { + toSerialize["name2"] = o.Name2 + } + if !IsNil(o.ContactId) { + toSerialize["contactId"] = o.ContactId + } + if !IsNil(o.AddressLine1) { + toSerialize["addressLine1"] = o.AddressLine1 + } + if !IsNil(o.AddressLine2) { + toSerialize["addressLine2"] = o.AddressLine2 + } + if !IsNil(o.AddressLine3) { + toSerialize["addressLine3"] = o.AddressLine3 + } + if !IsNil(o.Contact) { + toSerialize["contact"] = o.Contact + } + if !IsNil(o.City) { + toSerialize["city"] = o.City + } + if !IsNil(o.State) { + toSerialize["state"] = o.State + } + if !IsNil(o.PostalCode) { + toSerialize["postalCode"] = o.PostalCode + } + if !IsNil(o.AddressLine4) { + toSerialize["addressLine4"] = o.AddressLine4 + } + if !IsNil(o.CountryCode) { + toSerialize["countryCode"] = o.CountryCode + } + if !IsNil(o.PhoneNumber) { + toSerialize["phoneNumber"] = o.PhoneNumber + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOEndUserInfo struct { + value *AsyncOrderCreateDTOEndUserInfo + isSet bool +} + +func (v NullableAsyncOrderCreateDTOEndUserInfo) Get() *AsyncOrderCreateDTOEndUserInfo { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOEndUserInfo) Set(val *AsyncOrderCreateDTOEndUserInfo) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOEndUserInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOEndUserInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOEndUserInfo(val *AsyncOrderCreateDTOEndUserInfo) *NullableAsyncOrderCreateDTOEndUserInfo { + return &NullableAsyncOrderCreateDTOEndUserInfo{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOEndUserInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOEndUserInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_lines_inner.go b/model_async_order_create_dto_lines_inner.go new file mode 100644 index 0000000..8f955d5 --- /dev/null +++ b/model_async_order_create_dto_lines_inner.go @@ -0,0 +1,383 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOLinesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOLinesInner{} + +// AsyncOrderCreateDTOLinesInner struct for AsyncOrderCreateDTOLinesInner +type AsyncOrderCreateDTOLinesInner struct { + // The reseller's line item number for reference in their system. + CustomerLineNumber *string `json:"customerLineNumber,omitempty"` + // Unique IngramMicro part number. + IngramPartNumber *string `json:"ingramPartNumber,omitempty"` + // The quantity of the line item. + Quantity *string `json:"quantity,omitempty"` + // Unit Price of Item + UnitPrice *string `json:"unitPrice,omitempty"` + SpecialBidNumber *string `json:"specialBidNumber,omitempty"` + EndUserPrice *string `json:"endUserPrice,omitempty"` + Notes *string `json:"notes,omitempty"` + // The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. + EndUserInfo []AsyncOrderCreateDTOLinesInnerEndUserInfoInner `json:"endUserInfo,omitempty"` +} + +// NewAsyncOrderCreateDTOLinesInner instantiates a new AsyncOrderCreateDTOLinesInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOLinesInner() *AsyncOrderCreateDTOLinesInner { + this := AsyncOrderCreateDTOLinesInner{} + return &this +} + +// NewAsyncOrderCreateDTOLinesInnerWithDefaults instantiates a new AsyncOrderCreateDTOLinesInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOLinesInnerWithDefaults() *AsyncOrderCreateDTOLinesInner { + this := AsyncOrderCreateDTOLinesInner{} + return &this +} + +// GetCustomerLineNumber returns the CustomerLineNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetCustomerLineNumber() string { + if o == nil || IsNil(o.CustomerLineNumber) { + var ret string + return ret + } + return *o.CustomerLineNumber +} + +// GetCustomerLineNumberOk returns a tuple with the CustomerLineNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetCustomerLineNumberOk() (*string, bool) { + if o == nil || IsNil(o.CustomerLineNumber) { + return nil, false + } + return o.CustomerLineNumber, true +} + +// HasCustomerLineNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasCustomerLineNumber() bool { + if o != nil && !IsNil(o.CustomerLineNumber) { + return true + } + + return false +} + +// SetCustomerLineNumber gets a reference to the given string and assigns it to the CustomerLineNumber field. +func (o *AsyncOrderCreateDTOLinesInner) SetCustomerLineNumber(v string) { + o.CustomerLineNumber = &v +} + +// GetIngramPartNumber returns the IngramPartNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetIngramPartNumber() string { + if o == nil || IsNil(o.IngramPartNumber) { + var ret string + return ret + } + return *o.IngramPartNumber +} + +// GetIngramPartNumberOk returns a tuple with the IngramPartNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetIngramPartNumberOk() (*string, bool) { + if o == nil || IsNil(o.IngramPartNumber) { + return nil, false + } + return o.IngramPartNumber, true +} + +// HasIngramPartNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasIngramPartNumber() bool { + if o != nil && !IsNil(o.IngramPartNumber) { + return true + } + + return false +} + +// SetIngramPartNumber gets a reference to the given string and assigns it to the IngramPartNumber field. +func (o *AsyncOrderCreateDTOLinesInner) SetIngramPartNumber(v string) { + o.IngramPartNumber = &v +} + +// GetQuantity returns the Quantity field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetQuantity() string { + if o == nil || IsNil(o.Quantity) { + var ret string + return ret + } + return *o.Quantity +} + +// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetQuantityOk() (*string, bool) { + if o == nil || IsNil(o.Quantity) { + return nil, false + } + return o.Quantity, true +} + +// HasQuantity returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasQuantity() bool { + if o != nil && !IsNil(o.Quantity) { + return true + } + + return false +} + +// SetQuantity gets a reference to the given string and assigns it to the Quantity field. +func (o *AsyncOrderCreateDTOLinesInner) SetQuantity(v string) { + o.Quantity = &v +} + +// GetUnitPrice returns the UnitPrice field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetUnitPrice() string { + if o == nil || IsNil(o.UnitPrice) { + var ret string + return ret + } + return *o.UnitPrice +} + +// GetUnitPriceOk returns a tuple with the UnitPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetUnitPriceOk() (*string, bool) { + if o == nil || IsNil(o.UnitPrice) { + return nil, false + } + return o.UnitPrice, true +} + +// HasUnitPrice returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasUnitPrice() bool { + if o != nil && !IsNil(o.UnitPrice) { + return true + } + + return false +} + +// SetUnitPrice gets a reference to the given string and assigns it to the UnitPrice field. +func (o *AsyncOrderCreateDTOLinesInner) SetUnitPrice(v string) { + o.UnitPrice = &v +} + +// GetSpecialBidNumber returns the SpecialBidNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetSpecialBidNumber() string { + if o == nil || IsNil(o.SpecialBidNumber) { + var ret string + return ret + } + return *o.SpecialBidNumber +} + +// GetSpecialBidNumberOk returns a tuple with the SpecialBidNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetSpecialBidNumberOk() (*string, bool) { + if o == nil || IsNil(o.SpecialBidNumber) { + return nil, false + } + return o.SpecialBidNumber, true +} + +// HasSpecialBidNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasSpecialBidNumber() bool { + if o != nil && !IsNil(o.SpecialBidNumber) { + return true + } + + return false +} + +// SetSpecialBidNumber gets a reference to the given string and assigns it to the SpecialBidNumber field. +func (o *AsyncOrderCreateDTOLinesInner) SetSpecialBidNumber(v string) { + o.SpecialBidNumber = &v +} + +// GetEndUserPrice returns the EndUserPrice field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetEndUserPrice() string { + if o == nil || IsNil(o.EndUserPrice) { + var ret string + return ret + } + return *o.EndUserPrice +} + +// GetEndUserPriceOk returns a tuple with the EndUserPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetEndUserPriceOk() (*string, bool) { + if o == nil || IsNil(o.EndUserPrice) { + return nil, false + } + return o.EndUserPrice, true +} + +// HasEndUserPrice returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasEndUserPrice() bool { + if o != nil && !IsNil(o.EndUserPrice) { + return true + } + + return false +} + +// SetEndUserPrice gets a reference to the given string and assigns it to the EndUserPrice field. +func (o *AsyncOrderCreateDTOLinesInner) SetEndUserPrice(v string) { + o.EndUserPrice = &v +} + +// GetNotes returns the Notes field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetNotes() string { + if o == nil || IsNil(o.Notes) { + var ret string + return ret + } + return *o.Notes +} + +// GetNotesOk returns a tuple with the Notes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetNotesOk() (*string, bool) { + if o == nil || IsNil(o.Notes) { + return nil, false + } + return o.Notes, true +} + +// HasNotes returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasNotes() bool { + if o != nil && !IsNil(o.Notes) { + return true + } + + return false +} + +// SetNotes gets a reference to the given string and assigns it to the Notes field. +func (o *AsyncOrderCreateDTOLinesInner) SetNotes(v string) { + o.Notes = &v +} + +// GetEndUserInfo returns the EndUserInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInner) GetEndUserInfo() []AsyncOrderCreateDTOLinesInnerEndUserInfoInner { + if o == nil || IsNil(o.EndUserInfo) { + var ret []AsyncOrderCreateDTOLinesInnerEndUserInfoInner + return ret + } + return o.EndUserInfo +} + +// GetEndUserInfoOk returns a tuple with the EndUserInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInner) GetEndUserInfoOk() ([]AsyncOrderCreateDTOLinesInnerEndUserInfoInner, bool) { + if o == nil || IsNil(o.EndUserInfo) { + return nil, false + } + return o.EndUserInfo, true +} + +// HasEndUserInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInner) HasEndUserInfo() bool { + if o != nil && !IsNil(o.EndUserInfo) { + return true + } + + return false +} + +// SetEndUserInfo gets a reference to the given []AsyncOrderCreateDTOLinesInnerEndUserInfoInner and assigns it to the EndUserInfo field. +func (o *AsyncOrderCreateDTOLinesInner) SetEndUserInfo(v []AsyncOrderCreateDTOLinesInnerEndUserInfoInner) { + o.EndUserInfo = v +} + +func (o AsyncOrderCreateDTOLinesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOLinesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CustomerLineNumber) { + toSerialize["customerLineNumber"] = o.CustomerLineNumber + } + if !IsNil(o.IngramPartNumber) { + toSerialize["ingramPartNumber"] = o.IngramPartNumber + } + if !IsNil(o.Quantity) { + toSerialize["quantity"] = o.Quantity + } + if !IsNil(o.UnitPrice) { + toSerialize["unitPrice"] = o.UnitPrice + } + if !IsNil(o.SpecialBidNumber) { + toSerialize["specialBidNumber"] = o.SpecialBidNumber + } + if !IsNil(o.EndUserPrice) { + toSerialize["endUserPrice"] = o.EndUserPrice + } + if !IsNil(o.Notes) { + toSerialize["notes"] = o.Notes + } + if !IsNil(o.EndUserInfo) { + toSerialize["endUserInfo"] = o.EndUserInfo + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOLinesInner struct { + value *AsyncOrderCreateDTOLinesInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOLinesInner) Get() *AsyncOrderCreateDTOLinesInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOLinesInner) Set(val *AsyncOrderCreateDTOLinesInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOLinesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOLinesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOLinesInner(val *AsyncOrderCreateDTOLinesInner) *NullableAsyncOrderCreateDTOLinesInner { + return &NullableAsyncOrderCreateDTOLinesInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOLinesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOLinesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_lines_inner_end_user_info_inner.go b/model_async_order_create_dto_lines_inner_end_user_info_inner.go new file mode 100644 index 0000000..62faa2c --- /dev/null +++ b/model_async_order_create_dto_lines_inner_end_user_info_inner.go @@ -0,0 +1,717 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOLinesInnerEndUserInfoInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOLinesInnerEndUserInfoInner{} + +// AsyncOrderCreateDTOLinesInnerEndUserInfoInner struct for AsyncOrderCreateDTOLinesInnerEndUserInfoInner +type AsyncOrderCreateDTOLinesInnerEndUserInfoInner struct { + // ID for the end user/customer in Ingram Micro's system. + EndUserId *string `json:"endUserId,omitempty"` + // End user type + EndUserType *string `json:"endUserType,omitempty"` + // The company name for the end user/customer. + CompanyName *string `json:"companyName,omitempty"` + Name1 *string `json:"name1,omitempty"` + Name2 *string `json:"name2,omitempty"` + // The contact Id for the end user/customer. + ContactId *string `json:"contactId,omitempty"` + // The address line 1 for the end user/customer. + AddressLine1 *string `json:"addressLine1,omitempty"` + // The address line 2 for the end user/customer. + AddressLine2 *string `json:"addressLine2,omitempty"` + // The address line 3 for the end user/customer. + AddressLine3 *string `json:"addressLine3,omitempty"` + // The contact name for the end user/customer. + Contact *string `json:"contact,omitempty"` + // The end user/customer's city. + City *string `json:"city,omitempty"` + // The end user/customer's state. + State *string `json:"state,omitempty"` + // The end user/customer's zip or postal code. + PostalCode *string `json:"postalCode,omitempty"` + // The address line 4 for the end user/customer. + AddressLine4 *string `json:"addressLine4,omitempty"` + // The end user/customer's two character ISO country code. + CountryCode *string `json:"countryCode,omitempty"` + // The end user/customer's phone number. + PhoneNumber *string `json:"phoneNumber,omitempty"` + // The end user/customer's phone number. + Email *string `json:"email,omitempty"` +} + +// NewAsyncOrderCreateDTOLinesInnerEndUserInfoInner instantiates a new AsyncOrderCreateDTOLinesInnerEndUserInfoInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOLinesInnerEndUserInfoInner() *AsyncOrderCreateDTOLinesInnerEndUserInfoInner { + this := AsyncOrderCreateDTOLinesInnerEndUserInfoInner{} + return &this +} + +// NewAsyncOrderCreateDTOLinesInnerEndUserInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOLinesInnerEndUserInfoInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOLinesInnerEndUserInfoInnerWithDefaults() *AsyncOrderCreateDTOLinesInnerEndUserInfoInner { + this := AsyncOrderCreateDTOLinesInnerEndUserInfoInner{} + return &this +} + +// GetEndUserId returns the EndUserId field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserId() string { + if o == nil || IsNil(o.EndUserId) { + var ret string + return ret + } + return *o.EndUserId +} + +// GetEndUserIdOk returns a tuple with the EndUserId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserIdOk() (*string, bool) { + if o == nil || IsNil(o.EndUserId) { + return nil, false + } + return o.EndUserId, true +} + +// HasEndUserId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEndUserId() bool { + if o != nil && !IsNil(o.EndUserId) { + return true + } + + return false +} + +// SetEndUserId gets a reference to the given string and assigns it to the EndUserId field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEndUserId(v string) { + o.EndUserId = &v +} + +// GetEndUserType returns the EndUserType field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserType() string { + if o == nil || IsNil(o.EndUserType) { + var ret string + return ret + } + return *o.EndUserType +} + +// GetEndUserTypeOk returns a tuple with the EndUserType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEndUserTypeOk() (*string, bool) { + if o == nil || IsNil(o.EndUserType) { + return nil, false + } + return o.EndUserType, true +} + +// HasEndUserType returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEndUserType() bool { + if o != nil && !IsNil(o.EndUserType) { + return true + } + + return false +} + +// SetEndUserType gets a reference to the given string and assigns it to the EndUserType field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEndUserType(v string) { + o.EndUserType = &v +} + +// GetCompanyName returns the CompanyName field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCompanyName() string { + if o == nil || IsNil(o.CompanyName) { + var ret string + return ret + } + return *o.CompanyName +} + +// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCompanyNameOk() (*string, bool) { + if o == nil || IsNil(o.CompanyName) { + return nil, false + } + return o.CompanyName, true +} + +// HasCompanyName returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCompanyName() bool { + if o != nil && !IsNil(o.CompanyName) { + return true + } + + return false +} + +// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCompanyName(v string) { + o.CompanyName = &v +} + +// GetName1 returns the Name1 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName1() string { + if o == nil || IsNil(o.Name1) { + var ret string + return ret + } + return *o.Name1 +} + +// GetName1Ok returns a tuple with the Name1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName1Ok() (*string, bool) { + if o == nil || IsNil(o.Name1) { + return nil, false + } + return o.Name1, true +} + +// HasName1 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasName1() bool { + if o != nil && !IsNil(o.Name1) { + return true + } + + return false +} + +// SetName1 gets a reference to the given string and assigns it to the Name1 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetName1(v string) { + o.Name1 = &v +} + +// GetName2 returns the Name2 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName2() string { + if o == nil || IsNil(o.Name2) { + var ret string + return ret + } + return *o.Name2 +} + +// GetName2Ok returns a tuple with the Name2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetName2Ok() (*string, bool) { + if o == nil || IsNil(o.Name2) { + return nil, false + } + return o.Name2, true +} + +// HasName2 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasName2() bool { + if o != nil && !IsNil(o.Name2) { + return true + } + + return false +} + +// SetName2 gets a reference to the given string and assigns it to the Name2 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetName2(v string) { + o.Name2 = &v +} + +// GetContactId returns the ContactId field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactId() string { + if o == nil || IsNil(o.ContactId) { + var ret string + return ret + } + return *o.ContactId +} + +// GetContactIdOk returns a tuple with the ContactId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactIdOk() (*string, bool) { + if o == nil || IsNil(o.ContactId) { + return nil, false + } + return o.ContactId, true +} + +// HasContactId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasContactId() bool { + if o != nil && !IsNil(o.ContactId) { + return true + } + + return false +} + +// SetContactId gets a reference to the given string and assigns it to the ContactId field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetContactId(v string) { + o.ContactId = &v +} + +// GetAddressLine1 returns the AddressLine1 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine1() string { + if o == nil || IsNil(o.AddressLine1) { + var ret string + return ret + } + return *o.AddressLine1 +} + +// GetAddressLine1Ok returns a tuple with the AddressLine1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine1Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine1) { + return nil, false + } + return o.AddressLine1, true +} + +// HasAddressLine1 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine1() bool { + if o != nil && !IsNil(o.AddressLine1) { + return true + } + + return false +} + +// SetAddressLine1 gets a reference to the given string and assigns it to the AddressLine1 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine1(v string) { + o.AddressLine1 = &v +} + +// GetAddressLine2 returns the AddressLine2 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine2() string { + if o == nil || IsNil(o.AddressLine2) { + var ret string + return ret + } + return *o.AddressLine2 +} + +// GetAddressLine2Ok returns a tuple with the AddressLine2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine2Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine2) { + return nil, false + } + return o.AddressLine2, true +} + +// HasAddressLine2 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine2() bool { + if o != nil && !IsNil(o.AddressLine2) { + return true + } + + return false +} + +// SetAddressLine2 gets a reference to the given string and assigns it to the AddressLine2 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine2(v string) { + o.AddressLine2 = &v +} + +// GetAddressLine3 returns the AddressLine3 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine3() string { + if o == nil || IsNil(o.AddressLine3) { + var ret string + return ret + } + return *o.AddressLine3 +} + +// GetAddressLine3Ok returns a tuple with the AddressLine3 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine3Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine3) { + return nil, false + } + return o.AddressLine3, true +} + +// HasAddressLine3 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine3() bool { + if o != nil && !IsNil(o.AddressLine3) { + return true + } + + return false +} + +// SetAddressLine3 gets a reference to the given string and assigns it to the AddressLine3 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine3(v string) { + o.AddressLine3 = &v +} + +// GetContact returns the Contact field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContact() string { + if o == nil || IsNil(o.Contact) { + var ret string + return ret + } + return *o.Contact +} + +// GetContactOk returns a tuple with the Contact field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetContactOk() (*string, bool) { + if o == nil || IsNil(o.Contact) { + return nil, false + } + return o.Contact, true +} + +// HasContact returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasContact() bool { + if o != nil && !IsNil(o.Contact) { + return true + } + + return false +} + +// SetContact gets a reference to the given string and assigns it to the Contact field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetContact(v string) { + o.Contact = &v +} + +// GetCity returns the City field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCity() string { + if o == nil || IsNil(o.City) { + var ret string + return ret + } + return *o.City +} + +// GetCityOk returns a tuple with the City field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCityOk() (*string, bool) { + if o == nil || IsNil(o.City) { + return nil, false + } + return o.City, true +} + +// HasCity returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCity() bool { + if o != nil && !IsNil(o.City) { + return true + } + + return false +} + +// SetCity gets a reference to the given string and assigns it to the City field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCity(v string) { + o.City = &v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetState() string { + if o == nil || IsNil(o.State) { + var ret string + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetStateOk() (*string, bool) { + if o == nil || IsNil(o.State) { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasState() bool { + if o != nil && !IsNil(o.State) { + return true + } + + return false +} + +// SetState gets a reference to the given string and assigns it to the State field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetState(v string) { + o.State = &v +} + +// GetPostalCode returns the PostalCode field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPostalCode() string { + if o == nil || IsNil(o.PostalCode) { + var ret string + return ret + } + return *o.PostalCode +} + +// GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPostalCodeOk() (*string, bool) { + if o == nil || IsNil(o.PostalCode) { + return nil, false + } + return o.PostalCode, true +} + +// HasPostalCode returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasPostalCode() bool { + if o != nil && !IsNil(o.PostalCode) { + return true + } + + return false +} + +// SetPostalCode gets a reference to the given string and assigns it to the PostalCode field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetPostalCode(v string) { + o.PostalCode = &v +} + +// GetAddressLine4 returns the AddressLine4 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine4() string { + if o == nil || IsNil(o.AddressLine4) { + var ret string + return ret + } + return *o.AddressLine4 +} + +// GetAddressLine4Ok returns a tuple with the AddressLine4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetAddressLine4Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine4) { + return nil, false + } + return o.AddressLine4, true +} + +// HasAddressLine4 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasAddressLine4() bool { + if o != nil && !IsNil(o.AddressLine4) { + return true + } + + return false +} + +// SetAddressLine4 gets a reference to the given string and assigns it to the AddressLine4 field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetAddressLine4(v string) { + o.AddressLine4 = &v +} + +// GetCountryCode returns the CountryCode field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCountryCode() string { + if o == nil || IsNil(o.CountryCode) { + var ret string + return ret + } + return *o.CountryCode +} + +// GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetCountryCodeOk() (*string, bool) { + if o == nil || IsNil(o.CountryCode) { + return nil, false + } + return o.CountryCode, true +} + +// HasCountryCode returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasCountryCode() bool { + if o != nil && !IsNil(o.CountryCode) { + return true + } + + return false +} + +// SetCountryCode gets a reference to the given string and assigns it to the CountryCode field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetCountryCode(v string) { + o.CountryCode = &v +} + +// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPhoneNumber() string { + if o == nil || IsNil(o.PhoneNumber) { + var ret string + return ret + } + return *o.PhoneNumber +} + +// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetPhoneNumberOk() (*string, bool) { + if o == nil || IsNil(o.PhoneNumber) { + return nil, false + } + return o.PhoneNumber, true +} + +// HasPhoneNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasPhoneNumber() bool { + if o != nil && !IsNil(o.PhoneNumber) { + return true + } + + return false +} + +// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetPhoneNumber(v string) { + o.PhoneNumber = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) SetEmail(v string) { + o.Email = &v +} + +func (o AsyncOrderCreateDTOLinesInnerEndUserInfoInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOLinesInnerEndUserInfoInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.EndUserId) { + toSerialize["endUserId"] = o.EndUserId + } + if !IsNil(o.EndUserType) { + toSerialize["endUserType"] = o.EndUserType + } + if !IsNil(o.CompanyName) { + toSerialize["companyName"] = o.CompanyName + } + if !IsNil(o.Name1) { + toSerialize["name1"] = o.Name1 + } + if !IsNil(o.Name2) { + toSerialize["name2"] = o.Name2 + } + if !IsNil(o.ContactId) { + toSerialize["contactId"] = o.ContactId + } + if !IsNil(o.AddressLine1) { + toSerialize["addressLine1"] = o.AddressLine1 + } + if !IsNil(o.AddressLine2) { + toSerialize["addressLine2"] = o.AddressLine2 + } + if !IsNil(o.AddressLine3) { + toSerialize["addressLine3"] = o.AddressLine3 + } + if !IsNil(o.Contact) { + toSerialize["contact"] = o.Contact + } + if !IsNil(o.City) { + toSerialize["city"] = o.City + } + if !IsNil(o.State) { + toSerialize["state"] = o.State + } + if !IsNil(o.PostalCode) { + toSerialize["postalCode"] = o.PostalCode + } + if !IsNil(o.AddressLine4) { + toSerialize["addressLine4"] = o.AddressLine4 + } + if !IsNil(o.CountryCode) { + toSerialize["countryCode"] = o.CountryCode + } + if !IsNil(o.PhoneNumber) { + toSerialize["phoneNumber"] = o.PhoneNumber + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner struct { + value *AsyncOrderCreateDTOLinesInnerEndUserInfoInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) Get() *AsyncOrderCreateDTOLinesInnerEndUserInfoInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) Set(val *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner(val *AsyncOrderCreateDTOLinesInnerEndUserInfoInner) *NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner { + return &NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOLinesInnerEndUserInfoInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_quote_to_order_details_dto_end_user_info.go b/model_async_order_create_dto_reseller_info.go similarity index 56% rename from model_quote_to_order_details_dto_end_user_info.go rename to model_async_order_create_dto_reseller_info.go index 43ed1f1..2f9fc83 100644 --- a/model_quote_to_order_details_dto_end_user_info.go +++ b/model_async_order_create_dto_reseller_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,54 +14,90 @@ import ( "encoding/json" ) -// checks if the QuoteToOrderDetailsDTOEndUserInfo type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOEndUserInfo{} +// checks if the AsyncOrderCreateDTOResellerInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOResellerInfo{} -// QuoteToOrderDetailsDTOEndUserInfo The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. -type QuoteToOrderDetailsDTOEndUserInfo struct { - // The company name for the end user/customer. +// AsyncOrderCreateDTOResellerInfo The address and contact information provided by the reseller. +type AsyncOrderCreateDTOResellerInfo struct { + // The reseller's Id. + ResellerId *string `json:"resellerId,omitempty"` + // The reseller's company name. CompanyName *string `json:"companyName,omitempty"` - // The contact name for the end user/customer. + // The reseller's contact name. Contact *string `json:"contact,omitempty"` - // The address line 1 for the end user/customer. + // The reseller's address line 1. AddressLine1 *string `json:"addressLine1,omitempty"` - // The address line 2 for the end user/customer. + // The reseller's address line 2. AddressLine2 *string `json:"addressLine2,omitempty"` - // The address line 3 for the end user/customer. + // The reseller's address line 3. AddressLine3 *string `json:"addressLine3,omitempty"` - // The end user/customer's city. + // The reseller's address line 4. + AddressLine4 *string `json:"addressLine4,omitempty"` + // The reseller's city. City *string `json:"city,omitempty"` - // The end user/customer's state. + // The reseller's state. State *string `json:"state,omitempty"` - // The end user/customer's zip or postal code. + // The reseller's zip or postal code. PostalCode *string `json:"postalCode,omitempty"` - // The end user/customer's two character ISO country code. + // The reseller's two-character ISO country code. CountryCode *string `json:"countryCode,omitempty"` - // The end user/customer's phone number. - Email *string `json:"email,omitempty"` - // The end user/customer's phone number. + // The reseller's phone number. PhoneNumber *string `json:"phoneNumber,omitempty"` + // The reseller's Email Address. + Email *string `json:"email,omitempty"` } -// NewQuoteToOrderDetailsDTOEndUserInfo instantiates a new QuoteToOrderDetailsDTOEndUserInfo object +// NewAsyncOrderCreateDTOResellerInfo instantiates a new AsyncOrderCreateDTOResellerInfo object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOEndUserInfo() *QuoteToOrderDetailsDTOEndUserInfo { - this := QuoteToOrderDetailsDTOEndUserInfo{} +func NewAsyncOrderCreateDTOResellerInfo() *AsyncOrderCreateDTOResellerInfo { + this := AsyncOrderCreateDTOResellerInfo{} return &this } -// NewQuoteToOrderDetailsDTOEndUserInfoWithDefaults instantiates a new QuoteToOrderDetailsDTOEndUserInfo object +// NewAsyncOrderCreateDTOResellerInfoWithDefaults instantiates a new AsyncOrderCreateDTOResellerInfo object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOEndUserInfoWithDefaults() *QuoteToOrderDetailsDTOEndUserInfo { - this := QuoteToOrderDetailsDTOEndUserInfo{} +func NewAsyncOrderCreateDTOResellerInfoWithDefaults() *AsyncOrderCreateDTOResellerInfo { + this := AsyncOrderCreateDTOResellerInfo{} return &this } +// GetResellerId returns the ResellerId field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOResellerInfo) GetResellerId() string { + if o == nil || IsNil(o.ResellerId) { + var ret string + return ret + } + return *o.ResellerId +} + +// GetResellerIdOk returns a tuple with the ResellerId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOResellerInfo) GetResellerIdOk() (*string, bool) { + if o == nil || IsNil(o.ResellerId) { + return nil, false + } + return o.ResellerId, true +} + +// HasResellerId returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOResellerInfo) HasResellerId() bool { + if o != nil && !IsNil(o.ResellerId) { + return true + } + + return false +} + +// SetResellerId gets a reference to the given string and assigns it to the ResellerId field. +func (o *AsyncOrderCreateDTOResellerInfo) SetResellerId(v string) { + o.ResellerId = &v +} + // GetCompanyName returns the CompanyName field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyName() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetCompanyName() string { if o == nil || IsNil(o.CompanyName) { var ret string return ret @@ -71,7 +107,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyName() string { // GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyNameOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetCompanyNameOk() (*string, bool) { if o == nil || IsNil(o.CompanyName) { return nil, false } @@ -79,7 +115,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCompanyNameOk() (*string, bool) { } // HasCompanyName returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCompanyName() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasCompanyName() bool { if o != nil && !IsNil(o.CompanyName) { return true } @@ -88,12 +124,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCompanyName() bool { } // SetCompanyName gets a reference to the given string and assigns it to the CompanyName field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCompanyName(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetCompanyName(v string) { o.CompanyName = &v } // GetContact returns the Contact field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContact() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetContact() string { if o == nil || IsNil(o.Contact) { var ret string return ret @@ -103,7 +139,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContact() string { // GetContactOk returns a tuple with the Contact field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContactOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetContactOk() (*string, bool) { if o == nil || IsNil(o.Contact) { return nil, false } @@ -111,7 +147,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetContactOk() (*string, bool) { } // HasContact returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasContact() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasContact() bool { if o != nil && !IsNil(o.Contact) { return true } @@ -120,12 +156,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasContact() bool { } // SetContact gets a reference to the given string and assigns it to the Contact field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetContact(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetContact(v string) { o.Contact = &v } // GetAddressLine1 returns the AddressLine1 field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine1() string { if o == nil || IsNil(o.AddressLine1) { var ret string return ret @@ -135,7 +171,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1() string { // GetAddressLine1Ok returns a tuple with the AddressLine1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine1Ok() (*string, bool) { if o == nil || IsNil(o.AddressLine1) { return nil, false } @@ -143,7 +179,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine1Ok() (*string, bool) } // HasAddressLine1 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine1() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine1() bool { if o != nil && !IsNil(o.AddressLine1) { return true } @@ -152,12 +188,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine1() bool { } // SetAddressLine1 gets a reference to the given string and assigns it to the AddressLine1 field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine1(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine1(v string) { o.AddressLine1 = &v } // GetAddressLine2 returns the AddressLine2 field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine2() string { if o == nil || IsNil(o.AddressLine2) { var ret string return ret @@ -167,7 +203,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2() string { // GetAddressLine2Ok returns a tuple with the AddressLine2 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine2Ok() (*string, bool) { if o == nil || IsNil(o.AddressLine2) { return nil, false } @@ -175,7 +211,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine2Ok() (*string, bool) } // HasAddressLine2 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine2() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine2() bool { if o != nil && !IsNil(o.AddressLine2) { return true } @@ -184,12 +220,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine2() bool { } // SetAddressLine2 gets a reference to the given string and assigns it to the AddressLine2 field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine2(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine2(v string) { o.AddressLine2 = &v } // GetAddressLine3 returns the AddressLine3 field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine3() string { if o == nil || IsNil(o.AddressLine3) { var ret string return ret @@ -199,7 +235,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3() string { // GetAddressLine3Ok returns a tuple with the AddressLine3 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine3Ok() (*string, bool) { if o == nil || IsNil(o.AddressLine3) { return nil, false } @@ -207,7 +243,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetAddressLine3Ok() (*string, bool) } // HasAddressLine3 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine3() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine3() bool { if o != nil && !IsNil(o.AddressLine3) { return true } @@ -216,12 +252,44 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasAddressLine3() bool { } // SetAddressLine3 gets a reference to the given string and assigns it to the AddressLine3 field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetAddressLine3(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine3(v string) { o.AddressLine3 = &v } +// GetAddressLine4 returns the AddressLine4 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine4() string { + if o == nil || IsNil(o.AddressLine4) { + var ret string + return ret + } + return *o.AddressLine4 +} + +// GetAddressLine4Ok returns a tuple with the AddressLine4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOResellerInfo) GetAddressLine4Ok() (*string, bool) { + if o == nil || IsNil(o.AddressLine4) { + return nil, false + } + return o.AddressLine4, true +} + +// HasAddressLine4 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOResellerInfo) HasAddressLine4() bool { + if o != nil && !IsNil(o.AddressLine4) { + return true + } + + return false +} + +// SetAddressLine4 gets a reference to the given string and assigns it to the AddressLine4 field. +func (o *AsyncOrderCreateDTOResellerInfo) SetAddressLine4(v string) { + o.AddressLine4 = &v +} + // GetCity returns the City field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCity() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetCity() string { if o == nil || IsNil(o.City) { var ret string return ret @@ -231,7 +299,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCity() string { // GetCityOk returns a tuple with the City field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCityOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetCityOk() (*string, bool) { if o == nil || IsNil(o.City) { return nil, false } @@ -239,7 +307,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCityOk() (*string, bool) { } // HasCity returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCity() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasCity() bool { if o != nil && !IsNil(o.City) { return true } @@ -248,12 +316,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCity() bool { } // SetCity gets a reference to the given string and assigns it to the City field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCity(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetCity(v string) { o.City = &v } // GetState returns the State field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetState() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetState() string { if o == nil || IsNil(o.State) { var ret string return ret @@ -263,7 +331,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetState() string { // GetStateOk returns a tuple with the State field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetStateOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetStateOk() (*string, bool) { if o == nil || IsNil(o.State) { return nil, false } @@ -271,7 +339,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetStateOk() (*string, bool) { } // HasState returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasState() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasState() bool { if o != nil && !IsNil(o.State) { return true } @@ -280,12 +348,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasState() bool { } // SetState gets a reference to the given string and assigns it to the State field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetState(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetState(v string) { o.State = &v } // GetPostalCode returns the PostalCode field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCode() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetPostalCode() string { if o == nil || IsNil(o.PostalCode) { var ret string return ret @@ -295,7 +363,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCode() string { // GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCodeOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetPostalCodeOk() (*string, bool) { if o == nil || IsNil(o.PostalCode) { return nil, false } @@ -303,7 +371,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPostalCodeOk() (*string, bool) { } // HasPostalCode returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasPostalCode() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasPostalCode() bool { if o != nil && !IsNil(o.PostalCode) { return true } @@ -312,12 +380,12 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasPostalCode() bool { } // SetPostalCode gets a reference to the given string and assigns it to the PostalCode field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetPostalCode(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetPostalCode(v string) { o.PostalCode = &v } // GetCountryCode returns the CountryCode field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCode() string { +func (o *AsyncOrderCreateDTOResellerInfo) GetCountryCode() string { if o == nil || IsNil(o.CountryCode) { var ret string return ret @@ -327,7 +395,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCode() string { // GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCodeOk() (*string, bool) { +func (o *AsyncOrderCreateDTOResellerInfo) GetCountryCodeOk() (*string, bool) { if o == nil || IsNil(o.CountryCode) { return nil, false } @@ -335,7 +403,7 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) GetCountryCodeOk() (*string, bool) { } // HasCountryCode returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCountryCode() bool { +func (o *AsyncOrderCreateDTOResellerInfo) HasCountryCode() bool { if o != nil && !IsNil(o.CountryCode) { return true } @@ -344,75 +412,75 @@ func (o *QuoteToOrderDetailsDTOEndUserInfo) HasCountryCode() bool { } // SetCountryCode gets a reference to the given string and assigns it to the CountryCode field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetCountryCode(v string) { +func (o *AsyncOrderCreateDTOResellerInfo) SetCountryCode(v string) { o.CountryCode = &v } -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetEmail() string { - if o == nil || IsNil(o.Email) { +// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOResellerInfo) GetPhoneNumber() string { + if o == nil || IsNil(o.PhoneNumber) { var ret string return ret } - return *o.Email + return *o.PhoneNumber } -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetEmailOk() (*string, bool) { - if o == nil || IsNil(o.Email) { +func (o *AsyncOrderCreateDTOResellerInfo) GetPhoneNumberOk() (*string, bool) { + if o == nil || IsNil(o.PhoneNumber) { return nil, false } - return o.Email, true + return o.PhoneNumber, true } -// HasEmail returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasEmail() bool { - if o != nil && !IsNil(o.Email) { +// HasPhoneNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOResellerInfo) HasPhoneNumber() bool { + if o != nil && !IsNil(o.PhoneNumber) { return true } return false } -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetEmail(v string) { - o.Email = &v +// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field. +func (o *AsyncOrderCreateDTOResellerInfo) SetPhoneNumber(v string) { + o.PhoneNumber = &v } -// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPhoneNumber() string { - if o == nil || IsNil(o.PhoneNumber) { +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOResellerInfo) GetEmail() string { + if o == nil || IsNil(o.Email) { var ret string return ret } - return *o.PhoneNumber + return *o.Email } -// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) GetPhoneNumberOk() (*string, bool) { - if o == nil || IsNil(o.PhoneNumber) { +func (o *AsyncOrderCreateDTOResellerInfo) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { return nil, false } - return o.PhoneNumber, true + return o.Email, true } -// HasPhoneNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOEndUserInfo) HasPhoneNumber() bool { - if o != nil && !IsNil(o.PhoneNumber) { +// HasEmail returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOResellerInfo) HasEmail() bool { + if o != nil && !IsNil(o.Email) { return true } return false } -// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field. -func (o *QuoteToOrderDetailsDTOEndUserInfo) SetPhoneNumber(v string) { - o.PhoneNumber = &v +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *AsyncOrderCreateDTOResellerInfo) SetEmail(v string) { + o.Email = &v } -func (o QuoteToOrderDetailsDTOEndUserInfo) MarshalJSON() ([]byte, error) { +func (o AsyncOrderCreateDTOResellerInfo) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -420,8 +488,11 @@ func (o QuoteToOrderDetailsDTOEndUserInfo) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -func (o QuoteToOrderDetailsDTOEndUserInfo) ToMap() (map[string]interface{}, error) { +func (o AsyncOrderCreateDTOResellerInfo) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.ResellerId) { + toSerialize["resellerId"] = o.ResellerId + } if !IsNil(o.CompanyName) { toSerialize["companyName"] = o.CompanyName } @@ -437,6 +508,9 @@ func (o QuoteToOrderDetailsDTOEndUserInfo) ToMap() (map[string]interface{}, erro if !IsNil(o.AddressLine3) { toSerialize["addressLine3"] = o.AddressLine3 } + if !IsNil(o.AddressLine4) { + toSerialize["addressLine4"] = o.AddressLine4 + } if !IsNil(o.City) { toSerialize["city"] = o.City } @@ -449,47 +523,47 @@ func (o QuoteToOrderDetailsDTOEndUserInfo) ToMap() (map[string]interface{}, erro if !IsNil(o.CountryCode) { toSerialize["countryCode"] = o.CountryCode } - if !IsNil(o.Email) { - toSerialize["email"] = o.Email - } if !IsNil(o.PhoneNumber) { toSerialize["phoneNumber"] = o.PhoneNumber } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } return toSerialize, nil } -type NullableQuoteToOrderDetailsDTOEndUserInfo struct { - value *QuoteToOrderDetailsDTOEndUserInfo +type NullableAsyncOrderCreateDTOResellerInfo struct { + value *AsyncOrderCreateDTOResellerInfo isSet bool } -func (v NullableQuoteToOrderDetailsDTOEndUserInfo) Get() *QuoteToOrderDetailsDTOEndUserInfo { +func (v NullableAsyncOrderCreateDTOResellerInfo) Get() *AsyncOrderCreateDTOResellerInfo { return v.value } -func (v *NullableQuoteToOrderDetailsDTOEndUserInfo) Set(val *QuoteToOrderDetailsDTOEndUserInfo) { +func (v *NullableAsyncOrderCreateDTOResellerInfo) Set(val *AsyncOrderCreateDTOResellerInfo) { v.value = val v.isSet = true } -func (v NullableQuoteToOrderDetailsDTOEndUserInfo) IsSet() bool { +func (v NullableAsyncOrderCreateDTOResellerInfo) IsSet() bool { return v.isSet } -func (v *NullableQuoteToOrderDetailsDTOEndUserInfo) Unset() { +func (v *NullableAsyncOrderCreateDTOResellerInfo) Unset() { v.value = nil v.isSet = false } -func NewNullableQuoteToOrderDetailsDTOEndUserInfo(val *QuoteToOrderDetailsDTOEndUserInfo) *NullableQuoteToOrderDetailsDTOEndUserInfo { - return &NullableQuoteToOrderDetailsDTOEndUserInfo{value: val, isSet: true} +func NewNullableAsyncOrderCreateDTOResellerInfo(val *AsyncOrderCreateDTOResellerInfo) *NullableAsyncOrderCreateDTOResellerInfo { + return &NullableAsyncOrderCreateDTOResellerInfo{value: val, isSet: true} } -func (v NullableQuoteToOrderDetailsDTOEndUserInfo) MarshalJSON() ([]byte, error) { +func (v NullableAsyncOrderCreateDTOResellerInfo) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableQuoteToOrderDetailsDTOEndUserInfo) UnmarshalJSON(src []byte) error { +func (v *NullableAsyncOrderCreateDTOResellerInfo) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_quote_to_order_details_dto_ship_to_info.go b/model_async_order_create_dto_ship_to_info.go similarity index 50% rename from model_quote_to_order_details_dto_ship_to_info.go rename to model_async_order_create_dto_ship_to_info.go index fa1cca2..15ab330 100644 --- a/model_quote_to_order_details_dto_ship_to_info.go +++ b/model_async_order_create_dto_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,23 +14,29 @@ import ( "encoding/json" ) -// checks if the QuoteToOrderDetailsDTOShipToInfo type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOShipToInfo{} +// checks if the AsyncOrderCreateDTOShipToInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOShipToInfo{} -// QuoteToOrderDetailsDTOShipToInfo The shipping information provided by the reseller for order delivery. -type QuoteToOrderDetailsDTOShipToInfo struct { +// AsyncOrderCreateDTOShipToInfo The shipping information provided by the reseller for order delivery. +type AsyncOrderCreateDTOShipToInfo struct { // The company contact provided by the reseller. AddressId *string `json:"addressId,omitempty"` - // The name of the company the order will be shipped to. - CompanyName *string `json:"companyName,omitempty"` // The contact name for the order will be shipped to. Contact *string `json:"contact,omitempty"` + // The name of the company the order will be shipped to. + CompanyName *string `json:"companyName,omitempty"` // The address line 1 the order will be shipped to. AddressLine1 *string `json:"addressLine1,omitempty"` // The address line 2 the order will be shipped to. AddressLine2 *string `json:"addressLine2,omitempty"` // The address line 3 the order will be shipped to. AddressLine3 NullableString `json:"addressLine3,omitempty"` + // The address line 4 the order will be shipped to. + AddressLine4 NullableString `json:"addressLine4,omitempty"` + // Need description + Name1 *string `json:"name1,omitempty"` + // Need description + Name2 *string `json:"name2,omitempty"` // The city the order will be shipped to. City *string `json:"city,omitempty"` // The state the order will be shipped to. @@ -41,27 +47,31 @@ type QuoteToOrderDetailsDTOShipToInfo struct { CountryCode *string `json:"countryCode,omitempty"` // The company contact email address. Email NullableString `json:"email,omitempty"` + // Shipping Notes + ShippingNotes *string `json:"shippingNotes,omitempty"` + // Phone number for shipping + PhoneNumber *string `json:"phoneNumber,omitempty"` } -// NewQuoteToOrderDetailsDTOShipToInfo instantiates a new QuoteToOrderDetailsDTOShipToInfo object +// NewAsyncOrderCreateDTOShipToInfo instantiates a new AsyncOrderCreateDTOShipToInfo object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOShipToInfo() *QuoteToOrderDetailsDTOShipToInfo { - this := QuoteToOrderDetailsDTOShipToInfo{} +func NewAsyncOrderCreateDTOShipToInfo() *AsyncOrderCreateDTOShipToInfo { + this := AsyncOrderCreateDTOShipToInfo{} return &this } -// NewQuoteToOrderDetailsDTOShipToInfoWithDefaults instantiates a new QuoteToOrderDetailsDTOShipToInfo object +// NewAsyncOrderCreateDTOShipToInfoWithDefaults instantiates a new AsyncOrderCreateDTOShipToInfo object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOShipToInfoWithDefaults() *QuoteToOrderDetailsDTOShipToInfo { - this := QuoteToOrderDetailsDTOShipToInfo{} +func NewAsyncOrderCreateDTOShipToInfoWithDefaults() *AsyncOrderCreateDTOShipToInfo { + this := AsyncOrderCreateDTOShipToInfo{} return &this } // GetAddressId returns the AddressId field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressId() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressId() string { if o == nil || IsNil(o.AddressId) { var ret string return ret @@ -71,7 +81,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressId() string { // GetAddressIdOk returns a tuple with the AddressId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressIdOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressIdOk() (*string, bool) { if o == nil || IsNil(o.AddressId) { return nil, false } @@ -79,7 +89,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressIdOk() (*string, bool) { } // HasAddressId returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressId() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasAddressId() bool { if o != nil && !IsNil(o.AddressId) { return true } @@ -88,76 +98,76 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressId() bool { } // SetAddressId gets a reference to the given string and assigns it to the AddressId field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressId(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressId(v string) { o.AddressId = &v } -// GetCompanyName returns the CompanyName field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCompanyName() string { - if o == nil || IsNil(o.CompanyName) { +// GetContact returns the Contact field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetContact() string { + if o == nil || IsNil(o.Contact) { var ret string return ret } - return *o.CompanyName + return *o.Contact } -// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise +// GetContactOk returns a tuple with the Contact field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCompanyNameOk() (*string, bool) { - if o == nil || IsNil(o.CompanyName) { +func (o *AsyncOrderCreateDTOShipToInfo) GetContactOk() (*string, bool) { + if o == nil || IsNil(o.Contact) { return nil, false } - return o.CompanyName, true + return o.Contact, true } -// HasCompanyName returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasCompanyName() bool { - if o != nil && !IsNil(o.CompanyName) { +// HasContact returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasContact() bool { + if o != nil && !IsNil(o.Contact) { return true } return false } -// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetCompanyName(v string) { - o.CompanyName = &v +// SetContact gets a reference to the given string and assigns it to the Contact field. +func (o *AsyncOrderCreateDTOShipToInfo) SetContact(v string) { + o.Contact = &v } -// GetContact returns the Contact field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetContact() string { - if o == nil || IsNil(o.Contact) { +// GetCompanyName returns the CompanyName field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetCompanyName() string { + if o == nil || IsNil(o.CompanyName) { var ret string return ret } - return *o.Contact + return *o.CompanyName } -// GetContactOk returns a tuple with the Contact field value if set, nil otherwise +// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetContactOk() (*string, bool) { - if o == nil || IsNil(o.Contact) { +func (o *AsyncOrderCreateDTOShipToInfo) GetCompanyNameOk() (*string, bool) { + if o == nil || IsNil(o.CompanyName) { return nil, false } - return o.Contact, true + return o.CompanyName, true } -// HasContact returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasContact() bool { - if o != nil && !IsNil(o.Contact) { +// HasCompanyName returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasCompanyName() bool { + if o != nil && !IsNil(o.CompanyName) { return true } return false } -// SetContact gets a reference to the given string and assigns it to the Contact field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetContact(v string) { - o.Contact = &v +// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field. +func (o *AsyncOrderCreateDTOShipToInfo) SetCompanyName(v string) { + o.CompanyName = &v } // GetAddressLine1 returns the AddressLine1 field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine1() string { if o == nil || IsNil(o.AddressLine1) { var ret string return ret @@ -167,7 +177,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1() string { // GetAddressLine1Ok returns a tuple with the AddressLine1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine1Ok() (*string, bool) { if o == nil || IsNil(o.AddressLine1) { return nil, false } @@ -175,7 +185,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine1Ok() (*string, bool) { } // HasAddressLine1 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine1() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine1() bool { if o != nil && !IsNil(o.AddressLine1) { return true } @@ -184,12 +194,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine1() bool { } // SetAddressLine1 gets a reference to the given string and assigns it to the AddressLine1 field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine1(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine1(v string) { o.AddressLine1 = &v } // GetAddressLine2 returns the AddressLine2 field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine2() string { if o == nil || IsNil(o.AddressLine2) { var ret string return ret @@ -199,7 +209,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2() string { // GetAddressLine2Ok returns a tuple with the AddressLine2 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine2Ok() (*string, bool) { if o == nil || IsNil(o.AddressLine2) { return nil, false } @@ -207,7 +217,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine2Ok() (*string, bool) { } // HasAddressLine2 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine2() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine2() bool { if o != nil && !IsNil(o.AddressLine2) { return true } @@ -216,12 +226,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine2() bool { } // SetAddressLine2 gets a reference to the given string and assigns it to the AddressLine2 field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine2(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine2(v string) { o.AddressLine2 = &v } // GetAddressLine3 returns the AddressLine3 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine3() string { if o == nil || IsNil(o.AddressLine3.Get()) { var ret string return ret @@ -232,7 +242,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3() string { // GetAddressLine3Ok returns a tuple with the AddressLine3 field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3Ok() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine3Ok() (*string, bool) { if o == nil { return nil, false } @@ -240,7 +250,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetAddressLine3Ok() (*string, bool) { } // HasAddressLine3 returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine3() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine3() bool { if o != nil && o.AddressLine3.IsSet() { return true } @@ -249,21 +259,127 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasAddressLine3() bool { } // SetAddressLine3 gets a reference to the given NullableString and assigns it to the AddressLine3 field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine3(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine3(v string) { o.AddressLine3.Set(&v) } // SetAddressLine3Nil sets the value for AddressLine3 to be an explicit nil -func (o *QuoteToOrderDetailsDTOShipToInfo) SetAddressLine3Nil() { +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine3Nil() { o.AddressLine3.Set(nil) } // UnsetAddressLine3 ensures that no value is present for AddressLine3, not even an explicit nil -func (o *QuoteToOrderDetailsDTOShipToInfo) UnsetAddressLine3() { +func (o *AsyncOrderCreateDTOShipToInfo) UnsetAddressLine3() { o.AddressLine3.Unset() } +// GetAddressLine4 returns the AddressLine4 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine4() string { + if o == nil || IsNil(o.AddressLine4.Get()) { + var ret string + return ret + } + return *o.AddressLine4.Get() +} + +// GetAddressLine4Ok returns a tuple with the AddressLine4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AsyncOrderCreateDTOShipToInfo) GetAddressLine4Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.AddressLine4.Get(), o.AddressLine4.IsSet() +} + +// HasAddressLine4 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasAddressLine4() bool { + if o != nil && o.AddressLine4.IsSet() { + return true + } + + return false +} + +// SetAddressLine4 gets a reference to the given NullableString and assigns it to the AddressLine4 field. +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine4(v string) { + o.AddressLine4.Set(&v) +} +// SetAddressLine4Nil sets the value for AddressLine4 to be an explicit nil +func (o *AsyncOrderCreateDTOShipToInfo) SetAddressLine4Nil() { + o.AddressLine4.Set(nil) +} + +// UnsetAddressLine4 ensures that no value is present for AddressLine4, not even an explicit nil +func (o *AsyncOrderCreateDTOShipToInfo) UnsetAddressLine4() { + o.AddressLine4.Unset() +} + +// GetName1 returns the Name1 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetName1() string { + if o == nil || IsNil(o.Name1) { + var ret string + return ret + } + return *o.Name1 +} + +// GetName1Ok returns a tuple with the Name1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipToInfo) GetName1Ok() (*string, bool) { + if o == nil || IsNil(o.Name1) { + return nil, false + } + return o.Name1, true +} + +// HasName1 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasName1() bool { + if o != nil && !IsNil(o.Name1) { + return true + } + + return false +} + +// SetName1 gets a reference to the given string and assigns it to the Name1 field. +func (o *AsyncOrderCreateDTOShipToInfo) SetName1(v string) { + o.Name1 = &v +} + +// GetName2 returns the Name2 field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetName2() string { + if o == nil || IsNil(o.Name2) { + var ret string + return ret + } + return *o.Name2 +} + +// GetName2Ok returns a tuple with the Name2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipToInfo) GetName2Ok() (*string, bool) { + if o == nil || IsNil(o.Name2) { + return nil, false + } + return o.Name2, true +} + +// HasName2 returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasName2() bool { + if o != nil && !IsNil(o.Name2) { + return true + } + + return false +} + +// SetName2 gets a reference to the given string and assigns it to the Name2 field. +func (o *AsyncOrderCreateDTOShipToInfo) SetName2(v string) { + o.Name2 = &v +} + // GetCity returns the City field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCity() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetCity() string { if o == nil || IsNil(o.City) { var ret string return ret @@ -273,7 +389,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetCity() string { // GetCityOk returns a tuple with the City field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCityOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetCityOk() (*string, bool) { if o == nil || IsNil(o.City) { return nil, false } @@ -281,7 +397,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetCityOk() (*string, bool) { } // HasCity returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasCity() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasCity() bool { if o != nil && !IsNil(o.City) { return true } @@ -290,12 +406,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasCity() bool { } // SetCity gets a reference to the given string and assigns it to the City field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetCity(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetCity(v string) { o.City = &v } // GetState returns the State field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetState() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetState() string { if o == nil || IsNil(o.State) { var ret string return ret @@ -305,7 +421,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetState() string { // GetStateOk returns a tuple with the State field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetStateOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetStateOk() (*string, bool) { if o == nil || IsNil(o.State) { return nil, false } @@ -313,7 +429,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetStateOk() (*string, bool) { } // HasState returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasState() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasState() bool { if o != nil && !IsNil(o.State) { return true } @@ -322,12 +438,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasState() bool { } // SetState gets a reference to the given string and assigns it to the State field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetState(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetState(v string) { o.State = &v } // GetPostalCode returns the PostalCode field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCode() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetPostalCode() string { if o == nil || IsNil(o.PostalCode) { var ret string return ret @@ -337,7 +453,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCode() string { // GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCodeOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetPostalCodeOk() (*string, bool) { if o == nil || IsNil(o.PostalCode) { return nil, false } @@ -345,7 +461,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetPostalCodeOk() (*string, bool) { } // HasPostalCode returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasPostalCode() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasPostalCode() bool { if o != nil && !IsNil(o.PostalCode) { return true } @@ -354,12 +470,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasPostalCode() bool { } // SetPostalCode gets a reference to the given string and assigns it to the PostalCode field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetPostalCode(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetPostalCode(v string) { o.PostalCode = &v } // GetCountryCode returns the CountryCode field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCode() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetCountryCode() string { if o == nil || IsNil(o.CountryCode) { var ret string return ret @@ -369,7 +485,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCode() string { // GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCodeOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetCountryCodeOk() (*string, bool) { if o == nil || IsNil(o.CountryCode) { return nil, false } @@ -377,7 +493,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetCountryCodeOk() (*string, bool) { } // HasCountryCode returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasCountryCode() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasCountryCode() bool { if o != nil && !IsNil(o.CountryCode) { return true } @@ -386,12 +502,12 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasCountryCode() bool { } // SetCountryCode gets a reference to the given string and assigns it to the CountryCode field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetCountryCode(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetCountryCode(v string) { o.CountryCode = &v } // GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmail() string { +func (o *AsyncOrderCreateDTOShipToInfo) GetEmail() string { if o == nil || IsNil(o.Email.Get()) { var ret string return ret @@ -402,7 +518,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmail() string { // GetEmailOk returns a tuple with the Email field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmailOk() (*string, bool) { +func (o *AsyncOrderCreateDTOShipToInfo) GetEmailOk() (*string, bool) { if o == nil { return nil, false } @@ -410,7 +526,7 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) GetEmailOk() (*string, bool) { } // HasEmail returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOShipToInfo) HasEmail() bool { +func (o *AsyncOrderCreateDTOShipToInfo) HasEmail() bool { if o != nil && o.Email.IsSet() { return true } @@ -419,20 +535,84 @@ func (o *QuoteToOrderDetailsDTOShipToInfo) HasEmail() bool { } // SetEmail gets a reference to the given NullableString and assigns it to the Email field. -func (o *QuoteToOrderDetailsDTOShipToInfo) SetEmail(v string) { +func (o *AsyncOrderCreateDTOShipToInfo) SetEmail(v string) { o.Email.Set(&v) } // SetEmailNil sets the value for Email to be an explicit nil -func (o *QuoteToOrderDetailsDTOShipToInfo) SetEmailNil() { +func (o *AsyncOrderCreateDTOShipToInfo) SetEmailNil() { o.Email.Set(nil) } // UnsetEmail ensures that no value is present for Email, not even an explicit nil -func (o *QuoteToOrderDetailsDTOShipToInfo) UnsetEmail() { +func (o *AsyncOrderCreateDTOShipToInfo) UnsetEmail() { o.Email.Unset() } -func (o QuoteToOrderDetailsDTOShipToInfo) MarshalJSON() ([]byte, error) { +// GetShippingNotes returns the ShippingNotes field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetShippingNotes() string { + if o == nil || IsNil(o.ShippingNotes) { + var ret string + return ret + } + return *o.ShippingNotes +} + +// GetShippingNotesOk returns a tuple with the ShippingNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipToInfo) GetShippingNotesOk() (*string, bool) { + if o == nil || IsNil(o.ShippingNotes) { + return nil, false + } + return o.ShippingNotes, true +} + +// HasShippingNotes returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasShippingNotes() bool { + if o != nil && !IsNil(o.ShippingNotes) { + return true + } + + return false +} + +// SetShippingNotes gets a reference to the given string and assigns it to the ShippingNotes field. +func (o *AsyncOrderCreateDTOShipToInfo) SetShippingNotes(v string) { + o.ShippingNotes = &v +} + +// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipToInfo) GetPhoneNumber() string { + if o == nil || IsNil(o.PhoneNumber) { + var ret string + return ret + } + return *o.PhoneNumber +} + +// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipToInfo) GetPhoneNumberOk() (*string, bool) { + if o == nil || IsNil(o.PhoneNumber) { + return nil, false + } + return o.PhoneNumber, true +} + +// HasPhoneNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipToInfo) HasPhoneNumber() bool { + if o != nil && !IsNil(o.PhoneNumber) { + return true + } + + return false +} + +// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field. +func (o *AsyncOrderCreateDTOShipToInfo) SetPhoneNumber(v string) { + o.PhoneNumber = &v +} + +func (o AsyncOrderCreateDTOShipToInfo) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -440,17 +620,17 @@ func (o QuoteToOrderDetailsDTOShipToInfo) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -func (o QuoteToOrderDetailsDTOShipToInfo) ToMap() (map[string]interface{}, error) { +func (o AsyncOrderCreateDTOShipToInfo) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.AddressId) { toSerialize["addressId"] = o.AddressId } - if !IsNil(o.CompanyName) { - toSerialize["companyName"] = o.CompanyName - } if !IsNil(o.Contact) { toSerialize["contact"] = o.Contact } + if !IsNil(o.CompanyName) { + toSerialize["companyName"] = o.CompanyName + } if !IsNil(o.AddressLine1) { toSerialize["addressLine1"] = o.AddressLine1 } @@ -460,6 +640,15 @@ func (o QuoteToOrderDetailsDTOShipToInfo) ToMap() (map[string]interface{}, error if o.AddressLine3.IsSet() { toSerialize["addressLine3"] = o.AddressLine3.Get() } + if o.AddressLine4.IsSet() { + toSerialize["addressLine4"] = o.AddressLine4.Get() + } + if !IsNil(o.Name1) { + toSerialize["name1"] = o.Name1 + } + if !IsNil(o.Name2) { + toSerialize["name2"] = o.Name2 + } if !IsNil(o.City) { toSerialize["city"] = o.City } @@ -475,41 +664,47 @@ func (o QuoteToOrderDetailsDTOShipToInfo) ToMap() (map[string]interface{}, error if o.Email.IsSet() { toSerialize["email"] = o.Email.Get() } + if !IsNil(o.ShippingNotes) { + toSerialize["shippingNotes"] = o.ShippingNotes + } + if !IsNil(o.PhoneNumber) { + toSerialize["phoneNumber"] = o.PhoneNumber + } return toSerialize, nil } -type NullableQuoteToOrderDetailsDTOShipToInfo struct { - value *QuoteToOrderDetailsDTOShipToInfo +type NullableAsyncOrderCreateDTOShipToInfo struct { + value *AsyncOrderCreateDTOShipToInfo isSet bool } -func (v NullableQuoteToOrderDetailsDTOShipToInfo) Get() *QuoteToOrderDetailsDTOShipToInfo { +func (v NullableAsyncOrderCreateDTOShipToInfo) Get() *AsyncOrderCreateDTOShipToInfo { return v.value } -func (v *NullableQuoteToOrderDetailsDTOShipToInfo) Set(val *QuoteToOrderDetailsDTOShipToInfo) { +func (v *NullableAsyncOrderCreateDTOShipToInfo) Set(val *AsyncOrderCreateDTOShipToInfo) { v.value = val v.isSet = true } -func (v NullableQuoteToOrderDetailsDTOShipToInfo) IsSet() bool { +func (v NullableAsyncOrderCreateDTOShipToInfo) IsSet() bool { return v.isSet } -func (v *NullableQuoteToOrderDetailsDTOShipToInfo) Unset() { +func (v *NullableAsyncOrderCreateDTOShipToInfo) Unset() { v.value = nil v.isSet = false } -func NewNullableQuoteToOrderDetailsDTOShipToInfo(val *QuoteToOrderDetailsDTOShipToInfo) *NullableQuoteToOrderDetailsDTOShipToInfo { - return &NullableQuoteToOrderDetailsDTOShipToInfo{value: val, isSet: true} +func NewNullableAsyncOrderCreateDTOShipToInfo(val *AsyncOrderCreateDTOShipToInfo) *NullableAsyncOrderCreateDTOShipToInfo { + return &NullableAsyncOrderCreateDTOShipToInfo{value: val, isSet: true} } -func (v NullableQuoteToOrderDetailsDTOShipToInfo) MarshalJSON() ([]byte, error) { +func (v NullableAsyncOrderCreateDTOShipToInfo) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableQuoteToOrderDetailsDTOShipToInfo) UnmarshalJSON(src []byte) error { +func (v *NullableAsyncOrderCreateDTOShipToInfo) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_async_order_create_dto_shipment_details.go b/model_async_order_create_dto_shipment_details.go new file mode 100644 index 0000000..715f53c --- /dev/null +++ b/model_async_order_create_dto_shipment_details.go @@ -0,0 +1,312 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOShipmentDetails type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOShipmentDetails{} + +// AsyncOrderCreateDTOShipmentDetails Shipping details for the order provided by the customer. +type AsyncOrderCreateDTOShipmentDetails struct { + // The code for the shipping carrier for the line item. + CarrierCode *string `json:"carrierCode,omitempty"` + // The reseller-requested delivery date in UTC format. Delivery date is not guaranteed. + RequestedDeliveryDate *string `json:"requestedDeliveryDate,omitempty"` + // 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. + ShipComplete *string `json:"shipComplete,omitempty"` + // Any special shipping instructions for the order. + ShippingInstructions *string `json:"shippingInstructions,omitempty"` + // The reseller 's shipping account number with carrier. Used to bill the shipping carrier directly from the reseller's account with the carrier. + FreightAccountNumber *string `json:"freightAccountNumber,omitempty"` + // Specifies whether a signature is required for delivery. Default is False. + SignatureRequired *bool `json:"signatureRequired,omitempty"` +} + +// NewAsyncOrderCreateDTOShipmentDetails instantiates a new AsyncOrderCreateDTOShipmentDetails object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOShipmentDetails() *AsyncOrderCreateDTOShipmentDetails { + this := AsyncOrderCreateDTOShipmentDetails{} + return &this +} + +// NewAsyncOrderCreateDTOShipmentDetailsWithDefaults instantiates a new AsyncOrderCreateDTOShipmentDetails object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOShipmentDetailsWithDefaults() *AsyncOrderCreateDTOShipmentDetails { + this := AsyncOrderCreateDTOShipmentDetails{} + return &this +} + +// GetCarrierCode returns the CarrierCode field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetCarrierCode() string { + if o == nil || IsNil(o.CarrierCode) { + var ret string + return ret + } + return *o.CarrierCode +} + +// GetCarrierCodeOk returns a tuple with the CarrierCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetCarrierCodeOk() (*string, bool) { + if o == nil || IsNil(o.CarrierCode) { + return nil, false + } + return o.CarrierCode, true +} + +// HasCarrierCode returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasCarrierCode() bool { + if o != nil && !IsNil(o.CarrierCode) { + return true + } + + return false +} + +// SetCarrierCode gets a reference to the given string and assigns it to the CarrierCode field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetCarrierCode(v string) { + o.CarrierCode = &v +} + +// GetRequestedDeliveryDate returns the RequestedDeliveryDate field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetRequestedDeliveryDate() string { + if o == nil || IsNil(o.RequestedDeliveryDate) { + var ret string + return ret + } + return *o.RequestedDeliveryDate +} + +// GetRequestedDeliveryDateOk returns a tuple with the RequestedDeliveryDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetRequestedDeliveryDateOk() (*string, bool) { + if o == nil || IsNil(o.RequestedDeliveryDate) { + return nil, false + } + return o.RequestedDeliveryDate, true +} + +// HasRequestedDeliveryDate returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasRequestedDeliveryDate() bool { + if o != nil && !IsNil(o.RequestedDeliveryDate) { + return true + } + + return false +} + +// SetRequestedDeliveryDate gets a reference to the given string and assigns it to the RequestedDeliveryDate field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetRequestedDeliveryDate(v string) { + o.RequestedDeliveryDate = &v +} + +// GetShipComplete returns the ShipComplete field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetShipComplete() string { + if o == nil || IsNil(o.ShipComplete) { + var ret string + return ret + } + return *o.ShipComplete +} + +// GetShipCompleteOk returns a tuple with the ShipComplete field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetShipCompleteOk() (*string, bool) { + if o == nil || IsNil(o.ShipComplete) { + return nil, false + } + return o.ShipComplete, true +} + +// HasShipComplete returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasShipComplete() bool { + if o != nil && !IsNil(o.ShipComplete) { + return true + } + + return false +} + +// SetShipComplete gets a reference to the given string and assigns it to the ShipComplete field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetShipComplete(v string) { + o.ShipComplete = &v +} + +// GetShippingInstructions returns the ShippingInstructions field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetShippingInstructions() string { + if o == nil || IsNil(o.ShippingInstructions) { + var ret string + return ret + } + return *o.ShippingInstructions +} + +// GetShippingInstructionsOk returns a tuple with the ShippingInstructions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetShippingInstructionsOk() (*string, bool) { + if o == nil || IsNil(o.ShippingInstructions) { + return nil, false + } + return o.ShippingInstructions, true +} + +// HasShippingInstructions returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasShippingInstructions() bool { + if o != nil && !IsNil(o.ShippingInstructions) { + return true + } + + return false +} + +// SetShippingInstructions gets a reference to the given string and assigns it to the ShippingInstructions field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetShippingInstructions(v string) { + o.ShippingInstructions = &v +} + +// GetFreightAccountNumber returns the FreightAccountNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetFreightAccountNumber() string { + if o == nil || IsNil(o.FreightAccountNumber) { + var ret string + return ret + } + return *o.FreightAccountNumber +} + +// GetFreightAccountNumberOk returns a tuple with the FreightAccountNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetFreightAccountNumberOk() (*string, bool) { + if o == nil || IsNil(o.FreightAccountNumber) { + return nil, false + } + return o.FreightAccountNumber, true +} + +// HasFreightAccountNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasFreightAccountNumber() bool { + if o != nil && !IsNil(o.FreightAccountNumber) { + return true + } + + return false +} + +// SetFreightAccountNumber gets a reference to the given string and assigns it to the FreightAccountNumber field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetFreightAccountNumber(v string) { + o.FreightAccountNumber = &v +} + +// GetSignatureRequired returns the SignatureRequired field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOShipmentDetails) GetSignatureRequired() bool { + if o == nil || IsNil(o.SignatureRequired) { + var ret bool + return ret + } + return *o.SignatureRequired +} + +// GetSignatureRequiredOk returns a tuple with the SignatureRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) GetSignatureRequiredOk() (*bool, bool) { + if o == nil || IsNil(o.SignatureRequired) { + return nil, false + } + return o.SignatureRequired, true +} + +// HasSignatureRequired returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOShipmentDetails) HasSignatureRequired() bool { + if o != nil && !IsNil(o.SignatureRequired) { + return true + } + + return false +} + +// SetSignatureRequired gets a reference to the given bool and assigns it to the SignatureRequired field. +func (o *AsyncOrderCreateDTOShipmentDetails) SetSignatureRequired(v bool) { + o.SignatureRequired = &v +} + +func (o AsyncOrderCreateDTOShipmentDetails) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOShipmentDetails) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CarrierCode) { + toSerialize["carrierCode"] = o.CarrierCode + } + if !IsNil(o.RequestedDeliveryDate) { + toSerialize["requestedDeliveryDate"] = o.RequestedDeliveryDate + } + if !IsNil(o.ShipComplete) { + toSerialize["shipComplete"] = o.ShipComplete + } + if !IsNil(o.ShippingInstructions) { + toSerialize["shippingInstructions"] = o.ShippingInstructions + } + if !IsNil(o.FreightAccountNumber) { + toSerialize["freightAccountNumber"] = o.FreightAccountNumber + } + if !IsNil(o.SignatureRequired) { + toSerialize["signatureRequired"] = o.SignatureRequired + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOShipmentDetails struct { + value *AsyncOrderCreateDTOShipmentDetails + isSet bool +} + +func (v NullableAsyncOrderCreateDTOShipmentDetails) Get() *AsyncOrderCreateDTOShipmentDetails { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOShipmentDetails) Set(val *AsyncOrderCreateDTOShipmentDetails) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOShipmentDetails) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOShipmentDetails) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOShipmentDetails(val *AsyncOrderCreateDTOShipmentDetails) *NullableAsyncOrderCreateDTOShipmentDetails { + return &NullableAsyncOrderCreateDTOShipmentDetails{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOShipmentDetails) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOShipmentDetails) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_quote_to_order_details_dto_additional_attributes_inner.go b/model_async_order_create_dto_vmfadditional_attributes_inner.go similarity index 52% rename from model_quote_to_order_details_dto_additional_attributes_inner.go rename to model_async_order_create_dto_vmfadditional_attributes_inner.go index 4b1267c..e63acba 100644 --- a/model_quote_to_order_details_dto_additional_attributes_inner.go +++ b/model_async_order_create_dto_vmfadditional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,36 +14,36 @@ import ( "encoding/json" ) -// checks if the QuoteToOrderDetailsDTOAdditionalAttributesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOAdditionalAttributesInner{} +// checks if the AsyncOrderCreateDTOVmfadditionalAttributesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOVmfadditionalAttributesInner{} -// QuoteToOrderDetailsDTOAdditionalAttributesInner struct for QuoteToOrderDetailsDTOAdditionalAttributesInner -type QuoteToOrderDetailsDTOAdditionalAttributesInner struct { - // 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. +// AsyncOrderCreateDTOVmfadditionalAttributesInner struct for AsyncOrderCreateDTOVmfadditionalAttributesInner +type AsyncOrderCreateDTOVmfadditionalAttributesInner struct { + // The name of the header level field. AttributeName *string `json:"attributeName,omitempty"` - // The attribute field data. + // The value of the header level field. AttributeValue *string `json:"attributeValue,omitempty"` } -// NewQuoteToOrderDetailsDTOAdditionalAttributesInner instantiates a new QuoteToOrderDetailsDTOAdditionalAttributesInner object +// NewAsyncOrderCreateDTOVmfadditionalAttributesInner instantiates a new AsyncOrderCreateDTOVmfadditionalAttributesInner object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOAdditionalAttributesInner() *QuoteToOrderDetailsDTOAdditionalAttributesInner { - this := QuoteToOrderDetailsDTOAdditionalAttributesInner{} +func NewAsyncOrderCreateDTOVmfadditionalAttributesInner() *AsyncOrderCreateDTOVmfadditionalAttributesInner { + this := AsyncOrderCreateDTOVmfadditionalAttributesInner{} return &this } -// NewQuoteToOrderDetailsDTOAdditionalAttributesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOAdditionalAttributesInner object +// NewAsyncOrderCreateDTOVmfadditionalAttributesInnerWithDefaults instantiates a new AsyncOrderCreateDTOVmfadditionalAttributesInner object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOAdditionalAttributesInnerWithDefaults() *QuoteToOrderDetailsDTOAdditionalAttributesInner { - this := QuoteToOrderDetailsDTOAdditionalAttributesInner{} +func NewAsyncOrderCreateDTOVmfadditionalAttributesInnerWithDefaults() *AsyncOrderCreateDTOVmfadditionalAttributesInner { + this := AsyncOrderCreateDTOVmfadditionalAttributesInner{} return &this } // GetAttributeName returns the AttributeName field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeName() string { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeName() string { if o == nil || IsNil(o.AttributeName) { var ret string return ret @@ -53,7 +53,7 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeName() str // GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeNameOk() (*string, bool) { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeNameOk() (*string, bool) { if o == nil || IsNil(o.AttributeName) { return nil, false } @@ -61,7 +61,7 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeNameOk() ( } // HasAttributeName returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeName() bool { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) HasAttributeName() bool { if o != nil && !IsNil(o.AttributeName) { return true } @@ -70,12 +70,12 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeName() boo } // SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) SetAttributeName(v string) { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) SetAttributeName(v string) { o.AttributeName = &v } // GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValue() string { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeValue() string { if o == nil || IsNil(o.AttributeValue) { var ret string return ret @@ -85,7 +85,7 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValue() st // GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValueOk() (*string, bool) { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) GetAttributeValueOk() (*string, bool) { if o == nil || IsNil(o.AttributeValue) { return nil, false } @@ -93,7 +93,7 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) GetAttributeValueOk() } // HasAttributeValue returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeValue() bool { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) HasAttributeValue() bool { if o != nil && !IsNil(o.AttributeValue) { return true } @@ -102,11 +102,11 @@ func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) HasAttributeValue() bo } // SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. -func (o *QuoteToOrderDetailsDTOAdditionalAttributesInner) SetAttributeValue(v string) { +func (o *AsyncOrderCreateDTOVmfadditionalAttributesInner) SetAttributeValue(v string) { o.AttributeValue = &v } -func (o QuoteToOrderDetailsDTOAdditionalAttributesInner) MarshalJSON() ([]byte, error) { +func (o AsyncOrderCreateDTOVmfadditionalAttributesInner) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -114,7 +114,7 @@ func (o QuoteToOrderDetailsDTOAdditionalAttributesInner) MarshalJSON() ([]byte, return json.Marshal(toSerialize) } -func (o QuoteToOrderDetailsDTOAdditionalAttributesInner) ToMap() (map[string]interface{}, error) { +func (o AsyncOrderCreateDTOVmfadditionalAttributesInner) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.AttributeName) { toSerialize["attributeName"] = o.AttributeName @@ -125,38 +125,38 @@ func (o QuoteToOrderDetailsDTOAdditionalAttributesInner) ToMap() (map[string]int return toSerialize, nil } -type NullableQuoteToOrderDetailsDTOAdditionalAttributesInner struct { - value *QuoteToOrderDetailsDTOAdditionalAttributesInner +type NullableAsyncOrderCreateDTOVmfadditionalAttributesInner struct { + value *AsyncOrderCreateDTOVmfadditionalAttributesInner isSet bool } -func (v NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) Get() *QuoteToOrderDetailsDTOAdditionalAttributesInner { +func (v NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) Get() *AsyncOrderCreateDTOVmfadditionalAttributesInner { return v.value } -func (v *NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) Set(val *QuoteToOrderDetailsDTOAdditionalAttributesInner) { +func (v *NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) Set(val *AsyncOrderCreateDTOVmfadditionalAttributesInner) { v.value = val v.isSet = true } -func (v NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) IsSet() bool { +func (v NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) IsSet() bool { return v.isSet } -func (v *NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) Unset() { +func (v *NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) Unset() { v.value = nil v.isSet = false } -func NewNullableQuoteToOrderDetailsDTOAdditionalAttributesInner(val *QuoteToOrderDetailsDTOAdditionalAttributesInner) *NullableQuoteToOrderDetailsDTOAdditionalAttributesInner { - return &NullableQuoteToOrderDetailsDTOAdditionalAttributesInner{value: val, isSet: true} +func NewNullableAsyncOrderCreateDTOVmfadditionalAttributesInner(val *AsyncOrderCreateDTOVmfadditionalAttributesInner) *NullableAsyncOrderCreateDTOVmfadditionalAttributesInner { + return &NullableAsyncOrderCreateDTOVmfadditionalAttributesInner{value: val, isSet: true} } -func (v NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) MarshalJSON() ([]byte, error) { +func (v NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableQuoteToOrderDetailsDTOAdditionalAttributesInner) UnmarshalJSON(src []byte) error { +func (v *NullableAsyncOrderCreateDTOVmfadditionalAttributesInner) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_async_order_create_dto_warranty_info_inner.go b/model_async_order_create_dto_warranty_info_inner.go new file mode 100644 index 0000000..bff4b97 --- /dev/null +++ b/model_async_order_create_dto_warranty_info_inner.go @@ -0,0 +1,271 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOWarrantyInfoInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOWarrantyInfoInner{} + +// AsyncOrderCreateDTOWarrantyInfoInner struct for AsyncOrderCreateDTOWarrantyInfoInner +type AsyncOrderCreateDTOWarrantyInfoInner struct { + HardwareLineLink *string `json:"hardwareLineLink,omitempty"` + WarrantyLineLink *string `json:"warrantyLineLink,omitempty"` + DirectLineLink *string `json:"directLineLink,omitempty"` + SerialInfo []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner `json:"serialInfo,omitempty"` + // The object containing the list of fields required at a line level by the vendor. + VmfAdditionalAttributesLines []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner `json:"vmfAdditionalAttributesLines,omitempty"` +} + +// NewAsyncOrderCreateDTOWarrantyInfoInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOWarrantyInfoInner() *AsyncOrderCreateDTOWarrantyInfoInner { + this := AsyncOrderCreateDTOWarrantyInfoInner{} + return &this +} + +// NewAsyncOrderCreateDTOWarrantyInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOWarrantyInfoInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInner { + this := AsyncOrderCreateDTOWarrantyInfoInner{} + return &this +} + +// GetHardwareLineLink returns the HardwareLineLink field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetHardwareLineLink() string { + if o == nil || IsNil(o.HardwareLineLink) { + var ret string + return ret + } + return *o.HardwareLineLink +} + +// GetHardwareLineLinkOk returns a tuple with the HardwareLineLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetHardwareLineLinkOk() (*string, bool) { + if o == nil || IsNil(o.HardwareLineLink) { + return nil, false + } + return o.HardwareLineLink, true +} + +// HasHardwareLineLink returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasHardwareLineLink() bool { + if o != nil && !IsNil(o.HardwareLineLink) { + return true + } + + return false +} + +// SetHardwareLineLink gets a reference to the given string and assigns it to the HardwareLineLink field. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetHardwareLineLink(v string) { + o.HardwareLineLink = &v +} + +// GetWarrantyLineLink returns the WarrantyLineLink field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetWarrantyLineLink() string { + if o == nil || IsNil(o.WarrantyLineLink) { + var ret string + return ret + } + return *o.WarrantyLineLink +} + +// GetWarrantyLineLinkOk returns a tuple with the WarrantyLineLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetWarrantyLineLinkOk() (*string, bool) { + if o == nil || IsNil(o.WarrantyLineLink) { + return nil, false + } + return o.WarrantyLineLink, true +} + +// HasWarrantyLineLink returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasWarrantyLineLink() bool { + if o != nil && !IsNil(o.WarrantyLineLink) { + return true + } + + return false +} + +// SetWarrantyLineLink gets a reference to the given string and assigns it to the WarrantyLineLink field. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetWarrantyLineLink(v string) { + o.WarrantyLineLink = &v +} + +// GetDirectLineLink returns the DirectLineLink field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetDirectLineLink() string { + if o == nil || IsNil(o.DirectLineLink) { + var ret string + return ret + } + return *o.DirectLineLink +} + +// GetDirectLineLinkOk returns a tuple with the DirectLineLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetDirectLineLinkOk() (*string, bool) { + if o == nil || IsNil(o.DirectLineLink) { + return nil, false + } + return o.DirectLineLink, true +} + +// HasDirectLineLink returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasDirectLineLink() bool { + if o != nil && !IsNil(o.DirectLineLink) { + return true + } + + return false +} + +// SetDirectLineLink gets a reference to the given string and assigns it to the DirectLineLink field. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetDirectLineLink(v string) { + o.DirectLineLink = &v +} + +// GetSerialInfo returns the SerialInfo field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetSerialInfo() []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + if o == nil || IsNil(o.SerialInfo) { + var ret []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + return ret + } + return o.SerialInfo +} + +// GetSerialInfoOk returns a tuple with the SerialInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetSerialInfoOk() ([]AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner, bool) { + if o == nil || IsNil(o.SerialInfo) { + return nil, false + } + return o.SerialInfo, true +} + +// HasSerialInfo returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasSerialInfo() bool { + if o != nil && !IsNil(o.SerialInfo) { + return true + } + + return false +} + +// SetSerialInfo gets a reference to the given []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner and assigns it to the SerialInfo field. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetSerialInfo(v []AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) { + o.SerialInfo = v +} + +// GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetVmfAdditionalAttributesLines() []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { + if o == nil || IsNil(o.VmfAdditionalAttributesLines) { + var ret []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + return ret + } + return o.VmfAdditionalAttributesLines +} + +// GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) GetVmfAdditionalAttributesLinesOk() ([]AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner, bool) { + if o == nil || IsNil(o.VmfAdditionalAttributesLines) { + return nil, false + } + return o.VmfAdditionalAttributesLines, true +} + +// HasVmfAdditionalAttributesLines returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) HasVmfAdditionalAttributesLines() bool { + if o != nil && !IsNil(o.VmfAdditionalAttributesLines) { + return true + } + + return false +} + +// SetVmfAdditionalAttributesLines gets a reference to the given []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner and assigns it to the VmfAdditionalAttributesLines field. +func (o *AsyncOrderCreateDTOWarrantyInfoInner) SetVmfAdditionalAttributesLines(v []AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) { + o.VmfAdditionalAttributesLines = v +} + +func (o AsyncOrderCreateDTOWarrantyInfoInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOWarrantyInfoInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.HardwareLineLink) { + toSerialize["hardwareLineLink"] = o.HardwareLineLink + } + if !IsNil(o.WarrantyLineLink) { + toSerialize["warrantyLineLink"] = o.WarrantyLineLink + } + if !IsNil(o.DirectLineLink) { + toSerialize["directLineLink"] = o.DirectLineLink + } + if !IsNil(o.SerialInfo) { + toSerialize["serialInfo"] = o.SerialInfo + } + if !IsNil(o.VmfAdditionalAttributesLines) { + toSerialize["vmfAdditionalAttributesLines"] = o.VmfAdditionalAttributesLines + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOWarrantyInfoInner struct { + value *AsyncOrderCreateDTOWarrantyInfoInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInner) Get() *AsyncOrderCreateDTOWarrantyInfoInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInner) Set(val *AsyncOrderCreateDTOWarrantyInfoInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOWarrantyInfoInner(val *AsyncOrderCreateDTOWarrantyInfoInner) *NullableAsyncOrderCreateDTOWarrantyInfoInner { + return &NullableAsyncOrderCreateDTOWarrantyInfoInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_warranty_info_inner_serial_info_inner.go b/model_async_order_create_dto_warranty_info_inner_serial_info_inner.go new file mode 100644 index 0000000..91c97fd --- /dev/null +++ b/model_async_order_create_dto_warranty_info_inner_serial_info_inner.go @@ -0,0 +1,234 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner{} + +// AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner struct for AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner +type AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner struct { + DateOfPurchase *string `json:"dateOfPurchase,omitempty"` + ShipDate *string `json:"shipDate,omitempty"` + PrimarySerialNumber *string `json:"primarySerialNumber,omitempty"` + SecondarySerialNumber *string `json:"secondarySerialNumber,omitempty"` +} + +// NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner() *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + this := AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner{} + return &this +} + +// NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + this := AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner{} + return &this +} + +// GetDateOfPurchase returns the DateOfPurchase field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetDateOfPurchase() string { + if o == nil || IsNil(o.DateOfPurchase) { + var ret string + return ret + } + return *o.DateOfPurchase +} + +// GetDateOfPurchaseOk returns a tuple with the DateOfPurchase field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetDateOfPurchaseOk() (*string, bool) { + if o == nil || IsNil(o.DateOfPurchase) { + return nil, false + } + return o.DateOfPurchase, true +} + +// HasDateOfPurchase returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasDateOfPurchase() bool { + if o != nil && !IsNil(o.DateOfPurchase) { + return true + } + + return false +} + +// SetDateOfPurchase gets a reference to the given string and assigns it to the DateOfPurchase field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetDateOfPurchase(v string) { + o.DateOfPurchase = &v +} + +// GetShipDate returns the ShipDate field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetShipDate() string { + if o == nil || IsNil(o.ShipDate) { + var ret string + return ret + } + return *o.ShipDate +} + +// GetShipDateOk returns a tuple with the ShipDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetShipDateOk() (*string, bool) { + if o == nil || IsNil(o.ShipDate) { + return nil, false + } + return o.ShipDate, true +} + +// HasShipDate returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasShipDate() bool { + if o != nil && !IsNil(o.ShipDate) { + return true + } + + return false +} + +// SetShipDate gets a reference to the given string and assigns it to the ShipDate field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetShipDate(v string) { + o.ShipDate = &v +} + +// GetPrimarySerialNumber returns the PrimarySerialNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetPrimarySerialNumber() string { + if o == nil || IsNil(o.PrimarySerialNumber) { + var ret string + return ret + } + return *o.PrimarySerialNumber +} + +// GetPrimarySerialNumberOk returns a tuple with the PrimarySerialNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetPrimarySerialNumberOk() (*string, bool) { + if o == nil || IsNil(o.PrimarySerialNumber) { + return nil, false + } + return o.PrimarySerialNumber, true +} + +// HasPrimarySerialNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasPrimarySerialNumber() bool { + if o != nil && !IsNil(o.PrimarySerialNumber) { + return true + } + + return false +} + +// SetPrimarySerialNumber gets a reference to the given string and assigns it to the PrimarySerialNumber field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetPrimarySerialNumber(v string) { + o.PrimarySerialNumber = &v +} + +// GetSecondarySerialNumber returns the SecondarySerialNumber field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetSecondarySerialNumber() string { + if o == nil || IsNil(o.SecondarySerialNumber) { + var ret string + return ret + } + return *o.SecondarySerialNumber +} + +// GetSecondarySerialNumberOk returns a tuple with the SecondarySerialNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) GetSecondarySerialNumberOk() (*string, bool) { + if o == nil || IsNil(o.SecondarySerialNumber) { + return nil, false + } + return o.SecondarySerialNumber, true +} + +// HasSecondarySerialNumber returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) HasSecondarySerialNumber() bool { + if o != nil && !IsNil(o.SecondarySerialNumber) { + return true + } + + return false +} + +// SetSecondarySerialNumber gets a reference to the given string and assigns it to the SecondarySerialNumber field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) SetSecondarySerialNumber(v string) { + o.SecondarySerialNumber = &v +} + +func (o AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.DateOfPurchase) { + toSerialize["dateOfPurchase"] = o.DateOfPurchase + } + if !IsNil(o.ShipDate) { + toSerialize["shipDate"] = o.ShipDate + } + if !IsNil(o.PrimarySerialNumber) { + toSerialize["primarySerialNumber"] = o.PrimarySerialNumber + } + if !IsNil(o.SecondarySerialNumber) { + toSerialize["secondarySerialNumber"] = o.SecondarySerialNumber + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner struct { + value *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) Get() *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) Set(val *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner(val *AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) *NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner { + return &NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_async_order_create_dto_warranty_info_inner_vmf_additional_attributes_lines_inner.go b/model_async_order_create_dto_warranty_info_inner_vmf_additional_attributes_lines_inner.go new file mode 100644 index 0000000..ea89ce1 --- /dev/null +++ b/model_async_order_create_dto_warranty_info_inner_vmf_additional_attributes_lines_inner.go @@ -0,0 +1,164 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner{} + +// AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner struct for AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner +type AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner struct { + // The name of the line level field. + AttributeName *string `json:"attributeName,omitempty"` + // The value of the line level field. + AttributeValue *string `json:"attributeValue,omitempty"` +} + +// NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner() *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { + this := AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner{} + return &this +} + +// NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInnerWithDefaults() *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { + this := AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner{} + return &this +} + +// GetAttributeName returns the AttributeName field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string { + if o == nil || IsNil(o.AttributeName) { + var ret string + return ret + } + return *o.AttributeName +} + +// GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool) { + if o == nil || IsNil(o.AttributeName) { + return nil, false + } + return o.AttributeName, true +} + +// HasAttributeName returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool { + if o != nil && !IsNil(o.AttributeName) { + return true + } + + return false +} + +// SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string) { + o.AttributeName = &v +} + +// GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string { + if o == nil || IsNil(o.AttributeValue) { + var ret string + return ret + } + return *o.AttributeValue +} + +// GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool) { + if o == nil || IsNil(o.AttributeValue) { + return nil, false + } + return o.AttributeValue, true +} + +// HasAttributeValue returns a boolean if a field has been set. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool { + if o != nil && !IsNil(o.AttributeValue) { + return true + } + + return false +} + +// SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. +func (o *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string) { + o.AttributeValue = &v +} + +func (o AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AttributeName) { + toSerialize["attributeName"] = o.AttributeName + } + if !IsNil(o.AttributeValue) { + toSerialize["attributeValue"] = o.AttributeValue + } + return toSerialize, nil +} + +type NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner struct { + value *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner + isSet bool +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) Get() *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { + return v.value +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) Set(val *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) { + v.value = val + v.isSet = true +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner(val *AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) *NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner { + return &NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner{value: val, isSet: true} +} + +func (v NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_quote_to_order_response.go b/model_async_order_create_response.go similarity index 60% rename from model_quote_to_order_response.go rename to model_async_order_create_response.go index 6e207ce..33a1116 100644 --- a/model_quote_to_order_response.go +++ b/model_async_order_create_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,11 +14,11 @@ import ( "encoding/json" ) -// checks if the QuoteToOrderResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderResponse{} +// checks if the AsyncOrderCreateResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AsyncOrderCreateResponse{} -// QuoteToOrderResponse struct for QuoteToOrderResponse -type QuoteToOrderResponse struct { +// AsyncOrderCreateResponse struct for AsyncOrderCreateResponse +type AsyncOrderCreateResponse struct { // Unique identifier generated by Ingram Micro's CRM specific to each quote. QuoteNumber *string `json:"quoteNumber,omitempty"` // A unique confirmation number for tracking purposes. @@ -27,25 +27,25 @@ type QuoteToOrderResponse struct { Message *string `json:"message,omitempty"` } -// NewQuoteToOrderResponse instantiates a new QuoteToOrderResponse object +// NewAsyncOrderCreateResponse instantiates a new AsyncOrderCreateResponse object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewQuoteToOrderResponse() *QuoteToOrderResponse { - this := QuoteToOrderResponse{} +func NewAsyncOrderCreateResponse() *AsyncOrderCreateResponse { + this := AsyncOrderCreateResponse{} return &this } -// NewQuoteToOrderResponseWithDefaults instantiates a new QuoteToOrderResponse object +// NewAsyncOrderCreateResponseWithDefaults instantiates a new AsyncOrderCreateResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderResponseWithDefaults() *QuoteToOrderResponse { - this := QuoteToOrderResponse{} +func NewAsyncOrderCreateResponseWithDefaults() *AsyncOrderCreateResponse { + this := AsyncOrderCreateResponse{} return &this } // GetQuoteNumber returns the QuoteNumber field value if set, zero value otherwise. -func (o *QuoteToOrderResponse) GetQuoteNumber() string { +func (o *AsyncOrderCreateResponse) GetQuoteNumber() string { if o == nil || IsNil(o.QuoteNumber) { var ret string return ret @@ -55,7 +55,7 @@ func (o *QuoteToOrderResponse) GetQuoteNumber() string { // GetQuoteNumberOk returns a tuple with the QuoteNumber field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderResponse) GetQuoteNumberOk() (*string, bool) { +func (o *AsyncOrderCreateResponse) GetQuoteNumberOk() (*string, bool) { if o == nil || IsNil(o.QuoteNumber) { return nil, false } @@ -63,7 +63,7 @@ func (o *QuoteToOrderResponse) GetQuoteNumberOk() (*string, bool) { } // HasQuoteNumber returns a boolean if a field has been set. -func (o *QuoteToOrderResponse) HasQuoteNumber() bool { +func (o *AsyncOrderCreateResponse) HasQuoteNumber() bool { if o != nil && !IsNil(o.QuoteNumber) { return true } @@ -72,12 +72,12 @@ func (o *QuoteToOrderResponse) HasQuoteNumber() bool { } // SetQuoteNumber gets a reference to the given string and assigns it to the QuoteNumber field. -func (o *QuoteToOrderResponse) SetQuoteNumber(v string) { +func (o *AsyncOrderCreateResponse) SetQuoteNumber(v string) { o.QuoteNumber = &v } // GetConfirmationNumber returns the ConfirmationNumber field value if set, zero value otherwise. -func (o *QuoteToOrderResponse) GetConfirmationNumber() string { +func (o *AsyncOrderCreateResponse) GetConfirmationNumber() string { if o == nil || IsNil(o.ConfirmationNumber) { var ret string return ret @@ -87,7 +87,7 @@ func (o *QuoteToOrderResponse) GetConfirmationNumber() string { // GetConfirmationNumberOk returns a tuple with the ConfirmationNumber field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderResponse) GetConfirmationNumberOk() (*string, bool) { +func (o *AsyncOrderCreateResponse) GetConfirmationNumberOk() (*string, bool) { if o == nil || IsNil(o.ConfirmationNumber) { return nil, false } @@ -95,7 +95,7 @@ func (o *QuoteToOrderResponse) GetConfirmationNumberOk() (*string, bool) { } // HasConfirmationNumber returns a boolean if a field has been set. -func (o *QuoteToOrderResponse) HasConfirmationNumber() bool { +func (o *AsyncOrderCreateResponse) HasConfirmationNumber() bool { if o != nil && !IsNil(o.ConfirmationNumber) { return true } @@ -104,12 +104,12 @@ func (o *QuoteToOrderResponse) HasConfirmationNumber() bool { } // SetConfirmationNumber gets a reference to the given string and assigns it to the ConfirmationNumber field. -func (o *QuoteToOrderResponse) SetConfirmationNumber(v string) { +func (o *AsyncOrderCreateResponse) SetConfirmationNumber(v string) { o.ConfirmationNumber = &v } // GetMessage returns the Message field value if set, zero value otherwise. -func (o *QuoteToOrderResponse) GetMessage() string { +func (o *AsyncOrderCreateResponse) GetMessage() string { if o == nil || IsNil(o.Message) { var ret string return ret @@ -119,7 +119,7 @@ func (o *QuoteToOrderResponse) GetMessage() string { // GetMessageOk returns a tuple with the Message field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteToOrderResponse) GetMessageOk() (*string, bool) { +func (o *AsyncOrderCreateResponse) GetMessageOk() (*string, bool) { if o == nil || IsNil(o.Message) { return nil, false } @@ -127,7 +127,7 @@ func (o *QuoteToOrderResponse) GetMessageOk() (*string, bool) { } // HasMessage returns a boolean if a field has been set. -func (o *QuoteToOrderResponse) HasMessage() bool { +func (o *AsyncOrderCreateResponse) HasMessage() bool { if o != nil && !IsNil(o.Message) { return true } @@ -136,11 +136,11 @@ func (o *QuoteToOrderResponse) HasMessage() bool { } // SetMessage gets a reference to the given string and assigns it to the Message field. -func (o *QuoteToOrderResponse) SetMessage(v string) { +func (o *AsyncOrderCreateResponse) SetMessage(v string) { o.Message = &v } -func (o QuoteToOrderResponse) MarshalJSON() ([]byte, error) { +func (o AsyncOrderCreateResponse) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -148,7 +148,7 @@ func (o QuoteToOrderResponse) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -func (o QuoteToOrderResponse) ToMap() (map[string]interface{}, error) { +func (o AsyncOrderCreateResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.QuoteNumber) { toSerialize["quoteNumber"] = o.QuoteNumber @@ -162,38 +162,38 @@ func (o QuoteToOrderResponse) ToMap() (map[string]interface{}, error) { return toSerialize, nil } -type NullableQuoteToOrderResponse struct { - value *QuoteToOrderResponse +type NullableAsyncOrderCreateResponse struct { + value *AsyncOrderCreateResponse isSet bool } -func (v NullableQuoteToOrderResponse) Get() *QuoteToOrderResponse { +func (v NullableAsyncOrderCreateResponse) Get() *AsyncOrderCreateResponse { return v.value } -func (v *NullableQuoteToOrderResponse) Set(val *QuoteToOrderResponse) { +func (v *NullableAsyncOrderCreateResponse) Set(val *AsyncOrderCreateResponse) { v.value = val v.isSet = true } -func (v NullableQuoteToOrderResponse) IsSet() bool { +func (v NullableAsyncOrderCreateResponse) IsSet() bool { return v.isSet } -func (v *NullableQuoteToOrderResponse) Unset() { +func (v *NullableAsyncOrderCreateResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableQuoteToOrderResponse(val *QuoteToOrderResponse) *NullableQuoteToOrderResponse { - return &NullableQuoteToOrderResponse{value: val, isSet: true} +func NewNullableAsyncOrderCreateResponse(val *AsyncOrderCreateResponse) *NullableAsyncOrderCreateResponse { + return &NullableAsyncOrderCreateResponse{value: val, isSet: true} } -func (v NullableQuoteToOrderResponse) MarshalJSON() ([]byte, error) { +func (v NullableAsyncOrderCreateResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableQuoteToOrderResponse) UnmarshalJSON(src []byte) error { +func (v *NullableAsyncOrderCreateResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_availability_async_notification_request.go b/model_availability_async_notification_request.go index 35aa152..6392296 100644 --- a/model_availability_async_notification_request.go +++ b/model_availability_async_notification_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_availability_async_notification_request_resource_inner.go b/model_availability_async_notification_request_resource_inner.go index 0b54260..ce84120 100644 --- a/model_availability_async_notification_request_resource_inner.go +++ b/model_availability_async_notification_request_resource_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_availability_async_notification_request_resource_inner_links_inner.go b/model_availability_async_notification_request_resource_inner_links_inner.go index 466ba23..7995e6c 100644 --- a/model_availability_async_notification_request_resource_inner_links_inner.go +++ b/model_availability_async_notification_request_resource_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_deals_details_response.go b/model_deals_details_response.go index 3c6ff9a..b1257fc 100644 --- a/model_deals_details_response.go +++ b/model_deals_details_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_deals_details_response_products_inner.go b/model_deals_details_response_products_inner.go index ca3a6cd..38dcb39 100644 --- a/model_deals_details_response_products_inner.go +++ b/model_deals_details_response_products_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_deals_search_response.go b/model_deals_search_response.go index 2ad24eb..0a12128 100644 --- a/model_deals_search_response.go +++ b/model_deals_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_deals_search_response_deals_inner.go b/model_deals_search_response_deals_inner.go index c0ee9d3..da1c78d 100644 --- a/model_deals_search_response_deals_inner.go +++ b/model_deals_search_response_deals_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_error.go b/model_error.go index 68a060c..3a1bbaf 100644 --- a/model_error.go +++ b/model_error.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -189,7 +189,7 @@ func (o *Error) GetFieldsOk() ([]Fields, bool) { // HasFields returns a boolean if a field has been set. func (o *Error) HasFields() bool { - if o != nil && IsNil(o.Fields) { + if o != nil && !IsNil(o.Fields) { return true } diff --git a/model_error_response.go b/model_error_response.go index 9caff58..7881ace 100644 --- a/model_error_response.go +++ b/model_error_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_error_response_dto.go b/model_error_response_dto.go index 37b4393..4deb6d5 100644 --- a/model_error_response_dto.go +++ b/model_error_response_dto.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -60,7 +60,7 @@ func (o *ErrorResponseDTO) GetErrorsOk() ([]Error, bool) { // HasErrors returns a boolean if a field has been set. func (o *ErrorResponseDTO) HasErrors() bool { - if o != nil && IsNil(o.Errors) { + if o != nil && !IsNil(o.Errors) { return true } diff --git a/model_error_response_errors_inner.go b/model_error_response_errors_inner.go index cd53ce9..4abf744 100644 --- a/model_error_response_errors_inner.go +++ b/model_error_response_errors_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_error_response_errors_inner_fields_inner.go b/model_error_response_errors_inner_fields_inner.go index f50ba0b..c2dc1a8 100644 --- a/model_error_response_errors_inner_fields_inner.go +++ b/model_error_response_errors_inner_fields_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_fields.go b/model_fields.go index 5946fbb..65041c3 100644 --- a/model_fields.go +++ b/model_fields.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_request.go b/model_freight_request.go index 07c9196..a2c8dca 100644 --- a/model_freight_request.go +++ b/model_freight_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_request_lines_inner.go b/model_freight_request_lines_inner.go index a3b21d2..5b85472 100644 --- a/model_freight_request_lines_inner.go +++ b/model_freight_request_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_request_ship_to_address_inner.go b/model_freight_request_ship_to_address_inner.go index b2fc768..2088d45 100644 --- a/model_freight_request_ship_to_address_inner.go +++ b/model_freight_request_ship_to_address_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_response.go b/model_freight_response.go index 42bf35b..af18e53 100644 --- a/model_freight_response.go +++ b/model_freight_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_response_freight_estimate_response.go b/model_freight_response_freight_estimate_response.go index ad2abe5..e240a20 100644 --- a/model_freight_response_freight_estimate_response.go +++ b/model_freight_response_freight_estimate_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_response_freight_estimate_response_distribution_inner.go b/model_freight_response_freight_estimate_response_distribution_inner.go index ce966fa..cc21a7c 100644 --- a/model_freight_response_freight_estimate_response_distribution_inner.go +++ b/model_freight_response_freight_estimate_response_distribution_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_freight_response_freight_estimate_response_distribution_inner_carrier_list_inner.go b/model_freight_response_freight_estimate_response_distribution_inner_carrier_list_inner.go index 80c6b1e..6f25e89 100644 --- a/model_freight_response_freight_estimate_response_distribution_inner_carrier_list_inner.go +++ b/model_freight_response_freight_estimate_response_distribution_inner_carrier_list_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -26,9 +26,9 @@ type FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner str // Mode of the carrier. CarrierMode *string `json:"carrierMode,omitempty"` // Estimated freight charge. - EstimatedFreightCharge *float32 `json:"estimatedFreightCharge,omitempty"` + EstimatedFreightCharge *string `json:"estimatedFreightCharge,omitempty"` // Number of transit days. - DaysInTransit *int32 `json:"daysInTransit,omitempty"` + DaysInTransit *string `json:"daysInTransit,omitempty"` } // NewFreightResponseFreightEstimateResponseDistributionInnerCarrierListInner instantiates a new FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner object @@ -145,9 +145,9 @@ func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner } // GetEstimatedFreightCharge returns the EstimatedFreightCharge field value if set, zero value otherwise. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightCharge() float32 { +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightCharge() string { if o == nil || IsNil(o.EstimatedFreightCharge) { - var ret float32 + var ret string return ret } return *o.EstimatedFreightCharge @@ -155,7 +155,7 @@ func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner // GetEstimatedFreightChargeOk returns a tuple with the EstimatedFreightCharge field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightChargeOk() (*float32, bool) { +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetEstimatedFreightChargeOk() (*string, bool) { if o == nil || IsNil(o.EstimatedFreightCharge) { return nil, false } @@ -171,15 +171,15 @@ func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner return false } -// SetEstimatedFreightCharge gets a reference to the given float32 and assigns it to the EstimatedFreightCharge field. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetEstimatedFreightCharge(v float32) { +// SetEstimatedFreightCharge gets a reference to the given string and assigns it to the EstimatedFreightCharge field. +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetEstimatedFreightCharge(v string) { o.EstimatedFreightCharge = &v } // GetDaysInTransit returns the DaysInTransit field value if set, zero value otherwise. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransit() int32 { +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransit() string { if o == nil || IsNil(o.DaysInTransit) { - var ret int32 + var ret string return ret } return *o.DaysInTransit @@ -187,7 +187,7 @@ func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner // GetDaysInTransitOk returns a tuple with the DaysInTransit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransitOk() (*int32, bool) { +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) GetDaysInTransitOk() (*string, bool) { if o == nil || IsNil(o.DaysInTransit) { return nil, false } @@ -203,8 +203,8 @@ func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner return false } -// SetDaysInTransit gets a reference to the given int32 and assigns it to the DaysInTransit field. -func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetDaysInTransit(v int32) { +// SetDaysInTransit gets a reference to the given string and assigns it to the DaysInTransit field. +func (o *FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner) SetDaysInTransit(v string) { o.DaysInTransit = &v } diff --git a/model_freight_response_freight_estimate_response_lines_inner.go b/model_freight_response_freight_estimate_response_lines_inner.go index d1b1244..1f6f2f6 100644 --- a/model_freight_response_freight_estimate_response_lines_inner.go +++ b/model_freight_response_freight_estimate_response_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_accesstoken_400_response.go b/model_get_accesstoken_400_response.go index c6cf0fa..420943a 100644 --- a/model_get_accesstoken_400_response.go +++ b/model_get_accesstoken_400_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_accesstoken_500_response.go b/model_get_accesstoken_500_response.go index 036b151..5e4988b 100644 --- a/model_get_accesstoken_500_response.go +++ b/model_get_accesstoken_500_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_accesstoken_500_response_fault.go b/model_get_accesstoken_500_response_fault.go index b836416..fa88dc7 100644 --- a/model_get_accesstoken_500_response_fault.go +++ b/model_get_accesstoken_500_response_fault.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_accesstoken_500_response_fault_detail.go b/model_get_accesstoken_500_response_fault_detail.go index 4c6c37c..bc30567 100644 --- a/model_get_accesstoken_500_response_fault_detail.go +++ b/model_get_accesstoken_500_response_fault_detail.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_reseller_v6_validate_quote_400_response.go b/model_get_reseller_v6_validate_quote_400_response.go index 5c59749..299f52a 100644 --- a/model_get_reseller_v6_validate_quote_400_response.go +++ b/model_get_reseller_v6_validate_quote_400_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_reseller_v6_validate_quote_400_response_fields_inner.go b/model_get_reseller_v6_validate_quote_400_response_fields_inner.go index bcf2b22..9a95db3 100644 --- a/model_get_reseller_v6_validate_quote_400_response_fields_inner.go +++ b/model_get_reseller_v6_validate_quote_400_response_fields_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_get_reseller_v6_validate_quote_500_response.go b/model_get_reseller_v6_validate_quote_500_response.go index 48aad61..3a8b596 100644 --- a/model_get_reseller_v6_validate_quote_500_response.go +++ b/model_get_reseller_v6_validate_quote_500_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response.go b/model_invoice_detailsv6_1_response.go index 679e90d..0be3b71 100644 --- a/model_invoice_detailsv6_1_response.go +++ b/model_invoice_detailsv6_1_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_bill_to_info.go b/model_invoice_detailsv6_1_response_bill_to_info.go index f0b2542..4c2d3cc 100644 --- a/model_invoice_detailsv6_1_response_bill_to_info.go +++ b/model_invoice_detailsv6_1_response_bill_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_fx_rate_info.go b/model_invoice_detailsv6_1_response_fx_rate_info.go index 19819a1..244f1bd 100644 --- a/model_invoice_detailsv6_1_response_fx_rate_info.go +++ b/model_invoice_detailsv6_1_response_fx_rate_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_lines_inner.go b/model_invoice_detailsv6_1_response_lines_inner.go index ba36277..48dc39f 100644 --- a/model_invoice_detailsv6_1_response_lines_inner.go +++ b/model_invoice_detailsv6_1_response_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -645,7 +645,7 @@ func (o *InvoiceDetailsv61ResponseLinesInner) GetSerialNumbersOk() ([]InvoiceDet // HasSerialNumbers returns a boolean if a field has been set. func (o *InvoiceDetailsv61ResponseLinesInner) HasSerialNumbers() bool { - if o != nil && IsNil(o.SerialNumbers) { + if o != nil && !IsNil(o.SerialNumbers) { return true } diff --git a/model_invoice_detailsv6_1_response_lines_inner_serial_numbers_inner.go b/model_invoice_detailsv6_1_response_lines_inner_serial_numbers_inner.go index 6524e51..827d7ac 100644 --- a/model_invoice_detailsv6_1_response_lines_inner_serial_numbers_inner.go +++ b/model_invoice_detailsv6_1_response_lines_inner_serial_numbers_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_payment_terms_info.go b/model_invoice_detailsv6_1_response_payment_terms_info.go index 872294f..e38bd6c 100644 --- a/model_invoice_detailsv6_1_response_payment_terms_info.go +++ b/model_invoice_detailsv6_1_response_payment_terms_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_ship_to_info.go b/model_invoice_detailsv6_1_response_ship_to_info.go index 8e3028f..c7d5fa2 100644 --- a/model_invoice_detailsv6_1_response_ship_to_info.go +++ b/model_invoice_detailsv6_1_response_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_summary.go b/model_invoice_detailsv6_1_response_summary.go index 25796b4..d32264f 100644 --- a/model_invoice_detailsv6_1_response_summary.go +++ b/model_invoice_detailsv6_1_response_summary.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -96,7 +96,7 @@ func (o *InvoiceDetailsv61ResponseSummary) GetMiscChargesOk() ([]InvoiceDetailsv // HasMiscCharges returns a boolean if a field has been set. func (o *InvoiceDetailsv61ResponseSummary) HasMiscCharges() bool { - if o != nil && IsNil(o.MiscCharges) { + if o != nil && !IsNil(o.MiscCharges) { return true } diff --git a/model_invoice_detailsv6_1_response_summary_foreign_fx_totals.go b/model_invoice_detailsv6_1_response_summary_foreign_fx_totals.go index efc7c38..1375710 100644 --- a/model_invoice_detailsv6_1_response_summary_foreign_fx_totals.go +++ b/model_invoice_detailsv6_1_response_summary_foreign_fx_totals.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_summary_lines.go b/model_invoice_detailsv6_1_response_summary_lines.go index 526a583..2405456 100644 --- a/model_invoice_detailsv6_1_response_summary_lines.go +++ b/model_invoice_detailsv6_1_response_summary_lines.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_summary_misc_charges_inner.go b/model_invoice_detailsv6_1_response_summary_misc_charges_inner.go index f52cee6..c6522a7 100644 --- a/model_invoice_detailsv6_1_response_summary_misc_charges_inner.go +++ b/model_invoice_detailsv6_1_response_summary_misc_charges_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_detailsv6_1_response_summary_totals.go b/model_invoice_detailsv6_1_response_summary_totals.go index f818879..9a7f1f3 100644 --- a/model_invoice_detailsv6_1_response_summary_totals.go +++ b/model_invoice_detailsv6_1_response_summary_totals.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -28,7 +28,7 @@ type InvoiceDetailsv61ResponseSummaryTotals struct { // Total Tax amount. TotalTaxAmount *float64 `json:"totalTaxAmount,omitempty"` // Total amount due for the invoice. - InvoicesAmountDue *float64 `json:"invoicesAmountDue,omitempty"` + InvoicedAmountDue *float64 `json:"invoicedAmountDue,omitempty"` // Freight amount FreightAmount *float64 `json:"freightAmount,omitempty"` } @@ -178,36 +178,36 @@ func (o *InvoiceDetailsv61ResponseSummaryTotals) SetTotalTaxAmount(v float64) { o.TotalTaxAmount = &v } -// GetInvoicesAmountDue returns the InvoicesAmountDue field value if set, zero value otherwise. -func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicesAmountDue() float64 { - if o == nil || IsNil(o.InvoicesAmountDue) { +// GetInvoicedAmountDue returns the InvoicedAmountDue field value if set, zero value otherwise. +func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicedAmountDue() float64 { + if o == nil || IsNil(o.InvoicedAmountDue) { var ret float64 return ret } - return *o.InvoicesAmountDue + return *o.InvoicedAmountDue } -// GetInvoicesAmountDueOk returns a tuple with the InvoicesAmountDue field value if set, nil otherwise +// GetInvoicedAmountDueOk returns a tuple with the InvoicedAmountDue field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicesAmountDueOk() (*float64, bool) { - if o == nil || IsNil(o.InvoicesAmountDue) { +func (o *InvoiceDetailsv61ResponseSummaryTotals) GetInvoicedAmountDueOk() (*float64, bool) { + if o == nil || IsNil(o.InvoicedAmountDue) { return nil, false } - return o.InvoicesAmountDue, true + return o.InvoicedAmountDue, true } -// HasInvoicesAmountDue returns a boolean if a field has been set. -func (o *InvoiceDetailsv61ResponseSummaryTotals) HasInvoicesAmountDue() bool { - if o != nil && !IsNil(o.InvoicesAmountDue) { +// HasInvoicedAmountDue returns a boolean if a field has been set. +func (o *InvoiceDetailsv61ResponseSummaryTotals) HasInvoicedAmountDue() bool { + if o != nil && !IsNil(o.InvoicedAmountDue) { return true } return false } -// SetInvoicesAmountDue gets a reference to the given float64 and assigns it to the InvoicesAmountDue field. -func (o *InvoiceDetailsv61ResponseSummaryTotals) SetInvoicesAmountDue(v float64) { - o.InvoicesAmountDue = &v +// SetInvoicedAmountDue gets a reference to the given float64 and assigns it to the InvoicedAmountDue field. +func (o *InvoiceDetailsv61ResponseSummaryTotals) SetInvoicedAmountDue(v float64) { + o.InvoicedAmountDue = &v } // GetFreightAmount returns the FreightAmount field value if set, zero value otherwise. @@ -264,8 +264,8 @@ func (o InvoiceDetailsv61ResponseSummaryTotals) ToMap() (map[string]interface{}, if !IsNil(o.TotalTaxAmount) { toSerialize["totalTaxAmount"] = o.TotalTaxAmount } - if !IsNil(o.InvoicesAmountDue) { - toSerialize["invoicesAmountDue"] = o.InvoicesAmountDue + if !IsNil(o.InvoicedAmountDue) { + toSerialize["invoicedAmountDue"] = o.InvoicedAmountDue } if !IsNil(o.FreightAmount) { toSerialize["freightAmount"] = o.FreightAmount diff --git a/model_invoice_search_response.go b/model_invoice_search_response.go index 7fafaf6..220c7e3 100644 --- a/model_invoice_search_response.go +++ b/model_invoice_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_invoice_search_response_invoices_inner.go b/model_invoice_search_response_invoices_inner.go index 18125b3..c8ad9df 100644 --- a/model_invoice_search_response_invoices_inner.go +++ b/model_invoice_search_response_invoices_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request.go b/model_order_create_request.go index ad7fdab..aa22a62 100644 --- a/model_order_create_request.go +++ b/model_order_create_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_additional_attributes_inner.go b/model_order_create_request_additional_attributes_inner.go index 34db96a..b8e8fc1 100644 --- a/model_order_create_request_additional_attributes_inner.go +++ b/model_order_create_request_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_end_user_info.go b/model_order_create_request_end_user_info.go index b360bb2..b52c0a0 100644 --- a/model_order_create_request_end_user_info.go +++ b/model_order_create_request_end_user_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_lines_inner.go b/model_order_create_request_lines_inner.go index 7d61fc1..9fadcad 100644 --- a/model_order_create_request_lines_inner.go +++ b/model_order_create_request_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_lines_inner_additional_attributes_inner.go b/model_order_create_request_lines_inner_additional_attributes_inner.go index 933e080..5035f02 100644 --- a/model_order_create_request_lines_inner_additional_attributes_inner.go +++ b/model_order_create_request_lines_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_lines_inner_end_user_info_inner.go b/model_order_create_request_lines_inner_end_user_info_inner.go index c2c452c..6492ce7 100644 --- a/model_order_create_request_lines_inner_end_user_info_inner.go +++ b/model_order_create_request_lines_inner_end_user_info_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_lines_inner_warranty_info_inner.go b/model_order_create_request_lines_inner_warranty_info_inner.go index f350e87..d6691cc 100644 --- a/model_order_create_request_lines_inner_warranty_info_inner.go +++ b/model_order_create_request_lines_inner_warranty_info_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_lines_inner_warranty_info_inner_serial_info_inner.go b/model_order_create_request_lines_inner_warranty_info_inner_serial_info_inner.go index 897bfa1..74177b2 100644 --- a/model_order_create_request_lines_inner_warranty_info_inner_serial_info_inner.go +++ b/model_order_create_request_lines_inner_warranty_info_inner_serial_info_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_reseller_info.go b/model_order_create_request_reseller_info.go index 0491f76..2f3a8e4 100644 --- a/model_order_create_request_reseller_info.go +++ b/model_order_create_request_reseller_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_ship_to_info.go b/model_order_create_request_ship_to_info.go index ff8877a..705b58b 100644 --- a/model_order_create_request_ship_to_info.go +++ b/model_order_create_request_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_shipment_details.go b/model_order_create_request_shipment_details.go index 2da11fc..a33aa3e 100644 --- a/model_order_create_request_shipment_details.go +++ b/model_order_create_request_shipment_details.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_request_vmf.go b/model_order_create_request_vmf.go index 6b45dff..39fd20c 100644 --- a/model_order_create_request_vmf.go +++ b/model_order_create_request_vmf.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response.go b/model_order_create_response.go index 9d5d590..b2863b5 100644 --- a/model_order_create_response.go +++ b/model_order_create_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_end_user_info.go b/model_order_create_response_end_user_info.go index a3a40c2..d435511 100644 --- a/model_order_create_response_end_user_info.go +++ b/model_order_create_response_end_user_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner.go b/model_order_create_response_orders_inner.go index cd72ac7..6a23ddf 100644 --- a/model_order_create_response_orders_inner.go +++ b/model_order_create_response_orders_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_additional_attributes_inner.go b/model_order_create_response_orders_inner_additional_attributes_inner.go index b3c6bb1..b43c3f9 100644 --- a/model_order_create_response_orders_inner_additional_attributes_inner.go +++ b/model_order_create_response_orders_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_lines_inner.go b/model_order_create_response_orders_inner_lines_inner.go index 20b8910..984b5d1 100644 --- a/model_order_create_response_orders_inner_lines_inner.go +++ b/model_order_create_response_orders_inner_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_lines_inner_additional_attributes_inner.go b/model_order_create_response_orders_inner_lines_inner_additional_attributes_inner.go index a5bb74f..bd599dc 100644 --- a/model_order_create_response_orders_inner_lines_inner_additional_attributes_inner.go +++ b/model_order_create_response_orders_inner_lines_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_lines_inner_shipment_details_inner.go b/model_order_create_response_orders_inner_lines_inner_shipment_details_inner.go index 24c5d49..b2384ce 100644 --- a/model_order_create_response_orders_inner_lines_inner_shipment_details_inner.go +++ b/model_order_create_response_orders_inner_lines_inner_shipment_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_links_inner.go b/model_order_create_response_orders_inner_links_inner.go index 8f47435..01be5fb 100644 --- a/model_order_create_response_orders_inner_links_inner.go +++ b/model_order_create_response_orders_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_miscellaneous_charges_inner.go b/model_order_create_response_orders_inner_miscellaneous_charges_inner.go index 29e6f6f..4760c90 100644 --- a/model_order_create_response_orders_inner_miscellaneous_charges_inner.go +++ b/model_order_create_response_orders_inner_miscellaneous_charges_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_orders_inner_rejected_line_items_inner.go b/model_order_create_response_orders_inner_rejected_line_items_inner.go index e36cb30..706c20e 100644 --- a/model_order_create_response_orders_inner_rejected_line_items_inner.go +++ b/model_order_create_response_orders_inner_rejected_line_items_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_create_response_ship_to_info.go b/model_order_create_response_ship_to_info.go index 6391564..5c84993 100644 --- a/model_order_create_response_ship_to_info.go +++ b/model_order_create_response_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b.go b/model_order_detail_b2_b.go index 95ae76a..f84a22e 100644 --- a/model_order_detail_b2_b.go +++ b/model_order_detail_b2_b.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -773,7 +773,7 @@ func (o *OrderDetailB2B) GetLinesOk() ([]OrderDetailB2BLinesInner, bool) { // HasLines returns a boolean if a field has been set. func (o *OrderDetailB2B) HasLines() bool { - if o != nil && IsNil(o.Lines) { + if o != nil && !IsNil(o.Lines) { return true } @@ -806,7 +806,7 @@ func (o *OrderDetailB2B) GetMiscellaneousChargesOk() ([]OrderDetailB2BMiscellane // HasMiscellaneousCharges returns a boolean if a field has been set. func (o *OrderDetailB2B) HasMiscellaneousCharges() bool { - if o != nil && IsNil(o.MiscellaneousCharges) { + if o != nil && !IsNil(o.MiscellaneousCharges) { return true } @@ -839,7 +839,7 @@ func (o *OrderDetailB2B) GetAdditionalAttributesOk() ([]OrderDetailB2BAdditional // HasAdditionalAttributes returns a boolean if a field has been set. func (o *OrderDetailB2B) HasAdditionalAttributes() bool { - if o != nil && IsNil(o.AdditionalAttributes) { + if o != nil && !IsNil(o.AdditionalAttributes) { return true } diff --git a/model_order_detail_b2_b_additional_attributes_inner.go b/model_order_detail_b2_b_additional_attributes_inner.go index de912e6..23451c6 100644 --- a/model_order_detail_b2_b_additional_attributes_inner.go +++ b/model_order_detail_b2_b_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_bill_to_info.go b/model_order_detail_b2_b_bill_to_info.go index 914f8b5..60b16f2 100644 --- a/model_order_detail_b2_b_bill_to_info.go +++ b/model_order_detail_b2_b_bill_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_end_user_info.go b/model_order_detail_b2_b_end_user_info.go index c98590b..84b68b3 100644 --- a/model_order_detail_b2_b_end_user_info.go +++ b/model_order_detail_b2_b_end_user_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner.go b/model_order_detail_b2_b_lines_inner.go index 78fd8ef..2bb8477 100644 --- a/model_order_detail_b2_b_lines_inner.go +++ b/model_order_detail_b2_b_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -75,6 +75,7 @@ type OrderDetailB2BLinesInner struct { EstimatedDates []OrderDetailB2BLinesInnerEstimatedDatesInner `json:"estimatedDates,omitempty"` ScheduleLines []OrderDetailB2BLinesInnerScheduleLinesInner `json:"scheduleLines,omitempty"` MultipleShipments []OrderDetailB2BLinesInnerMultipleShipmentsInner `json:"multipleShipments,omitempty"` + DefaultCarrierName *string `json:"defaultCarrierName,omitempty"` } // NewOrderDetailB2BLinesInner instantiates a new OrderDetailB2BLinesInner object @@ -883,7 +884,7 @@ func (o *OrderDetailB2BLinesInner) GetShipmentDetailsOk() ([]OrderDetailB2BLines // HasShipmentDetails returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInner) HasShipmentDetails() bool { - if o != nil && IsNil(o.ShipmentDetails) { + if o != nil && !IsNil(o.ShipmentDetails) { return true } @@ -948,7 +949,7 @@ func (o *OrderDetailB2BLinesInner) GetAdditionalAttributesOk() ([]OrderDetailB2B // HasAdditionalAttributes returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInner) HasAdditionalAttributes() bool { - if o != nil && IsNil(o.AdditionalAttributes) { + if o != nil && !IsNil(o.AdditionalAttributes) { return true } @@ -981,7 +982,7 @@ func (o *OrderDetailB2BLinesInner) GetLinksOk() ([]OrderDetailB2BLinesInnerLinks // HasLinks returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInner) HasLinks() bool { - if o != nil && IsNil(o.Links) { + if o != nil && !IsNil(o.Links) { return true } @@ -1089,6 +1090,38 @@ func (o *OrderDetailB2BLinesInner) SetMultipleShipments(v []OrderDetailB2BLinesI o.MultipleShipments = v } +// GetDefaultCarrierName returns the DefaultCarrierName field value if set, zero value otherwise. +func (o *OrderDetailB2BLinesInner) GetDefaultCarrierName() string { + if o == nil || IsNil(o.DefaultCarrierName) { + var ret string + return ret + } + return *o.DefaultCarrierName +} + +// GetDefaultCarrierNameOk returns a tuple with the DefaultCarrierName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrderDetailB2BLinesInner) GetDefaultCarrierNameOk() (*string, bool) { + if o == nil || IsNil(o.DefaultCarrierName) { + return nil, false + } + return o.DefaultCarrierName, true +} + +// HasDefaultCarrierName returns a boolean if a field has been set. +func (o *OrderDetailB2BLinesInner) HasDefaultCarrierName() bool { + if o != nil && !IsNil(o.DefaultCarrierName) { + return true + } + + return false +} + +// SetDefaultCarrierName gets a reference to the given string and assigns it to the DefaultCarrierName field. +func (o *OrderDetailB2BLinesInner) SetDefaultCarrierName(v string) { + o.DefaultCarrierName = &v +} + func (o OrderDetailB2BLinesInner) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -1192,6 +1225,9 @@ func (o OrderDetailB2BLinesInner) ToMap() (map[string]interface{}, error) { if !IsNil(o.MultipleShipments) { toSerialize["multipleShipments"] = o.MultipleShipments } + if !IsNil(o.DefaultCarrierName) { + toSerialize["defaultCarrierName"] = o.DefaultCarrierName + } return toSerialize, nil } diff --git a/model_order_detail_b2_b_lines_inner_additional_attributes_inner.go b/model_order_detail_b2_b_lines_inner_additional_attributes_inner.go index bf4e440..95ed809 100644 --- a/model_order_detail_b2_b_lines_inner_additional_attributes_inner.go +++ b/model_order_detail_b2_b_lines_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_estimated_dates_inner.go b/model_order_detail_b2_b_lines_inner_estimated_dates_inner.go index 5f5fd41..cbeb5c7 100644 --- a/model_order_detail_b2_b_lines_inner_estimated_dates_inner.go +++ b/model_order_detail_b2_b_lines_inner_estimated_dates_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery.go b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery.go index 69b2b91..01a5716 100644 --- a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery.go +++ b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -27,7 +27,7 @@ type OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery struct { // Delivery description. DeliveryDescription *string `json:"deliveryDescription,omitempty"` // Delivery date. - DeliveredDate *string `json:"deliveredDate,omitempty"` + DeliveryDate *string `json:"deliveryDate,omitempty"` } // NewOrderDetailB2BLinesInnerEstimatedDatesInnerDelivery instantiates a new OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery object @@ -175,36 +175,36 @@ func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) SetDeliveryDescrip o.DeliveryDescription = &v } -// GetDeliveredDate returns the DeliveredDate field value if set, zero value otherwise. -func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveredDate() string { - if o == nil || IsNil(o.DeliveredDate) { +// GetDeliveryDate returns the DeliveryDate field value if set, zero value otherwise. +func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveryDate() string { + if o == nil || IsNil(o.DeliveryDate) { var ret string return ret } - return *o.DeliveredDate + return *o.DeliveryDate } -// GetDeliveredDateOk returns a tuple with the DeliveredDate field value if set, nil otherwise +// GetDeliveryDateOk returns a tuple with the DeliveryDate field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveredDateOk() (*string, bool) { - if o == nil || IsNil(o.DeliveredDate) { +func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) GetDeliveryDateOk() (*string, bool) { + if o == nil || IsNil(o.DeliveryDate) { return nil, false } - return o.DeliveredDate, true + return o.DeliveryDate, true } -// HasDeliveredDate returns a boolean if a field has been set. -func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) HasDeliveredDate() bool { - if o != nil && !IsNil(o.DeliveredDate) { +// HasDeliveryDate returns a boolean if a field has been set. +func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) HasDeliveryDate() bool { + if o != nil && !IsNil(o.DeliveryDate) { return true } return false } -// SetDeliveredDate gets a reference to the given string and assigns it to the DeliveredDate field. -func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) SetDeliveredDate(v string) { - o.DeliveredDate = &v +// SetDeliveryDate gets a reference to the given string and assigns it to the DeliveryDate field. +func (o *OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) SetDeliveryDate(v string) { + o.DeliveryDate = &v } func (o OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) MarshalJSON() ([]byte, error) { @@ -229,8 +229,8 @@ func (o OrderDetailB2BLinesInnerEstimatedDatesInnerDelivery) ToMap() (map[string if !IsNil(o.DeliveryDescription) { toSerialize["deliveryDescription"] = o.DeliveryDescription } - if !IsNil(o.DeliveredDate) { - toSerialize["deliveredDate"] = o.DeliveredDate + if !IsNil(o.DeliveryDate) { + toSerialize["deliveryDate"] = o.DeliveryDate } return toSerialize, nil } diff --git a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery_delivery_date_range.go b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery_delivery_date_range.go index 668efde..4baefa9 100644 --- a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery_delivery_date_range.go +++ b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_delivery_delivery_date_range.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship.go b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship.go index ae75544..9115338 100644 --- a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship.go +++ b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship_ship_date_range.go b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship_ship_date_range.go index 327e158..ef4355d 100644 --- a/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship_ship_date_range.go +++ b/model_order_detail_b2_b_lines_inner_estimated_dates_inner_ship_ship_date_range.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_links_inner.go b/model_order_detail_b2_b_lines_inner_links_inner.go index a00d0a6..42b4532 100644 --- a/model_order_detail_b2_b_lines_inner_links_inner.go +++ b/model_order_detail_b2_b_lines_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_multiple_shipments_inner.go b/model_order_detail_b2_b_lines_inner_multiple_shipments_inner.go index 834ea9f..cb4792a 100644 --- a/model_order_detail_b2_b_lines_inner_multiple_shipments_inner.go +++ b/model_order_detail_b2_b_lines_inner_multiple_shipments_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_schedule_lines_inner.go b/model_order_detail_b2_b_lines_inner_schedule_lines_inner.go index c432522..ef5c7cd 100644 --- a/model_order_detail_b2_b_lines_inner_schedule_lines_inner.go +++ b/model_order_detail_b2_b_lines_inner_schedule_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_service_contract_info.go b/model_order_detail_b2_b_lines_inner_service_contract_info.go index ded5a42..7d30134 100644 --- a/model_order_detail_b2_b_lines_inner_service_contract_info.go +++ b/model_order_detail_b2_b_lines_inner_service_contract_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_service_contract_info_contract_info.go b/model_order_detail_b2_b_lines_inner_service_contract_info_contract_info.go index 521df04..75e5865 100644 --- a/model_order_detail_b2_b_lines_inner_service_contract_info_contract_info.go +++ b/model_order_detail_b2_b_lines_inner_service_contract_info_contract_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_service_contract_info_license_info.go b/model_order_detail_b2_b_lines_inner_service_contract_info_license_info.go index e8e5def..195612a 100644 --- a/model_order_detail_b2_b_lines_inner_service_contract_info_license_info.go +++ b/model_order_detail_b2_b_lines_inner_service_contract_info_license_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -69,7 +69,7 @@ func (o *OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo) GetLicenseNumbe // HasLicenseNumber returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInnerServiceContractInfoLicenseInfo) HasLicenseNumber() bool { - if o != nil && IsNil(o.LicenseNumber) { + if o != nil && !IsNil(o.LicenseNumber) { return true } diff --git a/model_order_detail_b2_b_lines_inner_service_contract_info_subscriptions.go b/model_order_detail_b2_b_lines_inner_service_contract_info_subscriptions.go index 448539f..f1f3758 100644 --- a/model_order_detail_b2_b_lines_inner_service_contract_info_subscriptions.go +++ b/model_order_detail_b2_b_lines_inner_service_contract_info_subscriptions.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_lines_inner_shipment_details_inner.go b/model_order_detail_b2_b_lines_inner_shipment_details_inner.go index e949b66..e64700e 100644 --- a/model_order_detail_b2_b_lines_inner_shipment_details_inner.go +++ b/model_order_detail_b2_b_lines_inner_shipment_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -365,7 +365,7 @@ func (o *OrderDetailB2BLinesInnerShipmentDetailsInner) GetCarrierDetailsOk() ([] // HasCarrierDetails returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInnerShipmentDetailsInner) HasCarrierDetails() bool { - if o != nil && IsNil(o.CarrierDetails) { + if o != nil && !IsNil(o.CarrierDetails) { return true } diff --git a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner.go b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner.go index 3b314c1..d41f1b8 100644 --- a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner.go +++ b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -299,7 +299,7 @@ func (o *OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner) GetTra // HasTrackingDetails returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInner) HasTrackingDetails() bool { - if o != nil && IsNil(o.TrackingDetails) { + if o != nil && !IsNil(o.TrackingDetails) { return true } diff --git a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner.go b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner.go index f8bd882..8785b67 100644 --- a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner.go +++ b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -231,7 +231,7 @@ func (o *OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTracking // HasSerialNumbers returns a boolean if a field has been set. func (o *OrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInner) HasSerialNumbers() bool { - if o != nil && IsNil(o.SerialNumbers) { + if o != nil && !IsNil(o.SerialNumbers) { return true } diff --git a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner_serial_numbers_inner.go b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner_serial_numbers_inner.go index dcf6454..3b29353 100644 --- a/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner_serial_numbers_inner.go +++ b/model_order_detail_b2_b_lines_inner_shipment_details_inner_carrier_details_inner_tracking_details_inner_serial_numbers_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_miscellaneous_charges_inner.go b/model_order_detail_b2_b_miscellaneous_charges_inner.go index abdbddc..f989a1d 100644 --- a/model_order_detail_b2_b_miscellaneous_charges_inner.go +++ b/model_order_detail_b2_b_miscellaneous_charges_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_detail_b2_b_ship_to_info.go b/model_order_detail_b2_b_ship_to_info.go index c31e161..3efde80 100644 --- a/model_order_detail_b2_b_ship_to_info.go +++ b/model_order_detail_b2_b_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_request.go b/model_order_modify_request.go index 11b03b3..e626cc6 100644 --- a/model_order_modify_request.go +++ b/model_order_modify_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_request_additional_attributes_inner.go b/model_order_modify_request_additional_attributes_inner.go index 52931bd..a362693 100644 --- a/model_order_modify_request_additional_attributes_inner.go +++ b/model_order_modify_request_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_request_lines_inner.go b/model_order_modify_request_lines_inner.go index 444a7e9..ef4661b 100644 --- a/model_order_modify_request_lines_inner.go +++ b/model_order_modify_request_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_request_ship_to_info.go b/model_order_modify_request_ship_to_info.go index 2e4519f..9feeeba 100644 --- a/model_order_modify_request_ship_to_info.go +++ b/model_order_modify_request_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response.go b/model_order_modify_response.go index 66545a8..46333c5 100644 --- a/model_order_modify_response.go +++ b/model_order_modify_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response_lines_inner.go b/model_order_modify_response_lines_inner.go index c822405..e25700e 100644 --- a/model_order_modify_response_lines_inner.go +++ b/model_order_modify_response_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response_lines_inner_additional_attributes_inner.go b/model_order_modify_response_lines_inner_additional_attributes_inner.go index 7bf133b..fd6e9e7 100644 --- a/model_order_modify_response_lines_inner_additional_attributes_inner.go +++ b/model_order_modify_response_lines_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response_lines_inner_shipment_details.go b/model_order_modify_response_lines_inner_shipment_details.go index 1d2e107..b07a969 100644 --- a/model_order_modify_response_lines_inner_shipment_details.go +++ b/model_order_modify_response_lines_inner_shipment_details.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response_rejected_line_items_inner.go b/model_order_modify_response_rejected_line_items_inner.go index 1d2d98e..4278195 100644 --- a/model_order_modify_response_rejected_line_items_inner.go +++ b/model_order_modify_response_rejected_line_items_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_modify_response_ship_to_info.go b/model_order_modify_response_ship_to_info.go index a404594..14b24bf 100644 --- a/model_order_modify_response_ship_to_info.go +++ b/model_order_modify_response_ship_to_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_search_response.go b/model_order_search_response.go index 27d211c..2bcd5af 100644 --- a/model_order_search_response.go +++ b/model_order_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_search_response_orders_inner.go b/model_order_search_response_orders_inner.go index 4c621ca..a2b3e7a 100644 --- a/model_order_search_response_orders_inner.go +++ b/model_order_search_response_orders_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_search_response_orders_inner_links.go b/model_order_search_response_orders_inner_links.go index 7aa702f..89b5b6c 100644 --- a/model_order_search_response_orders_inner_links.go +++ b/model_order_search_response_orders_inner_links.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_search_response_orders_inner_sub_orders_inner.go b/model_order_search_response_orders_inner_sub_orders_inner.go index 0c5aa6d..f21b6fc 100644 --- a/model_order_search_response_orders_inner_sub_orders_inner.go +++ b/model_order_search_response_orders_inner_sub_orders_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_search_response_orders_inner_sub_orders_inner_links_inner.go b/model_order_search_response_orders_inner_sub_orders_inner_links_inner.go index 7cf1359..63c3f9a 100644 --- a/model_order_search_response_orders_inner_sub_orders_inner_links_inner.go +++ b/model_order_search_response_orders_inner_sub_orders_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request.go b/model_order_status_async_notification_request.go index 9aa075b..52b69de 100644 --- a/model_order_status_async_notification_request.go +++ b/model_order_status_async_notification_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner.go b/model_order_status_async_notification_request_resource_inner.go index 5dbbef8..8eb6b77 100644 --- a/model_order_status_async_notification_request_resource_inner.go +++ b/model_order_status_async_notification_request_resource_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner_lines_inner.go b/model_order_status_async_notification_request_resource_inner_lines_inner.go index c32c8ba..3426dc8 100644 --- a/model_order_status_async_notification_request_resource_inner_lines_inner.go +++ b/model_order_status_async_notification_request_resource_inner_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner_lines_inner_serial_number_details_inner.go b/model_order_status_async_notification_request_resource_inner_lines_inner_serial_number_details_inner.go index 2bf022b..9e10b79 100644 --- a/model_order_status_async_notification_request_resource_inner_lines_inner_serial_number_details_inner.go +++ b/model_order_status_async_notification_request_resource_inner_lines_inner_serial_number_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go b/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go index bf7a762..7ba11f3 100644 --- a/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go +++ b/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go b/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go index 449c31b..de8f4c1 100644 --- a/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go +++ b/model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_order_status_async_notification_request_resource_inner_links_inner.go b/model_order_status_async_notification_request_resource_inner_links_inner.go index e39034b..b460782 100644 --- a/model_order_status_async_notification_request_resource_inner_links_inner.go +++ b/model_order_status_async_notification_request_resource_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_post_quote_to_order_v6_400_response.go b/model_post_async_order_create_v7_400_response.go similarity index 52% rename from model_post_quote_to_order_v6_400_response.go rename to model_post_async_order_create_v7_400_response.go index 8131c5b..045121c 100644 --- a/model_post_quote_to_order_v6_400_response.go +++ b/model_post_async_order_create_v7_400_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,39 +14,39 @@ import ( "encoding/json" ) -// checks if the PostQuoteToOrderV6400Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PostQuoteToOrderV6400Response{} +// checks if the PostAsyncOrderCreateV7400Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PostAsyncOrderCreateV7400Response{} -// PostQuoteToOrderV6400Response struct for PostQuoteToOrderV6400Response -type PostQuoteToOrderV6400Response struct { +// PostAsyncOrderCreateV7400Response struct for PostAsyncOrderCreateV7400Response +type PostAsyncOrderCreateV7400Response struct { // A unique trace id to identify the issue. Traceid *string `json:"traceid,omitempty"` // Type of the error message. Type *string `json:"type,omitempty"` // A detailed error message. Message *string `json:"message,omitempty"` - Fields []PostQuoteToOrderV6400ResponseFieldsInner `json:"fields,omitempty"` + Fields []PostAsyncOrderCreateV7400ResponseFieldsInner `json:"fields,omitempty"` } -// NewPostQuoteToOrderV6400Response instantiates a new PostQuoteToOrderV6400Response object +// NewPostAsyncOrderCreateV7400Response instantiates a new PostAsyncOrderCreateV7400Response object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPostQuoteToOrderV6400Response() *PostQuoteToOrderV6400Response { - this := PostQuoteToOrderV6400Response{} +func NewPostAsyncOrderCreateV7400Response() *PostAsyncOrderCreateV7400Response { + this := PostAsyncOrderCreateV7400Response{} return &this } -// NewPostQuoteToOrderV6400ResponseWithDefaults instantiates a new PostQuoteToOrderV6400Response object +// NewPostAsyncOrderCreateV7400ResponseWithDefaults instantiates a new PostAsyncOrderCreateV7400Response object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPostQuoteToOrderV6400ResponseWithDefaults() *PostQuoteToOrderV6400Response { - this := PostQuoteToOrderV6400Response{} +func NewPostAsyncOrderCreateV7400ResponseWithDefaults() *PostAsyncOrderCreateV7400Response { + this := PostAsyncOrderCreateV7400Response{} return &this } // GetTraceid returns the Traceid field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400Response) GetTraceid() string { +func (o *PostAsyncOrderCreateV7400Response) GetTraceid() string { if o == nil || IsNil(o.Traceid) { var ret string return ret @@ -56,7 +56,7 @@ func (o *PostQuoteToOrderV6400Response) GetTraceid() string { // GetTraceidOk returns a tuple with the Traceid field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400Response) GetTraceidOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400Response) GetTraceidOk() (*string, bool) { if o == nil || IsNil(o.Traceid) { return nil, false } @@ -64,7 +64,7 @@ func (o *PostQuoteToOrderV6400Response) GetTraceidOk() (*string, bool) { } // HasTraceid returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400Response) HasTraceid() bool { +func (o *PostAsyncOrderCreateV7400Response) HasTraceid() bool { if o != nil && !IsNil(o.Traceid) { return true } @@ -73,12 +73,12 @@ func (o *PostQuoteToOrderV6400Response) HasTraceid() bool { } // SetTraceid gets a reference to the given string and assigns it to the Traceid field. -func (o *PostQuoteToOrderV6400Response) SetTraceid(v string) { +func (o *PostAsyncOrderCreateV7400Response) SetTraceid(v string) { o.Traceid = &v } // GetType returns the Type field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400Response) GetType() string { +func (o *PostAsyncOrderCreateV7400Response) GetType() string { if o == nil || IsNil(o.Type) { var ret string return ret @@ -88,7 +88,7 @@ func (o *PostQuoteToOrderV6400Response) GetType() string { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400Response) GetTypeOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400Response) GetTypeOk() (*string, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -96,7 +96,7 @@ func (o *PostQuoteToOrderV6400Response) GetTypeOk() (*string, bool) { } // HasType returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400Response) HasType() bool { +func (o *PostAsyncOrderCreateV7400Response) HasType() bool { if o != nil && !IsNil(o.Type) { return true } @@ -105,12 +105,12 @@ func (o *PostQuoteToOrderV6400Response) HasType() bool { } // SetType gets a reference to the given string and assigns it to the Type field. -func (o *PostQuoteToOrderV6400Response) SetType(v string) { +func (o *PostAsyncOrderCreateV7400Response) SetType(v string) { o.Type = &v } // GetMessage returns the Message field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400Response) GetMessage() string { +func (o *PostAsyncOrderCreateV7400Response) GetMessage() string { if o == nil || IsNil(o.Message) { var ret string return ret @@ -120,7 +120,7 @@ func (o *PostQuoteToOrderV6400Response) GetMessage() string { // GetMessageOk returns a tuple with the Message field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400Response) GetMessageOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400Response) GetMessageOk() (*string, bool) { if o == nil || IsNil(o.Message) { return nil, false } @@ -128,7 +128,7 @@ func (o *PostQuoteToOrderV6400Response) GetMessageOk() (*string, bool) { } // HasMessage returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400Response) HasMessage() bool { +func (o *PostAsyncOrderCreateV7400Response) HasMessage() bool { if o != nil && !IsNil(o.Message) { return true } @@ -137,14 +137,14 @@ func (o *PostQuoteToOrderV6400Response) HasMessage() bool { } // SetMessage gets a reference to the given string and assigns it to the Message field. -func (o *PostQuoteToOrderV6400Response) SetMessage(v string) { +func (o *PostAsyncOrderCreateV7400Response) SetMessage(v string) { o.Message = &v } // GetFields returns the Fields field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400Response) GetFields() []PostQuoteToOrderV6400ResponseFieldsInner { +func (o *PostAsyncOrderCreateV7400Response) GetFields() []PostAsyncOrderCreateV7400ResponseFieldsInner { if o == nil || IsNil(o.Fields) { - var ret []PostQuoteToOrderV6400ResponseFieldsInner + var ret []PostAsyncOrderCreateV7400ResponseFieldsInner return ret } return o.Fields @@ -152,7 +152,7 @@ func (o *PostQuoteToOrderV6400Response) GetFields() []PostQuoteToOrderV6400Respo // GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400Response) GetFieldsOk() ([]PostQuoteToOrderV6400ResponseFieldsInner, bool) { +func (o *PostAsyncOrderCreateV7400Response) GetFieldsOk() ([]PostAsyncOrderCreateV7400ResponseFieldsInner, bool) { if o == nil || IsNil(o.Fields) { return nil, false } @@ -160,7 +160,7 @@ func (o *PostQuoteToOrderV6400Response) GetFieldsOk() ([]PostQuoteToOrderV6400Re } // HasFields returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400Response) HasFields() bool { +func (o *PostAsyncOrderCreateV7400Response) HasFields() bool { if o != nil && !IsNil(o.Fields) { return true } @@ -168,12 +168,12 @@ func (o *PostQuoteToOrderV6400Response) HasFields() bool { return false } -// SetFields gets a reference to the given []PostQuoteToOrderV6400ResponseFieldsInner and assigns it to the Fields field. -func (o *PostQuoteToOrderV6400Response) SetFields(v []PostQuoteToOrderV6400ResponseFieldsInner) { +// SetFields gets a reference to the given []PostAsyncOrderCreateV7400ResponseFieldsInner and assigns it to the Fields field. +func (o *PostAsyncOrderCreateV7400Response) SetFields(v []PostAsyncOrderCreateV7400ResponseFieldsInner) { o.Fields = v } -func (o PostQuoteToOrderV6400Response) MarshalJSON() ([]byte, error) { +func (o PostAsyncOrderCreateV7400Response) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -181,7 +181,7 @@ func (o PostQuoteToOrderV6400Response) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -func (o PostQuoteToOrderV6400Response) ToMap() (map[string]interface{}, error) { +func (o PostAsyncOrderCreateV7400Response) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.Traceid) { toSerialize["traceid"] = o.Traceid @@ -198,38 +198,38 @@ func (o PostQuoteToOrderV6400Response) ToMap() (map[string]interface{}, error) { return toSerialize, nil } -type NullablePostQuoteToOrderV6400Response struct { - value *PostQuoteToOrderV6400Response +type NullablePostAsyncOrderCreateV7400Response struct { + value *PostAsyncOrderCreateV7400Response isSet bool } -func (v NullablePostQuoteToOrderV6400Response) Get() *PostQuoteToOrderV6400Response { +func (v NullablePostAsyncOrderCreateV7400Response) Get() *PostAsyncOrderCreateV7400Response { return v.value } -func (v *NullablePostQuoteToOrderV6400Response) Set(val *PostQuoteToOrderV6400Response) { +func (v *NullablePostAsyncOrderCreateV7400Response) Set(val *PostAsyncOrderCreateV7400Response) { v.value = val v.isSet = true } -func (v NullablePostQuoteToOrderV6400Response) IsSet() bool { +func (v NullablePostAsyncOrderCreateV7400Response) IsSet() bool { return v.isSet } -func (v *NullablePostQuoteToOrderV6400Response) Unset() { +func (v *NullablePostAsyncOrderCreateV7400Response) Unset() { v.value = nil v.isSet = false } -func NewNullablePostQuoteToOrderV6400Response(val *PostQuoteToOrderV6400Response) *NullablePostQuoteToOrderV6400Response { - return &NullablePostQuoteToOrderV6400Response{value: val, isSet: true} +func NewNullablePostAsyncOrderCreateV7400Response(val *PostAsyncOrderCreateV7400Response) *NullablePostAsyncOrderCreateV7400Response { + return &NullablePostAsyncOrderCreateV7400Response{value: val, isSet: true} } -func (v NullablePostQuoteToOrderV6400Response) MarshalJSON() ([]byte, error) { +func (v NullablePostAsyncOrderCreateV7400Response) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePostQuoteToOrderV6400Response) UnmarshalJSON(src []byte) error { +func (v *NullablePostAsyncOrderCreateV7400Response) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_post_quote_to_order_v6_400_response_fields_inner.go b/model_post_async_order_create_v7_400_response_fields_inner.go similarity index 50% rename from model_post_quote_to_order_v6_400_response_fields_inner.go rename to model_post_async_order_create_v7_400_response_fields_inner.go index d4c530f..696d825 100644 --- a/model_post_quote_to_order_v6_400_response_fields_inner.go +++ b/model_post_async_order_create_v7_400_response_fields_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -14,11 +14,11 @@ import ( "encoding/json" ) -// checks if the PostQuoteToOrderV6400ResponseFieldsInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PostQuoteToOrderV6400ResponseFieldsInner{} +// checks if the PostAsyncOrderCreateV7400ResponseFieldsInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PostAsyncOrderCreateV7400ResponseFieldsInner{} -// PostQuoteToOrderV6400ResponseFieldsInner struct for PostQuoteToOrderV6400ResponseFieldsInner -type PostQuoteToOrderV6400ResponseFieldsInner struct { +// PostAsyncOrderCreateV7400ResponseFieldsInner struct for PostAsyncOrderCreateV7400ResponseFieldsInner +type PostAsyncOrderCreateV7400ResponseFieldsInner struct { // Name of the field. Field *string `json:"field,omitempty"` // A filed level error message. @@ -27,25 +27,25 @@ type PostQuoteToOrderV6400ResponseFieldsInner struct { Value *string `json:"value,omitempty"` } -// NewPostQuoteToOrderV6400ResponseFieldsInner instantiates a new PostQuoteToOrderV6400ResponseFieldsInner object +// NewPostAsyncOrderCreateV7400ResponseFieldsInner instantiates a new PostAsyncOrderCreateV7400ResponseFieldsInner object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPostQuoteToOrderV6400ResponseFieldsInner() *PostQuoteToOrderV6400ResponseFieldsInner { - this := PostQuoteToOrderV6400ResponseFieldsInner{} +func NewPostAsyncOrderCreateV7400ResponseFieldsInner() *PostAsyncOrderCreateV7400ResponseFieldsInner { + this := PostAsyncOrderCreateV7400ResponseFieldsInner{} return &this } -// NewPostQuoteToOrderV6400ResponseFieldsInnerWithDefaults instantiates a new PostQuoteToOrderV6400ResponseFieldsInner object +// NewPostAsyncOrderCreateV7400ResponseFieldsInnerWithDefaults instantiates a new PostAsyncOrderCreateV7400ResponseFieldsInner object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPostQuoteToOrderV6400ResponseFieldsInnerWithDefaults() *PostQuoteToOrderV6400ResponseFieldsInner { - this := PostQuoteToOrderV6400ResponseFieldsInner{} +func NewPostAsyncOrderCreateV7400ResponseFieldsInnerWithDefaults() *PostAsyncOrderCreateV7400ResponseFieldsInner { + this := PostAsyncOrderCreateV7400ResponseFieldsInner{} return &this } // GetField returns the Field field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetField() string { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetField() string { if o == nil || IsNil(o.Field) { var ret string return ret @@ -55,7 +55,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetField() string { // GetFieldOk returns a tuple with the Field field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetFieldOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetFieldOk() (*string, bool) { if o == nil || IsNil(o.Field) { return nil, false } @@ -63,7 +63,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetFieldOk() (*string, bool) } // HasField returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasField() bool { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasField() bool { if o != nil && !IsNil(o.Field) { return true } @@ -72,12 +72,12 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasField() bool { } // SetField gets a reference to the given string and assigns it to the Field field. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetField(v string) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetField(v string) { o.Field = &v } // GetMessage returns the Message field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessage() string { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetMessage() string { if o == nil || IsNil(o.Message) { var ret string return ret @@ -87,7 +87,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessage() string { // GetMessageOk returns a tuple with the Message field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessageOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetMessageOk() (*string, bool) { if o == nil || IsNil(o.Message) { return nil, false } @@ -95,7 +95,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetMessageOk() (*string, bool } // HasMessage returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasMessage() bool { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasMessage() bool { if o != nil && !IsNil(o.Message) { return true } @@ -104,12 +104,12 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasMessage() bool { } // SetMessage gets a reference to the given string and assigns it to the Message field. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetMessage(v string) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetMessage(v string) { o.Message = &v } // GetValue returns the Value field value if set, zero value otherwise. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValue() string { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetValue() string { if o == nil || IsNil(o.Value) { var ret string return ret @@ -119,7 +119,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValue() string { // GetValueOk returns a tuple with the Value field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValueOk() (*string, bool) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) GetValueOk() (*string, bool) { if o == nil || IsNil(o.Value) { return nil, false } @@ -127,7 +127,7 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) GetValueOk() (*string, bool) } // HasValue returns a boolean if a field has been set. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasValue() bool { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) HasValue() bool { if o != nil && !IsNil(o.Value) { return true } @@ -136,11 +136,11 @@ func (o *PostQuoteToOrderV6400ResponseFieldsInner) HasValue() bool { } // SetValue gets a reference to the given string and assigns it to the Value field. -func (o *PostQuoteToOrderV6400ResponseFieldsInner) SetValue(v string) { +func (o *PostAsyncOrderCreateV7400ResponseFieldsInner) SetValue(v string) { o.Value = &v } -func (o PostQuoteToOrderV6400ResponseFieldsInner) MarshalJSON() ([]byte, error) { +func (o PostAsyncOrderCreateV7400ResponseFieldsInner) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { return []byte{}, err @@ -148,7 +148,7 @@ func (o PostQuoteToOrderV6400ResponseFieldsInner) MarshalJSON() ([]byte, error) return json.Marshal(toSerialize) } -func (o PostQuoteToOrderV6400ResponseFieldsInner) ToMap() (map[string]interface{}, error) { +func (o PostAsyncOrderCreateV7400ResponseFieldsInner) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.Field) { toSerialize["field"] = o.Field @@ -162,38 +162,38 @@ func (o PostQuoteToOrderV6400ResponseFieldsInner) ToMap() (map[string]interface{ return toSerialize, nil } -type NullablePostQuoteToOrderV6400ResponseFieldsInner struct { - value *PostQuoteToOrderV6400ResponseFieldsInner +type NullablePostAsyncOrderCreateV7400ResponseFieldsInner struct { + value *PostAsyncOrderCreateV7400ResponseFieldsInner isSet bool } -func (v NullablePostQuoteToOrderV6400ResponseFieldsInner) Get() *PostQuoteToOrderV6400ResponseFieldsInner { +func (v NullablePostAsyncOrderCreateV7400ResponseFieldsInner) Get() *PostAsyncOrderCreateV7400ResponseFieldsInner { return v.value } -func (v *NullablePostQuoteToOrderV6400ResponseFieldsInner) Set(val *PostQuoteToOrderV6400ResponseFieldsInner) { +func (v *NullablePostAsyncOrderCreateV7400ResponseFieldsInner) Set(val *PostAsyncOrderCreateV7400ResponseFieldsInner) { v.value = val v.isSet = true } -func (v NullablePostQuoteToOrderV6400ResponseFieldsInner) IsSet() bool { +func (v NullablePostAsyncOrderCreateV7400ResponseFieldsInner) IsSet() bool { return v.isSet } -func (v *NullablePostQuoteToOrderV6400ResponseFieldsInner) Unset() { +func (v *NullablePostAsyncOrderCreateV7400ResponseFieldsInner) Unset() { v.value = nil v.isSet = false } -func NewNullablePostQuoteToOrderV6400ResponseFieldsInner(val *PostQuoteToOrderV6400ResponseFieldsInner) *NullablePostQuoteToOrderV6400ResponseFieldsInner { - return &NullablePostQuoteToOrderV6400ResponseFieldsInner{value: val, isSet: true} +func NewNullablePostAsyncOrderCreateV7400ResponseFieldsInner(val *PostAsyncOrderCreateV7400ResponseFieldsInner) *NullablePostAsyncOrderCreateV7400ResponseFieldsInner { + return &NullablePostAsyncOrderCreateV7400ResponseFieldsInner{value: val, isSet: true} } -func (v NullablePostQuoteToOrderV6400ResponseFieldsInner) MarshalJSON() ([]byte, error) { +func (v NullablePostAsyncOrderCreateV7400ResponseFieldsInner) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePostQuoteToOrderV6400ResponseFieldsInner) UnmarshalJSON(src []byte) error { +func (v *NullablePostAsyncOrderCreateV7400ResponseFieldsInner) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_post_renewalssearch_400_response.go b/model_post_renewalssearch_400_response.go index 69774a1..08a6d2f 100644 --- a/model_post_renewalssearch_400_response.go +++ b/model_post_renewalssearch_400_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_request.go b/model_price_and_availability_request.go index d65b5fb..df8ee2e 100644 --- a/model_price_and_availability_request.go +++ b/model_price_and_availability_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_request_additional_attributes_inner.go b/model_price_and_availability_request_additional_attributes_inner.go index 6770b15..5d24f6f 100644 --- a/model_price_and_availability_request_additional_attributes_inner.go +++ b/model_price_and_availability_request_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_request_availability_by_warehouse_inner.go b/model_price_and_availability_request_availability_by_warehouse_inner.go index 0dc7a34..e96cba9 100644 --- a/model_price_and_availability_request_availability_by_warehouse_inner.go +++ b/model_price_and_availability_request_availability_by_warehouse_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_request_products_inner.go b/model_price_and_availability_request_products_inner.go index 8095a98..9453134 100644 --- a/model_price_and_availability_request_products_inner.go +++ b/model_price_and_availability_request_products_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_request_products_inner_additional_attributes_inner.go b/model_price_and_availability_request_products_inner_additional_attributes_inner.go index 192d53f..fccee4b 100644 --- a/model_price_and_availability_request_products_inner_additional_attributes_inner.go +++ b/model_price_and_availability_request_products_inner_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner.go b/model_price_and_availability_response_inner.go index 9527275..7738b1f 100644 --- a/model_price_and_availability_response_inner.go +++ b/model_price_and_availability_response_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_availability.go b/model_price_and_availability_response_inner_availability.go index 22b4ab5..5550b9e 100644 --- a/model_price_and_availability_response_inner_availability.go +++ b/model_price_and_availability_response_inner_availability.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner.go b/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner.go index efa7238..e4131a3 100644 --- a/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner.go +++ b/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner_back_order_info_inner.go b/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner_back_order_info_inner.go index a5a8a8b..2248701 100644 --- a/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner_back_order_info_inner.go +++ b/model_price_and_availability_response_inner_availability_availability_by_warehouse_inner_back_order_info_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_discounts_inner.go b/model_price_and_availability_response_inner_discounts_inner.go index e13d252..fbc6ba2 100644 --- a/model_price_and_availability_response_inner_discounts_inner.go +++ b/model_price_and_availability_response_inner_discounts_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_discounts_inner_quantity_discounts_inner.go b/model_price_and_availability_response_inner_discounts_inner_quantity_discounts_inner.go index d865652..7cc9b00 100644 --- a/model_price_and_availability_response_inner_discounts_inner_quantity_discounts_inner.go +++ b/model_price_and_availability_response_inner_discounts_inner_quantity_discounts_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_discounts_inner_special_pricing_inner.go b/model_price_and_availability_response_inner_discounts_inner_special_pricing_inner.go index 2a24806..2e7ccd2 100644 --- a/model_price_and_availability_response_inner_discounts_inner_special_pricing_inner.go +++ b/model_price_and_availability_response_inner_discounts_inner_special_pricing_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_pricing.go b/model_price_and_availability_response_inner_pricing.go index 1c362db..f64a61d 100644 --- a/model_price_and_availability_response_inner_pricing.go +++ b/model_price_and_availability_response_inner_pricing.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_reserve_inventory_details_inner.go b/model_price_and_availability_response_inner_reserve_inventory_details_inner.go index e69e7ee..5fe66f8 100644 --- a/model_price_and_availability_response_inner_reserve_inventory_details_inner.go +++ b/model_price_and_availability_response_inner_reserve_inventory_details_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_price_and_availability_response_inner_service_fees_inner.go b/model_price_and_availability_response_inner_service_fees_inner.go index ac8dc39..66b078d 100644 --- a/model_price_and_availability_response_inner_service_fees_inner.go +++ b/model_price_and_availability_response_inner_service_fees_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response.go b/model_product_detail_response.go index 5972d3f..1c56418 100644 --- a/model_product_detail_response.go +++ b/model_product_detail_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response_additional_information.go b/model_product_detail_response_additional_information.go index 0f4c967..a7ef3a9 100644 --- a/model_product_detail_response_additional_information.go +++ b/model_product_detail_response_additional_information.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response_additional_information_product_weight_inner.go b/model_product_detail_response_additional_information_product_weight_inner.go index 0d20298..57e8d8f 100644 --- a/model_product_detail_response_additional_information_product_weight_inner.go +++ b/model_product_detail_response_additional_information_product_weight_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response_cisco_fields.go b/model_product_detail_response_cisco_fields.go index ac6807c..225db93 100644 --- a/model_product_detail_response_cisco_fields.go +++ b/model_product_detail_response_cisco_fields.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response_indicators.go b/model_product_detail_response_indicators.go index ea28d74..040d73c 100644 --- a/model_product_detail_response_indicators.go +++ b/model_product_detail_response_indicators.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_detail_response_technical_specifications_inner.go b/model_product_detail_response_technical_specifications_inner.go index 35f14b3..f99410d 100644 --- a/model_product_detail_response_technical_specifications_inner.go +++ b/model_product_detail_response_technical_specifications_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_search_response.go b/model_product_search_response.go index 2433988..963d517 100644 --- a/model_product_search_response.go +++ b/model_product_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_search_response_catalog_inner.go b/model_product_search_response_catalog_inner.go index bdb21fe..d9f6c18 100644 --- a/model_product_search_response_catalog_inner.go +++ b/model_product_search_response_catalog_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_product_search_response_catalog_inner_links_inner.go b/model_product_search_response_catalog_inner_links_inner.go index 3cdccdc..7969009 100644 --- a/model_product_search_response_catalog_inner_links_inner.go +++ b/model_product_search_response_catalog_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_details_response.go b/model_quote_details_response.go index 75abaeb..381b90d 100644 --- a/model_quote_details_response.go +++ b/model_quote_details_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -66,11 +66,11 @@ type QuoteDetailsResponse struct { // Total number of products included in the quote ProductsCount *int32 `json:"productsCount,omitempty"` // Total extended MSRP for all products included in the quote - ExtendedMsrpTotal *int32 `json:"extendedMsrpTotal,omitempty"` + ExtendedMsrpTotal *float32 `json:"extendedMsrpTotal,omitempty"` // Total quantity of all items in the quote. QuantityTotal *int32 `json:"quantityTotal,omitempty"` // Total amount of quoted price for all products in the quote including both solution products and suggested products. - ExtendedQuotePriceTotal *int32 `json:"extendedQuotePriceTotal,omitempty"` + ExtendedQuotePriceTotal *float32 `json:"extendedQuotePriceTotal,omitempty"` TotalQuoteAmount *string `json:"totalQuoteAmount,omitempty"` AdditionalAttributes []QuoteDetailsResponseAdditionalAttributesInner `json:"additionalAttributes,omitempty"` } @@ -925,9 +925,9 @@ func (o *QuoteDetailsResponse) SetProductsCount(v int32) { } // GetExtendedMsrpTotal returns the ExtendedMsrpTotal field value if set, zero value otherwise. -func (o *QuoteDetailsResponse) GetExtendedMsrpTotal() int32 { +func (o *QuoteDetailsResponse) GetExtendedMsrpTotal() float32 { if o == nil || IsNil(o.ExtendedMsrpTotal) { - var ret int32 + var ret float32 return ret } return *o.ExtendedMsrpTotal @@ -935,7 +935,7 @@ func (o *QuoteDetailsResponse) GetExtendedMsrpTotal() int32 { // GetExtendedMsrpTotalOk returns a tuple with the ExtendedMsrpTotal field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponse) GetExtendedMsrpTotalOk() (*int32, bool) { +func (o *QuoteDetailsResponse) GetExtendedMsrpTotalOk() (*float32, bool) { if o == nil || IsNil(o.ExtendedMsrpTotal) { return nil, false } @@ -951,8 +951,8 @@ func (o *QuoteDetailsResponse) HasExtendedMsrpTotal() bool { return false } -// SetExtendedMsrpTotal gets a reference to the given int32 and assigns it to the ExtendedMsrpTotal field. -func (o *QuoteDetailsResponse) SetExtendedMsrpTotal(v int32) { +// SetExtendedMsrpTotal gets a reference to the given float32 and assigns it to the ExtendedMsrpTotal field. +func (o *QuoteDetailsResponse) SetExtendedMsrpTotal(v float32) { o.ExtendedMsrpTotal = &v } @@ -989,9 +989,9 @@ func (o *QuoteDetailsResponse) SetQuantityTotal(v int32) { } // GetExtendedQuotePriceTotal returns the ExtendedQuotePriceTotal field value if set, zero value otherwise. -func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotal() int32 { +func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotal() float32 { if o == nil || IsNil(o.ExtendedQuotePriceTotal) { - var ret int32 + var ret float32 return ret } return *o.ExtendedQuotePriceTotal @@ -999,7 +999,7 @@ func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotal() int32 { // GetExtendedQuotePriceTotalOk returns a tuple with the ExtendedQuotePriceTotal field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotalOk() (*int32, bool) { +func (o *QuoteDetailsResponse) GetExtendedQuotePriceTotalOk() (*float32, bool) { if o == nil || IsNil(o.ExtendedQuotePriceTotal) { return nil, false } @@ -1015,8 +1015,8 @@ func (o *QuoteDetailsResponse) HasExtendedQuotePriceTotal() bool { return false } -// SetExtendedQuotePriceTotal gets a reference to the given int32 and assigns it to the ExtendedQuotePriceTotal field. -func (o *QuoteDetailsResponse) SetExtendedQuotePriceTotal(v int32) { +// SetExtendedQuotePriceTotal gets a reference to the given float32 and assigns it to the ExtendedQuotePriceTotal field. +func (o *QuoteDetailsResponse) SetExtendedQuotePriceTotal(v float32) { o.ExtendedQuotePriceTotal = &v } diff --git a/model_quote_details_response_additional_attributes_inner.go b/model_quote_details_response_additional_attributes_inner.go index 887b0d2..2a435e0 100644 --- a/model_quote_details_response_additional_attributes_inner.go +++ b/model_quote_details_response_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_details_response_end_user_info.go b/model_quote_details_response_end_user_info.go index c59104c..064e7dc 100644 --- a/model_quote_details_response_end_user_info.go +++ b/model_quote_details_response_end_user_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_details_response_products_inner.go b/model_quote_details_response_products_inner.go index b0ebb43..aa0a57d 100644 --- a/model_quote_details_response_products_inner.go +++ b/model_quote_details_response_products_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_details_response_products_inner_price.go b/model_quote_details_response_products_inner_price.go index ebbede4..b3b2d9e 100644 --- a/model_quote_details_response_products_inner_price.go +++ b/model_quote_details_response_products_inner_price.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -20,13 +20,13 @@ var _ MappedNullable = &QuoteDetailsResponseProductsInnerPrice{} // QuoteDetailsResponseProductsInnerPrice struct for QuoteDetailsResponseProductsInnerPrice type QuoteDetailsResponseProductsInnerPrice struct { // Ingram Micro quoted price specific to the reseller and quote. - QuotePrice *int32 `json:"quotePrice,omitempty"` + QuotePrice *float32 `json:"quotePrice,omitempty"` // Manufacturer Suggested Retail Price - Msrp *int32 `json:"msrp,omitempty"` + Msrp *float32 `json:"msrp,omitempty"` // Extended MSRP - Manufacturer Suggested Retail Price X Quantity - ExtendedMsrp *int32 `json:"extendedMsrp,omitempty"` + ExtendedMsrp *float32 `json:"extendedMsrp,omitempty"` // Extended reseller quoted price (cost to reseller) X Quantity - ExtendedQuotePrice *int32 `json:"extendedQuotePrice,omitempty"` + ExtendedQuotePrice *float32 `json:"extendedQuotePrice,omitempty"` // Discount off list percentage extended DiscountOffList *string `json:"discountOffList,omitempty"` Vendorprice *float32 `json:"vendorprice,omitempty"` @@ -54,9 +54,9 @@ func NewQuoteDetailsResponseProductsInnerPriceWithDefaults() *QuoteDetailsRespon } // GetQuotePrice returns the QuotePrice field value if set, zero value otherwise. -func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePrice() int32 { +func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePrice() float32 { if o == nil || IsNil(o.QuotePrice) { - var ret int32 + var ret float32 return ret } return *o.QuotePrice @@ -64,7 +64,7 @@ func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePrice() int32 { // GetQuotePriceOk returns a tuple with the QuotePrice field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePriceOk() (*int32, bool) { +func (o *QuoteDetailsResponseProductsInnerPrice) GetQuotePriceOk() (*float32, bool) { if o == nil || IsNil(o.QuotePrice) { return nil, false } @@ -80,15 +80,15 @@ func (o *QuoteDetailsResponseProductsInnerPrice) HasQuotePrice() bool { return false } -// SetQuotePrice gets a reference to the given int32 and assigns it to the QuotePrice field. -func (o *QuoteDetailsResponseProductsInnerPrice) SetQuotePrice(v int32) { +// SetQuotePrice gets a reference to the given float32 and assigns it to the QuotePrice field. +func (o *QuoteDetailsResponseProductsInnerPrice) SetQuotePrice(v float32) { o.QuotePrice = &v } // GetMsrp returns the Msrp field value if set, zero value otherwise. -func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrp() int32 { +func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrp() float32 { if o == nil || IsNil(o.Msrp) { - var ret int32 + var ret float32 return ret } return *o.Msrp @@ -96,7 +96,7 @@ func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrp() int32 { // GetMsrpOk returns a tuple with the Msrp field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrpOk() (*int32, bool) { +func (o *QuoteDetailsResponseProductsInnerPrice) GetMsrpOk() (*float32, bool) { if o == nil || IsNil(o.Msrp) { return nil, false } @@ -112,15 +112,15 @@ func (o *QuoteDetailsResponseProductsInnerPrice) HasMsrp() bool { return false } -// SetMsrp gets a reference to the given int32 and assigns it to the Msrp field. -func (o *QuoteDetailsResponseProductsInnerPrice) SetMsrp(v int32) { +// SetMsrp gets a reference to the given float32 and assigns it to the Msrp field. +func (o *QuoteDetailsResponseProductsInnerPrice) SetMsrp(v float32) { o.Msrp = &v } // GetExtendedMsrp returns the ExtendedMsrp field value if set, zero value otherwise. -func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrp() int32 { +func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrp() float32 { if o == nil || IsNil(o.ExtendedMsrp) { - var ret int32 + var ret float32 return ret } return *o.ExtendedMsrp @@ -128,7 +128,7 @@ func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrp() int32 { // GetExtendedMsrpOk returns a tuple with the ExtendedMsrp field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrpOk() (*int32, bool) { +func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedMsrpOk() (*float32, bool) { if o == nil || IsNil(o.ExtendedMsrp) { return nil, false } @@ -144,15 +144,15 @@ func (o *QuoteDetailsResponseProductsInnerPrice) HasExtendedMsrp() bool { return false } -// SetExtendedMsrp gets a reference to the given int32 and assigns it to the ExtendedMsrp field. -func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedMsrp(v int32) { +// SetExtendedMsrp gets a reference to the given float32 and assigns it to the ExtendedMsrp field. +func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedMsrp(v float32) { o.ExtendedMsrp = &v } // GetExtendedQuotePrice returns the ExtendedQuotePrice field value if set, zero value otherwise. -func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePrice() int32 { +func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePrice() float32 { if o == nil || IsNil(o.ExtendedQuotePrice) { - var ret int32 + var ret float32 return ret } return *o.ExtendedQuotePrice @@ -160,7 +160,7 @@ func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePrice() int32 { // GetExtendedQuotePriceOk returns a tuple with the ExtendedQuotePrice field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePriceOk() (*int32, bool) { +func (o *QuoteDetailsResponseProductsInnerPrice) GetExtendedQuotePriceOk() (*float32, bool) { if o == nil || IsNil(o.ExtendedQuotePrice) { return nil, false } @@ -176,8 +176,8 @@ func (o *QuoteDetailsResponseProductsInnerPrice) HasExtendedQuotePrice() bool { return false } -// SetExtendedQuotePrice gets a reference to the given int32 and assigns it to the ExtendedQuotePrice field. -func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedQuotePrice(v int32) { +// SetExtendedQuotePrice gets a reference to the given float32 and assigns it to the ExtendedQuotePrice field. +func (o *QuoteDetailsResponseProductsInnerPrice) SetExtendedQuotePrice(v float32) { o.ExtendedQuotePrice = &v } diff --git a/model_quote_details_response_reseller_info.go b/model_quote_details_response_reseller_info.go index 328b49c..ff9a497 100644 --- a/model_quote_details_response_reseller_info.go +++ b/model_quote_details_response_reseller_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_search_response.go b/model_quote_search_response.go index 97834f9..1b02f1c 100644 --- a/model_quote_search_response.go +++ b/model_quote_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_search_response_quotes_inner.go b/model_quote_search_response_quotes_inner.go index 9b15af0..356a6f7 100644 --- a/model_quote_search_response_quotes_inner.go +++ b/model_quote_search_response_quotes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_search_response_quotes_inner_links.go b/model_quote_search_response_quotes_inner_links.go index 8e1916c..fc3c89f 100644 --- a/model_quote_search_response_quotes_inner_links.go +++ b/model_quote_search_response_quotes_inner_links.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_quote_to_order_details_dto.go b/model_quote_to_order_details_dto.go deleted file mode 100644 index bfbfcfb..0000000 --- a/model_quote_to_order_details_dto.go +++ /dev/null @@ -1,461 +0,0 @@ -/* -XI Sdk Resellers - -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package xi_sdk_resellers - -import ( - "encoding/json" -) - -// checks if the QuoteToOrderDetailsDTO type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTO{} - -// QuoteToOrderDetailsDTO struct for QuoteToOrderDetailsDTO -type QuoteToOrderDetailsDTO struct { - // A unique identifier generated by Ingram Micro's CRM specific to each quote. - QuoteNumber NullableString `json:"quoteNumber,omitempty"` - // The reseller's order number for reference in their system. - CustomerOrderNumber NullableString `json:"customerOrderNumber,omitempty"` - // The end customer's order number for reference in their system. - EnduserOrderNumber NullableString `json:"enduserOrderNumber,omitempty"` - // 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. - BillToAddressId NullableString `json:"billToAddressId,omitempty"` - EndUserInfo *QuoteToOrderDetailsDTOEndUserInfo `json:"endUserInfo,omitempty"` - ShipToInfo *QuoteToOrderDetailsDTOShipToInfo `json:"shipToInfo,omitempty"` - // Additional order create attributes. - AdditionalAttributes []QuoteToOrderDetailsDTOAdditionalAttributesInner `json:"additionalAttributes,omitempty"` - // The object containing the list of fields required at a header level by the vendor. - VmfadditionalAttributes []QuoteToOrderDetailsDTOVmfadditionalAttributesInner `json:"vmfadditionalAttributes,omitempty"` - // The object containing the lines that require vendor mandatory fields. - Lines []QuoteToOrderDetailsDTOLinesInner `json:"lines,omitempty"` -} - -// NewQuoteToOrderDetailsDTO instantiates a new QuoteToOrderDetailsDTO object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTO() *QuoteToOrderDetailsDTO { - this := QuoteToOrderDetailsDTO{} - return &this -} - -// NewQuoteToOrderDetailsDTOWithDefaults instantiates a new QuoteToOrderDetailsDTO object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOWithDefaults() *QuoteToOrderDetailsDTO { - this := QuoteToOrderDetailsDTO{} - return &this -} - -// GetQuoteNumber returns the QuoteNumber field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTO) GetQuoteNumber() string { - if o == nil || IsNil(o.QuoteNumber.Get()) { - var ret string - return ret - } - return *o.QuoteNumber.Get() -} - -// GetQuoteNumberOk returns a tuple with the QuoteNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTO) GetQuoteNumberOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.QuoteNumber.Get(), o.QuoteNumber.IsSet() -} - -// HasQuoteNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasQuoteNumber() bool { - if o != nil && o.QuoteNumber.IsSet() { - return true - } - - return false -} - -// SetQuoteNumber gets a reference to the given NullableString and assigns it to the QuoteNumber field. -func (o *QuoteToOrderDetailsDTO) SetQuoteNumber(v string) { - o.QuoteNumber.Set(&v) -} -// SetQuoteNumberNil sets the value for QuoteNumber to be an explicit nil -func (o *QuoteToOrderDetailsDTO) SetQuoteNumberNil() { - o.QuoteNumber.Set(nil) -} - -// UnsetQuoteNumber ensures that no value is present for QuoteNumber, not even an explicit nil -func (o *QuoteToOrderDetailsDTO) UnsetQuoteNumber() { - o.QuoteNumber.Unset() -} - -// GetCustomerOrderNumber returns the CustomerOrderNumber field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTO) GetCustomerOrderNumber() string { - if o == nil || IsNil(o.CustomerOrderNumber.Get()) { - var ret string - return ret - } - return *o.CustomerOrderNumber.Get() -} - -// GetCustomerOrderNumberOk returns a tuple with the CustomerOrderNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTO) GetCustomerOrderNumberOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.CustomerOrderNumber.Get(), o.CustomerOrderNumber.IsSet() -} - -// HasCustomerOrderNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasCustomerOrderNumber() bool { - if o != nil && o.CustomerOrderNumber.IsSet() { - return true - } - - return false -} - -// SetCustomerOrderNumber gets a reference to the given NullableString and assigns it to the CustomerOrderNumber field. -func (o *QuoteToOrderDetailsDTO) SetCustomerOrderNumber(v string) { - o.CustomerOrderNumber.Set(&v) -} -// SetCustomerOrderNumberNil sets the value for CustomerOrderNumber to be an explicit nil -func (o *QuoteToOrderDetailsDTO) SetCustomerOrderNumberNil() { - o.CustomerOrderNumber.Set(nil) -} - -// UnsetCustomerOrderNumber ensures that no value is present for CustomerOrderNumber, not even an explicit nil -func (o *QuoteToOrderDetailsDTO) UnsetCustomerOrderNumber() { - o.CustomerOrderNumber.Unset() -} - -// GetEnduserOrderNumber returns the EnduserOrderNumber field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTO) GetEnduserOrderNumber() string { - if o == nil || IsNil(o.EnduserOrderNumber.Get()) { - var ret string - return ret - } - return *o.EnduserOrderNumber.Get() -} - -// GetEnduserOrderNumberOk returns a tuple with the EnduserOrderNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTO) GetEnduserOrderNumberOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.EnduserOrderNumber.Get(), o.EnduserOrderNumber.IsSet() -} - -// HasEnduserOrderNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasEnduserOrderNumber() bool { - if o != nil && o.EnduserOrderNumber.IsSet() { - return true - } - - return false -} - -// SetEnduserOrderNumber gets a reference to the given NullableString and assigns it to the EnduserOrderNumber field. -func (o *QuoteToOrderDetailsDTO) SetEnduserOrderNumber(v string) { - o.EnduserOrderNumber.Set(&v) -} -// SetEnduserOrderNumberNil sets the value for EnduserOrderNumber to be an explicit nil -func (o *QuoteToOrderDetailsDTO) SetEnduserOrderNumberNil() { - o.EnduserOrderNumber.Set(nil) -} - -// UnsetEnduserOrderNumber ensures that no value is present for EnduserOrderNumber, not even an explicit nil -func (o *QuoteToOrderDetailsDTO) UnsetEnduserOrderNumber() { - o.EnduserOrderNumber.Unset() -} - -// GetBillToAddressId returns the BillToAddressId field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QuoteToOrderDetailsDTO) GetBillToAddressId() string { - if o == nil || IsNil(o.BillToAddressId.Get()) { - var ret string - return ret - } - return *o.BillToAddressId.Get() -} - -// GetBillToAddressIdOk returns a tuple with the BillToAddressId field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QuoteToOrderDetailsDTO) GetBillToAddressIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.BillToAddressId.Get(), o.BillToAddressId.IsSet() -} - -// HasBillToAddressId returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasBillToAddressId() bool { - if o != nil && o.BillToAddressId.IsSet() { - return true - } - - return false -} - -// SetBillToAddressId gets a reference to the given NullableString and assigns it to the BillToAddressId field. -func (o *QuoteToOrderDetailsDTO) SetBillToAddressId(v string) { - o.BillToAddressId.Set(&v) -} -// SetBillToAddressIdNil sets the value for BillToAddressId to be an explicit nil -func (o *QuoteToOrderDetailsDTO) SetBillToAddressIdNil() { - o.BillToAddressId.Set(nil) -} - -// UnsetBillToAddressId ensures that no value is present for BillToAddressId, not even an explicit nil -func (o *QuoteToOrderDetailsDTO) UnsetBillToAddressId() { - o.BillToAddressId.Unset() -} - -// GetEndUserInfo returns the EndUserInfo field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTO) GetEndUserInfo() QuoteToOrderDetailsDTOEndUserInfo { - if o == nil || IsNil(o.EndUserInfo) { - var ret QuoteToOrderDetailsDTOEndUserInfo - return ret - } - return *o.EndUserInfo -} - -// GetEndUserInfoOk returns a tuple with the EndUserInfo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTO) GetEndUserInfoOk() (*QuoteToOrderDetailsDTOEndUserInfo, bool) { - if o == nil || IsNil(o.EndUserInfo) { - return nil, false - } - return o.EndUserInfo, true -} - -// HasEndUserInfo returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasEndUserInfo() bool { - if o != nil && !IsNil(o.EndUserInfo) { - return true - } - - return false -} - -// SetEndUserInfo gets a reference to the given QuoteToOrderDetailsDTOEndUserInfo and assigns it to the EndUserInfo field. -func (o *QuoteToOrderDetailsDTO) SetEndUserInfo(v QuoteToOrderDetailsDTOEndUserInfo) { - o.EndUserInfo = &v -} - -// GetShipToInfo returns the ShipToInfo field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTO) GetShipToInfo() QuoteToOrderDetailsDTOShipToInfo { - if o == nil || IsNil(o.ShipToInfo) { - var ret QuoteToOrderDetailsDTOShipToInfo - return ret - } - return *o.ShipToInfo -} - -// GetShipToInfoOk returns a tuple with the ShipToInfo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTO) GetShipToInfoOk() (*QuoteToOrderDetailsDTOShipToInfo, bool) { - if o == nil || IsNil(o.ShipToInfo) { - return nil, false - } - return o.ShipToInfo, true -} - -// HasShipToInfo returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasShipToInfo() bool { - if o != nil && !IsNil(o.ShipToInfo) { - return true - } - - return false -} - -// SetShipToInfo gets a reference to the given QuoteToOrderDetailsDTOShipToInfo and assigns it to the ShipToInfo field. -func (o *QuoteToOrderDetailsDTO) SetShipToInfo(v QuoteToOrderDetailsDTOShipToInfo) { - o.ShipToInfo = &v -} - -// GetAdditionalAttributes returns the AdditionalAttributes field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTO) GetAdditionalAttributes() []QuoteToOrderDetailsDTOAdditionalAttributesInner { - if o == nil || IsNil(o.AdditionalAttributes) { - var ret []QuoteToOrderDetailsDTOAdditionalAttributesInner - return ret - } - return o.AdditionalAttributes -} - -// GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTO) GetAdditionalAttributesOk() ([]QuoteToOrderDetailsDTOAdditionalAttributesInner, bool) { - if o == nil || IsNil(o.AdditionalAttributes) { - return nil, false - } - return o.AdditionalAttributes, true -} - -// HasAdditionalAttributes returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasAdditionalAttributes() bool { - if o != nil && !IsNil(o.AdditionalAttributes) { - return true - } - - return false -} - -// SetAdditionalAttributes gets a reference to the given []QuoteToOrderDetailsDTOAdditionalAttributesInner and assigns it to the AdditionalAttributes field. -func (o *QuoteToOrderDetailsDTO) SetAdditionalAttributes(v []QuoteToOrderDetailsDTOAdditionalAttributesInner) { - o.AdditionalAttributes = v -} - -// GetVmfadditionalAttributes returns the VmfadditionalAttributes field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTO) GetVmfadditionalAttributes() []QuoteToOrderDetailsDTOVmfadditionalAttributesInner { - if o == nil || IsNil(o.VmfadditionalAttributes) { - var ret []QuoteToOrderDetailsDTOVmfadditionalAttributesInner - return ret - } - return o.VmfadditionalAttributes -} - -// GetVmfadditionalAttributesOk returns a tuple with the VmfadditionalAttributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTO) GetVmfadditionalAttributesOk() ([]QuoteToOrderDetailsDTOVmfadditionalAttributesInner, bool) { - if o == nil || IsNil(o.VmfadditionalAttributes) { - return nil, false - } - return o.VmfadditionalAttributes, true -} - -// HasVmfadditionalAttributes returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasVmfadditionalAttributes() bool { - if o != nil && !IsNil(o.VmfadditionalAttributes) { - return true - } - - return false -} - -// SetVmfadditionalAttributes gets a reference to the given []QuoteToOrderDetailsDTOVmfadditionalAttributesInner and assigns it to the VmfadditionalAttributes field. -func (o *QuoteToOrderDetailsDTO) SetVmfadditionalAttributes(v []QuoteToOrderDetailsDTOVmfadditionalAttributesInner) { - o.VmfadditionalAttributes = v -} - -// GetLines returns the Lines field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTO) GetLines() []QuoteToOrderDetailsDTOLinesInner { - if o == nil || IsNil(o.Lines) { - var ret []QuoteToOrderDetailsDTOLinesInner - return ret - } - return o.Lines -} - -// GetLinesOk returns a tuple with the Lines field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTO) GetLinesOk() ([]QuoteToOrderDetailsDTOLinesInner, bool) { - if o == nil || IsNil(o.Lines) { - return nil, false - } - return o.Lines, true -} - -// HasLines returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTO) HasLines() bool { - if o != nil && !IsNil(o.Lines) { - return true - } - - return false -} - -// SetLines gets a reference to the given []QuoteToOrderDetailsDTOLinesInner and assigns it to the Lines field. -func (o *QuoteToOrderDetailsDTO) SetLines(v []QuoteToOrderDetailsDTOLinesInner) { - o.Lines = v -} - -func (o QuoteToOrderDetailsDTO) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o QuoteToOrderDetailsDTO) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.QuoteNumber.IsSet() { - toSerialize["quoteNumber"] = o.QuoteNumber.Get() - } - if o.CustomerOrderNumber.IsSet() { - toSerialize["customerOrderNumber"] = o.CustomerOrderNumber.Get() - } - if o.EnduserOrderNumber.IsSet() { - toSerialize["enduserOrderNumber"] = o.EnduserOrderNumber.Get() - } - if o.BillToAddressId.IsSet() { - toSerialize["billToAddressId"] = o.BillToAddressId.Get() - } - if !IsNil(o.EndUserInfo) { - toSerialize["endUserInfo"] = o.EndUserInfo - } - if !IsNil(o.ShipToInfo) { - toSerialize["shipToInfo"] = o.ShipToInfo - } - if !IsNil(o.AdditionalAttributes) { - toSerialize["additionalAttributes"] = o.AdditionalAttributes - } - if !IsNil(o.VmfadditionalAttributes) { - toSerialize["vmfadditionalAttributes"] = o.VmfadditionalAttributes - } - if !IsNil(o.Lines) { - toSerialize["lines"] = o.Lines - } - return toSerialize, nil -} - -type NullableQuoteToOrderDetailsDTO struct { - value *QuoteToOrderDetailsDTO - isSet bool -} - -func (v NullableQuoteToOrderDetailsDTO) Get() *QuoteToOrderDetailsDTO { - return v.value -} - -func (v *NullableQuoteToOrderDetailsDTO) Set(val *QuoteToOrderDetailsDTO) { - v.value = val - v.isSet = true -} - -func (v NullableQuoteToOrderDetailsDTO) IsSet() bool { - return v.isSet -} - -func (v *NullableQuoteToOrderDetailsDTO) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuoteToOrderDetailsDTO(val *QuoteToOrderDetailsDTO) *NullableQuoteToOrderDetailsDTO { - return &NullableQuoteToOrderDetailsDTO{value: val, isSet: true} -} - -func (v NullableQuoteToOrderDetailsDTO) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuoteToOrderDetailsDTO) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_quote_to_order_details_dto_lines_inner.go b/model_quote_to_order_details_dto_lines_inner.go deleted file mode 100644 index 7b4aaa5..0000000 --- a/model_quote_to_order_details_dto_lines_inner.go +++ /dev/null @@ -1,238 +0,0 @@ -/* -XI Sdk Resellers - -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package xi_sdk_resellers - -import ( - "encoding/json" -) - -// checks if the QuoteToOrderDetailsDTOLinesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOLinesInner{} - -// QuoteToOrderDetailsDTOLinesInner struct for QuoteToOrderDetailsDTOLinesInner -type QuoteToOrderDetailsDTOLinesInner struct { - // The reseller's line item number for reference in their system. - CustomerLineNumber *string `json:"customerLineNumber,omitempty"` - // Unique IngramMicro part number. - IngramPartNumber *string `json:"ingramPartNumber,omitempty"` - // The quantity of the line item. - Quantity *string `json:"quantity,omitempty"` - // The object containing the list of fields required at a line level by the vendor. - VmfAdditionalAttributesLines []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner `json:"vmfAdditionalAttributesLines,omitempty"` -} - -// NewQuoteToOrderDetailsDTOLinesInner instantiates a new QuoteToOrderDetailsDTOLinesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOLinesInner() *QuoteToOrderDetailsDTOLinesInner { - this := QuoteToOrderDetailsDTOLinesInner{} - return &this -} - -// NewQuoteToOrderDetailsDTOLinesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOLinesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOLinesInnerWithDefaults() *QuoteToOrderDetailsDTOLinesInner { - this := QuoteToOrderDetailsDTOLinesInner{} - return &this -} - -// GetCustomerLineNumber returns the CustomerLineNumber field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInner) GetCustomerLineNumber() string { - if o == nil || IsNil(o.CustomerLineNumber) { - var ret string - return ret - } - return *o.CustomerLineNumber -} - -// GetCustomerLineNumberOk returns a tuple with the CustomerLineNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) GetCustomerLineNumberOk() (*string, bool) { - if o == nil || IsNil(o.CustomerLineNumber) { - return nil, false - } - return o.CustomerLineNumber, true -} - -// HasCustomerLineNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) HasCustomerLineNumber() bool { - if o != nil && !IsNil(o.CustomerLineNumber) { - return true - } - - return false -} - -// SetCustomerLineNumber gets a reference to the given string and assigns it to the CustomerLineNumber field. -func (o *QuoteToOrderDetailsDTOLinesInner) SetCustomerLineNumber(v string) { - o.CustomerLineNumber = &v -} - -// GetIngramPartNumber returns the IngramPartNumber field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInner) GetIngramPartNumber() string { - if o == nil || IsNil(o.IngramPartNumber) { - var ret string - return ret - } - return *o.IngramPartNumber -} - -// GetIngramPartNumberOk returns a tuple with the IngramPartNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) GetIngramPartNumberOk() (*string, bool) { - if o == nil || IsNil(o.IngramPartNumber) { - return nil, false - } - return o.IngramPartNumber, true -} - -// HasIngramPartNumber returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) HasIngramPartNumber() bool { - if o != nil && !IsNil(o.IngramPartNumber) { - return true - } - - return false -} - -// SetIngramPartNumber gets a reference to the given string and assigns it to the IngramPartNumber field. -func (o *QuoteToOrderDetailsDTOLinesInner) SetIngramPartNumber(v string) { - o.IngramPartNumber = &v -} - -// GetQuantity returns the Quantity field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInner) GetQuantity() string { - if o == nil || IsNil(o.Quantity) { - var ret string - return ret - } - return *o.Quantity -} - -// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) GetQuantityOk() (*string, bool) { - if o == nil || IsNil(o.Quantity) { - return nil, false - } - return o.Quantity, true -} - -// HasQuantity returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) HasQuantity() bool { - if o != nil && !IsNil(o.Quantity) { - return true - } - - return false -} - -// SetQuantity gets a reference to the given string and assigns it to the Quantity field. -func (o *QuoteToOrderDetailsDTOLinesInner) SetQuantity(v string) { - o.Quantity = &v -} - -// GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInner) GetVmfAdditionalAttributesLines() []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { - if o == nil || IsNil(o.VmfAdditionalAttributesLines) { - var ret []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner - return ret - } - return o.VmfAdditionalAttributesLines -} - -// GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) GetVmfAdditionalAttributesLinesOk() ([]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner, bool) { - if o == nil || IsNil(o.VmfAdditionalAttributesLines) { - return nil, false - } - return o.VmfAdditionalAttributesLines, true -} - -// HasVmfAdditionalAttributesLines returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInner) HasVmfAdditionalAttributesLines() bool { - if o != nil && !IsNil(o.VmfAdditionalAttributesLines) { - return true - } - - return false -} - -// SetVmfAdditionalAttributesLines gets a reference to the given []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner and assigns it to the VmfAdditionalAttributesLines field. -func (o *QuoteToOrderDetailsDTOLinesInner) SetVmfAdditionalAttributesLines(v []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) { - o.VmfAdditionalAttributesLines = v -} - -func (o QuoteToOrderDetailsDTOLinesInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o QuoteToOrderDetailsDTOLinesInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.CustomerLineNumber) { - toSerialize["customerLineNumber"] = o.CustomerLineNumber - } - if !IsNil(o.IngramPartNumber) { - toSerialize["ingramPartNumber"] = o.IngramPartNumber - } - if !IsNil(o.Quantity) { - toSerialize["quantity"] = o.Quantity - } - if !IsNil(o.VmfAdditionalAttributesLines) { - toSerialize["vmfAdditionalAttributesLines"] = o.VmfAdditionalAttributesLines - } - return toSerialize, nil -} - -type NullableQuoteToOrderDetailsDTOLinesInner struct { - value *QuoteToOrderDetailsDTOLinesInner - isSet bool -} - -func (v NullableQuoteToOrderDetailsDTOLinesInner) Get() *QuoteToOrderDetailsDTOLinesInner { - return v.value -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInner) Set(val *QuoteToOrderDetailsDTOLinesInner) { - v.value = val - v.isSet = true -} - -func (v NullableQuoteToOrderDetailsDTOLinesInner) IsSet() bool { - return v.isSet -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuoteToOrderDetailsDTOLinesInner(val *QuoteToOrderDetailsDTOLinesInner) *NullableQuoteToOrderDetailsDTOLinesInner { - return &NullableQuoteToOrderDetailsDTOLinesInner{value: val, isSet: true} -} - -func (v NullableQuoteToOrderDetailsDTOLinesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_quote_to_order_details_dto_lines_inner_vmf_additional_attributes_lines_inner.go b/model_quote_to_order_details_dto_lines_inner_vmf_additional_attributes_lines_inner.go deleted file mode 100644 index 9da282f..0000000 --- a/model_quote_to_order_details_dto_lines_inner_vmf_additional_attributes_lines_inner.go +++ /dev/null @@ -1,201 +0,0 @@ -/* -XI Sdk Resellers - -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package xi_sdk_resellers - -import ( - "encoding/json" -) - -// checks if the QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner{} - -// QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner struct for QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner -type QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner struct { - // The name of the line level field. - AttributeName *string `json:"attributeName,omitempty"` - // The value of the line level field. - AttributeValue *string `json:"attributeValue,omitempty"` - // The description of the line level field. - AttributeDescription *string `json:"attributeDescription,omitempty"` -} - -// NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner instantiates a new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner() *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { - this := QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner{} - return &this -} - -// NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults() *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { - this := QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner{} - return &this -} - -// GetAttributeName returns the AttributeName field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string { - if o == nil || IsNil(o.AttributeName) { - var ret string - return ret - } - return *o.AttributeName -} - -// GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool) { - if o == nil || IsNil(o.AttributeName) { - return nil, false - } - return o.AttributeName, true -} - -// HasAttributeName returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool { - if o != nil && !IsNil(o.AttributeName) { - return true - } - - return false -} - -// SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string) { - o.AttributeName = &v -} - -// GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string { - if o == nil || IsNil(o.AttributeValue) { - var ret string - return ret - } - return *o.AttributeValue -} - -// GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool) { - if o == nil || IsNil(o.AttributeValue) { - return nil, false - } - return o.AttributeValue, true -} - -// HasAttributeValue returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool { - if o != nil && !IsNil(o.AttributeValue) { - return true - } - - return false -} - -// SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string) { - o.AttributeValue = &v -} - -// GetAttributeDescription returns the AttributeDescription field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescription() string { - if o == nil || IsNil(o.AttributeDescription) { - var ret string - return ret - } - return *o.AttributeDescription -} - -// GetAttributeDescriptionOk returns a tuple with the AttributeDescription field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescriptionOk() (*string, bool) { - if o == nil || IsNil(o.AttributeDescription) { - return nil, false - } - return o.AttributeDescription, true -} - -// HasAttributeDescription returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeDescription() bool { - if o != nil && !IsNil(o.AttributeDescription) { - return true - } - - return false -} - -// SetAttributeDescription gets a reference to the given string and assigns it to the AttributeDescription field. -func (o *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeDescription(v string) { - o.AttributeDescription = &v -} - -func (o QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.AttributeName) { - toSerialize["attributeName"] = o.AttributeName - } - if !IsNil(o.AttributeValue) { - toSerialize["attributeValue"] = o.AttributeValue - } - if !IsNil(o.AttributeDescription) { - toSerialize["attributeDescription"] = o.AttributeDescription - } - return toSerialize, nil -} - -type NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner struct { - value *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner - isSet bool -} - -func (v NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) Get() *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { - return v.value -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) Set(val *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) { - v.value = val - v.isSet = true -} - -func (v NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) IsSet() bool { - return v.isSet -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner(val *QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) *NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { - return &NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner{value: val, isSet: true} -} - -func (v NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_quote_to_order_details_dto_vmfadditional_attributes_inner.go b/model_quote_to_order_details_dto_vmfadditional_attributes_inner.go deleted file mode 100644 index 2c19d6f..0000000 --- a/model_quote_to_order_details_dto_vmfadditional_attributes_inner.go +++ /dev/null @@ -1,201 +0,0 @@ -/* -XI Sdk Resellers - -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package xi_sdk_resellers - -import ( - "encoding/json" -) - -// checks if the QuoteToOrderDetailsDTOVmfadditionalAttributesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &QuoteToOrderDetailsDTOVmfadditionalAttributesInner{} - -// QuoteToOrderDetailsDTOVmfadditionalAttributesInner struct for QuoteToOrderDetailsDTOVmfadditionalAttributesInner -type QuoteToOrderDetailsDTOVmfadditionalAttributesInner struct { - // The name of the header level field. - AttributeName *string `json:"attributeName,omitempty"` - // The value of the header level field. - AttributeValue *string `json:"attributeValue,omitempty"` - // The description of the header level field. - AttributeDescription *string `json:"attributeDescription,omitempty"` -} - -// NewQuoteToOrderDetailsDTOVmfadditionalAttributesInner instantiates a new QuoteToOrderDetailsDTOVmfadditionalAttributesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewQuoteToOrderDetailsDTOVmfadditionalAttributesInner() *QuoteToOrderDetailsDTOVmfadditionalAttributesInner { - this := QuoteToOrderDetailsDTOVmfadditionalAttributesInner{} - return &this -} - -// NewQuoteToOrderDetailsDTOVmfadditionalAttributesInnerWithDefaults instantiates a new QuoteToOrderDetailsDTOVmfadditionalAttributesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuoteToOrderDetailsDTOVmfadditionalAttributesInnerWithDefaults() *QuoteToOrderDetailsDTOVmfadditionalAttributesInner { - this := QuoteToOrderDetailsDTOVmfadditionalAttributesInner{} - return &this -} - -// GetAttributeName returns the AttributeName field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeName() string { - if o == nil || IsNil(o.AttributeName) { - var ret string - return ret - } - return *o.AttributeName -} - -// GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeNameOk() (*string, bool) { - if o == nil || IsNil(o.AttributeName) { - return nil, false - } - return o.AttributeName, true -} - -// HasAttributeName returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeName() bool { - if o != nil && !IsNil(o.AttributeName) { - return true - } - - return false -} - -// SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeName(v string) { - o.AttributeName = &v -} - -// GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeValue() string { - if o == nil || IsNil(o.AttributeValue) { - var ret string - return ret - } - return *o.AttributeValue -} - -// GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeValueOk() (*string, bool) { - if o == nil || IsNil(o.AttributeValue) { - return nil, false - } - return o.AttributeValue, true -} - -// HasAttributeValue returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeValue() bool { - if o != nil && !IsNil(o.AttributeValue) { - return true - } - - return false -} - -// SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeValue(v string) { - o.AttributeValue = &v -} - -// GetAttributeDescription returns the AttributeDescription field value if set, zero value otherwise. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeDescription() string { - if o == nil || IsNil(o.AttributeDescription) { - var ret string - return ret - } - return *o.AttributeDescription -} - -// GetAttributeDescriptionOk returns a tuple with the AttributeDescription field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) GetAttributeDescriptionOk() (*string, bool) { - if o == nil || IsNil(o.AttributeDescription) { - return nil, false - } - return o.AttributeDescription, true -} - -// HasAttributeDescription returns a boolean if a field has been set. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) HasAttributeDescription() bool { - if o != nil && !IsNil(o.AttributeDescription) { - return true - } - - return false -} - -// SetAttributeDescription gets a reference to the given string and assigns it to the AttributeDescription field. -func (o *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) SetAttributeDescription(v string) { - o.AttributeDescription = &v -} - -func (o QuoteToOrderDetailsDTOVmfadditionalAttributesInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o QuoteToOrderDetailsDTOVmfadditionalAttributesInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.AttributeName) { - toSerialize["attributeName"] = o.AttributeName - } - if !IsNil(o.AttributeValue) { - toSerialize["attributeValue"] = o.AttributeValue - } - if !IsNil(o.AttributeDescription) { - toSerialize["attributeDescription"] = o.AttributeDescription - } - return toSerialize, nil -} - -type NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner struct { - value *QuoteToOrderDetailsDTOVmfadditionalAttributesInner - isSet bool -} - -func (v NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) Get() *QuoteToOrderDetailsDTOVmfadditionalAttributesInner { - return v.value -} - -func (v *NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) Set(val *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) { - v.value = val - v.isSet = true -} - -func (v NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) IsSet() bool { - return v.isSet -} - -func (v *NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner(val *QuoteToOrderDetailsDTOVmfadditionalAttributesInner) *NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner { - return &NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner{value: val, isSet: true} -} - -func (v NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuoteToOrderDetailsDTOVmfadditionalAttributesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_renewals_details_response.go b/model_renewals_details_response.go index 46e084d..b92a019 100644 --- a/model_renewals_details_response.go +++ b/model_renewals_details_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_details_response_additional_attributes_inner.go b/model_renewals_details_response_additional_attributes_inner.go index f5781f3..c001647 100644 --- a/model_renewals_details_response_additional_attributes_inner.go +++ b/model_renewals_details_response_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_details_response_end_user_info.go b/model_renewals_details_response_end_user_info.go index edabf78..b7bba53 100644 --- a/model_renewals_details_response_end_user_info.go +++ b/model_renewals_details_response_end_user_info.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_details_response_products_inner.go b/model_renewals_details_response_products_inner.go index 60ab39a..7435505 100644 --- a/model_renewals_details_response_products_inner.go +++ b/model_renewals_details_response_products_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_details_response_reference_number.go b/model_renewals_details_response_reference_number.go index c913fdf..dd5f663 100644 --- a/model_renewals_details_response_reference_number.go +++ b/model_renewals_details_response_reference_number.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request.go b/model_renewals_search_request.go index f78d195..bbc0779 100644 --- a/model_renewals_search_request.go +++ b/model_renewals_search_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_date_type.go b/model_renewals_search_request_date_type.go index b9b423f..f21c614 100644 --- a/model_renewals_search_request_date_type.go +++ b/model_renewals_search_request_date_type.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_date_type_end_date.go b/model_renewals_search_request_date_type_end_date.go index e636efc..9a0a377 100644 --- a/model_renewals_search_request_date_type_end_date.go +++ b/model_renewals_search_request_date_type_end_date.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_date_type_expiration_date.go b/model_renewals_search_request_date_type_expiration_date.go index 13bea1a..6a64796 100644 --- a/model_renewals_search_request_date_type_expiration_date.go +++ b/model_renewals_search_request_date_type_expiration_date.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_date_type_invoice_date.go b/model_renewals_search_request_date_type_invoice_date.go index cea34dc..ccdfb4a 100644 --- a/model_renewals_search_request_date_type_invoice_date.go +++ b/model_renewals_search_request_date_type_invoice_date.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_date_type_start_date.go b/model_renewals_search_request_date_type_start_date.go index cc017d1..8b69001 100644 --- a/model_renewals_search_request_date_type_start_date.go +++ b/model_renewals_search_request_date_type_start_date.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_status.go b/model_renewals_search_request_status.go index ceb2e9c..5983173 100644 --- a/model_renewals_search_request_status.go +++ b/model_renewals_search_request_status.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_request_status_opporutiny_status.go b/model_renewals_search_request_status_opporutiny_status.go index 2031011..0784436 100644 --- a/model_renewals_search_request_status_opporutiny_status.go +++ b/model_renewals_search_request_status_opporutiny_status.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_response.go b/model_renewals_search_response.go index b321135..59850fd 100644 --- a/model_renewals_search_response.go +++ b/model_renewals_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_response_renewals_inner.go b/model_renewals_search_response_renewals_inner.go index ddb2628..666a7d8 100644 --- a/model_renewals_search_response_renewals_inner.go +++ b/model_renewals_search_response_renewals_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_renewals_search_response_renewals_inner_links_inner.go b/model_renewals_search_response_renewals_inner_links_inner.go index 215ae47..49186db 100644 --- a/model_renewals_search_response_renewals_inner_links_inner.go +++ b/model_renewals_search_response_renewals_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_create_request.go b/model_returns_create_request.go index 61c5db9..c0febc0 100644 --- a/model_returns_create_request.go +++ b/model_returns_create_request.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_create_request_list_inner.go b/model_returns_create_request_list_inner.go index 714cc7c..002bfe6 100644 --- a/model_returns_create_request_list_inner.go +++ b/model_returns_create_request_list_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_create_request_list_inner_ship_from_info_inner.go b/model_returns_create_request_list_inner_ship_from_info_inner.go index 671ab82..57d4ea5 100644 --- a/model_returns_create_request_list_inner_ship_from_info_inner.go +++ b/model_returns_create_request_list_inner_ship_from_info_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_create_response.go b/model_returns_create_response.go index 657a9a2..ed5c1df 100644 --- a/model_returns_create_response.go +++ b/model_returns_create_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_create_response_returns_claims_inner.go b/model_returns_create_response_returns_claims_inner.go index fcdb836..272e0f7 100644 --- a/model_returns_create_response_returns_claims_inner.go +++ b/model_returns_create_response_returns_claims_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_details_response.go b/model_returns_details_response.go index 2e19401..c7310db 100644 --- a/model_returns_details_response.go +++ b/model_returns_details_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_details_response_products_inner.go b/model_returns_details_response_products_inner.go index 4fdc3fc..dd0358f 100644 --- a/model_returns_details_response_products_inner.go +++ b/model_returns_details_response_products_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_search_response.go b/model_returns_search_response.go index f5f15ff..f92962f 100644 --- a/model_returns_search_response.go +++ b/model_returns_search_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_search_response_returns_claims_inner.go b/model_returns_search_response_returns_claims_inner.go index 488147b..4a3a0f1 100644 --- a/model_returns_search_response_returns_claims_inner.go +++ b/model_returns_search_response_returns_claims_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_returns_search_response_returns_claims_inner_links_inner.go b/model_returns_search_response_returns_claims_inner_links_inner.go index 7b632c3..51d2a1d 100644 --- a/model_returns_search_response_returns_claims_inner_links_inner.go +++ b/model_returns_search_response_returns_claims_inner_links_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_validate_quote_response.go b/model_validate_quote_response.go index 306a76c..e1b4bff 100644 --- a/model_validate_quote_response.go +++ b/model_validate_quote_response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/model_validate_quote_response_lines_inner.go b/model_validate_quote_response_lines_inner.go index faac0b2..fea45aa 100644 --- a/model_validate_quote_response_lines_inner.go +++ b/model_validate_quote_response_lines_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ @@ -24,9 +24,9 @@ type ValidateQuoteResponseLinesInner struct { // Unique Ingram Micro part number. IngramPartNumber *string `json:"ingramPartNumber,omitempty"` // The quantity of the line item. - Quantity *string `json:"quantity,omitempty"` + Quantity *int32 `json:"quantity,omitempty"` // The object containing the list of fields required at a line level by the vendor. - VmfAdditionalAttributesLines []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner `json:"vmfAdditionalAttributesLines,omitempty"` + VmfAdditionalAttributesLines []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner `json:"vmfAdditionalAttributesLines,omitempty"` } // NewValidateQuoteResponseLinesInner instantiates a new ValidateQuoteResponseLinesInner object @@ -111,9 +111,9 @@ func (o *ValidateQuoteResponseLinesInner) SetIngramPartNumber(v string) { } // GetQuantity returns the Quantity field value if set, zero value otherwise. -func (o *ValidateQuoteResponseLinesInner) GetQuantity() string { +func (o *ValidateQuoteResponseLinesInner) GetQuantity() int32 { if o == nil || IsNil(o.Quantity) { - var ret string + var ret int32 return ret } return *o.Quantity @@ -121,7 +121,7 @@ func (o *ValidateQuoteResponseLinesInner) GetQuantity() string { // GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ValidateQuoteResponseLinesInner) GetQuantityOk() (*string, bool) { +func (o *ValidateQuoteResponseLinesInner) GetQuantityOk() (*int32, bool) { if o == nil || IsNil(o.Quantity) { return nil, false } @@ -137,15 +137,15 @@ func (o *ValidateQuoteResponseLinesInner) HasQuantity() bool { return false } -// SetQuantity gets a reference to the given string and assigns it to the Quantity field. -func (o *ValidateQuoteResponseLinesInner) SetQuantity(v string) { +// SetQuantity gets a reference to the given int32 and assigns it to the Quantity field. +func (o *ValidateQuoteResponseLinesInner) SetQuantity(v int32) { o.Quantity = &v } // GetVmfAdditionalAttributesLines returns the VmfAdditionalAttributesLines field value if set, zero value otherwise. -func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLines() []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner { +func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLines() []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { if o == nil || IsNil(o.VmfAdditionalAttributesLines) { - var ret []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner + var ret []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner return ret } return o.VmfAdditionalAttributesLines @@ -153,7 +153,7 @@ func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLines() []Qu // GetVmfAdditionalAttributesLinesOk returns a tuple with the VmfAdditionalAttributesLines field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLinesOk() ([]QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner, bool) { +func (o *ValidateQuoteResponseLinesInner) GetVmfAdditionalAttributesLinesOk() ([]ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner, bool) { if o == nil || IsNil(o.VmfAdditionalAttributesLines) { return nil, false } @@ -169,8 +169,8 @@ func (o *ValidateQuoteResponseLinesInner) HasVmfAdditionalAttributesLines() bool return false } -// SetVmfAdditionalAttributesLines gets a reference to the given []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner and assigns it to the VmfAdditionalAttributesLines field. -func (o *ValidateQuoteResponseLinesInner) SetVmfAdditionalAttributesLines(v []QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner) { +// SetVmfAdditionalAttributesLines gets a reference to the given []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner and assigns it to the VmfAdditionalAttributesLines field. +func (o *ValidateQuoteResponseLinesInner) SetVmfAdditionalAttributesLines(v []ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) { o.VmfAdditionalAttributesLines = v } diff --git a/model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.go b/model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.go new file mode 100644 index 0000000..8ddcb3f --- /dev/null +++ b/model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.go @@ -0,0 +1,201 @@ +/* +XI Sdk Resellers + +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package xi_sdk_resellers + +import ( + "encoding/json" +) + +// checks if the ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner{} + +// ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner struct for ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner +type ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner struct { + // The name of the line level field. + AttributeName *string `json:"attributeName,omitempty"` + // The value of the line level field. + AttributeValue *string `json:"attributeValue,omitempty"` + // The description of the line level field. + AttributeDescription *string `json:"attributeDescription,omitempty"` +} + +// NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner instantiates a new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner() *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { + this := ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner{} + return &this +} + +// NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults instantiates a new ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInnerWithDefaults() *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { + this := ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner{} + return &this +} + +// GetAttributeName returns the AttributeName field value if set, zero value otherwise. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeName() string { + if o == nil || IsNil(o.AttributeName) { + var ret string + return ret + } + return *o.AttributeName +} + +// GetAttributeNameOk returns a tuple with the AttributeName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeNameOk() (*string, bool) { + if o == nil || IsNil(o.AttributeName) { + return nil, false + } + return o.AttributeName, true +} + +// HasAttributeName returns a boolean if a field has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeName() bool { + if o != nil && !IsNil(o.AttributeName) { + return true + } + + return false +} + +// SetAttributeName gets a reference to the given string and assigns it to the AttributeName field. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeName(v string) { + o.AttributeName = &v +} + +// GetAttributeValue returns the AttributeValue field value if set, zero value otherwise. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValue() string { + if o == nil || IsNil(o.AttributeValue) { + var ret string + return ret + } + return *o.AttributeValue +} + +// GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeValueOk() (*string, bool) { + if o == nil || IsNil(o.AttributeValue) { + return nil, false + } + return o.AttributeValue, true +} + +// HasAttributeValue returns a boolean if a field has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeValue() bool { + if o != nil && !IsNil(o.AttributeValue) { + return true + } + + return false +} + +// SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeValue(v string) { + o.AttributeValue = &v +} + +// GetAttributeDescription returns the AttributeDescription field value if set, zero value otherwise. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescription() string { + if o == nil || IsNil(o.AttributeDescription) { + var ret string + return ret + } + return *o.AttributeDescription +} + +// GetAttributeDescriptionOk returns a tuple with the AttributeDescription field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) GetAttributeDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.AttributeDescription) { + return nil, false + } + return o.AttributeDescription, true +} + +// HasAttributeDescription returns a boolean if a field has been set. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) HasAttributeDescription() bool { + if o != nil && !IsNil(o.AttributeDescription) { + return true + } + + return false +} + +// SetAttributeDescription gets a reference to the given string and assigns it to the AttributeDescription field. +func (o *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) SetAttributeDescription(v string) { + o.AttributeDescription = &v +} + +func (o ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AttributeName) { + toSerialize["attributeName"] = o.AttributeName + } + if !IsNil(o.AttributeValue) { + toSerialize["attributeValue"] = o.AttributeValue + } + if !IsNil(o.AttributeDescription) { + toSerialize["attributeDescription"] = o.AttributeDescription + } + return toSerialize, nil +} + +type NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner struct { + value *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner + isSet bool +} + +func (v NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) Get() *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { + return v.value +} + +func (v *NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) Set(val *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) { + v.value = val + v.isSet = true +} + +func (v NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner(val *ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) *NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner { + return &NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner{value: val, isSet: true} +} + +func (v NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_validate_quote_response_vmf_additional_attributes_inner.go b/model_validate_quote_response_vmf_additional_attributes_inner.go index e14ac06..5cb2183 100644 --- a/model_validate_quote_response_vmf_additional_attributes_inner.go +++ b/model_validate_quote_response_vmf_additional_attributes_inner.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/response.go b/response.go index 3e2a8d1..537d1d3 100644 --- a/response.go +++ b/response.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */ diff --git a/test/api_quote_to_order_test.go b/test/api_async_order_create_test.go similarity index 64% rename from test/api_quote_to_order_test.go rename to test/api_async_order_create_test.go index eacc6d1..76b1f31 100644 --- a/test/api_quote_to_order_test.go +++ b/test/api_async_order_create_test.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -Testing QuoteToOrderAPIService +Testing AsyncOrderCreateAPIService */ @@ -17,16 +17,16 @@ import ( openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_xi_sdk_resellers_QuoteToOrderAPIService(t *testing.T) { +func Test_xi_sdk_resellers_AsyncOrderCreateAPIService(t *testing.T) { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test QuoteToOrderAPIService PostQuoteToOrderV6", func(t *testing.T) { + t.Run("Test AsyncOrderCreateAPIService PostAsyncOrderCreateV7", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.QuoteToOrderAPI.PostQuoteToOrderV6(context.Background()).Execute() + resp, httpRes, err := apiClient.AsyncOrderCreateAPI.PostAsyncOrderCreateV7(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/utils.go b/utils.go index 2b61f1d..4d6904f 100644 --- a/utils.go +++ b/utils.go @@ -1,7 +1,7 @@ /* XI Sdk Resellers -For Ingram Micro Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers. +For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers. API version: 1.0.0 */