From 3ad8639b4210a729d139cd8d8985e6b1e2f4ffdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mal=C4=8D=C3=ADk?= Date: Thu, 23 Oct 2025 11:31:42 +0200 Subject: [PATCH 1/2] SDK mass update 2025-10-22 --- .github/workflows/sdk-tests.yaml | 4 +- README.md | 2 +- init.php | 1256 ++++++++------ src/Async/AsyncEndpoint.php | 0 src/Async/JobFailedException.php | 0 src/Async/JobIsNotFinishedException.php | 0 src/Async/JobNotFoundException.php | 0 src/Async/JobResultProcessor.php | 2 +- src/Async/JobStatuses.php | 0 src/Async/SnapshotEndpoint.php | 0 src/Async/SnapshotResultData.php | 2 +- src/Authorization/AuthorizationFacade.php | 0 .../MaximumTokenReachedException.php | 0 src/Authorization/OAuth.php | 0 .../ObtainAccessTokenFailedException.php | 0 src/Authorization/Token/BearerToken.php | 0 src/Authorization/Token/FileTokenStorage.php | 0 src/Authorization/Token/PrivateApiToken.php | 0 src/Authorization/Token/PublicApiToken.php | 0 src/Authorization/Token/Token.php | 0 src/Authorization/Token/TokenStorage.php | 0 .../TokenHasExpiredException.php | 0 src/Authorization/TokenNotFoundException.php | 0 src/Authorization/UnauthorizedException.php | 0 src/Component/Entity/ActionPrice.php | 14 +- src/Component/Entity/Address.php | 0 src/Component/Entity/Article.php | 20 +- src/Component/Entity/Article/SectionIds.php | 0 src/Component/Entity/Article/Urls.php | 0 src/Component/Entity/ArticleList.php | 8 +- src/Component/Entity/ArticleSection.php | 6 +- src/Component/Entity/ArticleSectionList.php | 0 src/Component/Entity/ArticleSnapshot.php | 7 + src/Component/Entity/ArticleUrls.php | 0 src/Component/Entity/AvailabilityShort.php | 0 src/Component/Entity/BillingAddress.php | 0 .../Entity/BillingAddressCustomer.php | 0 src/Component/Entity/BillingMethod.php | 0 src/Component/Entity/Brand.php | 0 src/Component/Entity/BrandBatchCreate.php | 7 + .../Entity/BrandCreate.php} | 6 +- src/Component/Entity/BrandNamed.php | 0 src/Component/Entity/CartPrice.php | 20 +- src/Component/Entity/Category.php | 14 +- .../Entity/Category/CatalogueMapping.php | 0 .../Entity/Category/CatalogueMapping/Item.php | 0 src/Component/Entity/CategoryBatchUpdate.php | 19 + .../Entity/CategoryUpdate.php} | 32 +- src/Component/Entity/ConsumptionTax.php | 14 +- src/Component/Entity/CreditNote.php | 64 +- src/Component/Entity/CreditNote/Items.php | 0 src/Component/Entity/CreditNoteSnapshot.php | 7 + src/Component/Entity/Customer.php | 22 +- src/Component/Entity/Customer/Accounts.php | 0 .../Entity/Customer/Accounts/Item.php | 0 .../Entity/Customer/CustomerGroup.php | 0 .../Entity/Customer/DeliveryAddress.php | 0 src/Component/Entity/Customer/Remarks.php | 0 .../Entity/Customer/Remarks/Item.php | 0 src/Component/Entity/CustomerSnapshot.php | 7 + .../Entity/DeliveryAddressCustomer.php | 0 src/Component/Entity/DeliveryNote.php | 20 +- src/Component/Entity/DeliveryNote/Items.php | 0 src/Component/Entity/DeliveryNoteItem.php | 8 +- src/Component/Entity/DeliveryNoteSnapshot.php | 7 + src/Component/Entity/DiscountCoupon.php | 44 +- .../Entity/DiscountCouponSnapshot.php | 7 + src/Component/Entity/DiscussionPost.php | 8 +- .../Entity/DocumentConsumptionTax.php | 8 +- src/Component/Entity/DocumentCustomer.php | 0 .../Entity/DocumentItemsWithPrice.php | 28 +- .../DocumentItemsWithPrice/DisplayPrices.php | 0 src/Component/Entity/Entity.php | 0 src/Component/Entity/EntityCollection.php | 2 +- .../Entity/EntityCollectionInterface.php | 0 src/Component/Entity/Errors.php | 0 src/Component/Entity/Errors/Item.php | 0 src/Component/Entity/Eshop.php | 0 src/Component/Entity/GoogleMappingType.php | 0 src/Component/Entity/Invoice.php | 62 +- src/Component/Entity/Invoice/Items.php | 0 src/Component/Entity/InvoiceItem.php | 28 +- .../Entity/InvoiceItem/DisplayPrices.php | 0 src/Component/Entity/InvoiceSnapshot.php | 7 + src/Component/Entity/ItemPrice.php | 20 +- .../ItemSpecificSurchargeParameters.php | 0 .../ItemSpecificSurchargeParameters/Item.php | 8 +- ...pecificSurchargeParametersWithoutPrice.php | 0 .../Item.php | 0 .../Entity/ItemSurchargeParameters.php | 0 .../Entity/ItemSurchargeParameters/Item.php | 0 .../Item/ParameterName.php | 12 + .../Item/ParameterValue.php | 8 +- .../ItemSurchargeParametersWithoutPrice.php | 0 .../Item.php | 0 .../Item/ParameterName.php | 12 + .../Item/ParameterValue.php | 0 src/Component/Entity/MeasureUnit.php | 14 +- src/Component/Entity/NotificationData.php | 8 +- src/Component/Entity/Order.php | 45 +- src/Component/Entity/Order/Completion.php | 31 + .../Entity/Order/Completion/Item.php | 132 ++ src/Component/Entity/Order/Items.php | 0 src/Component/Entity/Order/Notes.php | 0 .../Entity/Order/Notes/AdditionalFields.php | 0 .../Order/Notes/AdditionalFields/Item.php | 0 src/Component/Entity/Order/PaymentMethods.php | 0 .../Entity/Order/PaymentMethods/Item.php | 0 .../Entity/Order/ShippingDetails.php | 0 src/Component/Entity/Order/Shippings.php | 0 src/Component/Entity/Order/Shippings/Item.php | 0 .../Entity/Order/Shippings/Item/Shipping.php | 8 +- src/Component/Entity/Order/Source.php | 0 src/Component/Entity/Order/Status.php | 0 src/Component/Entity/OrderBatchCreate.php | 33 + .../Entity/OrderBatchCreate/Settings.php | 93 ++ src/Component/Entity/OrderGift.php | 8 +- .../Entity/OrderHistory.php} | 15 +- .../Entity/OrderHistory}/User.php | 2 +- src/Component/Entity/OrderHistorySnapshot.php | 19 + src/Component/Entity/OrderItem.php | 44 +- .../Entity/OrderItem/DisplayPrices.php | 0 src/Component/Entity/OrderItem/MainImage.php | 8 +- src/Component/Entity/OrderItem/Status.php | 0 .../OrderItem/SurchargeParametersTexts.php | 0 .../Entity/OrderPreAuthorization.php | 33 + src/Component/Entity/OrderSnapshot.php | 7 + src/Component/Entity/Page.php | 30 +- src/Component/Entity/PageList.php | 12 + src/Component/Entity/Paginator.php | 0 .../Entity/ParameterValueCombinations.php | 0 .../ParameterValueCombinationsCodes.php | 31 + src/Component/Entity/PaymentMethod.php | 8 +- src/Component/Entity/Price.php | 44 +- src/Component/Entity/PriceSales.php | 0 src/Component/Entity/Pricelist.php | 0 src/Component/Entity/PricelistDetail.php | 120 +- src/Component/Entity/PricelistDetail/Item.php | 98 -- src/Component/Entity/PricelistSnapshot.php | 7 + src/Component/Entity/Product.php | 46 +- .../Entity/Product/AlternativeProducts.php | 0 src/Component/Entity/Product/Categories.php | 0 .../Entity/Product/Categories/Item.php | 14 +- .../Entity/Product/DefaultCategory.php | 8 +- .../Entity/Product/DescriptiveParameters.php | 0 .../Product/DescriptiveParameters/Item.php | 0 .../Entity/Product/FilteringParameters.php | 0 .../Product/FilteringParameters/Item.php | 0 .../FilteringParameters/Item/Values.php | 0 .../FilteringParameters/Item/Values/Item.php | 0 src/Component/Entity/Product/Flags.php | 0 src/Component/Entity/Product/Flags/Item.php | 14 +- src/Component/Entity/Product/Images.php | 0 src/Component/Entity/Product/Images/Item.php | 8 +- src/Component/Entity/Product/RelatedFiles.php | 0 .../Entity/Product/RelatedFiles/Item.php | 12 + .../Entity/Product/RelatedProducts.php | 0 .../Entity/Product/RelatedVideos.php | 0 .../Entity/Product/RelatedVideos/Item.php | 0 src/Component/Entity/Product/SetItems.php | 0 .../Entity/Product/SetItems/Item.php | 0 .../Entity/Product/SurchargeParameters.php | 0 src/Component/Entity/Product/Variants.php | 0 .../Entity/Product/Variants/Item.php | 60 +- .../Product/Variants/Item/MeasureUnit.php | 22 +- .../Product/Variants/Item/OssVatLevels.php | 31 + .../Variants/Item/OssVatLevels/Item.php | 57 + .../Product/Variants/Item/Parameters.php | 0 .../Product/Variants/Item/Parameters/Item.php | 0 .../Variants/Item/PerPricelistPrices.php | 0 .../Variants/Item/PerPricelistPrices/Item.php | 13 + .../Product/Variants/Item/PerStockAmounts.php | 0 .../Variants/Item/PerStockAmounts/Item.php | 22 +- .../Entity/Product/Variants/Item/ZboziCZ.php | 0 src/Component/Entity/Product/Warranty.php | 0 src/Component/Entity/ProductBatchUpdate.php | 19 + .../Entity/ProductConsumptionTax.php | 0 .../Entity/ProductFilteringParameterValue.php | 0 .../ProductFilteringParameterValues.php | 0 .../ProductFilteringParameterValues/Item.php | 0 src/Component/Entity/ProductFlags.php | 0 src/Component/Entity/ProductFlags/Item.php | 0 src/Component/Entity/ProductGifts.php | 0 src/Component/Entity/ProductGifts/Item.php | 0 .../Entity/ProductOrderableAmount.php | 14 +- .../Entity/ProductPricelistSnapshot.php | 33 + src/Component/Entity/ProductPrices.php | 21 + .../Entity/ProductPrices/PurchasePrice.php | 47 + .../ProductRequestSurchargeParameter.php | 0 .../Values.php | 0 .../ProductRequestSurchargeParameterValue.php | 8 +- src/Component/Entity/ProductSet.php | 0 src/Component/Entity/ProductSnapshot.php | 7 + .../Entity/ProductSurchargeParameter.php | 12 + .../ProductSurchargeParameter/Values.php | 0 .../Entity/ProductSurchargeParameterValue.php | 8 +- .../Entity/ProductUpdate.php} | 54 +- .../Entity/ProductUpdate}/CategoryGuids.php | 2 +- .../ProductUpdate}/DescriptiveParameters.php | 6 +- .../DescriptiveParameters/Item.php | 2 +- .../ProductUpdate}/FilteringParameters.php | 6 +- .../FilteringParameters/Item.php | 4 +- .../FilteringParameters/Item/Values.php | 2 +- .../Entity/ProductUpdate}/Flags.php | 6 +- .../Entity/ProductUpdate}/Flags/Item.php | 16 +- .../Entity/ProductUpdate}/RelatedVideos.php | 6 +- .../ProductUpdate}/RelatedVideos/Item.php | 2 +- .../ProductUpdate}/SurchargeParameters.php | 2 +- .../Entity/ProductUpdate}/Variants.php | 6 +- .../Entity/ProductUpdate}/Variants/Item.php | 34 +- .../Variants/Item/OssVatLevels.php | 31 + .../Variants/Item/OssVatLevels/Item.php | 33 + .../Variants/Item/Parameters.php | 6 +- .../Variants/Item/Parameters/Item.php | 2 +- .../Variants/Item/StocksLocations.php | 6 +- .../Variants/Item/StocksLocations/Item.php | 2 +- .../Entity/ProductVariantParameterValue.php | 0 .../Entity/ProductVariantParameterValues.php | 0 .../ProductVariantParameterValues/Item.php | 0 src/Component/Entity/ProformaInvoice.php | 46 +- .../Entity/ProformaInvoice/Items.php | 0 src/Component/Entity/ProformaInvoiceCodes.php | 28 + .../Entity/ProformaInvoiceSnapshot.php | 7 + src/Component/Entity/ProofPaymentDetail.php | 61 +- .../Entity/ProofPaymentDetail/Source.php | 0 src/Component/Entity/ProofPaymentSnapshot.php | 7 + .../Entity/ProofPaymentVatBreakdown.php | 0 .../Entity/ProofPaymentVatBreakdown/Items.php | 0 .../ProofPaymentVatBreakdown/Items/Item.php | 20 +- .../ProofPaymentVatBreakdown/Summary.php | 20 +- .../Entity/ProofPaymentsForInvoice.php | 0 .../Entity/ProofPaymentsForInvoice/Item.php | 0 src/Component/Entity/ProofPaymentsList.php | 29 +- src/Component/Entity/QuantityDiscount.php | 20 +- .../QuantityDiscount/CustomerGroups.php | 0 .../QuantityDiscount/CustomerGroups/Item.php | 0 .../QuantityDiscountSettingsResponse.php | 0 .../QuantityDiscountSettingsResponse/Item.php | 0 .../Item/DiscountValue.php | 7 +- .../Entity/QuantityDiscountSnapshot.php | 7 + .../QuantityDiscountTargetingResponse.php | 0 .../BrandCodes.php | 0 .../CategoryGuids.php | 0 .../ProductGuids.php | 0 src/Component/Entity/RecyclingFee.php | 14 +- src/Component/Entity/RecyclingFeeCategory.php | 0 src/Component/Entity/RelatedProduct.php | 12 + src/Component/Entity/ShipmentAddress.php | 24 + .../Entity/ShipmentCarrierCountry.php | 8 +- src/Component/Entity/ShipmentCoDPrice.php | 8 +- src/Component/Entity/ShipmentCustomer.php | 0 src/Component/Entity/ShipmentHistory.php | 14 +- src/Component/Entity/ShipmentPackage.php | 0 .../Entity/ShipmentPackageWithHistory.php | 0 .../ShipmentPackageWithHistory/History.php | 0 src/Component/Entity/ShipmentPrice.php | 8 +- src/Component/Entity/Shipping.php | 0 src/Component/Entity/Stock.php | 24 + src/Component/Entity/StockList.php | 67 + src/Component/Entity/Supplier.php | 0 .../Entity/SurchargeParameterValue.php | 8 +- src/Component/Entity/TypeCurrency.php | 117 ++ src/Component/Entity/TypeLanguage.php | 103 ++ src/Component/Entity/VariantPrice.php | 26 +- src/Component/Entity/Webhook.php | 14 +- src/Component/Entity/WebhookNotification.php | 20 +- src/Component/Entity/XyDiscount.php | 26 +- .../Entity/XyDiscount/CustomerGroups.php | 0 .../Entity/XyDiscount/CustomerGroups/Item.php | 0 .../Entity/XyDiscountTargetingPostRequest.php | 0 .../BrandCodes.php | 0 .../CategoryGuids.php | 0 .../ProductGuids.php | 0 .../Entity/XyDiscountTargetingResponse.php | 0 .../BrandCodes.php | 0 .../CategoryGuids.php | 0 .../ProductGuids.php | 0 .../ValueObject/ConsumptionTaxId.php | 0 src/Component/ValueObject/TypeAmount.php | 5 +- .../ValueObject/TypeAmountNullable.php | 29 + src/Component/ValueObject/TypeColor.php | 5 +- src/Component/ValueObject/TypeConstSymbol.php | 0 .../ValueObject/TypeConstSymbolNullable.php | 29 + .../ValueObject/TypeCurrencyCode.php | 0 .../ValueObject/TypeCurrencyCodeNullable.php | 29 + .../ValueObject/TypeCustomerFieldValue.php | 0 src/Component/ValueObject/TypeDate.php | 5 +- .../ValueObject/TypeDateNullable.php | 29 + src/Component/ValueObject/TypeDateTime.php | 5 +- .../ValueObject/TypeDateTimeNullable.php | 29 + .../ValueObject/TypeDateTimeRequest.php | 0 src/Component/ValueObject/TypeDimension.php | 0 .../ValueObject/TypeExchangeRate.php | 0 src/Component/ValueObject/TypeFilename.php | 2 +- .../ValueObject/TypeFilenameNullable.php | 35 + src/Component/ValueObject/TypeGuid.php | 0 .../ValueObject/TypeGuidNullable.php | 32 + .../ValueObject/TypeGuidUnlimited.php | 0 .../ValueObject/TypeNonEmptyString.php | 0 .../ValueObject/TypePositiveAmount.php | 5 +- .../TypePositiveAmountNullable.php | 29 + src/Component/ValueObject/TypePrice.php | 5 +- .../ValueObject/TypePriceNullable.php | 29 + src/Component/ValueObject/TypePriceRatio.php | 0 .../ValueObject/TypeProductPriceRatio.php | 0 src/Component/ValueObject/TypeUnitRatio.php | 0 .../ValueObject/TypeVariantCodeRequest.php | 32 + src/Component/ValueObject/TypeVatRate.php | 0 src/Component/ValueObject/TypeWeight.php | 0 .../ValueObject/TypeWeightRequest.php | 5 +- .../ValueObject/TypeWeightUnlimited.php | 5 +- .../ValueObject/ValueObjectInterface.php | 0 .../AddAlternativeProduct.php | 8 +- .../AddAlternativeProductRequest.php | 4 +- .../AddAlternativeProductRequest/Data.php | 4 +- .../Data/AlternativeProduct.php | 2 +- .../AddAlternativeProductResponse.php | 4 +- .../AddAlternativeProductResponse}/Data.php | 4 +- .../Data/Items.php | 2 +- .../GetListOfProductAlternativeProducts.php | 6 +- ...stOfProductAlternativeProductsResponse.php | 4 +- .../Data.php | 22 + .../Data/Items.php | 2 +- .../SetAlternativeProducts.php | 8 +- .../SetAlternativeProductsRequest.php | 4 +- .../SetAlternativeProductsRequest/Data.php | 4 +- .../Data/AlternativeProducts.php | 6 +- .../Data/AlternativeProducts/Item.php | 2 +- .../SetAlternativeProductsResponse.php | 4 +- .../SetAlternativeProductsResponse/Data.php | 22 + .../Data/Items.php | 2 +- src/Endpoint/Articles/CreateArticle.php | 2 +- .../CreateArticleRequest.php | 0 .../CreateArticleRequest/Data.php | 14 +- .../CreateArticleRequest/Data/SectionIds.php | 0 .../CreateArticleResponse.php | 0 .../CreateArticleResponse/Data.php | 0 .../Articles/CreateArticleSection.php | 2 +- .../CreateArticleSectionRequest.php | 0 .../CreateArticleSectionRequest/Data.php | 25 + .../CreateArticleSectionResponse.php | 0 .../CreateArticleSectionResponse/Data.php | 0 src/Endpoint/Articles/DeleteArticle.php | 2 +- .../DeleteArticleResponse.php | 7 +- .../DeleteArticleResponse/Data.php | 9 + .../Articles/DeleteArticleSection.php | 2 +- .../DeleteArticleSectionResponse.php | 7 +- .../DeleteArticleSectionResponse/Data.php | 9 + src/Endpoint/Articles/GetDetailOfArticle.php | 2 +- .../GetDetailOfArticleResponse.php | 0 .../GetDetailOfArticleResponse/Data.php | 0 .../Articles/GetDetailOfArticleSection.php | 2 +- .../GetDetailOfArticleSectionResponse.php | 0 .../Data.php | 0 src/Endpoint/Articles/GetListAllArticles.php | 6 +- .../GetListAllArticlesResponse.php | 0 .../GetListAllArticlesResponse/Data.php | 0 .../Articles/GetListOfArticleSections.php | 2 +- .../GetListOfArticleSectionsResponse.php | 0 .../GetListOfArticleSectionsResponse/Data.php | 0 .../Data/Sections.php | 0 src/Endpoint/Articles/GetListOfArticles.php | 2 +- .../GetListOfArticlesResponse.php | 0 .../GetListOfArticlesResponse/Data.php | 0 .../Data/Articles.php | 0 src/Endpoint/Articles/UpdateArticle.php | 2 +- .../UpdateArticleRequest.php | 0 .../UpdateArticleRequest/Data.php | 14 +- .../UpdateArticleRequest/Data/SectionIds.php | 0 .../UpdateArticleResponse.php | 0 .../UpdateArticleResponse/Data.php | 0 .../Articles/UpdateArticleSection.php | 2 +- .../UpdateArticleSectionRequest.php | 0 .../UpdateArticleSectionRequest/Data.php | 25 + .../UpdateArticleSectionResponse.php | 0 .../UpdateArticleSectionResponse/Data.php | 12 +- src/Endpoint/Brands/CreateBrand.php | 2 +- src/Endpoint/Brands/CreateBrandBatch.php | 2 +- .../CreateBrandBatchRequest.php | 0 .../CreateBrandBatchResponse.php | 0 .../CreateBrandBatchResponse/Data.php | 0 .../CreateBrandRequest/CreateBrandRequest.php | 8 +- .../CreateBrandResponse.php | 0 src/Endpoint/Brands/DeleteBrand.php | 2 +- .../DeleteBrandResponse.php | 7 +- .../DeleteBrandResponse/Data.php | 9 + src/Endpoint/Brands/GetDetailOfBrand.php | 2 +- .../GetDetailOfBrandResponse.php | 0 src/Endpoint/Brands/GetListofBrands.php | 2 +- .../GetListofBrandsResponse.php | 0 .../GetListofBrandsResponse/Data.php | 0 .../GetListofBrandsResponse/Data/Brands.php | 0 src/Endpoint/Brands/UpdateBrand.php | 2 +- .../UpdateBrandRequest/UpdateBrandRequest.php | 0 .../UpdateBrandRequest/Data.php | 0 .../UpdateBrandResponse.php | 0 .../CreateProductCategory.php | 8 +- .../CreateProductCategoryRequest.php | 4 +- .../CreateProductCategoryRequest/Data.php | 29 +- .../CreateProductCategoryResponse.php | 2 +- .../DeleteProductCategory.php | 6 +- .../DeleteProductCategoryResponse.php | 35 + .../DeleteProductCategoryResponse/Data.php | 9 + .../GetListOfProductCategories.php | 6 +- .../GetListOfProductCategoriesResponse.php | 4 +- .../Data.php | 4 +- .../Data/Categories.php | 2 +- .../GetListOfProductsOrderInCategory.php | 6 +- ...tListOfProductsOrderInCategoryResponse.php | 4 +- .../Data.php | 4 +- .../Data/CategoryProducts.php | 6 +- .../Data/CategoryProducts/Item.php | 2 +- .../GetProductCategoryDetail.php | 6 +- .../GetProductCategoryDetailResponse.php | 2 +- .../UpdateProductCategory.php | 8 +- .../UpdateProductCategoryBatch.php | 8 +- .../UpdateProductCategoryBatchRequest.php | 2 +- .../UpdateProductCategoryBatchResponse.php | 4 +- .../Data.php | 2 +- .../UpdateProductCategoryRequest.php | 22 + .../UpdateProductCategoryResponse.php | 2 +- .../UpdateProductOrderInCategory.php | 8 +- .../UpdateProductOrderInCategoryRequest.php | 4 +- .../Data.php | 6 +- .../Data/Item.php | 2 +- .../UpdateProductOrderInCategoryResponse.php | 35 + .../Data.php | 9 + .../CreateConsumptionTax.php | 8 +- .../CreateConsumptionTaxRequest.php | 4 +- .../CreateConsumptionTaxRequest/Data.php | 2 +- .../CreateConsumptionTaxResponse.php | 2 +- .../DeleteConsumptionTax.php | 6 +- .../DeleteConsumptionTaxResponse.php | 35 + .../DeleteConsumptionTaxResponse/Data.php | 9 + .../GetListOfConsumptionTaxes.php | 6 +- .../GetListOfConsumptionTaxesResponse.php | 4 +- .../Data.php | 4 +- .../Data/ConsumptionTaxes.php | 2 +- .../UpdateConsumptionTax.php | 8 +- .../UpdateConsumptionTaxRequest.php | 4 +- .../UpdateConsumptionTaxRequest/Data.php | 2 +- .../UpdateConsumptionTaxResponse.php | 2 +- .../CreateCreditNoteFromInvoice.php | 2 +- .../CreateCreditNoteFromInvoiceRequest.php | 0 .../Data.php | 26 +- .../Data/Items.php | 0 .../Data/Items/Item.php | 8 +- .../Data/UseItemIds.php | 0 .../CreateCreditNoteFromInvoiceResponse.php | 0 .../Data.php | 0 .../CreateCreditNoteFromProofOfPayment.php | 2 +- ...ateCreditNoteFromProofOfPaymentRequest.php | 0 .../Data.php | 26 +- ...teCreditNoteFromProofOfPaymentResponse.php | 0 .../Data.php | 0 .../CreditNotes/CreateCreditNoteItem.php | 2 +- .../CreateCreditNoteItemRequest.php | 0 .../CreateCreditNoteItemRequest/Data.php | 8 +- .../CreateCreditNoteItemResponse.php | 0 .../CreateCreditNoteItemResponse/Data.php | 0 src/Endpoint/CreditNotes/DeleteCreditNote.php | 2 +- .../CreditNotes/DeleteCreditNoteItem.php | 2 +- .../DeleteCreditNoteItemResponse.php | 7 +- .../DeleteCreditNoteItemResponse/Data.php | 9 + .../DeleteCreditNoteResponse.php | 7 +- .../DeleteCreditNoteResponse/Data.php | 9 + .../CreditNotes/DownloadCreditNoteAsIsdoc.php | 2 +- .../CreditNotes/DownloadCreditNotePdf.php | 2 +- .../CreditNotes/GetCreditNoteDetail.php | 2 +- .../GetCreditNoteDetailResponse.php | 0 .../GetCreditNoteDetailResponse/Data.php | 0 .../CreditNotes/GetLastCreditNoteChanges.php | 2 +- .../GetLastCreditNoteChangesResponse.php | 0 .../GetLastCreditNoteChangesResponse/Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../CreditNotes/GetListOfAllCreditNotes.php | 6 +- .../GetListOfAllCreditNotesResponse.php | 0 .../GetListOfAllCreditNotesResponse/Data.php | 0 .../CreditNotes/GetListOfCreditNotes.php | 2 +- .../GetListOfCreditNotesResponse.php | 0 .../GetListOfCreditNotesResponse/Data.php | 0 .../Data/CreditNotes.php | 0 .../Data/CreditNotes/Item.php | 26 +- .../CreditNotes/RestockCreditNote.php | 2 +- .../RestockCreditNoteResponse.php | 0 .../RestockCreditNoteResponse/Data.php | 0 .../RestockCreditNoteResponse/Data/Notes.php | 0 src/Endpoint/CreditNotes/UpdateCreditNote.php | 2 +- .../CreditNotes/UpdateCreditNoteItem.php | 2 +- .../UpdateCreditNoteItemRequest.php | 0 .../UpdateCreditNoteItemRequest/Data.php | 8 +- .../UpdateCreditNoteItemResponse.php | 0 .../UpdateCreditNoteItemResponse/Data.php | 0 .../UpdateCreditNoteRequest.php | 0 .../UpdateCreditNoteRequest/Data.php | 34 +- .../UpdateCreditNoteResponse.php | 0 .../UpdateCreditNoteResponse/Data.php | 0 .../CreateCustomerAccount.php | 8 +- .../CreateCustomerAccountRequest.php | 4 +- .../CreateCustomerAccountRequest/Data.php | 2 +- .../CreateCustomerAccountResponse.php | 4 +- .../CreateCustomerAccountResponse/Data.php | 4 +- .../Data/Account.php | 2 +- .../DeleteCustomerAccount.php | 6 +- .../DeleteCustomerAccountResponse.php | 35 + .../DeleteCustomerAccountResponse/Data.php | 9 + .../GetDetailOfCustomerAccount.php | 6 +- .../GetDetailOfCustomerAccountResponse.php | 4 +- .../Data.php | 4 +- .../Data/Account.php | 2 +- .../GetListOfCustomerAccounts.php | 6 +- .../GetListOfCustomerAccountsResponse.php | 4 +- .../Data.php | 4 +- .../Data/Accounts.php | 6 +- .../Data/Accounts/Item.php | 2 +- .../UpdateCustomerAccount.php | 8 +- .../UpdateCustomerAccountRequest.php | 4 +- .../UpdateCustomerAccountRequest/Data.php | 2 +- .../UpdateCustomerAccountResponse.php | 4 +- .../UpdateCustomerAccountResponse/Data.php | 4 +- .../Data/Account.php | 2 +- .../CreateDeliveryAddress.php | 8 +- .../CreateDeliveryAddressRequest.php | 4 +- .../CreateDeliveryAddressRequest/Data.php | 2 +- .../CreateDeliveryAddressResponse.php | 4 +- .../CreateDeliveryAddressResponse}/Data.php | 2 +- .../DeleteCustomerDeliveryAddress.php | 6 +- .../DeleteCustomerDeliveryAddressResponse.php | 35 + .../Data.php | 9 + .../GeListOfCustomerDeliveryAddresses.php | 6 +- ...istOfCustomerDeliveryAddressesResponse.php | 4 +- .../Data.php | 4 +- .../Data/DeliveryAddresses.php | 2 +- .../GetDetailOfCustomerDeliveryAddress.php | 6 +- ...etailOfCustomerDeliveryAddressResponse.php | 4 +- .../Data.php | 2 +- .../UpdateCustomerDeliveryAddress.php | 8 +- .../UpdateCustomerDeliveryAddressRequest.php | 4 +- .../Data.php | 2 +- .../UpdateCustomerDeliveryAddressResponse.php | 4 +- .../Data.php | 2 +- .../CreateCustomerRemark.php | 8 +- .../CreateCustomerRemarkRequest.php | 4 +- .../CreateCustomerRemarkRequest/Schema.php | 4 +- .../Schema/Data.php | 2 +- .../CreateCustomerRemarkResponse.php | 4 +- .../CreateCustomerRemarkResponse}/Data.php | 4 +- .../Data/Remark.php | 2 +- .../DeleteCustomerRemark.php | 6 +- .../DeleteCustomerRemarkResponse.php | 35 + .../DeleteCustomerRemarkResponse/Data.php | 9 + .../GetDetailOfCustomerRemark.php | 6 +- .../GetDetailOfCustomerRemarkResponse.php | 4 +- .../Data.php | 4 +- .../Data/Remark.php | 2 +- .../GetListOfCustomerRemarks.php | 6 +- .../GetListOfCustomerRemarksResponse.php | 4 +- .../GetListOfCustomerRemarksResponse/Data.php | 4 +- .../Data/Remarks.php | 6 +- .../Data/Remarks/Item.php | 2 +- .../UpdateCustomerRemark.php | 8 +- .../UpdateCustomerRemarkRequest.php | 4 +- .../UpdateCustomerRemarkRequest/Data.php | 2 +- .../UpdateCustomerRemarkResponse.php | 4 +- .../UpdateCustomerRemarkResponse}/Data.php | 4 +- .../Data/Remark.php | 2 +- src/Endpoint/Customers/CreateCustomer.php | 9 +- .../CreateCustomerRequest.php | 0 .../CreateCustomerRequest/Data.php | 0 .../CreateCustomerRequest/Data/Account.php | 0 .../CreateCustomerResponse.php | 0 .../CreateCustomerResponse/Data.php | 0 src/Endpoint/Customers/DeleteCustomer.php | 2 +- .../DeleteCustomerAccountResponse.php | 34 - .../DeleteCustomerDeliveryAddressResponse.php | 34 - .../DeleteCustomerRemarkResponse.php | 34 - .../DeleteCustomerResponse.php | 7 +- .../DeleteCustomerResponse/Data.php | 9 + src/Endpoint/Customers/GetCustomerDetail.php | 2 +- .../GetCustomerDetailResponse.php | 0 .../GetCustomerDetailResponse/Data.php | 0 .../Customers/GetLastCustomerChanges.php | 2 +- .../GetLastCustomerChangesResponse.php | 0 .../GetLastCustomerChangesResponse/Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../Customers/GetListOfAllCustomers.php | 6 +- .../GetListOfAllCustomersResponse.php | 0 .../GetListOfAllCustomersResponse/Data.php | 0 .../Customers/GetListOfCustomerGroups.php | 2 +- .../GetListOfCustomerGroupsResponse.php | 0 .../GetListOfCustomerGroupsResponse/Data.php | 0 .../Data/CustomerGroups.php | 0 .../Data/CustomerGroups/Item.php | 12 + .../Customers/GetListOfCustomerRegions.php | 2 +- .../GetListOfCustomerRegionsResponse.php | 0 .../GetListOfCustomerRegionsResponse/Data.php | 0 .../Data/Regions.php | 0 .../Data/Regions/Item.php | 0 src/Endpoint/Customers/GetListOfCustomers.php | 2 +- .../GetListOfCustomersResponse.php | 0 .../GetListOfCustomersResponse/Data.php | 0 .../Data/Customers.php | 0 .../Data/Customers/Item.php | 14 +- src/Endpoint/Customers/UpdateCustomer.php | 2 +- .../UpdateCustomerRequest.php | 0 .../UpdateCustomerRequest/Data.php | 0 .../UpdateCustomerResponse.php | 0 .../UpdateCustomerResponse/Data.php | 0 src/Endpoint/Delete.php | 0 .../DownloadDeliveryNoteAsPdf.php | 2 +- .../DeliveryNotes/GetDetailOfDeliveryNote.php | 2 +- .../GetDetailOfDeliveryNoteResponse.php | 0 .../GetDetailOfDeliveryNoteResponse/Data.php | 0 .../GetListOfAllDeliveryNotes.php | 6 +- .../GetListOfAllDeliveryNotesResponse.php | 0 .../Data.php | 0 .../DeliveryNotes/GetListOfDeliveryNotes.php | 2 +- .../GetListOfDeliveryNotesResponse.php | 0 .../GetListOfDeliveryNotesResponse/Data.php | 0 .../Data/DeliveryNotes.php | 0 .../Data/DeliveryNotes/Item.php | 8 +- .../BulkDeleteDiscountCoupons.php | 2 +- .../BulkDeleteDiscountCouponsRequest.php | 0 .../BulkDeleteDiscountCouponsRequest/Data.php | 0 .../Data/CouponCodes.php | 0 .../BulkDeleteDiscountCouponsResponse.php | 7 +- .../Data.php | 9 + .../DiscountCoupons/CreateDiscountCoupons.php | 2 +- .../CreateDiscountCouponsRequest.php | 0 .../CreateDiscountCouponsRequest/Data.php | 0 .../Data/Coupons.php | 0 .../Data/Coupons/Item.php | 43 +- .../CreateDiscountCouponsResponse.php | 0 .../CreateDiscountCouponsResponse/Data.php | 0 .../Data/Coupons.php | 0 .../Data/Coupons/Item.php | 44 +- .../CreateDiscountCouponsSet.php | 2 +- .../CreateDiscountCouponsSetRequest.php | 0 .../CreateDiscountCouponsSetRequest/Data.php | 43 +- .../CreateDiscountCouponsSetResponse.php | 0 .../CreateDiscountCouponsSetResponse/Data.php | 0 .../Data/Coupons.php | 0 .../Data/Coupons/Item.php | 44 +- .../CreateDiscountCouponsTemplate.php | 2 +- .../CreateDiscountCouponsTemplateRequest.php | 0 .../Data.php | 8 +- .../Data/Brands.php | 0 .../Data/CategoryGuids.php | 0 .../Data/ProductFlags.php | 0 .../Data/ProductFlags/Item.php | 0 .../CreateDiscountCouponsTemplateResponse.php | 0 .../Data.php | 0 .../Data/Brands.php | 0 .../Data/Categories.php | 0 .../Data/Categories/Item.php | 0 .../Data/CustomerGroup.php | 0 .../Data/ProductFlags.php | 0 .../Data/ProductFlags/Item.php | 0 .../DiscountCoupons/DeleteDiscountCoupon.php | 2 +- .../DeleteDiscountCouponResponse.php | 7 +- .../DeleteDiscountCouponResponse/Data.php | 9 + .../DeleteDiscountCouponsTemplate.php | 2 +- .../DeleteDiscountCouponsTemplateResponse.php | 7 +- .../Data.php | 9 + .../GetDetailOfDiscountCoupon.php | 2 +- .../GetDetailOfDiscountCouponResponse.php | 0 .../Data.php | 0 .../GetListOfAllDiscountCoupons.php | 6 +- .../GetListOfAllDiscountCouponsResponse.php | 0 .../Data.php | 0 .../GetListOfDiscountCoupons.php | 2 +- .../GetListOfDiscountCouponsResponse.php | 0 .../GetListOfDiscountCouponsResponse/Data.php | 0 .../Data/Coupons.php | 0 .../GetTemplatesOfDiscountCoupons.php | 2 +- .../GetTemplatesOfDiscountCouponsResponse.php | 0 .../Data.php | 0 .../Data/CouponTemplates.php | 0 .../Data/CouponTemplates/Item.php | 0 .../Data/CouponTemplates/Item/Brands.php | 0 .../Data/CouponTemplates/Item/Categories.php | 0 .../CouponTemplates/Item/Categories/Item.php | 0 .../CouponTemplates/Item/CustomerGroup.php | 0 .../CouponTemplates/Item/ProductFlags.php | 0 .../Item/ProductFlags/Item.php | 0 .../UpdateDiscountCouponsUsage.php | 2 +- .../UpdateDiscountCouponsUsageRequest.php | 0 .../Data.php | 0 .../UpdateDiscountCouponsUsageResponse.php | 7 +- .../Data.php | 9 + .../Discussions/GetListOfDiscussionPosts.php | 2 +- .../GetListOfDiscussionPostsResponse.php | 0 .../GetListOfDiscussionPostsResponse/Data.php | 0 .../Data/Discussion.php | 0 .../CreateEmailDistributionList.php | 2 +- .../CreateEmailDistributionListRequest.php | 0 .../Data.php | 0 .../CreateEmailDistributionListResponse.php | 0 .../Data.php | 0 .../Data/MailingList.php | 0 .../CreateEmailsDistributionList.php | 2 +- .../CreateEmailsDistributionListRequest.php | 0 .../Data.php | 0 .../Data/Emails.php | 0 .../CreateEmailsDistributionListResponse.php | 0 .../Data.php | 0 .../Data/EmailsExisting.php | 0 .../Data/EmailsInserted.php | 0 .../Data/EmailsInvalid.php | 0 .../Data/ErrorMessages.php | 0 .../GetDetailOfEmailDistributionList.php | 2 +- ...tDetailOfEmailDistributionListResponse.php | 0 .../Data.php | 0 .../Data/Emails.php | 0 .../Data/Emails/Item.php | 8 +- .../GetLastChangesInDistributionList.php | 2 +- ...tLastChangesInDistributionListResponse.php | 0 .../Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../GetListingOfEmailDistributionLists.php | 2 +- ...istingOfEmailDistributionListsResponse.php | 0 .../Data.php | 0 .../Data/MailingLists.php | 0 .../Data/MailingLists/Item.php | 0 src/Endpoint/Endpoint.php | 0 src/Endpoint/EndpointMap.php | 225 +-- .../GetListOfAvailableEndpoints.php | 6 +- .../GetListOfAvailableEndpointsResponse.php | 4 +- .../Data.php | 4 +- .../Data/Endpoints.php | 6 +- .../Data/Endpoints/Item.php | 4 +- .../Data/Endpoints/Item/Group.php | 2 +- src/Endpoint/Eshop/GetEshopDesign.php | 2 +- .../GetEshopDesignResponse.php | 0 .../GetEshopDesignResponse/Data.php | 0 .../Data/Background.php | 0 .../Data/Background/Color.php | 0 .../Data/Background/Image.php | 0 .../Data/ColorScheme.php | 0 .../GetEshopDesignResponse/Data/Fonts.php | 0 .../GetEshopDesignResponse/Data/Header.php | 0 .../GetEshopDesignResponse/Data/Layout.php | 0 .../GetEshopDesignResponse/Data/Template.php | 0 .../Eshop/GetEshopDocumentSettings.php | 33 + .../GetEshopDocumentSettingsResponse.php | 35 + .../GetEshopDocumentSettingsResponse/Data.php | 138 ++ .../Data/CompanyStamp.php | 45 + .../Data/CreditNote.php | 130 ++ .../Data/CreditNote/ForbiddenItemTypes.php | 30 + .../Data/DefaultSettings.php | 141 ++ .../Data/DeliveryNote.php | 69 + .../Data/Export.php | 45 + .../Data/Invoice.php | 201 +++ .../Data/Order.php | 106 ++ .../Data/Order/ItemRemarkParameters.php} | 4 +- .../Data/ProformaInvoice.php | 106 ++ .../Data/ProofPayment.php | 93 ++ src/Endpoint/Eshop/GetEshopInfo.php | 2 +- .../GetEshopInfoResponse.php | 0 .../GetEshopInfoResponse/Data.php | 0 .../Data/ActiveModules.php | 0 .../Data/ActiveModules/Item.php | 0 .../Data/BillingInformation.php | 0 .../Data/BillingInformation/Address.php | 0 .../Data/BillingInformation/Company.php | 0 .../Data/BillingInformation/Country.php | 0 .../GetEshopInfoResponse/Data/CashDesk.php | 0 .../Data/ContactInformation.php | 0 .../GetEshopInfoResponse/Data/Countries.php | 0 .../Data/Countries/Item.php | 0 .../GetEshopInfoResponse/Data/Currencies.php | 0 .../Data/Currencies/Item.php | 8 +- .../Data/Currencies/Item/BankAccount.php | 0 .../Data/Currencies/Item/Display.php | 0 .../GetEshopInfoResponse/Data/ImageCuts.php | 0 .../Data/ImageCuts/Item.php | 0 .../GetEshopInfoResponse/Data/Languages.php | 0 .../Data/Languages/Item.php | 0 .../Data/OrderAdditionalFields.php | 0 .../Data/OrderAdditionalFields/Item.php | 0 .../Data/OrderStatuses.php | 0 .../Data/OrderStatuses/Statuses.php | 0 .../Data/OrderStatuses/Statuses/Item.php | 0 .../Data/PaymentMethods.php | 0 .../Data/PaymentMethods/Retail.php | 0 .../Data/PaymentMethods/Retail/Methods.php | 0 .../PaymentMethods/Retail/Methods/Item.php | 0 .../Data/PaymentMethods/Wholesale.php | 0 .../Data/PaymentMethods/Wholesale/Methods.php | 0 .../PaymentMethods/Wholesale/Methods/Item.php | 0 .../GetEshopInfoResponse/Data/Settings.php | 36 +- .../Data/ShippingMethods.php | 0 .../Data/ShippingMethods/Retail.php | 0 .../Data/ShippingMethods/Retail/Methods.php | 0 .../ShippingMethods/Retail/Methods/Item.php | 0 .../Data/ShippingMethods/Wholesale.php | 0 .../ShippingMethods/Wholesale/Methods.php | 0 .../Wholesale/Methods/Item.php | 0 .../Data/SocialNetworks.php | 0 .../GetEshopInfoResponse/Data/TaxClasses.php | 0 .../Data/TaxClasses/Item.php | 0 .../Data/TaxClasses/Item/Rates.php | 0 .../Data/TaxClasses/Item/Rates/Item.php | 0 .../GetEshopInfoResponse/Data/Urls.php | 0 .../GetEshopInfoResponse/Data/Urls/Item.php | 0 .../Eshop/GetEshopMandatoryFields.php | 2 +- .../GetEshopMandatoryFieldsResponse.php | 0 .../GetEshopMandatoryFieldsResponse/Data.php | 0 .../Data/BillingAddress.php | 0 .../Data/BillingInfo.php | 0 .../Data/ContactInfo.php | 0 .../Data/DeliveryAddress.php | 0 .../GeneralDocumentDownload.php | 6 +- .../GeneralDocumentDownloadResponse.php | 4 +- .../GeneralDocumentDownloadResponse}/Data.php | 2 +- src/Endpoint/Files/GetListOfUploadedFiles.php | 2 +- .../GetListOfUploadedFilesResponse.php | 0 .../GetListOfUploadedFilesResponse/Data.php | 13 + .../Data/Files.php | 31 + .../Data/Files/Item.php | 34 + .../Data/Images.php | 0 .../Data/Images/Item.php | 8 +- src/Endpoint/Files/UploadFile.php | 2 +- .../UploadFileRequest/UploadFileRequest.php | 0 .../UploadFileRequest/Data.php | 0 .../UploadFileResponse/UploadFileResponse.php | 0 .../UploadFileResponse/Data.php | 19 +- .../UploadFileResponse/Data/File.php | 34 + .../UploadFileResponse/Data/Image.php | 8 +- src/Endpoint/Files/UploadFiles.php | 2 +- .../UploadFilesRequest/UploadFilesRequest.php | 0 .../UploadFilesRequest/Data.php | 0 .../UploadFilesRequest/Data/Item.php | 0 .../UploadFilesResponse.php | 0 .../UploadFilesResponse/Data.php | 0 .../CreateFilteringParameter.php | 8 +- .../CreateFilteringParameterRequest.php | 4 +- .../CreateFilteringParameterRequest/Data.php | 2 +- .../CreateFilteringParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../CreateFilteringParameterValue.php | 8 +- .../CreateFilteringParameterValueRequest.php | 4 +- .../Data.php | 2 +- .../CreateFilteringParameterValueResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../DeleteFilteringParameter.php | 6 +- .../DeleteFilteringParameterResponse.php | 35 + .../DeleteFilteringParameterResponse/Data.php | 9 + .../DeleteFilteringParameterValue.php | 6 +- .../DeleteFilteringParameterValueResponse.php | 35 + .../Data.php | 9 + .../GetDetailOfFilteringParameter.php | 6 +- .../GetDetailOfFilteringParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../GetListOfFilteringParameters.php | 6 +- .../GetListOfFilteringParametersResponse.php | 4 +- .../Data.php | 4 +- .../Data/FilteringParameters.php | 6 +- .../Data/FilteringParameters/Item.php | 4 +- .../Data/FilteringParameters/Item/Values.php | 2 +- .../UpdateFilteringParameter.php | 8 +- .../UpdateFilteringParameterRequest.php | 4 +- .../UpdateFilteringParameterRequest/Data.php | 2 +- .../UpdateFilteringParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../UpdateFilteringParameterValue.php | 8 +- .../UpdateFilteringParameterValueRequest.php | 4 +- .../Data.php | 2 +- .../UpdateFilteringParameterValueResponse.php | 4 +- .../Data.php | 107 ++ .../Data/Values.php | 31 + .../{Products => Flags}/CreateProductFlag.php | 8 +- .../CreateProductFlagRequest.php | 4 +- .../CreateProductFlagRequest/Data.php | 2 +- .../CreateProductFlagResponse.php | 4 +- .../CreateProductFlagResponse/Data.php | 4 +- .../CreateProductFlagResponse}/Data/Flags.php | 6 +- .../Data/Flags/Item.php | 2 +- .../{Products => Flags}/DeleteProductFlag.php | 6 +- .../DeleteProductFlagResponse.php | 35 + .../DeleteProductFlagResponse/Data.php | 9 + .../GetListOfProductsFlags.php | 6 +- .../GetListOfProductsFlagsResponse.php | 4 +- .../GetListOfProductsFlagsResponse/Data.php | 4 +- .../Data/Flags.php | 31 + .../Data/Flags/Item.php | 2 +- .../{Products => Flags}/UpdateProductFlag.php | 8 +- .../UpdateProductFlagRequest.php | 4 +- .../UpdateProductFlagRequest/Data.php | 2 +- .../UpdateProductFlagResponse.php | 4 +- .../UpdateProductFlagResponse/Data.php | 4 +- .../UpdateProductFlagResponse}/Data/Flags.php | 6 +- .../Data/Flags/Item.php | 2 +- src/Endpoint/Get.php | 0 .../GetOrderGiftSettings.php | 6 +- .../GetOrderGiftSettingsResponse.php | 4 +- .../GetOrderGiftSettingsResponse/Data.php | 2 +- .../UpdateOrderGiftSettings.php | 8 +- .../UpdateOrderGiftSettingsRequest.php | 4 +- .../UpdateOrderGiftSettingsRequest/Data.php | 2 +- .../UpdateOrderGiftSettingsResponse.php | 4 +- .../UpdateOrderGiftSettingsResponse/Data.php | 2 +- .../Invoices/CreateInvoiceFromOrder.php | 2 +- .../CreateInvoiceFromOrderRequest.php | 0 .../CreateInvoiceFromOrderRequest/Data.php | 14 +- .../Data/ProofPaymentCodes.php | 0 .../CreateInvoiceFromOrderResponse.php | 0 .../CreateInvoiceFromOrderResponse/Data.php | 0 .../CreateInvoiceFromProformaInvoice.php | 34 + ...reateInvoiceFromProformaInvoiceRequest.php | 22 + .../Data.php | 95 ++ ...eateInvoiceFromProformaInvoiceResponse.php | 35 + .../Data.php | 22 + .../Invoices/DownloadInvoiceAsIsdoc.php | 2 +- .../Invoices/DownloadInvoiceAsPdf.php | 2 +- src/Endpoint/Invoices/GetInvoiceDetail.php | 2 +- .../GetInvoiceDetailResponse.php | 0 .../GetInvoiceDetailResponse/Data.php | 0 .../Invoices/GetLastInvoiceChanges.php | 2 +- .../GetLastInvoiceChangesResponse.php | 0 .../GetLastInvoiceChangesResponse/Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../Invoices/GetListOfAllInvoices.php | 6 +- .../GetListOfAllInvoicesResponse.php | 0 .../GetListOfAllInvoicesResponse/Data.php | 0 src/Endpoint/Invoices/GetListOfInvoices.php | 2 +- .../GetListOfInvoicesResponse.php | 0 .../GetListOfInvoicesResponse/Data.php | 0 .../Data/Invoices.php | 0 .../Data/Invoices/Item.php | 39 +- .../Invoices/InvoiceLinkProformaInvoices.php | 34 + .../InvoiceLinkProformaInvoicesRequest.php | 22 + .../Data.php | 22 + .../Data/ProformaInvoiceCodes.php | 30 + .../InvoiceLinkProformaInvoicesResponse.php | 35 + .../Data.php | 22 + .../Invoices/InvoiceLinkProofPayments.php | 2 +- .../InvoiceLinkProofPaymentsRequest.php | 0 .../InvoiceLinkProofPaymentsRequest/Data.php | 0 .../Data/ProofPaymentCodes.php | 0 .../InvoiceLinkProofPaymentsResponse.php | 0 .../InvoiceLinkProofPaymentsResponse/Data.php | 0 .../{JobEndpoints => Jobs}/GetJobDetail.php | 6 +- .../GetJobDetailResponse.php | 4 +- .../GetJobDetailResponse/Data.php | 4 +- .../GetJobDetailResponse/Data/Job.php | 22 +- .../{JobEndpoints => Jobs}/GetListOfJobs.php | 6 +- .../GetListOfJobsResponse.php | 4 +- .../GetListOfJobsResponse/Data.php | 4 +- .../GetListOfJobsResponse/Data/Jobs.php | 6 +- .../GetListOfJobsResponse/Data/Jobs/Item.php | 22 +- .../GetListOfProductsMeasureUnits.php | 6 +- .../GetListOfProductsMeasureUnitsResponse.php | 4 +- .../Data.php | 4 +- .../Data/MeasureUnits.php | 6 +- .../Data/MeasureUnits/Item.php | 4 +- .../Data/MeasureUnits/Item/Ratios.php | 6 +- .../Data/MeasureUnits/Item/Ratios/Item.php | 2 +- src/Endpoint/OAuth/CreateOauthAccessToken.php | 0 .../CreateOauthAccessTokenRequestData.php | 0 .../CreateOauthAccessTokenResponse.php | 0 .../CreateOauthAccessTokenResponseData.php | 0 src/Endpoint/OAuth/GetAccessToken.php | 0 .../PublicAccessTokenResponseData.php | 0 .../{Orders => OrderGifts}/AddOrderGift.php | 8 +- .../AddOrderGiftRequest.php | 4 +- .../AddOrderGiftRequest/Data.php | 10 +- .../AddOrderGiftResponse.php | 4 +- .../AddOrderGiftResponse/Data.php | 4 +- .../AddOrderGiftResponse/Data/Items.php | 2 +- .../DeleteOrderGift.php | 6 +- .../DeleteOrderGiftResponse.php | 35 + .../DeleteOrderGiftResponse/Data.php | 9 + .../GetOrderGiftsList.php | 6 +- .../GetOrderGiftsListResponse.php | 4 +- .../GetOrderGiftsListResponse/Data.php | 4 +- .../GetOrderGiftsListResponse/Data/Items.php | 2 +- .../CreateOrderRemark.php | 8 +- .../CreateOrderRemarkRequest.php | 4 +- .../CreateOrderRemarkRequest/Data.php | 2 +- .../CreateOrderRemarkResponse.php | 35 + .../CreateOrderRemarkResponse/Data.php | 9 + .../DeleteOrderHistoryItem.php | 6 +- .../DeleteOrderHistoryItemResponse.php | 35 + .../DeleteOrderHistoryItemResponse/Data.php | 9 + .../OrderHistory/GetListOfAllRemarks.php | 47 + .../GetListOfAllRemarksResponse.php | 35 + .../GetListOfAllRemarksResponse}/Data.php | 2 +- .../GetListOfRemarksForOrder.php | 6 +- .../GetListOfRemarksForOrderResponse.php | 4 +- .../GetListOfRemarksForOrderResponse/Data.php | 4 +- .../Data/OrderHistory.php | 31 + .../CreateOrderItem.php | 8 +- .../CreateOrderItemRequest.php | 4 +- .../CreateOrderItemRequest/Data.php | 20 +- .../Data/SurchargeParameters.php | 6 +- .../Data/SurchargeParameters/Item.php | 2 +- .../CreateOrderItemResponse.php | 4 +- .../CreateOrderItemResponse/Data.php | 2 +- .../CreateOrderItemSurchargeParameters.php | 8 +- ...ateOrderItemSurchargeParametersRequest.php | 23 + .../Data1.php | 2 +- .../Data2.php | 2 +- ...teOrderItemSurchargeParametersResponse.php | 4 +- .../Data.php | 2 +- .../DeleteOrderItem.php | 6 +- .../DeleteOrderItemResponse.php | 35 + .../DeleteOrderItemResponse/Data.php | 9 + .../DeleteOrderItemSurchargeParameters.php | 6 +- ...teOrderItemSurchargeParametersResponse.php | 35 + .../Data.php | 9 + .../UpdateOrderItem.php | 8 +- .../UpdateOrderItemRequest.php | 4 +- .../UpdateOrderItemRequest/Data.php | 20 +- .../Data/ConsumptionTax.php | 10 +- .../UpdateOrderItemResponse.php | 4 +- .../UpdateOrderItemResponse/Data.php | 2 +- .../CreateOrderPayment.php | 8 +- .../CreateOrderPaymentRequest.php | 4 +- .../CreateOrderPaymentRequest/Data.php | 2 +- .../CreateOrderPaymentResponse.php | 4 +- .../CreateOrderPaymentResponse/Data.php | 2 +- .../UpdateOrderPayment.php | 8 +- .../UpdateOrderPaymentRequest.php | 4 +- .../UpdateOrderPaymentRequest/Data.php | 2 +- .../UpdateOrderPaymentResponse.php | 4 +- .../UpdateOrderPaymentResponse/Data.php | 2 +- .../AddOrderShipping.php | 8 +- .../AddOrderShippingRequest.php | 4 +- .../AddOrderShippingRequest/Data.php | 2 +- .../AddOrderShippingResponse.php | 4 +- .../AddOrderShippingResponse/Data.php | 2 +- .../UpdateOrderShipping.php | 8 +- .../UpdateOrderShippingRequest.php | 4 +- .../UpdateOrderShippingRequest/Data.php | 2 +- .../UpdateOrderShippingResponse.php | 4 +- .../UpdateOrderShippingResponse/Data.php | 2 +- src/Endpoint/Orders/CreateOrder.php | 2 +- ...ateOrderItemSurchargeParametersRequest.php | 23 - .../CreateOrderRequest/CreateOrderRequest.php | 0 .../CreateOrderRequest/Data.php | 20 +- .../Data/BillingAddress.php | 0 .../CreateOrderRequest/Data/Currency.php | 0 .../Data/DeliveryAddress.php | 0 .../CreateOrderRequest/Data/Items.php | 0 .../CreateOrderRequest/Data/Items/Item.php | 8 +- .../Data/Items/Item/SurchargeParameters.php | 0 .../Items/Item/SurchargeParameters/Item.php | 0 .../CreateOrderRequest/Data/Notes.php | 0 .../Data/Notes/AdditionalFields.php | 0 .../Data/Notes/AdditionalFields/Item.php | 0 .../Data/ShippingDetails.php | 0 .../CreateOrderResponse.php | 0 .../CreateOrderResponse/Data.php | 0 src/Endpoint/Orders/DeleteOrder.php | 2 +- .../DeleteOrderGiftResponse.php | 34 - .../DeleteOrderHistoryItemResponse.php | 34 - ...teOrderItemSurchargeParametersResponse.php | 34 - .../DeleteOrderResponse.php | 7 +- .../DeleteOrderResponse/Data.php | 9 + src/Endpoint/Orders/DownloadOrderAsPdf.php | 2 +- src/Endpoint/Orders/GetLastOrderChanges.php | 2 +- .../GetLastOrderChangesResponse.php | 0 .../GetLastOrderChangesResponse/Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- src/Endpoint/Orders/GetListOfAllOrders.php | 7 +- .../GetListOfAllOrdersResponse.php | 0 .../GetListOfAllOrdersResponse/Data.php | 0 src/Endpoint/Orders/GetListOfOrderSources.php | 2 +- .../GetListOfOrderSourcesResponse.php | 0 .../GetListOfOrderSourcesResponse/Data.php | 0 .../Data/Sources.php | 0 .../Data/Sources/Item.php | 0 .../Orders/GetListOfOrderStatuses.php | 2 +- .../GetListOfOrderStatusesResponse.php | 0 .../GetListOfOrderStatusesResponse/Data.php | 0 .../Data/Statuses.php | 0 .../Data/Statuses/Item.php | 0 .../Data/Statuses/Item/Documents.php | 0 src/Endpoint/Orders/GetListOfOrders.php | 3 +- .../GetListOfOrdersResponse.php | 0 .../GetListOfOrdersResponse/Data.php | 0 .../GetListOfOrdersResponse/Data/Orders.php | 0 .../Data/Orders/Item.php | 33 +- .../Data/Orders/Item/Source.php | 0 .../Data/Orders/Item/Status.php | 0 src/Endpoint/Orders/GetOrderClaims.php | 41 + .../GetOrderClaimsResponse.php | 35 + .../GetOrderClaimsResponse/Data.php | 35 + .../GetOrderClaimsResponse/Data/Orders.php | 31 + .../Data/Orders/Item.php | 71 + src/Endpoint/Orders/GetOrderDetail.php | 2 +- .../GetOrderDetailResponse.php | 0 .../GetOrderDetailResponse/Data.php | 0 src/Endpoint/Orders/OrderBatchInsertion.php | 2 +- .../OrderBatchInsertionRequest.php | 0 .../OrderBatchInsertionResponse.php | 0 .../OrderBatchInsertionResponse/Data.php | 0 src/Endpoint/Orders/OrderCopy.php | 2 +- .../OrderCopyRequest/OrderCopyRequest.php | 0 .../OrderCopyRequest/Data.php | 0 .../OrderCopyResponse/OrderCopyResponse.php | 0 .../OrderCopyResponse/Data.php | 0 src/Endpoint/Orders/UpdateOrderHead.php | 2 +- .../UpdateOrderHeadRequest.php | 0 .../UpdateOrderHeadRequest/Data.php | 0 .../Data/BillingAddress.php | 0 .../Data/DeliveryAddress.php | 0 .../UpdateOrderHeadResponse.php | 0 .../UpdateOrderHeadResponse/Data.php | 0 src/Endpoint/Orders/UpdateOrderStatus.php | 2 +- .../UpdateOrderStatusRequest.php | 0 .../UpdateOrderStatusRequest/Data.php | 0 .../UpdateOrderStatusResponse.php | 0 .../UpdateOrderStatusResponse/Data.php | 0 src/Endpoint/Orders/UpdateRemarksForOrder.php | 2 +- .../UpdateRemarksForOrderRequest.php | 0 .../UpdateRemarksForOrderRequest/Data.php | 0 .../Data/AdditionalFields.php | 0 .../Data/AdditionalFields/Item.php | 0 .../UpdateRemarksForOrderResponse.php | 7 +- .../UpdateRemarksForOrderResponse/Data.php | 9 + src/Endpoint/PageableGet.php | 0 src/Endpoint/Pages/CreatePage.php | 34 + .../CreatePageRequest/CreatePageRequest.php | 22 + .../CreatePageRequest/Data.php | 130 ++ .../CreatePageResponse/CreatePageResponse.php | 35 + .../CreatePageResponse/Data.php | 22 + src/Endpoint/Pages/DeletePage.php | 33 + .../DeletePageResponse.php} | 4 +- src/Endpoint/Pages/GetDetailOfPage.php | 2 +- .../GetDetailOfPageResponse.php | 0 .../GetDetailOfPageResponse/Data.php | 0 src/Endpoint/Pages/GetListOfPages.php | 2 +- .../GetListOfPagesResponse.php | 0 .../GetListOfPagesResponse/Data.php | 0 .../GetListOfPagesResponse/Data/Pages.php | 0 src/Endpoint/Pages/UpdatePage.php | 34 + .../UpdatePageRequest/UpdatePageRequest.php | 22 + .../UpdatePageRequest/Data.php | 130 ++ .../UpdatePageResponse/UpdatePageResponse.php | 35 + .../UpdatePageResponse/Data.php | 22 + .../CreateParametricCategory.php | 34 + .../CreateParametricCategoryRequest.php | 22 + .../CreateParametricCategoryRequest/Data.php | 144 ++ .../Data/Parameters.php | 31 + .../CreateParametricCategoryResponse.php | 35 + .../Data.php | 4 +- .../Data/ParametricCategory.php | 4 +- .../Data/ParametricCategory/Parameters.php | 2 +- .../DeleteParametricCategory.php | 33 + .../DeleteParametricCategoryResponse.php | 35 + .../DeleteParametricCategoryResponse/Data.php | 9 + .../GetListOfParametricCategories.php | 6 +- .../GetListOfParametricCategoriesResponse.php | 4 +- .../Data.php | 4 +- .../Data/ParametricCategories.php | 6 +- .../Data/ParametricCategories/Item.php | 4 +- .../ParametricCategories/Item/Parameters.php | 31 + .../GetParametricCategoryDetail.php | 6 +- .../GetParametricCategoryDetailResponse.php | 4 +- .../Data.php | 22 + .../Data/ParametricCategory.php | 166 ++ .../Data/ParametricCategory/Parameters.php | 31 + .../UpdateParametricCategory.php | 34 + .../UpdateParametricCategoryRequest.php | 22 + .../UpdateParametricCategoryRequest/Data.php | 118 ++ .../UpdateParametricCategoryResponse.php | 35 + .../UpdateParametricCategoryResponse/Data.php | 22 + .../Data/ParametricCategory.php | 166 ++ .../Data/ParametricCategory}/Parameters.php | 2 +- src/Endpoint/Patch.php | 0 .../GetInformationAboutPayment.php | 2 +- .../GetInformationAboutPaymentResponse.php | 0 .../Data.php | 0 .../PaymentGateways/UpdatePaymentStatus.php | 9 +- .../UpdatePaymentStatusRequest.php | 0 .../UpdatePaymentStatusRequest/Data.php | 0 .../UpdatePaymentStatusResponse.php | 0 .../UpdatePaymentStatusResponse/Data.php | 24 - .../PaymentMethods/CreatePaymentMethod.php | 2 +- .../CreatePaymentMethodRequest.php | 0 .../CreatePaymentMethodRequest/Data.php | 0 .../CreatePaymentMethodRequest/Data/Logo.php | 0 .../CreatePaymentMethodResponse.php | 0 .../CreatePaymentMethodResponse/Data.php | 0 .../Data/PaymentType.php | 0 .../PaymentMethods/DeletePaymentMethod.php | 2 +- .../DeletePaymentMethodResponse.php | 7 +- .../DeletePaymentMethodResponse/Data.php | 9 + .../GetListingOfPaymentMethods.php | 2 +- .../GetListingOfPaymentMethodsResponse.php | 0 .../Data.php | 12 + .../Data/PaymentMethods.php | 0 .../Data/PaymentMethods/Item.php | 0 .../Data/PaymentMethods/Item/PaymentType.php | 0 src/Endpoint/Post.php | 0 src/Endpoint/PriceLists/CreatePricelist.php | 2 +- .../CreatePricelistRequest.php | 0 .../CreatePricelistRequest/Data.php | 0 .../CreatePricelistResponse.php | 8 +- .../CreatePricelistResponse/Data.php | 22 - src/Endpoint/PriceLists/DeletePricelist.php | 2 +- .../DeletePricelistResponse.php | 7 +- .../DeletePricelistResponse/Data.php | 9 + .../GetListOfAllPricelistDetails.php | 6 +- .../GetListOfAllPricelistDetailsResponse.php | 0 .../Data.php | 0 .../PriceLists/GetListOfPriceLists.php | 2 +- .../GetListOfPriceListsResponse.php | 0 .../GetListOfPriceListsResponse/Data.php | 0 .../Data/Pricelists.php | 0 .../PriceLists/GetPricelistDetail.php | 2 +- .../GetPricelistDetailResponse.php | 0 .../GetPricelistDetailResponse/Data.php | 8 +- .../Data/Pricelist.php | 31 + src/Endpoint/PriceLists/UpdatePricelist.php | 2 +- .../UpdatePricelistRequest.php | 0 .../UpdatePricelistRequest/Data.php | 0 .../UpdatePricelistRequest/Data/Item.php | 21 +- .../Data/Item/OrderableAmount.php | 14 +- .../Data/Item/Price.php | 20 +- .../Data/Item/Price/ActionPrice.php | 22 +- .../Data/Item/PriceWithVat.php | 20 +- .../Data/Item/PriceWithVat/ActionPrice.php | 22 +- .../Data/Item/PriceWithoutVat.php | 20 +- .../Data/Item/PriceWithoutVat/ActionPrice.php | 22 +- .../Data/Item/Prices.php | 22 + .../Data/Item/Prices/PurchasePrice.php | 46 + .../Data/Item/Sales.php | 0 .../UpdatePricelistResponse.php | 7 +- .../UpdatePricelistResponse/Data.php | 9 + .../CreateProductAvailability.php | 34 + .../CreateProductAvailabilityRequest.php | 22 + .../CreateProductAvailabilityRequest/Data.php | 94 ++ .../CreateProductAvailabilityResponse.php | 35 + .../Data.php | 22 + .../Data/Availability.php} | 18 +- .../Data/Availability}/GoogleAvailability.php | 2 +- .../DeleteProductAvailability.php | 33 + .../DeleteProductAvailabilityResponse.php} | 4 +- .../GetListOfProductsAvailabilities.php | 6 +- ...etListOfProductsAvailabilitiesResponse.php | 4 +- .../Data.php | 6 +- .../Data/Availabilities.php | 6 +- .../Data/Availabilities/Item.php | 118 ++ .../Item/GoogleAvailability.php | 33 + .../Data/DefaultAvailabilities.php | 2 +- .../UpdateProductAvailability.php | 34 + .../UpdateProductAvailabilityRequest.php | 22 + .../UpdateProductAvailabilityRequest/Data.php | 94 ++ .../UpdateProductAvailabilityResponse.php | 35 + .../Data.php | 22 + .../Data/Availability.php | 118 ++ .../Data/Availability/GoogleAvailability.php | 33 + .../CreateProductGift.php | 8 +- .../CreateProductGiftRequest.php | 4 +- .../CreateProductGiftRequest/Data.php | 2 +- .../CreateProductGiftResponse.php | 4 +- .../CreateProductGiftResponse}/Data.php | 2 +- .../GetListOfProductGifts.php | 6 +- .../GetListOfProductGiftsResponse.php | 4 +- .../GetListOfProductGiftsResponse/Data.php | 2 +- .../SteGiftsToProduct.php | 8 +- .../SteGiftsToProductRequest.php | 4 +- .../SteGiftsToProductRequest/Data.php | 4 +- .../Data/GiftCodes.php | 6 +- .../Data/GiftCodes/Item.php | 2 +- .../SteGiftsToProductResponse.php | 4 +- .../SteGiftsToProductResponse}/Data.php | 2 +- .../CreateProductImages.php | 8 +- .../CreateProductImagesRequest.php | 4 +- .../CreateProductImagesRequest/Data.php | 4 +- .../Data/Images.php | 6 +- .../Data/Images/Item.php | 2 +- .../CreateProductImagesResponse.php | 4 +- .../CreateProductImagesResponse}/Data.php | 2 +- .../DeleteAllProductImagesInGallery.php | 6 +- ...eleteAllProductImagesInGalleryResponse.php | 35 + .../Data.php | 9 + .../DeleteOneProductImage.php | 6 +- .../DeleteOneProductImageResponse.php | 35 + .../DeleteOneProductImageResponse/Data.php | 9 + .../GetListOfProductImages.php | 6 +- .../GetListOfProductImagesResponse.php | 4 +- .../GetListOfProductImagesResponse}/Data.php | 4 +- .../Data/Images.php | 6 +- .../Data/Images/Item.php | 10 +- .../GetProductImagesUpdate.php | 8 +- .../GetProductImagesUpdateRequest.php | 4 +- .../GetProductImagesUpdateRequest}/Data.php | 4 +- .../Data/Images.php} | 8 +- .../Data/Images/Item.php | 2 +- .../GetProductImagesUpdateResponse.php | 4 +- .../GetProductImagesUpdateResponse/Data.php | 4 +- .../Data/Images.php | 6 +- .../Data/Images/Item.php | 10 +- .../UpdateProductImagesSource.php | 8 +- .../UpdateProductImagesSourceRequest.php | 4 +- .../UpdateProductImagesSourceRequest/Data.php | 22 + .../Data/Images.php | 6 +- .../Data/Images/Item.php | 2 +- .../UpdateProductImagesSourceResponse.php | 4 +- .../Data.php | 21 + .../CreateRelatedFileLink.php | 34 + .../CreateRelatedFileLinkRequest.php | 22 + .../CreateRelatedFileLinkRequest/Data.php | 33 + .../CreateRelatedFileLinkResponse.php | 35 + .../CreateRelatedFileLinkResponse/Data.php | 22 + .../Data/RelatedFiles.php | 31 + .../Data/RelatedFiles/Item.php | 57 + .../DeleteOneProductRelatedFile.php | 33 + .../DeleteOneProductRelatedFileResponse.php | 35 + .../Data.php | 9 + .../AddItemToProductSet.php | 8 +- .../AddItemToProductSetRequest.php | 4 +- .../AddItemToProductSetRequest/Data.php | 4 +- .../Data/SetItem.php | 2 +- .../AddItemToProductSetResponse.php | 4 +- .../AddItemToProductSetResponse/Data.php | 4 +- .../Data/Items.php | 2 +- .../SetProductSetItems.php | 8 +- .../SetProductSetItemsRequest.php | 4 +- .../SetProductSetItemsRequest/Data.php | 4 +- .../Data/SetItems.php | 6 +- .../Data/SetItems/Item.php | 2 +- .../SetProductSetItemsResponse.php | 4 +- .../SetProductSetItemsResponse/Data.php | 4 +- .../SetProductSetItemsResponse/Data/Items.php | 2 +- src/Endpoint/Products/CreateProduct.php | 2 +- .../CreateProductRequest.php | 0 .../CreateProductRequest/Data.php | 24 + .../Data/CategoryGuids.php | 0 .../Data/DescriptiveParameters.php | 0 .../Data/DescriptiveParameters/Item.php | 0 .../Data/FilteringParameters.php | 0 .../Data/FilteringParameters/Item.php | 0 .../Data/FilteringParameters/Item/Values.php | 0 .../CreateProductRequest/Data/Flags.php | 0 .../CreateProductRequest/Data/Flags/Item.php | 14 +- .../Data/RelatedVideos.php | 0 .../Data/RelatedVideos/Item.php | 0 .../Data/SurchargeParameters.php | 0 .../CreateProductRequest/Data/Variants.php | 0 .../Data/Variants/Item.php | 28 +- .../Data/Variants/Item/OssVatLevels.php} | 8 +- .../Data/Variants/Item/OssVatLevels/Item.php | 33 + .../Data/Variants/Item/Parameters.php | 0 .../Data/Variants/Item/Parameters/Item.php | 0 .../Data/Variants/Item/StocksLocations.php | 0 .../Variants/Item/StocksLocations/Item.php | 8 +- .../CreateProductResponse.php | 0 .../CreateProductResponse/Data.php | 0 ...eleteAllProductImagesInGalleryResponse.php | 34 - .../DeleteConsumptionTaxResponse.php | 34 - .../DeleteFilteringParameterResponse.php | 34 - .../DeleteFilteringParameterValueResponse.php | 34 - .../DeleteOneProductImageResponse.php | 34 - src/Endpoint/Products/DeleteProduct.php | 2 +- .../DeleteProductCategoryResponse.php | 34 - .../DeleteProductFlagResponse.php | 34 - .../DeleteProductResponse.php | 7 +- .../DeleteProductResponse/Data.php | 9 + .../Products/DeleteProductVariant.php | 2 +- .../DeleteProductVariantResponse.php | 7 +- .../DeleteProductVariantResponse/Data.php | 9 + ...eleteSurchargeParameterByIndexResponse.php | 34 - .../DeleteSurchargeParameterValueResponse.php | 34 - .../DeleteVariantParameterResponse.php | 34 - .../DeleteVariantParameterValueResponse.php | 34 - .../Products/GetLastProductChanges.php | 2 +- .../GetLastProductChangesResponse.php | 0 .../GetLastProductChangesResponse/Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../Products/GetListOfAllProducts.php | 10 +- ...GetListOfAllProductsAndPricelistPrices.php | 40 + ...fAllProductsAndPricelistPricesResponse.php | 35 + .../Data.php | 21 + .../GetListOfAllProductsResponse.php | 0 .../GetListOfAllProductsResponse/Data.php | 0 .../Data.php | 22 - .../Data.php | 22 - src/Endpoint/Products/GetListOfProducts.php | 6 +- .../Data/Flags.php | 31 - .../GetListOfProductsResponse.php | 0 .../GetListOfProductsResponse/Data.php | 0 .../Data/Products.php | 0 .../Data/Products/Item.php | 34 +- .../Data/Products/Item/DefaultCategory.php | 8 +- .../Data/Products/Item/MainImage.php | 8 +- src/Endpoint/Products/GetProductDetail.php | 2 +- .../Products/GetProductDetailByCode.php | 2 +- .../GetProductDetailByCodeResponse.php | 0 .../GetProductDetailResponse.php | 0 src/Endpoint/Products/ProductBatchUpdate.php | 2 +- .../ProductBatchUpdateRequest.php | 0 .../ProductBatchUpdateResponse.php | 0 .../ProductBatchUpdateResponse/Data.php | 0 src/Endpoint/Products/ProductCopy.php | 2 +- .../ProductCopyRequest/ProductCopyRequest.php | 0 .../ProductCopyRequest/Data.php | 0 .../Data/CopyProperties.php | 0 .../ProductCopyResponse.php | 0 .../SetAlternativeProductsResponse/Data.php | 22 - .../Products/UnlinkAllProductRelatedFiles.php | 33 + .../UnlinkAllProductRelatedFilesResponse.php | 35 + .../Data.php | 9 + .../Data.php | 107 -- .../Data/Values.php | 31 - src/Endpoint/Products/UpdateProduct.php | 2 +- src/Endpoint/Products/UpdateProductByCode.php | 2 +- .../UpdateProductByCodeRequest.php | 8 +- .../UpdateProductByCodeRequest/Data.php | 305 ---- .../Data/CategoryGuids.php | 31 - .../Data/DescriptiveParameters.php | 31 - .../Data/DescriptiveParameters/Item.php | 57 - .../Data/FilteringParameters.php | 31 - .../Data/FilteringParameters/Item.php | 34 - .../Data/Flags/Item.php | 46 - .../Data/RelatedVideos.php | 31 - .../Data/RelatedVideos/Item.php | 45 - .../Data/SurchargeParameters.php | 31 - .../Data/Variants.php | 31 - .../Data/Variants/Item.php | 339 ---- .../Data/Variants/Item/Parameters.php | 31 - .../Data/Variants/Item/Parameters/Item.php | 33 - .../Variants/Item/StocksLocations/Item.php | 33 - .../UpdateProductByCodeResponse.php | 0 .../UpdateProductCategoryRequest.php | 22 - .../UpdateProductImagesSourceRequest/Data.php | 22 - .../Data/Images.php | 31 - .../UpdateProductOrderInCategoryResponse.php | 34 - .../UpdateProductRequest.php | 8 +- .../UpdateProductResponse.php | 0 .../Data.php | 22 - .../Data/SurchargeParameter/Values.php | 31 - .../Data.php | 82 - .../Data/Values.php | 31 - .../DownloadProformaInvoicePdf.php | 2 +- .../GetLastProformaInvoiceChanges.php | 2 +- .../GetLastProformaInvoiceChangesResponse.php | 0 .../Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 8 +- .../GetListOfAllProformaInvoices.php | 6 +- .../GetListOfAllProformaInvoicesResponse.php | 0 .../Data.php | 0 .../GetListOfProformaInvoices.php | 2 +- .../GetListOfProformaInvoicesResponse.php | 0 .../Data.php | 0 .../Data/ProformaInvoices.php | 0 .../Data/ProformaInvoices/Item.php | 14 +- .../GetProformaInvoiceDetail.php | 2 +- .../GetProformaInvoiceDetailResponse.php | 0 .../GetProformaInvoiceDetailResponse/Data.php | 0 src/Endpoint/Project/GetProjectDomainList.php | 33 + .../GetProjectDomainListResponse.php | 35 + .../GetProjectDomainListResponse/Data.php | 22 + .../Data/Domains.php | 31 + .../Data/Domains/Item.php | 69 + .../Project/GetProjectSalesChannels.php | 33 + .../GetProjectSalesChannelsResponse.php | 35 + .../GetProjectSalesChannelsResponse/Data.php | 22 + .../Data/SalesChannels.php} | 8 +- .../Data/SalesChannels/Item.php | 98 ++ .../Data/SalesChannels/Item/Currencies.php | 31 + .../Data/SalesChannels/Item/Languages.php | 31 + .../ProofPayments/CreateProofPayment.php | 2 +- .../CreateProofPaymentByOrderCode.php | 2 +- .../CreateProofPaymentByOrderCodeResponse.php | 0 .../Data.php | 0 ...reateProofPaymentByProformaInvoiceCode.php | 2 +- ...ofPaymentByProformaInvoiceCodeResponse.php | 0 .../Data.php | 0 .../CreateProofPaymentRequest.php | 0 .../CreateProofPaymentRequest/Data.php | 16 +- .../CreateProofPaymentResponse.php | 0 .../CreateProofPaymentResponse/Data.php | 0 .../ProofPayments/DeleteProofPayment.php | 2 +- .../DeleteProofPaymentResponse.php | 7 +- .../DeleteProofPaymentResponse/Data.php | 9 + .../DownloadProofOfPaymentPdf.php | 2 +- .../DownloadProofPaymentAsIsdoc.php | 32 + .../GetLastProofPaymentsChanges.php | 2 +- .../GetLastProofPaymentsChangesResponse.php | 0 .../Data.php | 0 .../Data/Changes.php | 0 .../Data/Changes/Item.php | 0 .../Data/Paginator.php | 0 .../GetListOfAllProofPayments.php | 6 +- .../GetListOfAllProofPaymentsResponse.php | 0 .../Data.php | 0 .../ProofPayments/GetListOfProofPayments.php | 2 +- .../GetListOfProofPaymentsResponse.php | 0 .../GetListOfProofPaymentsResponse/Data.php | 0 .../Data/Items.php | 0 .../ProofPayments/GetProofPaymentDetail.php | 2 +- .../GetProofPaymentDetailByOrderCode.php | 2 +- ...tProofPaymentDetailByOrderCodeResponse.php | 0 .../Data.php | 0 .../Data/ProofPayments.php | 0 ...roofPaymentDetailByProformaInvoiceCode.php | 2 +- ...entDetailByProformaInvoiceCodeResponse.php | 0 .../Data.php | 0 .../Data/ProofPayments.php | 0 .../GetProofPaymentDetailResponse.php | 0 .../GetProofPaymentDetailResponse/Data.php | 0 .../ProofPaymentDocumentSettings.php | 2 +- .../ProofPaymentDocumentSettingsRequest.php | 0 .../Data.php | 0 .../ProofPaymentDocumentSettingsResponse.php | 0 .../Data.php | 0 .../ProofPayments/UpdateProofPayment.php | 2 +- .../UpdateProofPaymentRequest.php | 0 .../UpdateProofPaymentRequest/Data.php | 0 .../UpdateProofPaymentResponse.php | 0 .../UpdateProofPaymentResponse/Data.php | 0 src/Endpoint/Put.php | 0 .../CreateQuantityDiscount.php | 2 +- .../CreateQuantityDiscountRequest.php | 0 .../CreateQuantityDiscountRequest/Data.php | 14 +- .../Data/CustomerGroupCodes.php | 0 .../Data/Settings.php | 0 .../Data/Settings/Item.php | 0 .../Data/Settings/Item/DiscountValue.php | 0 .../Data/Targeting.php | 0 .../Data/Targeting/BrandCodes.php | 0 .../Data/Targeting/CategoryGuids.php | 0 .../Data/Targeting/ProductGuids.php | 0 .../CreateQuantityDiscountResponse.php | 0 .../CreateQuantityDiscountResponse/Data.php | 0 .../DeleteQuantityDiscount.php | 2 +- .../DeleteQuantityDiscountResponse.php | 7 +- .../DeleteQuantityDiscountResponse/Data.php | 9 + .../GetDetailOfQuantityDiscounts.php | 2 +- .../GetDetailOfQuantityDiscountsResponse.php | 0 .../Data.php | 0 .../GetListOfAllQuantityDiscounts.php | 6 +- .../GetListOfAllQuantityDiscountsResponse.php | 0 .../Data.php | 0 .../GetListOfQuantityDiscounts.php | 2 +- .../GetListOfQuantityDiscountsResponse.php | 0 .../Data.php | 0 .../Data/Discounts.php | 0 .../Data/Discounts/Item.php | 14 +- .../Data/Discounts/Item/CustomerGroups.php | 0 .../Discounts/Item/CustomerGroups/Item.php | 0 .../UpdateQuantityDiscount.php | 2 +- .../UpdateQuantityDiscountRequest.php | 0 .../UpdateQuantityDiscountRequest/Data.php | 14 +- .../Data/CustomerGroupCodes.php | 0 .../Data/Settings.php | 0 .../Data/Settings/Item.php | 0 .../Data/Settings/Item/DiscountValue.php | 0 .../Data/Targeting.php | 0 .../Data/Targeting/BrandCodes.php | 0 .../Data/Targeting/CategoryGuids.php | 0 .../Data/Targeting/ProductGuids.php | 0 .../UpdateQuantityDiscountResponse.php | 0 .../UpdateQuantityDiscountResponse/Data.php | 0 .../GetListOfRecyclingFeeCategories.php | 6 +- ...etListOfRecyclingFeeCategoriesResponse.php | 4 +- .../Data.php | 4 +- .../Data/RecyclingFeeCategories.php | 2 +- .../AddRelatedProduct.php | 8 +- .../AddRelatedProductRequest.php | 4 +- .../AddRelatedProductRequest/Data.php | 4 +- .../Data/RelatedProduct.php | 2 +- .../AddRelatedProductResponse.php | 4 +- .../AddRelatedProductResponse}/Data.php | 4 +- .../AddRelatedProductResponse/Data/Items.php | 2 +- .../GetListOfProductRelatedProducts.php | 6 +- ...etListOfProductRelatedProductsResponse.php | 4 +- .../Data.php | 22 + .../Data/Items.php | 2 +- .../SetRelatedProducts.php | 8 +- .../SetRelatedProductsRequest.php | 4 +- .../SetRelatedProductsRequest/Data.php | 4 +- .../Data/RelatedProducts.php | 6 +- .../Data/RelatedProducts/Item.php | 2 +- .../SetRelatedProductsResponse.php | 4 +- .../SetRelatedProductsResponse}/Data.php | 4 +- .../Data/Items.php | 2 +- .../Reviews/GetListOfEshopReviews.php | 33 + .../GetListOfEshopReviewsResponse.php | 35 + .../GetListOfEshopReviewsResponse}/Data.php | 4 +- .../Data/Reviews.php | 6 +- .../Data/Reviews/Item.php | 119 ++ .../Data/Reviews/Item/Reaction.php | 10 +- .../GetListOfProductsReviews.php | 6 +- .../GetListOfProductsReviewsResponse.php | 4 +- .../GetListOfProductsReviewsResponse/Data.php | 35 + .../Data/Reviews.php | 31 + .../Data/Reviews/Item.php | 25 +- .../Data/Reviews/Item/Reaction.php | 58 + .../ShippingMethods/CreateShippingMethod.php | 2 +- .../CreateShippingMethodRequest.php | 0 .../CreateShippingMethodRequest/Data1.php | 8 +- .../Data1/Logo.php | 0 .../CreateShippingMethodRequest/Data2.php | 8 +- .../Data2/Logo.php | 0 .../CreateShippingMethodResponse.php | 0 .../CreateShippingMethodResponse/Data.php | 0 .../Data/ShippingCompany.php | 0 .../GetListOfShippingMethods.php | 2 +- .../GetListOfShippingMethodsResponse.php | 0 .../GetListOfShippingMethodsResponse/Data.php | 12 + .../Data/ShippingMethods.php | 0 .../Data/ShippingMethods/Item.php | 6 +- .../ShippingMethods/Item/ShippingCompany.php | 0 .../GetShippingRequestForCartDetails.php | 2 +- ...tShippingRequestForCartDetailsResponse.php | 0 .../Data.php | 0 .../Data/Cart.php | 0 .../Data/Eshop.php | 0 .../Data/Items.php | 0 .../Data/Items/Item.php | 8 +- ...etShippingRequestForGettingOrderStatus.php | 2 +- ...ngRequestForGettingOrderStatusResponse.php | 0 .../Data.php | 0 .../ShippingRequests/UpdateShippingData.php | 2 +- .../UpdateShippingDataRequest.php | 0 .../UpdateShippingDataRequest/Data.php | 8 +- .../Data/DeliveryAddress.php | 0 .../UpdateShippingDataRequest/Data/Price.php | 0 .../UpdateShippingDataResponse.php | 0 .../UpdateShippingDataResponse/Data.php | 0 src/Endpoint/Stocks/GetListOfStocks.php | 2 +- .../GetListOfStocksResponse.php | 0 .../GetListOfStocksResponse/Data.php | 0 .../GetListOfStocksResponse/Data/Stocks.php | 28 +- .../Stocks/GetProductSuppliesInStock.php | 2 +- .../GetProductSuppliesInStockResponse.php | 0 .../Data.php | 0 .../Data/Supplies.php | 0 .../Data/Supplies/Item.php | 22 +- src/Endpoint/Stocks/GetStockDetail.php | 2 +- .../GetStockDetailResponse.php | 0 .../GetStockDetailResponse/Data.php | 0 src/Endpoint/Stocks/GetStockMovements.php | 2 +- .../Stocks/GetStockMovementsLastMove.php | 2 +- .../GetStockMovementsLastMoveResponse.php | 0 .../Data.php | 0 .../GetStockMovementsResponse.php | 0 .../GetStockMovementsResponse/Data.php | 0 .../Data/Movements.php | 0 .../Data/Movements/Item.php | 28 +- src/Endpoint/Stocks/UpdateQuantityInStock.php | 2 +- .../UpdateQuantityInStockRequest.php | 0 .../UpdateQuantityInStockRequest/Data.php | 6 +- .../Data/Item1.php | 0 .../Data/Item2.php | 0 .../Data/Item3.php | 0 .../Data/ItemWithAmountChange.php | 0 .../Data/ItemWithQuantity.php | 0 .../Data/ItemWithRealStock.php | 0 .../UpdateQuantityInStockResponse.php | 7 +- .../UpdateQuantityInStockResponse/Data.php | 9 + src/Endpoint/Suppliers/GetListOfSuppliers.php | 2 +- .../GetListOfSuppliersResponse.php | 0 .../GetListOfSuppliersResponse/Data.php | 0 .../Data/Suppliers.php | 0 .../CreateSurchargeParameter.php | 8 +- .../CreateSurchargeParameterRequest.php | 4 +- .../CreateSurchargeParameterRequest/Data.php | 12 +- .../Data/Values.php | 6 +- .../Data/Values}/Item.php | 10 +- .../CreateSurchargeParameterResponse.php | 4 +- .../CreateSurchargeParameterResponse/Data.php | 4 +- .../Data/SurchargeParameter.php | 4 +- .../Data/SurchargeParameter/Values.php | 2 +- .../CreateSurchargeParameterValue.php | 8 +- .../CreateSurchargeParameterValueRequest.php | 4 +- .../Data.php | 4 +- .../Data/ParamValues.php | 6 +- .../Data/ParamValues}/Item.php | 10 +- .../CreateSurchargeParameterValueResponse.php | 4 +- .../Data.php | 4 +- .../Data/SurchargeParameter.php | 4 +- .../Data/SurchargeParameter}/Values.php | 2 +- .../DeleteSurchargeParameterByIndex.php | 6 +- ...eleteSurchargeParameterByIndexResponse.php | 35 + .../Data.php | 9 + .../DeleteSurchargeParameterValue.php | 6 +- .../DeleteSurchargeParameterValueResponse.php | 35 + .../Data.php | 9 + .../GetDetailOfSurchargeParameter.php | 6 +- .../GetDetailOfSurchargeParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/SurchargeParameter.php | 4 +- .../Data/SurchargeParameter/Values.php | 2 +- .../GetListOfSurchargeParameters.php | 6 +- .../GetListOfSurchargeParametersResponse.php | 4 +- .../Data.php | 4 +- .../Data/SurchargeParameters.php | 6 +- .../Data/SurchargeParameters/Item.php | 4 +- .../Data/SurchargeParameters/Item/Values.php | 31 + .../UpdateSurchargeParameter.php | 8 +- .../UpdateSurchargeParameterRequest.php | 4 +- .../UpdateSurchargeParameterRequest/Data.php | 10 +- .../UpdateSurchargeParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/SurchargeParameter.php | 2 +- .../UpdateSurchargeParameterValue.php | 8 +- .../UpdateSurchargeParameterValueRequest.php | 4 +- .../Data.php | 10 +- .../UpdateSurchargeParameterValueResponse.php | 4 +- .../Data.php | 22 + .../Data/SurchargeParameter.php | 4 +- .../Data/SurchargeParameter/Values.php | 2 +- .../Templates/CreateAndEditHtmlCodes.php | 2 +- .../CreateAndEditHtmlCodesRequest.php | 0 .../CreateAndEditHtmlCodesRequest/Data.php | 0 .../Data/Snippets.php | 0 .../Data/Snippets/Item.php | 0 .../CreateAndEditHtmlCodesResponse.php | 0 .../CreateAndEditHtmlCodesResponse/Data.php | 0 .../Data/Snippets.php | 0 .../Data/Snippets/Item.php | 0 src/Endpoint/Templates/DeleteHtmlCode.php | 2 +- .../DeleteHtmlCodeResponse.php | 7 +- .../DeleteHtmlCodeResponse/Data.php | 9 + .../Templates/GetListingOfHtmlCodes.php | 2 +- .../GetListingOfHtmlCodesResponse.php | 0 .../GetListingOfHtmlCodesResponse/Data.php | 0 .../Data/Snippets.php | 0 .../Data/Snippets/Item.php | 0 .../GetListOfProductUnits.php | 6 +- .../GetListOfProductUnitsResponse.php | 4 +- .../GetListOfProductUnitsResponse/Data.php | 4 +- .../Data/Units.php | 6 +- .../Data/Units/Item.php | 2 +- .../CreateUnsubscribedEmail.php | 2 +- .../CreateUnsubscribedEmailRequest.php | 0 .../CreateUnsubscribedEmailRequest/Data.php | 0 .../CreateUnsubscribedEmailResponse.php | 0 .../CreateUnsubscribedEmailResponse/Data.php | 0 .../Data/UnsubscribedEmail.php | 8 +- .../GetListingOfUnsubscribedEmails.php | 2 +- ...GetListingOfUnsubscribedEmailsResponse.php | 0 .../Data.php | 0 .../Data/UnsubscribedEmails.php | 0 .../Data/UnsubscribedEmails/Item.php | 8 +- .../CreateVariantParameter.php | 8 +- .../CreateVariantParameterRequest.php | 4 +- .../CreateVariantParameterRequest/Data.php | 2 +- .../CreateVariantParameterResponse.php | 4 +- .../CreateVariantParameterResponse/Data.php | 4 +- .../Data/Values.php | 2 +- .../CreateVariantParameterValue.php | 8 +- .../CreateVariantParameterValueRequest.php | 4 +- .../Data.php | 2 +- .../CreateVariantParameterValueResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../DeleteVariantParameter.php | 6 +- .../DeleteVariantParameterResponse.php | 35 + .../DeleteVariantParameterResponse/Data.php | 9 + .../DeleteVariantParameterValue.php | 6 +- .../DeleteVariantParameterValueResponse.php | 35 + .../Data.php | 9 + .../GetDetailOfVariantParameter.php | 6 +- .../GetDetailOfVariantParameterResponse.php | 4 +- .../Data.php | 4 +- .../Data/Values.php | 2 +- .../GetListOfVariantParameters.php | 6 +- .../GetListOfVariantParametersResponse.php | 4 +- .../Data.php | 4 +- .../Data/Parameters.php | 6 +- .../Data/Parameters/Item.php | 4 +- .../Data/Parameters/Item/Values.php | 2 +- .../UpdateVariantParameter.php | 8 +- .../UpdateVariantParameterRequest.php | 4 +- .../UpdateVariantParameterRequest/Data.php | 2 +- .../UpdateVariantParameterResponse.php | 4 +- .../UpdateVariantParameterResponse/Data.php | 4 +- .../Data/Values.php | 2 +- .../UpdateVariantParameterValue.php | 8 +- .../UpdateVariantParameterValueRequest.php | 4 +- .../Data.php | 2 +- .../UpdateVariantParameterValueResponse.php | 4 +- .../Data.php | 82 + .../Data/Values.php | 31 + .../GetListOfVolumeDiscounts.php | 39 + .../GetListOfVolumeDiscountsResponse.php | 35 + .../GetListOfVolumeDiscountsResponse/Data.php | 35 + .../Data/Discounts.php | 31 + .../Data/Discounts/Item.php | 73 + .../Data/Discounts/Item/CustomerGroups.php | 31 + .../Discounts/Item/CustomerGroups/Item.php | 33 + .../GetListOfProductWarranties.php | 6 +- .../GetListOfProductWarrantiesResponse.php | 4 +- .../Data.php | 4 +- .../Data/Warranties.php | 6 +- .../Data/Warranties/Item.php | 2 +- .../Webhooks/DeleteRegisteredWebhook.php | 2 +- .../DeleteRegisteredWebhookResponse.php | 7 +- .../DeleteRegisteredWebhookResponse/Data.php | 9 + .../Webhooks/GenerateWebhookSignatureKey.php | 2 +- .../GenerateWebhookSignatureKeyResponse.php | 0 .../Data.php | 0 .../GetDetailOfRegisteredWebhooks.php | 2 +- .../GetDetailOfRegisteredWebhooksResponse.php | 0 .../Data.php | 0 .../GetOverviewOfRegisteredWebhooks.php | 2 +- ...etOverviewOfRegisteredWebhooksResponse.php | 0 .../Data.php | 0 .../Data/Webhooks.php | 0 .../Webhooks/GetWebhookNotification.php | 2 +- .../GetWebhookNotificationResponse.php | 0 .../GetWebhookNotificationResponse/Data.php | 0 .../Data/Notifications.php | 0 src/Endpoint/Webhooks/RegisterNewWebhook.php | 2 +- .../RegisterNewWebhookRequest.php | 0 .../RegisterNewWebhookRequest/Data.php | 0 .../RegisterNewWebhookRequest/Data/Item.php | 0 .../RegisterNewWebhookResponse.php | 0 .../RegisterNewWebhookResponse/Data.php | 0 .../Data/Webhooks.php | 0 .../Webhooks/UpdateExistingWebhook.php | 2 +- .../UpdateExistingWebhookRequest.php | 0 .../UpdateExistingWebhookRequest/Data.php | 0 .../UpdateExistingWebhookResponse.php | 7 +- .../UpdateExistingWebhookResponse/Data.php | 9 + src/Endpoint/XYDiscounts/CreateXYDiscount.php | 2 +- .../CreateXYDiscountRequest.php | 0 .../CreateXYDiscountRequest/Data.php | 14 +- .../Data/CustomerGroupCodes.php | 0 .../CreateXYDiscountResponse.php | 0 .../CreateXYDiscountResponse/Data.php | 0 src/Endpoint/XYDiscounts/DeleteXYDiscount.php | 2 +- .../DeleteXYDiscountResponse.php | 7 +- .../DeleteXYDiscountResponse/Data.php | 9 + .../XYDiscounts/GetDetailOfXYDiscounts.php | 2 +- .../GetDetailOfXYDiscountsResponse.php | 0 .../GetDetailOfXYDiscountsResponse/Data.php | 0 .../XYDiscounts/GetListOfXYDiscounts.php | 2 +- .../GetListOfXYDiscountsResponse.php | 0 .../GetListOfXYDiscountsResponse/Data.php | 0 .../Data/Discounts.php | 0 .../Data/Discounts/Item.php | 14 +- .../Data/Discounts/Item/CustomerGroups.php | 0 .../Discounts/Item/CustomerGroups/Item.php | 0 .../XYDiscounts/GetXYDiscountsSettings.php | 2 +- .../GetXYDiscountsSettingsResponse.php | 0 .../GetXYDiscountsSettingsResponse/Data.php | 0 src/Endpoint/XYDiscounts/UpdateXYDiscount.php | 2 +- .../UpdateXYDiscountRequest.php | 0 .../UpdateXYDiscountRequest/Data.php | 14 +- .../Data/CustomerGroupCodes.php | 0 .../UpdateXYDiscountResponse.php | 0 .../UpdateXYDiscountResponse/Data.php | 0 .../XYDiscounts/UpdateXYDiscountSettings.php | 2 +- .../UpdateXYDiscountSettingsRequest.php | 0 .../UpdateXYDiscountSettingsRequest/Data.php | 0 .../UpdateXYDiscountSettingsResponse.php | 0 .../UpdateXYDiscountSettingsResponse/Data.php | 0 src/Exception/BadMethodCallException.php | 0 src/Exception/EndpointValidationException.php | 0 src/Exception/Exception.php | 0 src/Exception/InvalidArgumentException.php | 0 src/Exception/LogicException.php | 0 src/Exception/NetworkException.php | 0 src/Exception/OutOfRangeException.php | 0 src/Exception/RateLimitExceededException.php | 0 src/Exception/ReflectionException.php | 0 src/Exception/RequestException.php | 0 src/Exception/RuntimeException.php | 0 src/Factory/Endpoint/EndpointFactory.php | 0 .../Entity/EntityCollectionFactory.php | 0 src/Factory/Entity/EntityFactory.php | 0 src/Factory/Response/ArrayResponseFactory.php | 0 .../Response/EntityResponseFactory.php | 0 src/Factory/Response/RawResponseFactory.php | 0 .../Response/ResponseFactoryInterface.php | 0 src/Factory/ValueObject/DateFactory.php | 0 src/Helper/StringConverter.php | 0 src/HttpClient/ClientInterface.php | 0 src/HttpClient/CurlClient.php | 2 +- src/Response/AbstractResponse.php | 0 src/Response/ArrayResponse.php | 2 +- src/Response/EntityResponse.php | 2 +- src/Response/RawResponse.php | 0 src/Response/ResponseInterface.php | 0 src/Sdk.php | 1443 ++++++++++++----- src/Webhook/Event.php | 1 + 1896 files changed, 14024 insertions(+), 5930 deletions(-) mode change 100644 => 100755 src/Async/AsyncEndpoint.php mode change 100644 => 100755 src/Async/JobFailedException.php mode change 100644 => 100755 src/Async/JobIsNotFinishedException.php mode change 100644 => 100755 src/Async/JobNotFoundException.php mode change 100644 => 100755 src/Async/JobResultProcessor.php mode change 100644 => 100755 src/Async/JobStatuses.php mode change 100644 => 100755 src/Async/SnapshotEndpoint.php mode change 100644 => 100755 src/Async/SnapshotResultData.php mode change 100644 => 100755 src/Authorization/AuthorizationFacade.php mode change 100644 => 100755 src/Authorization/MaximumTokenReachedException.php mode change 100644 => 100755 src/Authorization/OAuth.php mode change 100644 => 100755 src/Authorization/ObtainAccessTokenFailedException.php mode change 100644 => 100755 src/Authorization/Token/BearerToken.php mode change 100644 => 100755 src/Authorization/Token/FileTokenStorage.php mode change 100644 => 100755 src/Authorization/Token/PrivateApiToken.php mode change 100644 => 100755 src/Authorization/Token/PublicApiToken.php mode change 100644 => 100755 src/Authorization/Token/Token.php mode change 100644 => 100755 src/Authorization/Token/TokenStorage.php mode change 100644 => 100755 src/Authorization/TokenHasExpiredException.php mode change 100644 => 100755 src/Authorization/TokenNotFoundException.php mode change 100644 => 100755 src/Authorization/UnauthorizedException.php mode change 100644 => 100755 src/Component/Entity/ActionPrice.php mode change 100644 => 100755 src/Component/Entity/Address.php mode change 100644 => 100755 src/Component/Entity/Article.php mode change 100644 => 100755 src/Component/Entity/Article/SectionIds.php mode change 100644 => 100755 src/Component/Entity/Article/Urls.php mode change 100644 => 100755 src/Component/Entity/ArticleList.php mode change 100644 => 100755 src/Component/Entity/ArticleSection.php mode change 100644 => 100755 src/Component/Entity/ArticleSectionList.php create mode 100755 src/Component/Entity/ArticleSnapshot.php mode change 100644 => 100755 src/Component/Entity/ArticleUrls.php mode change 100644 => 100755 src/Component/Entity/AvailabilityShort.php mode change 100644 => 100755 src/Component/Entity/BillingAddress.php mode change 100644 => 100755 src/Component/Entity/BillingAddressCustomer.php mode change 100644 => 100755 src/Component/Entity/BillingMethod.php mode change 100644 => 100755 src/Component/Entity/Brand.php create mode 100755 src/Component/Entity/BrandBatchCreate.php rename src/{Endpoint/Brands/CreateBrandRequest/CreateBrandRequest/Data.php => Component/Entity/BrandCreate.php} (96%) mode change 100644 => 100755 mode change 100644 => 100755 src/Component/Entity/BrandNamed.php mode change 100644 => 100755 src/Component/Entity/CartPrice.php mode change 100644 => 100755 src/Component/Entity/Category.php mode change 100644 => 100755 src/Component/Entity/Category/CatalogueMapping.php mode change 100644 => 100755 src/Component/Entity/Category/CatalogueMapping/Item.php create mode 100755 src/Component/Entity/CategoryBatchUpdate.php rename src/{Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest/Data.php => Component/Entity/CategoryUpdate.php} (81%) mode change 100644 => 100755 mode change 100644 => 100755 src/Component/Entity/ConsumptionTax.php mode change 100644 => 100755 src/Component/Entity/CreditNote.php mode change 100644 => 100755 src/Component/Entity/CreditNote/Items.php create mode 100755 src/Component/Entity/CreditNoteSnapshot.php mode change 100644 => 100755 src/Component/Entity/Customer.php mode change 100644 => 100755 src/Component/Entity/Customer/Accounts.php mode change 100644 => 100755 src/Component/Entity/Customer/Accounts/Item.php mode change 100644 => 100755 src/Component/Entity/Customer/CustomerGroup.php mode change 100644 => 100755 src/Component/Entity/Customer/DeliveryAddress.php mode change 100644 => 100755 src/Component/Entity/Customer/Remarks.php mode change 100644 => 100755 src/Component/Entity/Customer/Remarks/Item.php create mode 100755 src/Component/Entity/CustomerSnapshot.php mode change 100644 => 100755 src/Component/Entity/DeliveryAddressCustomer.php mode change 100644 => 100755 src/Component/Entity/DeliveryNote.php mode change 100644 => 100755 src/Component/Entity/DeliveryNote/Items.php mode change 100644 => 100755 src/Component/Entity/DeliveryNoteItem.php create mode 100755 src/Component/Entity/DeliveryNoteSnapshot.php mode change 100644 => 100755 src/Component/Entity/DiscountCoupon.php create mode 100755 src/Component/Entity/DiscountCouponSnapshot.php mode change 100644 => 100755 src/Component/Entity/DiscussionPost.php mode change 100644 => 100755 src/Component/Entity/DocumentConsumptionTax.php mode change 100644 => 100755 src/Component/Entity/DocumentCustomer.php mode change 100644 => 100755 src/Component/Entity/DocumentItemsWithPrice.php mode change 100644 => 100755 src/Component/Entity/DocumentItemsWithPrice/DisplayPrices.php mode change 100644 => 100755 src/Component/Entity/Entity.php mode change 100644 => 100755 src/Component/Entity/EntityCollection.php mode change 100644 => 100755 src/Component/Entity/EntityCollectionInterface.php mode change 100644 => 100755 src/Component/Entity/Errors.php mode change 100644 => 100755 src/Component/Entity/Errors/Item.php mode change 100644 => 100755 src/Component/Entity/Eshop.php mode change 100644 => 100755 src/Component/Entity/GoogleMappingType.php mode change 100644 => 100755 src/Component/Entity/Invoice.php mode change 100644 => 100755 src/Component/Entity/Invoice/Items.php mode change 100644 => 100755 src/Component/Entity/InvoiceItem.php mode change 100644 => 100755 src/Component/Entity/InvoiceItem/DisplayPrices.php create mode 100755 src/Component/Entity/InvoiceSnapshot.php mode change 100644 => 100755 src/Component/Entity/ItemPrice.php mode change 100644 => 100755 src/Component/Entity/ItemSpecificSurchargeParameters.php mode change 100644 => 100755 src/Component/Entity/ItemSpecificSurchargeParameters/Item.php mode change 100644 => 100755 src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice.php mode change 100644 => 100755 src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice/Item.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParameters.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParameters/Item.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParameters/Item/ParameterName.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParameters/Item/ParameterValue.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParametersWithoutPrice.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterName.php mode change 100644 => 100755 src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterValue.php mode change 100644 => 100755 src/Component/Entity/MeasureUnit.php mode change 100644 => 100755 src/Component/Entity/NotificationData.php mode change 100644 => 100755 src/Component/Entity/Order.php create mode 100755 src/Component/Entity/Order/Completion.php create mode 100755 src/Component/Entity/Order/Completion/Item.php mode change 100644 => 100755 src/Component/Entity/Order/Items.php mode change 100644 => 100755 src/Component/Entity/Order/Notes.php mode change 100644 => 100755 src/Component/Entity/Order/Notes/AdditionalFields.php mode change 100644 => 100755 src/Component/Entity/Order/Notes/AdditionalFields/Item.php mode change 100644 => 100755 src/Component/Entity/Order/PaymentMethods.php mode change 100644 => 100755 src/Component/Entity/Order/PaymentMethods/Item.php mode change 100644 => 100755 src/Component/Entity/Order/ShippingDetails.php mode change 100644 => 100755 src/Component/Entity/Order/Shippings.php mode change 100644 => 100755 src/Component/Entity/Order/Shippings/Item.php mode change 100644 => 100755 src/Component/Entity/Order/Shippings/Item/Shipping.php mode change 100644 => 100755 src/Component/Entity/Order/Source.php mode change 100644 => 100755 src/Component/Entity/Order/Status.php create mode 100755 src/Component/Entity/OrderBatchCreate.php create mode 100755 src/Component/Entity/OrderBatchCreate/Settings.php mode change 100644 => 100755 src/Component/Entity/OrderGift.php rename src/{Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item.php => Component/Entity/OrderHistory.php} (68%) mode change 100644 => 100755 rename src/{Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item => Component/Entity/OrderHistory}/User.php (79%) mode change 100644 => 100755 create mode 100755 src/Component/Entity/OrderHistorySnapshot.php mode change 100644 => 100755 src/Component/Entity/OrderItem.php mode change 100644 => 100755 src/Component/Entity/OrderItem/DisplayPrices.php mode change 100644 => 100755 src/Component/Entity/OrderItem/MainImage.php mode change 100644 => 100755 src/Component/Entity/OrderItem/Status.php mode change 100644 => 100755 src/Component/Entity/OrderItem/SurchargeParametersTexts.php create mode 100755 src/Component/Entity/OrderPreAuthorization.php create mode 100755 src/Component/Entity/OrderSnapshot.php mode change 100644 => 100755 src/Component/Entity/Page.php mode change 100644 => 100755 src/Component/Entity/PageList.php mode change 100644 => 100755 src/Component/Entity/Paginator.php mode change 100644 => 100755 src/Component/Entity/ParameterValueCombinations.php create mode 100755 src/Component/Entity/ParameterValueCombinationsCodes.php mode change 100644 => 100755 src/Component/Entity/PaymentMethod.php mode change 100644 => 100755 src/Component/Entity/Price.php mode change 100644 => 100755 src/Component/Entity/PriceSales.php mode change 100644 => 100755 src/Component/Entity/Pricelist.php mode change 100644 => 100755 src/Component/Entity/PricelistDetail.php delete mode 100644 src/Component/Entity/PricelistDetail/Item.php create mode 100755 src/Component/Entity/PricelistSnapshot.php mode change 100644 => 100755 src/Component/Entity/Product.php mode change 100644 => 100755 src/Component/Entity/Product/AlternativeProducts.php mode change 100644 => 100755 src/Component/Entity/Product/Categories.php mode change 100644 => 100755 src/Component/Entity/Product/Categories/Item.php mode change 100644 => 100755 src/Component/Entity/Product/DefaultCategory.php mode change 100644 => 100755 src/Component/Entity/Product/DescriptiveParameters.php mode change 100644 => 100755 src/Component/Entity/Product/DescriptiveParameters/Item.php mode change 100644 => 100755 src/Component/Entity/Product/FilteringParameters.php mode change 100644 => 100755 src/Component/Entity/Product/FilteringParameters/Item.php mode change 100644 => 100755 src/Component/Entity/Product/FilteringParameters/Item/Values.php mode change 100644 => 100755 src/Component/Entity/Product/FilteringParameters/Item/Values/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Flags.php mode change 100644 => 100755 src/Component/Entity/Product/Flags/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Images.php mode change 100644 => 100755 src/Component/Entity/Product/Images/Item.php mode change 100644 => 100755 src/Component/Entity/Product/RelatedFiles.php mode change 100644 => 100755 src/Component/Entity/Product/RelatedFiles/Item.php mode change 100644 => 100755 src/Component/Entity/Product/RelatedProducts.php mode change 100644 => 100755 src/Component/Entity/Product/RelatedVideos.php mode change 100644 => 100755 src/Component/Entity/Product/RelatedVideos/Item.php mode change 100644 => 100755 src/Component/Entity/Product/SetItems.php mode change 100644 => 100755 src/Component/Entity/Product/SetItems/Item.php mode change 100644 => 100755 src/Component/Entity/Product/SurchargeParameters.php mode change 100644 => 100755 src/Component/Entity/Product/Variants.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/MeasureUnit.php create mode 100755 src/Component/Entity/Product/Variants/Item/OssVatLevels.php create mode 100755 src/Component/Entity/Product/Variants/Item/OssVatLevels/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/Parameters.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/Parameters/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/PerPricelistPrices.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/PerPricelistPrices/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/PerStockAmounts.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php mode change 100644 => 100755 src/Component/Entity/Product/Variants/Item/ZboziCZ.php mode change 100644 => 100755 src/Component/Entity/Product/Warranty.php create mode 100755 src/Component/Entity/ProductBatchUpdate.php mode change 100644 => 100755 src/Component/Entity/ProductConsumptionTax.php mode change 100644 => 100755 src/Component/Entity/ProductFilteringParameterValue.php mode change 100644 => 100755 src/Component/Entity/ProductFilteringParameterValues.php mode change 100644 => 100755 src/Component/Entity/ProductFilteringParameterValues/Item.php mode change 100644 => 100755 src/Component/Entity/ProductFlags.php mode change 100644 => 100755 src/Component/Entity/ProductFlags/Item.php mode change 100644 => 100755 src/Component/Entity/ProductGifts.php mode change 100644 => 100755 src/Component/Entity/ProductGifts/Item.php mode change 100644 => 100755 src/Component/Entity/ProductOrderableAmount.php create mode 100755 src/Component/Entity/ProductPricelistSnapshot.php create mode 100755 src/Component/Entity/ProductPrices.php create mode 100755 src/Component/Entity/ProductPrices/PurchasePrice.php mode change 100644 => 100755 src/Component/Entity/ProductRequestSurchargeParameter.php mode change 100644 => 100755 src/Component/Entity/ProductRequestSurchargeParameter/Values.php mode change 100644 => 100755 src/Component/Entity/ProductRequestSurchargeParameterValue.php mode change 100644 => 100755 src/Component/Entity/ProductSet.php create mode 100755 src/Component/Entity/ProductSnapshot.php mode change 100644 => 100755 src/Component/Entity/ProductSurchargeParameter.php mode change 100644 => 100755 src/Component/Entity/ProductSurchargeParameter/Values.php mode change 100644 => 100755 src/Component/Entity/ProductSurchargeParameterValue.php rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data.php => Component/Entity/ProductUpdate.php} (82%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/CategoryGuids.php (90%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/DescriptiveParameters.php (68%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/DescriptiveParameters/Item.php (89%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/FilteringParameters.php (68%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/FilteringParameters/Item.php (69%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/FilteringParameters/Item/Values.php (86%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Flags.php (69%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Flags/Item.php (54%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/RelatedVideos.php (69%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/RelatedVideos/Item.php (87%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/SurchargeParameters.php (92%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants.php (69%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants/Item.php (87%) mode change 100644 => 100755 create mode 100755 src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels.php create mode 100755 src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels/Item.php rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants/Item/Parameters.php (66%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants/Item/Parameters/Item.php (83%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants/Item/StocksLocations.php (66%) mode change 100644 => 100755 rename src/{Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data => Component/Entity/ProductUpdate}/Variants/Item/StocksLocations/Item.php (81%) mode change 100644 => 100755 mode change 100644 => 100755 src/Component/Entity/ProductVariantParameterValue.php mode change 100644 => 100755 src/Component/Entity/ProductVariantParameterValues.php mode change 100644 => 100755 src/Component/Entity/ProductVariantParameterValues/Item.php mode change 100644 => 100755 src/Component/Entity/ProformaInvoice.php mode change 100644 => 100755 src/Component/Entity/ProformaInvoice/Items.php create mode 100755 src/Component/Entity/ProformaInvoiceCodes.php create mode 100755 src/Component/Entity/ProformaInvoiceSnapshot.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentDetail.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentDetail/Source.php create mode 100755 src/Component/Entity/ProofPaymentSnapshot.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentVatBreakdown.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentVatBreakdown/Items.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentVatBreakdown/Items/Item.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentVatBreakdown/Summary.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentsForInvoice.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentsForInvoice/Item.php mode change 100644 => 100755 src/Component/Entity/ProofPaymentsList.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscount.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscount/CustomerGroups.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscount/CustomerGroups/Item.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountSettingsResponse.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountSettingsResponse/Item.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php create mode 100755 src/Component/Entity/QuantityDiscountSnapshot.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountTargetingResponse.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountTargetingResponse/BrandCodes.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountTargetingResponse/CategoryGuids.php mode change 100644 => 100755 src/Component/Entity/QuantityDiscountTargetingResponse/ProductGuids.php mode change 100644 => 100755 src/Component/Entity/RecyclingFee.php mode change 100644 => 100755 src/Component/Entity/RecyclingFeeCategory.php mode change 100644 => 100755 src/Component/Entity/RelatedProduct.php mode change 100644 => 100755 src/Component/Entity/ShipmentAddress.php mode change 100644 => 100755 src/Component/Entity/ShipmentCarrierCountry.php mode change 100644 => 100755 src/Component/Entity/ShipmentCoDPrice.php mode change 100644 => 100755 src/Component/Entity/ShipmentCustomer.php mode change 100644 => 100755 src/Component/Entity/ShipmentHistory.php mode change 100644 => 100755 src/Component/Entity/ShipmentPackage.php mode change 100644 => 100755 src/Component/Entity/ShipmentPackageWithHistory.php mode change 100644 => 100755 src/Component/Entity/ShipmentPackageWithHistory/History.php mode change 100644 => 100755 src/Component/Entity/ShipmentPrice.php mode change 100644 => 100755 src/Component/Entity/Shipping.php mode change 100644 => 100755 src/Component/Entity/Stock.php create mode 100755 src/Component/Entity/StockList.php mode change 100644 => 100755 src/Component/Entity/Supplier.php mode change 100644 => 100755 src/Component/Entity/SurchargeParameterValue.php create mode 100755 src/Component/Entity/TypeCurrency.php create mode 100755 src/Component/Entity/TypeLanguage.php mode change 100644 => 100755 src/Component/Entity/VariantPrice.php mode change 100644 => 100755 src/Component/Entity/Webhook.php mode change 100644 => 100755 src/Component/Entity/WebhookNotification.php mode change 100644 => 100755 src/Component/Entity/XyDiscount.php mode change 100644 => 100755 src/Component/Entity/XyDiscount/CustomerGroups.php mode change 100644 => 100755 src/Component/Entity/XyDiscount/CustomerGroups/Item.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingPostRequest.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingPostRequest/BrandCodes.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingPostRequest/CategoryGuids.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingPostRequest/ProductGuids.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingResponse.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingResponse/BrandCodes.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingResponse/CategoryGuids.php mode change 100644 => 100755 src/Component/Entity/XyDiscountTargetingResponse/ProductGuids.php mode change 100644 => 100755 src/Component/ValueObject/ConsumptionTaxId.php mode change 100644 => 100755 src/Component/ValueObject/TypeAmount.php create mode 100755 src/Component/ValueObject/TypeAmountNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeColor.php mode change 100644 => 100755 src/Component/ValueObject/TypeConstSymbol.php create mode 100755 src/Component/ValueObject/TypeConstSymbolNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeCurrencyCode.php create mode 100755 src/Component/ValueObject/TypeCurrencyCodeNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeCustomerFieldValue.php mode change 100644 => 100755 src/Component/ValueObject/TypeDate.php create mode 100755 src/Component/ValueObject/TypeDateNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeDateTime.php create mode 100755 src/Component/ValueObject/TypeDateTimeNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeDateTimeRequest.php mode change 100644 => 100755 src/Component/ValueObject/TypeDimension.php mode change 100644 => 100755 src/Component/ValueObject/TypeExchangeRate.php mode change 100644 => 100755 src/Component/ValueObject/TypeFilename.php create mode 100755 src/Component/ValueObject/TypeFilenameNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeGuid.php create mode 100755 src/Component/ValueObject/TypeGuidNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypeGuidUnlimited.php mode change 100644 => 100755 src/Component/ValueObject/TypeNonEmptyString.php mode change 100644 => 100755 src/Component/ValueObject/TypePositiveAmount.php create mode 100755 src/Component/ValueObject/TypePositiveAmountNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypePrice.php create mode 100755 src/Component/ValueObject/TypePriceNullable.php mode change 100644 => 100755 src/Component/ValueObject/TypePriceRatio.php mode change 100644 => 100755 src/Component/ValueObject/TypeProductPriceRatio.php mode change 100644 => 100755 src/Component/ValueObject/TypeUnitRatio.php create mode 100755 src/Component/ValueObject/TypeVariantCodeRequest.php mode change 100644 => 100755 src/Component/ValueObject/TypeVatRate.php mode change 100644 => 100755 src/Component/ValueObject/TypeWeight.php mode change 100644 => 100755 src/Component/ValueObject/TypeWeightRequest.php mode change 100644 => 100755 src/Component/ValueObject/TypeWeightUnlimited.php mode change 100644 => 100755 src/Component/ValueObject/ValueObjectInterface.php rename src/Endpoint/{Products => AlternativeProducts}/AddAlternativeProduct.php (65%) rename src/Endpoint/{Products => AlternativeProducts}/AddAlternativeProductRequest/AddAlternativeProductRequest.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/AddAlternativeProductRequest/AddAlternativeProductRequest/Data.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/AddAlternativeProductRequest/AddAlternativeProductRequest/Data/AlternativeProduct.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/AddAlternativeProductResponse/AddAlternativeProductResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products/AddRelatedProductResponse/AddRelatedProductResponse => AlternativeProducts/AddAlternativeProductResponse/AddAlternativeProductResponse}/Data.php (56%) mode change 100644 => 100755 rename src/Endpoint/{Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse => AlternativeProducts/AddAlternativeProductResponse/AddAlternativeProductResponse}/Data/Items.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/GetListOfProductAlternativeProducts.php (68%) rename src/Endpoint/{Products => AlternativeProducts}/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse.php (71%) mode change 100644 => 100755 create mode 100755 src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php rename src/Endpoint/{Products => AlternativeProducts}/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProducts.php (65%) rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProductsRequest/SetAlternativeProductsRequest.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => AlternativeProducts}/SetAlternativeProductsResponse/SetAlternativeProductsResponse.php (74%) mode change 100644 => 100755 create mode 100755 src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php rename src/Endpoint/{Products/SetRelatedProductsResponse/SetRelatedProductsResponse => AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse}/Data/Items.php (88%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest/Data.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest/Data/SectionIds.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest/Data.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php create mode 100755 src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse.php create mode 100755 src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticleResponse/GetDetailOfArticleResponse.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticleResponse/GetDetailOfArticleResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticleSectionResponse/GetDetailOfArticleSectionResponse.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticleSectionResponse/GetDetailOfArticleSectionResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetListAllArticlesResponse/GetListAllArticlesResponse.php mode change 100644 => 100755 src/Endpoint/Articles/GetListAllArticlesResponse/GetListAllArticlesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticleSectionsResponse/GetListOfArticleSectionsResponse.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticleSectionsResponse/GetListOfArticleSectionsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticleSectionsResponse/GetListOfArticleSectionsResponse/Data/Sections.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticlesResponse/GetListOfArticlesResponse.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticlesResponse/GetListOfArticlesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticlesResponse/GetListOfArticlesResponse/Data/Articles.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleRequest/UpdateArticleRequest.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleRequest/UpdateArticleRequest/Data.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleRequest/UpdateArticleRequest/Data/SectionIds.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse/Data.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest/Data.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse/Data.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandBatchRequest/CreateBrandBatchRequest.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse/Data.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandResponse/CreateBrandResponse.php mode change 100644 => 100755 src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php create mode 100755 src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse/Data.php mode change 100644 => 100755 src/Endpoint/Brands/GetDetailOfBrandResponse/GetDetailOfBrandResponse.php mode change 100644 => 100755 src/Endpoint/Brands/GetListofBrandsResponse/GetListofBrandsResponse.php mode change 100644 => 100755 src/Endpoint/Brands/GetListofBrandsResponse/GetListofBrandsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Brands/GetListofBrandsResponse/GetListofBrandsResponse/Data/Brands.php mode change 100644 => 100755 src/Endpoint/Brands/UpdateBrandRequest/UpdateBrandRequest.php mode change 100644 => 100755 src/Endpoint/Brands/UpdateBrandRequest/UpdateBrandRequest/Data.php mode change 100644 => 100755 src/Endpoint/Brands/UpdateBrandResponse/UpdateBrandResponse.php rename src/Endpoint/{Products => Categories}/CreateProductCategory.php (66%) rename src/Endpoint/{Products => Categories}/CreateProductCategoryRequest/CreateProductCategoryRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/CreateProductCategoryRequest/CreateProductCategoryRequest/Data.php (81%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/CreateProductCategoryResponse/CreateProductCategoryResponse.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/DeleteProductCategory.php (73%) create mode 100755 src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php create mode 100755 src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse/Data.php rename src/Endpoint/{Products => Categories}/GetListOfProductCategories.php (71%) rename src/Endpoint/{Products => Categories}/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data/Categories.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductsOrderInCategory.php (72%) rename src/Endpoint/{Products => Categories}/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php (81%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/GetProductCategoryDetail.php (71%) rename src/Endpoint/{Products => Categories}/GetProductCategoryDetailResponse/GetProductCategoryDetailResponse.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/UpdateProductCategory.php (67%) rename src/Endpoint/{Products => Categories}/UpdateProductCategoryBatch.php (68%) rename src/Endpoint/{Products => Categories}/UpdateProductCategoryBatchRequest/UpdateProductCategoryBatchRequest.php (83%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{DocumentExport/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse => Categories/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse}/Data.php (72%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Categories/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php rename src/Endpoint/{Products => Categories}/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/UpdateProductOrderInCategory.php (67%) rename src/Endpoint/{Products => Categories}/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => Categories}/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php (84%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php create mode 100755 src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse/Data.php rename src/Endpoint/{Products => ConsumptionTaxes}/CreateConsumptionTax.php (65%) rename src/Endpoint/{Products => ConsumptionTaxes}/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/CreateConsumptionTaxResponse/CreateConsumptionTaxResponse.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/DeleteConsumptionTax.php (70%) create mode 100755 src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php create mode 100755 src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse/Data.php rename src/Endpoint/{Products => ConsumptionTaxes}/GetListOfConsumptionTaxes.php (69%) rename src/Endpoint/{Products => ConsumptionTaxes}/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data/ConsumptionTaxes.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/UpdateConsumptionTax.php (66%) rename src/Endpoint/{Products => ConsumptionTaxes}/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => ConsumptionTaxes}/UpdateConsumptionTaxResponse/UpdateConsumptionTaxResponse.php (89%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items/Item.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/UseItemIds.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php create mode 100755 src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse.php create mode 100755 src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetCreditNoteDetailResponse/GetCreditNoteDetailResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetCreditNoteDetailResponse/GetCreditNoteDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetLastCreditNoteChangesResponse/GetLastCreditNoteChangesResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetLastCreditNoteChangesResponse/GetLastCreditNoteChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetLastCreditNoteChangesResponse/GetLastCreditNoteChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetLastCreditNoteChangesResponse/GetLastCreditNoteChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes/Item.php mode change 100644 => 100755 src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data/Notes.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse/Data.php rename src/Endpoint/{Customers => CustomerAccounts}/CreateCustomerAccount.php (65%) rename src/Endpoint/{Customers => CustomerAccounts}/CreateCustomerAccountRequest/CreateCustomerAccountRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/CreateCustomerAccountRequest/CreateCustomerAccountRequest/Data.php (93%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/CreateCustomerAccountResponse/CreateCustomerAccountResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/CreateCustomerAccountResponse/CreateCustomerAccountResponse/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Customers/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse => CustomerAccounts/CreateCustomerAccountResponse/CreateCustomerAccountResponse}/Data/Account.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/DeleteCustomerAccount.php (71%) create mode 100755 src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php create mode 100755 src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse/Data.php rename src/Endpoint/{Customers => CustomerAccounts}/GetDetailOfCustomerAccount.php (70%) rename src/Endpoint/{Customers => CustomerAccounts}/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data.php (56%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data/Account.php (93%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetListOfCustomerAccounts.php (71%) rename src/Endpoint/{Customers => CustomerAccounts}/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data.php (71%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php (93%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/UpdateCustomerAccount.php (66%) rename src/Endpoint/{Customers => CustomerAccounts}/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest/Data.php (93%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerAccounts}/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Customers/CreateCustomerAccountResponse/CreateCustomerAccountResponse => CustomerAccounts/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse}/Data/Account.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/CreateDeliveryAddress.php (63%) rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest/Data.php (95%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Customers/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse => CustomerDeliveryAddresses/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse}/Data.php (79%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/DeleteCustomerDeliveryAddress.php (68%) create mode 100755 src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php create mode 100755 src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse/Data.php rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GeListOfCustomerDeliveryAddresses.php (68%) rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse.php (71%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data.php (70%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data/DeliveryAddresses.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GetDetailOfCustomerDeliveryAddress.php (68%) rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse.php (70%) mode change 100644 => 100755 rename src/Endpoint/{Customers/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse => CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse}/Data.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/UpdateCustomerDeliveryAddress.php (64%) rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest/Data.php (95%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerDeliveryAddresses}/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse.php (71%) mode change 100644 => 100755 rename src/Endpoint/{Customers/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse => CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse}/Data.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/CreateCustomerRemark.php (66%) rename src/Endpoint/{Customers => CustomerRemarks}/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema/Data.php (82%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Customers/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse => CustomerRemarks/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse}/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Customers/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse => CustomerRemarks/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse}/Data/Remark.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/DeleteCustomerRemark.php (71%) create mode 100755 src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php create mode 100755 src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse/Data.php rename src/Endpoint/{Customers => CustomerRemarks}/GetDetailOfCustomerRemark.php (70%) rename src/Endpoint/{Customers => CustomerRemarks}/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data.php (55%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data/Remark.php (85%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetListOfCustomerRemarks.php (71%) rename src/Endpoint/{Customers => CustomerRemarks}/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php (84%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/UpdateCustomerRemark.php (66%) rename src/Endpoint/{Customers => CustomerRemarks}/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest/Data.php (83%) mode change 100644 => 100755 rename src/Endpoint/{Customers => CustomerRemarks}/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Customers/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse => CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse}/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Customers/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse => CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse}/Data/Remark.php (86%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest.php mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data.php mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data/Account.php mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse.php mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse/Data.php delete mode 100644 src/Endpoint/Customers/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php delete mode 100644 src/Endpoint/Customers/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php delete mode 100644 src/Endpoint/Customers/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php mode change 100644 => 100755 src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php create mode 100755 src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetCustomerDetailResponse/GetCustomerDetailResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetCustomerDetailResponse/GetCustomerDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions/Item.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php mode change 100644 => 100755 src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest.php mode change 100644 => 100755 src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest/Data.php mode change 100644 => 100755 src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse.php mode change 100644 => 100755 src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse/Data.php mode change 100644 => 100755 src/Endpoint/Delete.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse/Data.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse/Data.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data/CouponCodes.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php create mode 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest/Data/Coupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest/Data/Coupons/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/Brands.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/CategoryGuids.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Brands.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/CustomerGroup.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php create mode 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse.php create mode 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetDetailOfDiscountCouponResponse/GetDetailOfDiscountCouponResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetDetailOfDiscountCouponResponse/GetDetailOfDiscountCouponResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfAllDiscountCouponsResponse/GetListOfAllDiscountCouponsResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfAllDiscountCouponsResponse/GetListOfAllDiscountCouponsResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfDiscountCouponsResponse/GetListOfDiscountCouponsResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfDiscountCouponsResponse/GetListOfDiscountCouponsResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfDiscountCouponsResponse/GetListOfDiscountCouponsResponse/Data/Coupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/Brands.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/Categories.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/Categories/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/CustomerGroup.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/ProductFlags.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCouponsResponse/GetTemplatesOfDiscountCouponsResponse/Data/CouponTemplates/Item/ProductFlags/Item.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageRequest/UpdateDiscountCouponsUsageRequest.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageRequest/UpdateDiscountCouponsUsageRequest/Data.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse.php create mode 100755 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse/Data.php mode change 100644 => 100755 src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse.php mode change 100644 => 100755 src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse/Data/Discussion.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionListRequest/CreateEmailDistributionListRequest.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionListRequest/CreateEmailDistributionListRequest/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionListResponse/CreateEmailDistributionListResponse.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionListResponse/CreateEmailDistributionListResponse/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionListResponse/CreateEmailDistributionListResponse/Data/MailingList.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListRequest/CreateEmailsDistributionListRequest.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListRequest/CreateEmailsDistributionListRequest/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListRequest/CreateEmailsDistributionListRequest/Data/Emails.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse/Data/EmailsExisting.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse/Data/EmailsInserted.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse/Data/EmailsInvalid.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionListResponse/CreateEmailsDistributionListResponse/Data/ErrorMessages.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionListResponse/GetDetailOfEmailDistributionListResponse.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionListResponse/GetDetailOfEmailDistributionListResponse/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionListResponse/GetDetailOfEmailDistributionListResponse/Data/Emails.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionListResponse/GetDetailOfEmailDistributionListResponse/Data/Emails/Item.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists/Item.php mode change 100644 => 100755 src/Endpoint/Endpoint.php mode change 100644 => 100755 src/Endpoint/EndpointMap.php rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpoints.php (70%) rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints.php (68%) mode change 100644 => 100755 rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php (85%) mode change 100644 => 100755 rename src/Endpoint/{SystemEndpoints => Endpoints}/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item/Group.php (79%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Background.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Background/Color.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Background/Image.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/ColorScheme.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Fonts.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Header.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Layout.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Template.php create mode 100644 src/Endpoint/Eshop/GetEshopDocumentSettings.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CompanyStamp.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote/ForbiddenItemTypes.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DefaultSettings.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DeliveryNote.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Export.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Invoice.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order.php rename src/Endpoint/{Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item/Values.php => Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order/ItemRemarkParameters.php} (80%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProformaInvoice.php create mode 100755 src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProofPayment.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Address.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Company.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Country.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/CashDesk.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ContactInformation.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/BankAccount.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/Display.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Settings.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/SocialNetworks.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls/Item.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingAddress.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingInfo.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/ContactInfo.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/DeliveryAddress.php rename src/Endpoint/{DocumentExport => Exports}/GeneralDocumentDownload.php (79%) rename src/Endpoint/{DocumentExport => Exports}/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse => Exports/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse}/Data.php (72%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse.php mode change 100644 => 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data.php create mode 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files.php create mode 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files/Item.php mode change 100644 => 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images.php mode change 100644 => 100755 src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php mode change 100644 => 100755 src/Endpoint/Files/UploadFileRequest/UploadFileRequest.php mode change 100644 => 100755 src/Endpoint/Files/UploadFileRequest/UploadFileRequest/Data.php mode change 100644 => 100755 src/Endpoint/Files/UploadFileResponse/UploadFileResponse.php mode change 100644 => 100755 src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php create mode 100755 src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/File.php mode change 100644 => 100755 src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php mode change 100644 => 100755 src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest.php mode change 100644 => 100755 src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data.php mode change 100644 => 100755 src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data/Item.php mode change 100644 => 100755 src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse.php mode change 100644 => 100755 src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse/Data.php rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameter.php (64%) rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterRequest/CreateFilteringParameterRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterRequest/CreateFilteringParameterRequest/Data.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterResponse/CreateFilteringParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse => FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse}/Data.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data/Values.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterValue.php (64%) rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest/Data.php (79%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateFilteringParameterResponse/CreateFilteringParameterResponse => FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse}/Data.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse => FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse}/Data/Values.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/DeleteFilteringParameter.php (69%) create mode 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php create mode 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse/Data.php rename src/Endpoint/{Products => FilteringParameters}/DeleteFilteringParameterValue.php (69%) create mode 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php create mode 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse/Data.php rename src/Endpoint/{Products => FilteringParameters}/GetDetailOfFilteringParameter.php (68%) rename src/Endpoint/{Products => FilteringParameters}/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse => FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse}/Data/Values.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParameters.php (69%) rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item/Values.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameter.php (65%) rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest/Data.php (92%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse => FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse}/Data.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse => FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse}/Data/Values.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterValue.php (65%) rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => FilteringParameters}/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse.php (72%) mode change 100644 => 100755 create mode 100755 src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php create mode 100755 src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php rename src/Endpoint/{Products => Flags}/CreateProductFlag.php (68%) rename src/Endpoint/{Products => Flags}/CreateProductFlagRequest/CreateProductFlagRequest.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/CreateProductFlagRequest/CreateProductFlagRequest/Data.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/CreateProductFlagResponse/CreateProductFlagResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/CreateProductFlagResponse/CreateProductFlagResponse/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateProductFlagResponse/UpdateProductFlagResponse => Flags/CreateProductFlagResponse/CreateProductFlagResponse}/Data/Flags.php (67%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php (93%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/DeleteProductFlag.php (73%) create mode 100755 src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse.php create mode 100755 src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse/Data.php rename src/Endpoint/{Products => Flags}/GetListOfProductsFlags.php (71%) rename src/Endpoint/{Products => Flags}/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data.php (57%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php rename src/Endpoint/{Products => Flags}/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php (92%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/UpdateProductFlag.php (69%) rename src/Endpoint/{Products => Flags}/UpdateProductFlagRequest/UpdateProductFlagRequest.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/UpdateProductFlagRequest/UpdateProductFlagRequest/Data.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/UpdateProductFlagResponse/UpdateProductFlagResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/UpdateProductFlagResponse/UpdateProductFlagResponse/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest => Flags/UpdateProductFlagResponse/UpdateProductFlagResponse}/Data/Flags.php (67%) mode change 100644 => 100755 rename src/Endpoint/{Products => Flags}/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php (93%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Get.php rename src/Endpoint/{Orders => Gifts}/GetOrderGiftSettings.php (72%) rename src/Endpoint/{Orders => Gifts}/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => Gifts}/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Orders => Gifts}/UpdateOrderGiftSettings.php (67%) rename src/Endpoint/{Orders => Gifts}/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Orders => Gifts}/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Orders => Gifts}/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Orders => Gifts}/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse/Data.php (89%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data/ProofPaymentCodes.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse/Data.php create mode 100644 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php create mode 100755 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest.php create mode 100755 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest/Data.php create mode 100755 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse.php create mode 100755 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php create mode 100644 src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php create mode 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest.php create mode 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data.php create mode 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data/ProformaInvoiceCodes.php create mode 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse.php create mode 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data/ProofPaymentCodes.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse/Data.php rename src/Endpoint/{JobEndpoints => Jobs}/GetJobDetail.php (73%) rename src/Endpoint/{JobEndpoints => Jobs}/GetJobDetailResponse/GetJobDetailResponse.php (78%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetJobDetailResponse/GetJobDetailResponse/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetJobDetailResponse/GetJobDetailResponse/Data/Job.php (74%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetListOfJobs.php (77%) rename src/Endpoint/{JobEndpoints => Jobs}/GetListOfJobsResponse/GetListOfJobsResponse.php (78%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetListOfJobsResponse/GetListOfJobsResponse/Data.php (75%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs.php (68%) mode change 100644 => 100755 rename src/Endpoint/{JobEndpoints => Jobs}/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php (66%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnits.php (69%) rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => MeasureUnits}/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php (79%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/OAuth/CreateOauthAccessToken.php mode change 100644 => 100755 src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenRequestData.php mode change 100644 => 100755 src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenResponse.php mode change 100644 => 100755 src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenResponseData.php mode change 100644 => 100755 src/Endpoint/OAuth/GetAccessToken.php mode change 100644 => 100755 src/Endpoint/OAuth/GetAccessToken/PublicAccessTokenResponseData.php rename src/Endpoint/{Orders => OrderGifts}/AddOrderGift.php (67%) rename src/Endpoint/{Orders => OrderGifts}/AddOrderGiftRequest/AddOrderGiftRequest.php (66%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/AddOrderGiftRequest/AddOrderGiftRequest/Data.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/AddOrderGiftResponse/AddOrderGiftResponse.php (78%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/AddOrderGiftResponse/AddOrderGiftResponse/Data.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/AddOrderGiftResponse/AddOrderGiftResponse/Data/Items.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/DeleteOrderGift.php (72%) create mode 100755 src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php create mode 100755 src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse/Data.php rename src/Endpoint/{Orders => OrderGifts}/GetOrderGiftsList.php (71%) rename src/Endpoint/{Orders => OrderGifts}/GetOrderGiftsListResponse/GetOrderGiftsListResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderGifts}/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data/Items.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderHistory}/CreateOrderRemark.php (67%) rename src/Endpoint/{Orders => OrderHistory}/CreateOrderRemarkRequest/CreateOrderRemarkRequest.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderHistory}/CreateOrderRemarkRequest/CreateOrderRemarkRequest/Data.php (83%) mode change 100644 => 100755 create mode 100755 src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php create mode 100755 src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse/Data.php rename src/Endpoint/{Orders => OrderHistory}/DeleteOrderHistoryItem.php (71%) create mode 100755 src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php create mode 100755 src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse/Data.php create mode 100644 src/Endpoint/OrderHistory/GetListOfAllRemarks.php create mode 100755 src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse.php rename src/Endpoint/{Products/CreateProductImagesResponse/CreateProductImagesResponse => OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse}/Data.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderHistory}/GetListOfRemarksForOrder.php (71%) rename src/Endpoint/{Orders => OrderHistory}/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderHistory}/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data.php (60%) mode change 100644 => 100755 create mode 100755 src/Endpoint/OrderHistory/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php rename src/Endpoint/{Orders => OrderItems}/CreateOrderItem.php (70%) rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemRequest/CreateOrderItemRequest.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemRequest/CreateOrderItemRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php (67%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemResponse/CreateOrderItemResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemResponse/CreateOrderItemResponse/Data.php (78%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemSurchargeParameters.php (66%) create mode 100755 src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest.php rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data2.php (81%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/DeleteOrderItem.php (72%) create mode 100755 src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse.php create mode 100755 src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse/Data.php rename src/Endpoint/{Orders => OrderItems}/DeleteOrderItemSurchargeParameters.php (71%) create mode 100755 src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php create mode 100755 src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse/Data.php rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItem.php (69%) rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItemRequest/UpdateOrderItemRequest.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItemRequest/UpdateOrderItemRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItemResponse/UpdateOrderItemResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderItems}/UpdateOrderItemResponse/UpdateOrderItemResponse/Data.php (80%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/CreateOrderPayment.php (66%) rename src/Endpoint/{Orders => OrderPayment}/CreateOrderPaymentRequest/CreateOrderPaymentRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/CreateOrderPaymentRequest/CreateOrderPaymentRequest/Data.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/CreateOrderPaymentResponse/CreateOrderPaymentResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/CreateOrderPaymentResponse/CreateOrderPaymentResponse/Data.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/UpdateOrderPayment.php (67%) rename src/Endpoint/{Orders => OrderPayment}/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest/Data.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderPayment}/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse/Data.php (79%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/AddOrderShipping.php (66%) rename src/Endpoint/{Orders => OrderShipping}/AddOrderShippingRequest/AddOrderShippingRequest.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/AddOrderShippingRequest/AddOrderShippingRequest/Data.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/AddOrderShippingResponse/AddOrderShippingResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/AddOrderShippingResponse/AddOrderShippingResponse/Data.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/UpdateOrderShipping.php (67%) rename src/Endpoint/{Orders => OrderShipping}/UpdateOrderShippingRequest/UpdateOrderShippingRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/UpdateOrderShippingRequest/UpdateOrderShippingRequest/Data.php (94%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/UpdateOrderShippingResponse/UpdateOrderShippingResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Orders => OrderShipping}/UpdateOrderShippingResponse/UpdateOrderShippingResponse/Data.php (78%) mode change 100644 => 100755 delete mode 100644 src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/BillingAddress.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Currency.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/DeliveryAddress.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters/Item.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields/Item.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/ShippingDetails.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse/Data.php delete mode 100644 src/Endpoint/Orders/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php delete mode 100644 src/Endpoint/Orders/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php delete mode 100644 src/Endpoint/Orders/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php mode change 100644 => 100755 src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php create mode 100755 src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetLastOrderChangesResponse/GetLastOrderChangesResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetLastOrderChangesResponse/GetLastOrderChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetLastOrderChangesResponse/GetLastOrderChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/Orders/GetLastOrderChangesResponse/GetLastOrderChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources/Item.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item/Documents.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Source.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Status.php create mode 100644 src/Endpoint/Orders/GetOrderClaims.php create mode 100755 src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse.php create mode 100755 src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data.php create mode 100755 src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders.php create mode 100755 src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders/Item.php mode change 100644 => 100755 src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse.php mode change 100644 => 100755 src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/OrderBatchInsertionRequest/OrderBatchInsertionRequest.php mode change 100644 => 100755 src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse.php mode change 100644 => 100755 src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest.php mode change 100644 => 100755 src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest/Data.php mode change 100644 => 100755 src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse.php mode change 100644 => 100755 src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/DeliveryAddress.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields/Item.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php create mode 100755 src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse/Data.php mode change 100644 => 100755 src/Endpoint/PageableGet.php create mode 100644 src/Endpoint/Pages/CreatePage.php create mode 100755 src/Endpoint/Pages/CreatePageRequest/CreatePageRequest.php create mode 100755 src/Endpoint/Pages/CreatePageRequest/CreatePageRequest/Data.php create mode 100755 src/Endpoint/Pages/CreatePageResponse/CreatePageResponse.php create mode 100755 src/Endpoint/Pages/CreatePageResponse/CreatePageResponse/Data.php create mode 100644 src/Endpoint/Pages/DeletePage.php rename src/Endpoint/{Orders/DeleteOrderItemResponse/DeleteOrderItemResponse.php => Pages/DeletePageResponse/DeletePageResponse.php} (82%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Pages/GetDetailOfPageResponse/GetDetailOfPageResponse.php mode change 100644 => 100755 src/Endpoint/Pages/GetDetailOfPageResponse/GetDetailOfPageResponse/Data.php mode change 100644 => 100755 src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse.php mode change 100644 => 100755 src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse/Data/Pages.php create mode 100644 src/Endpoint/Pages/UpdatePage.php create mode 100755 src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest.php create mode 100755 src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest/Data.php create mode 100755 src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse.php create mode 100755 src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse/Data.php create mode 100644 src/Endpoint/ParametricCategories/CreateParametricCategory.php create mode 100755 src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest.php create mode 100755 src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data.php create mode 100755 src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data/Parameters.php create mode 100755 src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse.php rename src/Endpoint/{Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse => ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse}/Data.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse => ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse}/Data/ParametricCategory.php (92%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse => ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse}/Data/ParametricCategory/Parameters.php (88%) mode change 100644 => 100755 create mode 100644 src/Endpoint/ParametricCategories/DeleteParametricCategory.php create mode 100755 src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse.php create mode 100755 src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse/Data.php rename src/Endpoint/{Products => ParametricCategories}/GetListOfParametricCategories.php (71%) rename src/Endpoint/{Products => ParametricCategories}/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => ParametricCategories}/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => ParametricCategories}/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products => ParametricCategories}/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php (91%) mode change 100644 => 100755 create mode 100755 src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php rename src/Endpoint/{Products => ParametricCategories}/GetParametricCategoryDetail.php (68%) rename src/Endpoint/{Products => ParametricCategories}/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse.php (73%) mode change 100644 => 100755 create mode 100755 src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php create mode 100755 src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php create mode 100755 src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php create mode 100644 src/Endpoint/ParametricCategories/UpdateParametricCategory.php create mode 100755 src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest.php create mode 100755 src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest/Data.php create mode 100755 src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse.php create mode 100755 src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data.php create mode 100755 src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory.php rename src/Endpoint/{Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item => ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory}/Parameters.php (87%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Patch.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/GetInformationAboutPaymentResponse/GetInformationAboutPaymentResponse.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/GetInformationAboutPaymentResponse/GetInformationAboutPaymentResponse/Data.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest/Data.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse/Data.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data/Logo.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data/PaymentType.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php create mode 100755 src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse/Data.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item/PaymentType.php mode change 100644 => 100755 src/Endpoint/Post.php mode change 100644 => 100755 src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest.php mode change 100644 => 100755 src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php delete mode 100644 src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php create mode 100755 src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfAllPricelistDetailsResponse/GetListOfAllPricelistDetailsResponse.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfAllPricelistDetailsResponse/GetListOfAllPricelistDetailsResponse/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfPriceListsResponse/GetListOfPriceListsResponse.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfPriceListsResponse/GetListOfPriceListsResponse/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfPriceListsResponse/GetListOfPriceListsResponse/Data/Pricelists.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data.php create mode 100755 src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data/Pricelist.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/OrderableAmount.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price/ActionPrice.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php create mode 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices.php create mode 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices/PurchasePrice.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Sales.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php create mode 100755 src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse/Data.php create mode 100644 src/Endpoint/ProductAvailabilities/CreateProductAvailability.php create mode 100755 src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest.php create mode 100755 src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest/Data.php create mode 100755 src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse.php create mode 100755 src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data.php rename src/Endpoint/{Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php => ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability.php} (78%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item => ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability}/GoogleAvailability.php (77%) mode change 100644 => 100755 create mode 100644 src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php rename src/Endpoint/{Orders/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php => ProductAvailabilities/DeleteProductAvailabilityResponse/DeleteProductAvailabilityResponse.php} (78%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductAvailabilities}/GetListOfProductsAvailabilities.php (67%) rename src/Endpoint/{Products => ProductAvailabilities}/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductAvailabilities}/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductAvailabilities}/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities.php (60%) mode change 100644 => 100755 create mode 100755 src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php create mode 100755 src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php rename src/Endpoint/{Products => ProductAvailabilities}/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php (88%) mode change 100644 => 100755 create mode 100644 src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest/Data.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability.php create mode 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php rename src/Endpoint/{Products => ProductGifts}/CreateProductGift.php (67%) rename src/Endpoint/{Products => ProductGifts}/CreateProductGiftRequest/CreateProductGiftRequest.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/CreateProductGiftRequest/CreateProductGiftRequest/Data.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/CreateProductGiftResponse/CreateProductGiftResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products/SteGiftsToProductResponse/SteGiftsToProductResponse => ProductGifts/CreateProductGiftResponse/CreateProductGiftResponse}/Data.php (78%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/GetListOfProductGifts.php (70%) rename src/Endpoint/{Products => ProductGifts}/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse/Data.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProduct.php (67%) rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProductRequest/SteGiftsToProductRequest.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProductRequest/SteGiftsToProductRequest/Data.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes.php (67%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductGifts}/SteGiftsToProductResponse/SteGiftsToProductResponse.php (77%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateProductGiftResponse/CreateProductGiftResponse => ProductGifts/SteGiftsToProductResponse/SteGiftsToProductResponse}/Data.php (78%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/CreateProductImages.php (69%) rename src/Endpoint/{Products => ProductImages}/CreateProductImagesRequest/CreateProductImagesRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/CreateProductImagesRequest/CreateProductImagesRequest/Data.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images.php (66%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/CreateProductImagesResponse/CreateProductImagesResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse => ProductImages/CreateProductImagesResponse/CreateProductImagesResponse}/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/DeleteAllProductImagesInGallery.php (71%) create mode 100755 src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php create mode 100755 src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse/Data.php rename src/Endpoint/{Products => ProductImages}/DeleteOneProductImage.php (73%) create mode 100755 src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php create mode 100755 src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse/Data.php rename src/Endpoint/{Products => ProductImages}/GetListOfProductImages.php (71%) rename src/Endpoint/{Products => ProductImages}/GetListOfProductImagesResponse/GetListOfProductImagesResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest => ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse}/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse => ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse}/Data/Images/Item.php (81%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/GetProductImagesUpdate.php (67%) rename src/Endpoint/{Products => ProductImages}/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse => ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest}/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations.php => ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images.php} (65%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest => ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse}/Data/Images.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse => ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse}/Data/Images/Item.php (81%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/UpdateProductImagesSource.php (68%) rename src/Endpoint/{Products => ProductImages}/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest.php (61%) mode change 100644 => 100755 create mode 100755 src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php rename src/Endpoint/{Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse => ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest}/Data/Images.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductImages}/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse.php (74%) mode change 100644 => 100755 create mode 100755 src/Endpoint/ProductImages/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse/Data.php create mode 100644 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest/Data.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles.php create mode 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles/Item.php create mode 100644 src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php create mode 100755 src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse.php create mode 100755 src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse/Data.php rename src/Endpoint/{Products => ProductSets}/AddItemToProductSet.php (67%) rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetRequest/AddItemToProductSetRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetRequest/AddItemToProductSetRequest/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetRequest/AddItemToProductSetRequest/Data/SetItem.php (85%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetResponse/AddItemToProductSetResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetResponse/AddItemToProductSetResponse/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/AddItemToProductSetResponse/AddItemToProductSetResponse/Data/Items.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItems.php (67%) rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsRequest/SetProductSetItemsRequest.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsRequest/SetProductSetItemsRequest/Data.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems.php (67%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php (84%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsResponse/SetProductSetItemsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsResponse/SetProductSetItemsResponse/Data.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => ProductSets}/SetProductSetItemsResponse/SetProductSetItemsResponse/Data/Items.php (89%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/CategoryGuids.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item/Values.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/SurchargeParameters.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php rename src/Endpoint/Products/{CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php => CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels.php} (68%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductResponse/CreateProductResponse.php mode change 100644 => 100755 src/Endpoint/Products/CreateProductResponse/CreateProductResponse/Data.php delete mode 100644 src/Endpoint/Products/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php delete mode 100644 src/Endpoint/Products/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php delete mode 100644 src/Endpoint/Products/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php delete mode 100644 src/Endpoint/Products/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php delete mode 100644 src/Endpoint/Products/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php delete mode 100644 src/Endpoint/Products/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php delete mode 100644 src/Endpoint/Products/DeleteProductFlagResponse/DeleteProductFlagResponse.php mode change 100644 => 100755 src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php create mode 100755 src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse/Data.php mode change 100644 => 100755 src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse.php create mode 100755 src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse/Data.php delete mode 100644 src/Endpoint/Products/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse.php delete mode 100644 src/Endpoint/Products/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php delete mode 100644 src/Endpoint/Products/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php delete mode 100644 src/Endpoint/Products/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php mode change 100644 => 100755 src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse.php mode change 100644 => 100755 src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php create mode 100644 src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php create mode 100755 src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse.php create mode 100755 src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse/Data.php delete mode 100644 src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php delete mode 100644 src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php delete mode 100644 src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php mode change 100644 => 100755 src/Endpoint/Products/GetProductDetailByCodeResponse/GetProductDetailByCodeResponse.php mode change 100644 => 100755 src/Endpoint/Products/GetProductDetailResponse/GetProductDetailResponse.php mode change 100644 => 100755 src/Endpoint/Products/ProductBatchUpdateRequest/ProductBatchUpdateRequest.php mode change 100644 => 100755 src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse.php mode change 100644 => 100755 src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse/Data.php mode change 100644 => 100755 src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest.php mode change 100644 => 100755 src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data.php mode change 100644 => 100755 src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data/CopyProperties.php mode change 100644 => 100755 src/Endpoint/Products/ProductCopyResponse/ProductCopyResponse.php delete mode 100644 src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php create mode 100644 src/Endpoint/Products/UnlinkAllProductRelatedFiles.php create mode 100755 src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse.php create mode 100755 src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse/Data.php delete mode 100644 src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php delete mode 100644 src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/CategoryGuids.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/SurchargeParameters.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters/Item.php delete mode 100644 src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations/Item.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProductByCodeResponse/UpdateProductByCodeResponse.php delete mode 100644 src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php delete mode 100644 src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php delete mode 100644 src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php delete mode 100644 src/Endpoint/Products/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProductResponse/UpdateProductResponse.php delete mode 100644 src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php delete mode 100644 src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php delete mode 100644 src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php delete mode 100644 src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices/Item.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse/Data.php create mode 100644 src/Endpoint/Project/GetProjectDomainList.php create mode 100755 src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse.php create mode 100755 src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data.php create mode 100755 src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains.php create mode 100755 src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains/Item.php create mode 100644 src/Endpoint/Project/GetProjectSalesChannels.php create mode 100755 src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse.php create mode 100755 src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data.php rename src/Endpoint/{Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php => Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels.php} (61%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item.php create mode 100755 src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Currencies.php create mode 100755 src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Languages.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php create mode 100755 src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse/Data.php create mode 100644 src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes/Item.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Paginator.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data/Items.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data/ProofPayments.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data/ProofPayments.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest.php mode change 100644 => 100755 src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest.php mode change 100644 => 100755 src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest/Data.php mode change 100644 => 100755 src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse.php mode change 100644 => 100755 src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse/Data.php mode change 100644 => 100755 src/Endpoint/Put.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/CustomerGroupCodes.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/BrandCodes.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/ProductGuids.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php create mode 100755 src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscountsResponse/GetDetailOfQuantityDiscountsResponse.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscountsResponse/GetDetailOfQuantityDiscountsResponse/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscountsResponse/GetListOfAllQuantityDiscountsResponse.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscountsResponse/GetListOfAllQuantityDiscountsResponse/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/CustomerGroupCodes.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/BrandCodes.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/ProductGuids.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse/Data.php rename src/Endpoint/{Products => RecyclingFees}/GetListOfRecyclingFeeCategories.php (69%) rename src/Endpoint/{Products => RecyclingFees}/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => RecyclingFees}/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => RecyclingFees}/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data/RecyclingFeeCategories.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProduct.php (66%) rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProductRequest/AddRelatedProductRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProductRequest/AddRelatedProductRequest/Data.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProductRequest/AddRelatedProductRequest/Data/RelatedProduct.php (78%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProductResponse/AddRelatedProductResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products/SetRelatedProductsResponse/SetRelatedProductsResponse => RelatedProducts/AddRelatedProductResponse/AddRelatedProductResponse}/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/AddRelatedProductResponse/AddRelatedProductResponse/Data/Items.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/GetListOfProductRelatedProducts.php (69%) rename src/Endpoint/{Products => RelatedProducts}/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse.php (73%) mode change 100644 => 100755 create mode 100755 src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php rename src/Endpoint/{Products => RelatedProducts}/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProducts.php (66%) rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProductsRequest/SetRelatedProductsRequest.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProductsRequest/SetRelatedProductsRequest/Data.php (64%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts.php (65%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products => RelatedProducts}/SetRelatedProductsResponse/SetRelatedProductsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products/AddAlternativeProductResponse/AddAlternativeProductResponse => RelatedProducts/SetRelatedProductsResponse/SetRelatedProductsResponse}/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Products/AddAlternativeProductResponse/AddAlternativeProductResponse => RelatedProducts/SetRelatedProductsResponse/SetRelatedProductsResponse}/Data/Items.php (89%) mode change 100644 => 100755 create mode 100644 src/Endpoint/Reviews/GetListOfEshopReviews.php create mode 100755 src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse.php rename src/Endpoint/{Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse => Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse}/Data.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse => Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse}/Data/Reviews.php (65%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item.php rename src/Endpoint/{Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse => Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse}/Data/Reviews/Item/Reaction.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => Reviews}/GetListOfProductsReviews.php (77%) rename src/Endpoint/{Products => Reviews}/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse.php (76%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php create mode 100755 src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php rename src/Endpoint/{Products => Reviews}/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php (78%) mode change 100644 => 100755 create mode 100755 src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1/Logo.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2/Logo.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data/ShippingCompany.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item/ShippingCompany.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Cart.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Eshop.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items/Item.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse/Data.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/DeliveryAddress.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/Price.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse.php mode change 100644 => 100755 src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data/Stocks.php mode change 100644 => 100755 src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse.php mode change 100644 => 100755 src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies.php mode change 100644 => 100755 src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies/Item.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements/Item.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item1.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item2.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item3.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithAmountChange.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithQuantity.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithRealStock.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php create mode 100755 src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse/Data.php mode change 100644 => 100755 src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse.php mode change 100644 => 100755 src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse/Data.php mode change 100644 => 100755 src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse/Data/Suppliers.php rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameter.php (64%) rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data.php (82%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues => SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values}/Item.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse => SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse}/Data/SurchargeParameter.php (91%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse => SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse}/Data/SurchargeParameter/Values.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterValue.php (64%) rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data.php (57%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values => SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues}/Item.php (71%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse => SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse}/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse => SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse}/Data/SurchargeParameter.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item => SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter}/Values.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/DeleteSurchargeParameterByIndex.php (68%) create mode 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse.php create mode 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse/Data.php rename src/Endpoint/{Products => SurchargeParameters}/DeleteSurchargeParameterValue.php (70%) create mode 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php create mode 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse/Data.php rename src/Endpoint/{Products => SurchargeParameters}/GetDetailOfSurchargeParameter.php (68%) rename src/Endpoint/{Products => SurchargeParameters}/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse => SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse}/Data/SurchargeParameter.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse => SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse}/Data/SurchargeParameter/Values.php (87%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/GetListOfSurchargeParameters.php (69%) rename src/Endpoint/{Products => SurchargeParameters}/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php (89%) mode change 100644 => 100755 create mode 100755 src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item/Values.php rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameter.php (65%) rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest/Data.php (85%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse => SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse}/Data.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php (95%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterValue.php (65%) rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest/Data.php (72%) mode change 100644 => 100755 rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php (72%) mode change 100644 => 100755 create mode 100755 src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php rename src/Endpoint/{Products => SurchargeParameters}/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse => SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse}/Data/SurchargeParameter/Values.php (87%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest/Data.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest/Data/Snippets.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest/Data/Snippets/Item.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesResponse/CreateAndEditHtmlCodesResponse.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesResponse/CreateAndEditHtmlCodesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesResponse/CreateAndEditHtmlCodesResponse/Data/Snippets.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodesResponse/CreateAndEditHtmlCodesResponse/Data/Snippets/Item.php mode change 100644 => 100755 src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse.php create mode 100755 src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse/Data.php mode change 100644 => 100755 src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse.php mode change 100644 => 100755 src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data.php mode change 100644 => 100755 src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data/Snippets.php mode change 100644 => 100755 src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data/Snippets/Item.php rename src/Endpoint/{Products => Units}/GetListOfProductUnits.php (71%) rename src/Endpoint/{Products => Units}/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse.php (76%) mode change 100644 => 100755 rename src/Endpoint/{Products => Units}/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data.php (58%) mode change 100644 => 100755 rename src/Endpoint/{Products => Units}/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units.php (66%) mode change 100644 => 100755 rename src/Endpoint/{Products => Units}/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php (85%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailRequest/CreateUnsubscribedEmailRequest.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailRequest/CreateUnsubscribedEmailRequest/Data.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailResponse/CreateUnsubscribedEmailResponse.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailResponse/CreateUnsubscribedEmailResponse/Data.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailResponse/CreateUnsubscribedEmailResponse/Data/UnsubscribedEmail.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameter.php (64%) rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterRequest/CreateVariantParameterRequest.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterRequest/CreateVariantParameterRequest/Data.php (92%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterResponse/CreateVariantParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterResponse/CreateVariantParameterResponse/Data.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterResponse/CreateVariantParameterResponse/Data/Values.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterValue.php (65%) rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest/Data.php (79%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse => VariantParameters/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse}/Data.php (85%) mode change 100644 => 100755 rename src/Endpoint/{Products/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse => VariantParameters/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse}/Data/Values.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/DeleteVariantParameter.php (70%) create mode 100755 src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php create mode 100755 src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse/Data.php rename src/Endpoint/{Products => VariantParameters}/DeleteVariantParameterValue.php (70%) create mode 100755 src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php create mode 100755 src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse/Data.php rename src/Endpoint/{Products => VariantParameters}/GetDetailOfVariantParameter.php (69%) rename src/Endpoint/{Products => VariantParameters}/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse => VariantParameters/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse}/Data.php (85%) mode change 100644 => 100755 rename src/Endpoint/{Products/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse => VariantParameters/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse}/Data/Values.php (89%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParameters.php (72%) rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse.php (73%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data.php (71%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters.php (62%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php (84%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item/Values.php (88%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameter.php (66%) rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterRequest/UpdateVariantParameterRequest.php (61%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterRequest/UpdateVariantParameterRequest/Data.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterResponse/UpdateVariantParameterResponse.php (74%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data.php (86%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data/Values.php (90%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterValue.php (66%) rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest.php (60%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest/Data.php (91%) mode change 100644 => 100755 rename src/Endpoint/{Products => VariantParameters}/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse.php (73%) mode change 100644 => 100755 create mode 100755 src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php create mode 100755 src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php create mode 100644 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups.php create mode 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php rename src/Endpoint/{Products => Warranties}/GetListOfProductWarranties.php (70%) rename src/Endpoint/{Products => Warranties}/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse.php (75%) mode change 100644 => 100755 rename src/Endpoint/{Products => Warranties}/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data.php (59%) mode change 100644 => 100755 rename src/Endpoint/{Products => Warranties}/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties.php (63%) mode change 100644 => 100755 rename src/Endpoint/{Products => Warranties}/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php (88%) mode change 100644 => 100755 mode change 100644 => 100755 src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse.php create mode 100755 src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/GenerateWebhookSignatureKeyResponse/GenerateWebhookSignatureKeyResponse.php mode change 100644 => 100755 src/Endpoint/Webhooks/GenerateWebhookSignatureKeyResponse/GenerateWebhookSignatureKeyResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooksResponse/GetDetailOfRegisteredWebhooksResponse.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooksResponse/GetDetailOfRegisteredWebhooksResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooksResponse/GetOverviewOfRegisteredWebhooksResponse.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooksResponse/GetOverviewOfRegisteredWebhooksResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooksResponse/GetOverviewOfRegisteredWebhooksResponse/Data/Webhooks.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetWebhookNotificationResponse/GetWebhookNotificationResponse.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetWebhookNotificationResponse/GetWebhookNotificationResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetWebhookNotificationResponse/GetWebhookNotificationResponse/Data/Notifications.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookRequest/RegisterNewWebhookRequest.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookRequest/RegisterNewWebhookRequest/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookRequest/RegisterNewWebhookRequest/Data/Item.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookResponse/RegisterNewWebhookResponse.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookResponse/RegisterNewWebhookResponse/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhookResponse/RegisterNewWebhookResponse/Data/Webhooks.php mode change 100644 => 100755 src/Endpoint/Webhooks/UpdateExistingWebhookRequest/UpdateExistingWebhookRequest.php mode change 100644 => 100755 src/Endpoint/Webhooks/UpdateExistingWebhookRequest/UpdateExistingWebhookRequest/Data.php mode change 100644 => 100755 src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse.php create mode 100755 src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest/Data/CustomerGroupCodes.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php create mode 100755 src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetDetailOfXYDiscountsResponse/GetDetailOfXYDiscountsResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetDetailOfXYDiscountsResponse/GetDetailOfXYDiscountsResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data/CustomerGroupCodes.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest/Data.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse/Data.php mode change 100644 => 100755 src/Exception/BadMethodCallException.php mode change 100644 => 100755 src/Exception/EndpointValidationException.php mode change 100644 => 100755 src/Exception/Exception.php mode change 100644 => 100755 src/Exception/InvalidArgumentException.php mode change 100644 => 100755 src/Exception/LogicException.php mode change 100644 => 100755 src/Exception/NetworkException.php mode change 100644 => 100755 src/Exception/OutOfRangeException.php mode change 100644 => 100755 src/Exception/RateLimitExceededException.php mode change 100644 => 100755 src/Exception/ReflectionException.php mode change 100644 => 100755 src/Exception/RequestException.php mode change 100644 => 100755 src/Exception/RuntimeException.php mode change 100644 => 100755 src/Factory/Endpoint/EndpointFactory.php mode change 100644 => 100755 src/Factory/Entity/EntityCollectionFactory.php mode change 100644 => 100755 src/Factory/Entity/EntityFactory.php mode change 100644 => 100755 src/Factory/Response/ArrayResponseFactory.php mode change 100644 => 100755 src/Factory/Response/EntityResponseFactory.php mode change 100644 => 100755 src/Factory/Response/RawResponseFactory.php mode change 100644 => 100755 src/Factory/Response/ResponseFactoryInterface.php mode change 100644 => 100755 src/Factory/ValueObject/DateFactory.php mode change 100644 => 100755 src/Helper/StringConverter.php mode change 100644 => 100755 src/HttpClient/ClientInterface.php mode change 100644 => 100755 src/HttpClient/CurlClient.php mode change 100644 => 100755 src/Response/AbstractResponse.php mode change 100644 => 100755 src/Response/ArrayResponse.php mode change 100644 => 100755 src/Response/EntityResponse.php mode change 100644 => 100755 src/Response/RawResponse.php mode change 100644 => 100755 src/Response/ResponseInterface.php mode change 100644 => 100755 src/Webhook/Event.php diff --git a/.github/workflows/sdk-tests.yaml b/.github/workflows/sdk-tests.yaml index 626d965..deacf21 100644 --- a/.github/workflows/sdk-tests.yaml +++ b/.github/workflows/sdk-tests.yaml @@ -2,7 +2,9 @@ name: Shoptet API-SDK tests on: pull_request: + types: [opened, reopened, synchronize] push: + branches: [master, main] schedule: - cron: '0 8 * * 1' # At 08:00 on Monday @@ -44,7 +46,7 @@ jobs: - run: composer lint test-unit: - name: Lint + name: Unit test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 1d6ddce..1611426 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The official PHP library for the Shoptet REST API. ## Documentation -See the [Shoptet API doc](https://shoptet.docs.apiary.io/#). +See the [Shoptet API doc](https://api.docs.shoptet.com/shoptet-api/openapi/#). ## Requirements diff --git a/init.php b/init.php index f420f02..4480c72 100644 --- a/init.php +++ b/init.php @@ -29,20 +29,26 @@ require_once __DIR__ . '/src/Component/Entity/ArticleList.php'; require_once __DIR__ . '/src/Component/Entity/ArticleSection.php'; require_once __DIR__ . '/src/Component/Entity/ArticleSectionList.php'; +require_once __DIR__ . '/src/Component/Entity/ArticleSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/ArticleUrls.php'; require_once __DIR__ . '/src/Component/Entity/AvailabilityShort.php'; require_once __DIR__ . '/src/Component/Entity/BillingAddress.php'; require_once __DIR__ . '/src/Component/Entity/BillingAddressCustomer.php'; require_once __DIR__ . '/src/Component/Entity/BillingMethod.php'; require_once __DIR__ . '/src/Component/Entity/Brand.php'; +require_once __DIR__ . '/src/Component/Entity/BrandBatchCreate.php'; +require_once __DIR__ . '/src/Component/Entity/BrandCreate.php'; require_once __DIR__ . '/src/Component/Entity/BrandNamed.php'; require_once __DIR__ . '/src/Component/Entity/CartPrice.php'; require_once __DIR__ . '/src/Component/Entity/Category.php'; require_once __DIR__ . '/src/Component/Entity/Category/CatalogueMapping.php'; require_once __DIR__ . '/src/Component/Entity/Category/CatalogueMapping/Item.php'; +require_once __DIR__ . '/src/Component/Entity/CategoryBatchUpdate.php'; +require_once __DIR__ . '/src/Component/Entity/CategoryUpdate.php'; require_once __DIR__ . '/src/Component/Entity/ConsumptionTax.php'; require_once __DIR__ . '/src/Component/Entity/CreditNote.php'; require_once __DIR__ . '/src/Component/Entity/CreditNote/Items.php'; +require_once __DIR__ . '/src/Component/Entity/CreditNoteSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/Customer.php'; require_once __DIR__ . '/src/Component/Entity/Customer/Accounts.php'; require_once __DIR__ . '/src/Component/Entity/Customer/Accounts/Item.php'; @@ -50,11 +56,14 @@ require_once __DIR__ . '/src/Component/Entity/Customer/DeliveryAddress.php'; require_once __DIR__ . '/src/Component/Entity/Customer/Remarks.php'; require_once __DIR__ . '/src/Component/Entity/Customer/Remarks/Item.php'; +require_once __DIR__ . '/src/Component/Entity/CustomerSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/DeliveryAddressCustomer.php'; require_once __DIR__ . '/src/Component/Entity/DeliveryNote.php'; require_once __DIR__ . '/src/Component/Entity/DeliveryNote/Items.php'; require_once __DIR__ . '/src/Component/Entity/DeliveryNoteItem.php'; +require_once __DIR__ . '/src/Component/Entity/DeliveryNoteSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/DiscountCoupon.php'; +require_once __DIR__ . '/src/Component/Entity/DiscountCouponSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/DiscussionPost.php'; require_once __DIR__ . '/src/Component/Entity/DocumentConsumptionTax.php'; require_once __DIR__ . '/src/Component/Entity/DocumentCustomer.php'; @@ -71,6 +80,7 @@ require_once __DIR__ . '/src/Component/Entity/Invoice/Items.php'; require_once __DIR__ . '/src/Component/Entity/InvoiceItem.php'; require_once __DIR__ . '/src/Component/Entity/InvoiceItem/DisplayPrices.php'; +require_once __DIR__ . '/src/Component/Entity/InvoiceSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/ItemPrice.php'; require_once __DIR__ . '/src/Component/Entity/ItemSpecificSurchargeParameters.php'; require_once __DIR__ . '/src/Component/Entity/ItemSpecificSurchargeParameters/Item.php'; @@ -87,6 +97,8 @@ require_once __DIR__ . '/src/Component/Entity/MeasureUnit.php'; require_once __DIR__ . '/src/Component/Entity/NotificationData.php'; require_once __DIR__ . '/src/Component/Entity/Order.php'; +require_once __DIR__ . '/src/Component/Entity/Order/Completion.php'; +require_once __DIR__ . '/src/Component/Entity/Order/Completion/Item.php'; require_once __DIR__ . '/src/Component/Entity/Order/Items.php'; require_once __DIR__ . '/src/Component/Entity/Order/Notes.php'; require_once __DIR__ . '/src/Component/Entity/Order/Notes/AdditionalFields.php'; @@ -99,22 +111,30 @@ require_once __DIR__ . '/src/Component/Entity/Order/Shippings/Item/Shipping.php'; require_once __DIR__ . '/src/Component/Entity/Order/Source.php'; require_once __DIR__ . '/src/Component/Entity/Order/Status.php'; +require_once __DIR__ . '/src/Component/Entity/OrderBatchCreate.php'; +require_once __DIR__ . '/src/Component/Entity/OrderBatchCreate/Settings.php'; require_once __DIR__ . '/src/Component/Entity/OrderGift.php'; +require_once __DIR__ . '/src/Component/Entity/OrderHistory.php'; +require_once __DIR__ . '/src/Component/Entity/OrderHistory/User.php'; +require_once __DIR__ . '/src/Component/Entity/OrderHistorySnapshot.php'; require_once __DIR__ . '/src/Component/Entity/OrderItem.php'; require_once __DIR__ . '/src/Component/Entity/OrderItem/DisplayPrices.php'; require_once __DIR__ . '/src/Component/Entity/OrderItem/MainImage.php'; require_once __DIR__ . '/src/Component/Entity/OrderItem/Status.php'; require_once __DIR__ . '/src/Component/Entity/OrderItem/SurchargeParametersTexts.php'; +require_once __DIR__ . '/src/Component/Entity/OrderPreAuthorization.php'; +require_once __DIR__ . '/src/Component/Entity/OrderSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/Page.php'; require_once __DIR__ . '/src/Component/Entity/PageList.php'; require_once __DIR__ . '/src/Component/Entity/Paginator.php'; require_once __DIR__ . '/src/Component/Entity/ParameterValueCombinations.php'; +require_once __DIR__ . '/src/Component/Entity/ParameterValueCombinationsCodes.php'; require_once __DIR__ . '/src/Component/Entity/PaymentMethod.php'; require_once __DIR__ . '/src/Component/Entity/Price.php'; require_once __DIR__ . '/src/Component/Entity/PriceSales.php'; require_once __DIR__ . '/src/Component/Entity/Pricelist.php'; require_once __DIR__ . '/src/Component/Entity/PricelistDetail.php'; -require_once __DIR__ . '/src/Component/Entity/PricelistDetail/Item.php'; +require_once __DIR__ . '/src/Component/Entity/PricelistSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/Product.php'; require_once __DIR__ . '/src/Component/Entity/Product/AlternativeProducts.php'; require_once __DIR__ . '/src/Component/Entity/Product/Categories.php'; @@ -141,6 +161,8 @@ require_once __DIR__ . '/src/Component/Entity/Product/Variants.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/MeasureUnit.php'; +require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/OssVatLevels.php'; +require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/OssVatLevels/Item.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/Parameters.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/Parameters/Item.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/PerPricelistPrices.php'; @@ -149,6 +171,7 @@ require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php'; require_once __DIR__ . '/src/Component/Entity/Product/Variants/Item/ZboziCZ.php'; require_once __DIR__ . '/src/Component/Entity/Product/Warranty.php'; +require_once __DIR__ . '/src/Component/Entity/ProductBatchUpdate.php'; require_once __DIR__ . '/src/Component/Entity/ProductConsumptionTax.php'; require_once __DIR__ . '/src/Component/Entity/ProductFilteringParameterValue.php'; require_once __DIR__ . '/src/Component/Entity/ProductFilteringParameterValues.php'; @@ -158,20 +181,47 @@ require_once __DIR__ . '/src/Component/Entity/ProductGifts.php'; require_once __DIR__ . '/src/Component/Entity/ProductGifts/Item.php'; require_once __DIR__ . '/src/Component/Entity/ProductOrderableAmount.php'; +require_once __DIR__ . '/src/Component/Entity/ProductPricelistSnapshot.php'; +require_once __DIR__ . '/src/Component/Entity/ProductPrices.php'; +require_once __DIR__ . '/src/Component/Entity/ProductPrices/PurchasePrice.php'; require_once __DIR__ . '/src/Component/Entity/ProductRequestSurchargeParameter.php'; require_once __DIR__ . '/src/Component/Entity/ProductRequestSurchargeParameter/Values.php'; require_once __DIR__ . '/src/Component/Entity/ProductRequestSurchargeParameterValue.php'; require_once __DIR__ . '/src/Component/Entity/ProductSet.php'; +require_once __DIR__ . '/src/Component/Entity/ProductSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/ProductSurchargeParameter.php'; require_once __DIR__ . '/src/Component/Entity/ProductSurchargeParameter/Values.php'; require_once __DIR__ . '/src/Component/Entity/ProductSurchargeParameterValue.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/CategoryGuids.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/DescriptiveParameters.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/DescriptiveParameters/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/FilteringParameters.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/FilteringParameters/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/FilteringParameters/Item/Values.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Flags.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Flags/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/RelatedVideos.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/RelatedVideos/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/SurchargeParameters.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/Parameters.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/Parameters/Item.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/StocksLocations.php'; +require_once __DIR__ . '/src/Component/Entity/ProductUpdate/Variants/Item/StocksLocations/Item.php'; require_once __DIR__ . '/src/Component/Entity/ProductVariantParameterValue.php'; require_once __DIR__ . '/src/Component/Entity/ProductVariantParameterValues.php'; require_once __DIR__ . '/src/Component/Entity/ProductVariantParameterValues/Item.php'; require_once __DIR__ . '/src/Component/Entity/ProformaInvoice.php'; require_once __DIR__ . '/src/Component/Entity/ProformaInvoice/Items.php'; +require_once __DIR__ . '/src/Component/Entity/ProformaInvoiceCodes.php'; +require_once __DIR__ . '/src/Component/Entity/ProformaInvoiceSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/ProofPaymentDetail.php'; require_once __DIR__ . '/src/Component/Entity/ProofPaymentDetail/Source.php'; +require_once __DIR__ . '/src/Component/Entity/ProofPaymentSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/ProofPaymentVatBreakdown.php'; require_once __DIR__ . '/src/Component/Entity/ProofPaymentVatBreakdown/Items.php'; require_once __DIR__ . '/src/Component/Entity/ProofPaymentVatBreakdown/Items/Item.php'; @@ -185,6 +235,7 @@ require_once __DIR__ . '/src/Component/Entity/QuantityDiscountSettingsResponse.php'; require_once __DIR__ . '/src/Component/Entity/QuantityDiscountSettingsResponse/Item.php'; require_once __DIR__ . '/src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php'; +require_once __DIR__ . '/src/Component/Entity/QuantityDiscountSnapshot.php'; require_once __DIR__ . '/src/Component/Entity/QuantityDiscountTargetingResponse.php'; require_once __DIR__ . '/src/Component/Entity/QuantityDiscountTargetingResponse/BrandCodes.php'; require_once __DIR__ . '/src/Component/Entity/QuantityDiscountTargetingResponse/CategoryGuids.php'; @@ -203,8 +254,11 @@ require_once __DIR__ . '/src/Component/Entity/ShipmentPrice.php'; require_once __DIR__ . '/src/Component/Entity/Shipping.php'; require_once __DIR__ . '/src/Component/Entity/Stock.php'; +require_once __DIR__ . '/src/Component/Entity/StockList.php'; require_once __DIR__ . '/src/Component/Entity/Supplier.php'; require_once __DIR__ . '/src/Component/Entity/SurchargeParameterValue.php'; +require_once __DIR__ . '/src/Component/Entity/TypeCurrency.php'; +require_once __DIR__ . '/src/Component/Entity/TypeLanguage.php'; require_once __DIR__ . '/src/Component/Entity/VariantPrice.php'; require_once __DIR__ . '/src/Component/Entity/Webhook.php'; require_once __DIR__ . '/src/Component/Entity/WebhookNotification.php'; @@ -221,29 +275,58 @@ require_once __DIR__ . '/src/Component/Entity/XyDiscountTargetingResponse/ProductGuids.php'; require_once __DIR__ . '/src/Component/ValueObject/ConsumptionTaxId.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeAmount.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeAmountNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeColor.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeConstSymbol.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeConstSymbolNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeCurrencyCode.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeCurrencyCodeNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeCustomerFieldValue.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeDate.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeDateNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeDateTime.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeDateTimeNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeDateTimeRequest.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeDimension.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeExchangeRate.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeFilename.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeFilenameNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeGuid.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeGuidNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeGuidUnlimited.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeNonEmptyString.php'; require_once __DIR__ . '/src/Component/ValueObject/TypePositiveAmount.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypePositiveAmountNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypePrice.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypePriceNullable.php'; require_once __DIR__ . '/src/Component/ValueObject/TypePriceRatio.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeProductPriceRatio.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeUnitRatio.php'; +require_once __DIR__ . '/src/Component/ValueObject/TypeVariantCodeRequest.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeVatRate.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeWeight.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeWeightRequest.php'; require_once __DIR__ . '/src/Component/ValueObject/TypeWeightUnlimited.php'; require_once __DIR__ . '/src/Component/ValueObject/ValueObjectInterface.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProduct.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductRequest/AddAlternativeProductRequest.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductRequest/AddAlternativeProductRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductRequest/AddAlternativeProductRequest/Data/AlternativeProduct.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductResponse/AddAlternativeProductResponse.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductResponse/AddAlternativeProductResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/AddAlternativeProductResponse/AddAlternativeProductResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProducts.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProducts.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data/Items.php'; require_once __DIR__ . '/src/Endpoint/Articles/CreateArticle.php'; require_once __DIR__ . '/src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest.php'; require_once __DIR__ . '/src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest/Data.php'; @@ -257,8 +340,10 @@ require_once __DIR__ . '/src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticle.php'; require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php'; +require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticleSection.php'; require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse.php'; +require_once __DIR__ . '/src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Articles/GetDetailOfArticle.php'; require_once __DIR__ . '/src/Endpoint/Articles/GetDetailOfArticleResponse/GetDetailOfArticleResponse.php'; require_once __DIR__ . '/src/Endpoint/Articles/GetDetailOfArticleResponse/GetDetailOfArticleResponse/Data.php'; @@ -293,10 +378,10 @@ require_once __DIR__ . '/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse.php'; require_once __DIR__ . '/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php'; -require_once __DIR__ . '/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Brands/CreateBrandResponse/CreateBrandResponse.php'; require_once __DIR__ . '/src/Endpoint/Brands/DeleteBrand.php'; require_once __DIR__ . '/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php'; +require_once __DIR__ . '/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Brands/GetDetailOfBrand.php'; require_once __DIR__ . '/src/Endpoint/Brands/GetDetailOfBrandResponse/GetDetailOfBrandResponse.php'; require_once __DIR__ . '/src/Endpoint/Brands/GetListofBrands.php'; @@ -307,6 +392,52 @@ require_once __DIR__ . '/src/Endpoint/Brands/UpdateBrandRequest/UpdateBrandRequest.php'; require_once __DIR__ . '/src/Endpoint/Brands/UpdateBrandRequest/UpdateBrandRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Brands/UpdateBrandResponse/UpdateBrandResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/CreateProductCategory.php'; +require_once __DIR__ . '/src/Endpoint/Categories/CreateProductCategoryRequest/CreateProductCategoryRequest.php'; +require_once __DIR__ . '/src/Endpoint/Categories/CreateProductCategoryRequest/CreateProductCategoryRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/CreateProductCategoryResponse/CreateProductCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/DeleteProductCategory.php'; +require_once __DIR__ . '/src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductCategories.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data/Categories.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductsOrderInCategory.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetProductCategoryDetail.php'; +require_once __DIR__ . '/src/Endpoint/Categories/GetProductCategoryDetailResponse/GetProductCategoryDetailResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategory.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryBatch.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryBatchRequest/UpdateProductCategoryBatchRequest.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategory.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/CreateConsumptionTax.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/CreateConsumptionTaxResponse/CreateConsumptionTaxResponse.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTax.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxes.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data/ConsumptionTaxes.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTax.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTaxResponse/UpdateConsumptionTaxResponse.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoice.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data.php'; @@ -328,7 +459,9 @@ require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNote.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php'; +require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse.php'; +require_once __DIR__ . '/src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/DownloadCreditNoteAsIsdoc.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/DownloadCreditNotePdf.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/GetCreditNoteDetail.php'; @@ -361,56 +494,87 @@ require_once __DIR__ . '/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse.php'; require_once __DIR__ . '/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccount.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccountRequest/CreateCustomerAccountRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccountRequest/CreateCustomerAccountRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccountResponse/CreateCustomerAccountResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccountResponse/CreateCustomerAccountResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/CreateCustomerAccountResponse/CreateCustomerAccountResponse/Data/Account.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/DeleteCustomerAccount.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccount.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data/Account.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetListOfCustomerAccounts.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccount.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerAccounts/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse/Data/Account.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddress.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddress.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddresses.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data/DeliveryAddresses.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddress.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddress.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse/Data/Remark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/DeleteCustomerRemark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data/Remark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarks.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemark.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data/Remark.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomer.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccount.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccountRequest/CreateCustomerAccountRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccountRequest/CreateCustomerAccountRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccountResponse/CreateCustomerAccountResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccountResponse/CreateCustomerAccountResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerAccountResponse/CreateCustomerAccountResponse/Data/Account.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemark.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRemarkResponse/CreateCustomerRemarkResponse/Data/Remark.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data/Account.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateDeliveryAddress.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateDeliveryAddressRequest/CreateDeliveryAddressRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/CreateDeliveryAddressResponse/CreateDeliveryAddressResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomer.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerAccount.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerDeliveryAddress.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerRemark.php'; -require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GeListOfCustomerDeliveryAddresses.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GeListOfCustomerDeliveryAddressesResponse/GeListOfCustomerDeliveryAddressesResponse/Data/DeliveryAddresses.php'; +require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetCustomerDetail.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetCustomerDetailResponse/GetCustomerDetailResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetCustomerDetailResponse/GetCustomerDetailResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerAccount.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerAccountResponse/GetDetailOfCustomerAccountResponse/Data/Account.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerDeliveryAddress.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerDeliveryAddressResponse/GetDetailOfCustomerDeliveryAddressResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerRemark.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetDetailOfCustomerRemarkResponse/GetDetailOfCustomerRemarkResponse/Data/Remark.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetLastCustomerChanges.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetLastCustomerChangesResponse/GetLastCustomerChangesResponse/Data.php'; @@ -419,11 +583,6 @@ require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomers.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerAccounts.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroups.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php'; @@ -434,34 +593,12 @@ require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions/Item.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRemarks.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks.php'; -require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomers.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers.php'; require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php'; require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomer.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccount.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccountRequest/UpdateCustomerAccountRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerAccountResponse/UpdateCustomerAccountResponse/Data/Account.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerDeliveryAddress.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemark.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemarkRequest/UpdateCustomerRemarkRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data/Remark.php'; require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest.php'; require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse.php'; @@ -484,6 +621,7 @@ require_once __DIR__ . '/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data/CouponCodes.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php'; +require_once __DIR__ . '/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/CreateDiscountCoupons.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/CreateDiscountCouponsRequest/CreateDiscountCouponsRequest/Data.php'; @@ -517,8 +655,10 @@ require_once __DIR__ . '/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags/Item.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php'; +require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplate.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse.php'; +require_once __DIR__ . '/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/GetDetailOfDiscountCoupon.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/GetDetailOfDiscountCouponResponse/GetDetailOfDiscountCouponResponse.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/GetDetailOfDiscountCouponResponse/GetDetailOfDiscountCouponResponse/Data.php'; @@ -544,13 +684,11 @@ require_once __DIR__ . '/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageRequest/UpdateDiscountCouponsUsageRequest.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageRequest/UpdateDiscountCouponsUsageRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse.php'; +require_once __DIR__ . '/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Discussions/GetListOfDiscussionPosts.php'; require_once __DIR__ . '/src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse.php'; require_once __DIR__ . '/src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Discussions/GetListOfDiscussionPostsResponse/GetListOfDiscussionPostsResponse/Data/Discussion.php'; -require_once __DIR__ . '/src/Endpoint/DocumentExport/GeneralDocumentDownload.php'; -require_once __DIR__ . '/src/Endpoint/DocumentExport/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse.php'; -require_once __DIR__ . '/src/Endpoint/DocumentExport/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/EmailDistributionLists/CreateEmailDistributionList.php'; require_once __DIR__ . '/src/Endpoint/EmailDistributionLists/CreateEmailDistributionListRequest/CreateEmailDistributionListRequest.php'; require_once __DIR__ . '/src/Endpoint/EmailDistributionLists/CreateEmailDistributionListRequest/CreateEmailDistributionListRequest/Data.php'; @@ -584,6 +722,12 @@ require_once __DIR__ . '/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists/Item.php'; require_once __DIR__ . '/src/Endpoint/Endpoint.php'; require_once __DIR__ . '/src/Endpoint/EndpointMap.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php'; +require_once __DIR__ . '/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item/Group.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesign.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data.php'; @@ -595,6 +739,20 @@ require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Header.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Layout.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDesignResponse/GetEshopDesignResponse/Data/Template.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettings.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CompanyStamp.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote/ForbiddenItemTypes.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DefaultSettings.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DeliveryNote.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Export.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Invoice.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order/ItemRemarkParameters.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProformaInvoice.php'; +require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProofPayment.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopInfo.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data.php'; @@ -650,9 +808,14 @@ require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingInfo.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/ContactInfo.php'; require_once __DIR__ . '/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/DeliveryAddress.php'; +require_once __DIR__ . '/src/Endpoint/Exports/GeneralDocumentDownload.php'; +require_once __DIR__ . '/src/Endpoint/Exports/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse.php'; +require_once __DIR__ . '/src/Endpoint/Exports/GeneralDocumentDownloadResponse/GeneralDocumentDownloadResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFiles.php'; require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse.php'; require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files.php'; +require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files/Item.php'; require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images.php'; require_once __DIR__ . '/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFile.php'; @@ -660,6 +823,7 @@ require_once __DIR__ . '/src/Endpoint/Files/UploadFileRequest/UploadFileRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFileResponse/UploadFileResponse.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/File.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFiles.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest.php'; @@ -667,13 +831,88 @@ require_once __DIR__ . '/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data/Item.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse.php'; require_once __DIR__ . '/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameter.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterRequest/CreateFilteringParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterRequest/CreateFilteringParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameter.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameter.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParameters.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item/Values.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameter.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlag.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagRequest/CreateProductFlagRequest.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagRequest/CreateProductFlagRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php'; +require_once __DIR__ . '/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php'; +require_once __DIR__ . '/src/Endpoint/Flags/DeleteProductFlag.php'; +require_once __DIR__ . '/src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse.php'; +require_once __DIR__ . '/src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/GetListOfProductsFlags.php'; +require_once __DIR__ . '/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php'; +require_once __DIR__ . '/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlag.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagRequest/UpdateProductFlagRequest.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagRequest/UpdateProductFlagRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags.php'; +require_once __DIR__ . '/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php'; require_once __DIR__ . '/src/Endpoint/Get.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/GetOrderGiftSettings.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/UpdateOrderGiftSettings.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Gifts/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrder.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data/ProofPaymentCodes.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse.php'; require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php'; require_once __DIR__ . '/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php'; require_once __DIR__ . '/src/Endpoint/Invoices/GetInvoiceDetail.php'; @@ -692,61 +931,114 @@ require_once __DIR__ . '/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices.php'; require_once __DIR__ . '/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data/ProformaInvoiceCodes.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse.php'; +require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPayments.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data/ProofPaymentCodes.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse.php'; require_once __DIR__ . '/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetJobDetail.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetJobDetailResponse/GetJobDetailResponse.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetJobDetailResponse/GetJobDetailResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetJobDetailResponse/GetJobDetailResponse/Data/Job.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetListOfJobs.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs.php'; -require_once __DIR__ . '/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetJobDetail.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetJobDetailResponse/GetJobDetailResponse.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetJobDetailResponse/GetJobDetailResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetJobDetailResponse/GetJobDetailResponse/Data/Job.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetListOfJobs.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs.php'; +require_once __DIR__ . '/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios.php'; +require_once __DIR__ . '/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php'; require_once __DIR__ . '/src/Endpoint/OAuth/CreateOauthAccessToken.php'; require_once __DIR__ . '/src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenRequestData.php'; require_once __DIR__ . '/src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenResponse.php'; require_once __DIR__ . '/src/Endpoint/OAuth/CreateOauthAccessToken/CreateOauthAccessTokenResponseData.php'; require_once __DIR__ . '/src/Endpoint/OAuth/GetAccessToken.php'; require_once __DIR__ . '/src/Endpoint/OAuth/GetAccessToken/PublicAccessTokenResponseData.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGift.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGiftRequest/AddOrderGiftRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGiftRequest/AddOrderGiftRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderShipping.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderShippingRequest/AddOrderShippingRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderShippingRequest/AddOrderShippingRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderShippingResponse/AddOrderShippingResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/AddOrderShippingResponse/AddOrderShippingResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGift.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGiftRequest/AddOrderGiftRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGiftRequest/AddOrderGiftRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/DeleteOrderGift.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/GetOrderGiftsList.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/GetOrderGiftsListResponse/GetOrderGiftsListResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderGifts/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/CreateOrderRemark.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/CreateOrderRemarkRequest/CreateOrderRemarkRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/CreateOrderRemarkRequest/CreateOrderRemarkRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/DeleteOrderHistoryItem.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfAllRemarks.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfRemarksForOrder.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderHistory/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItem.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemResponse/CreateOrderItemResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemResponse/CreateOrderItemResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParameters.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data2.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItem.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParameters.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItem.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItemResponse/UpdateOrderItemResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderItems/UpdateOrderItemResponse/UpdateOrderItemResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/CreateOrderPayment.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/CreateOrderPaymentRequest/CreateOrderPaymentRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/CreateOrderPaymentRequest/CreateOrderPaymentRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/CreateOrderPaymentResponse/CreateOrderPaymentResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/CreateOrderPaymentResponse/CreateOrderPaymentResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/UpdateOrderPayment.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderPayment/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/AddOrderShipping.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/AddOrderShippingRequest/AddOrderShippingRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/AddOrderShippingRequest/AddOrderShippingRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/AddOrderShippingResponse/AddOrderShippingResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/AddOrderShippingResponse/AddOrderShippingResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/UpdateOrderShipping.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/UpdateOrderShippingRequest/UpdateOrderShippingRequest.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/UpdateOrderShippingRequest/UpdateOrderShippingRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/UpdateOrderShippingResponse/UpdateOrderShippingResponse.php'; +require_once __DIR__ . '/src/Endpoint/OrderShipping/UpdateOrderShippingResponse/UpdateOrderShippingResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/CreateOrder.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItem.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemResponse/CreateOrderItemResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemResponse/CreateOrderItemResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data2.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderItemSurchargeParametersResponse/CreateOrderItemSurchargeParametersResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderPayment.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderPaymentRequest/CreateOrderPaymentRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderPaymentRequest/CreateOrderPaymentRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderPaymentResponse/CreateOrderPaymentResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderPaymentResponse/CreateOrderPaymentResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRemark.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRemarkRequest/CreateOrderRemarkRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRemarkRequest/CreateOrderRemarkRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest.php'; require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/BillingAddress.php'; @@ -763,15 +1055,8 @@ require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrder.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderGift.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderHistoryItem.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderItem.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderItemResponse/DeleteOrderItemResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderItemSurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php'; +require_once __DIR__ . '/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/DownloadOrderAsPdf.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetLastOrderChanges.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetLastOrderChangesResponse/GetLastOrderChangesResponse.php'; @@ -799,22 +1084,14 @@ require_once __DIR__ . '/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Source.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Status.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrder.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item/User.php'; +require_once __DIR__ . '/src/Endpoint/Orders/GetOrderClaims.php'; +require_once __DIR__ . '/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders.php'; +require_once __DIR__ . '/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders/Item.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetOrderDetail.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftSettings.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftSettingsResponse/GetOrderGiftSettingsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftsList.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftsListResponse/GetOrderGiftsListResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/GetOrderGiftsListResponse/GetOrderGiftsListResponse/Data/Items.php'; require_once __DIR__ . '/src/Endpoint/Orders/OrderBatchInsertion.php'; require_once __DIR__ . '/src/Endpoint/Orders/OrderBatchInsertionRequest/OrderBatchInsertionRequest.php'; require_once __DIR__ . '/src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse.php'; @@ -824,11 +1101,6 @@ require_once __DIR__ . '/src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderGiftSettings.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderGiftSettingsRequest/UpdateOrderGiftSettingsRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderGiftSettingsResponse/UpdateOrderGiftSettingsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHead.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data.php'; @@ -836,22 +1108,6 @@ require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/DeliveryAddress.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItem.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItemResponse/UpdateOrderItemResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderItemResponse/UpdateOrderItemResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderPayment.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderPaymentRequest/UpdateOrderPaymentRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderPaymentResponse/UpdateOrderPaymentResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderShipping.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderShippingRequest/UpdateOrderShippingRequest.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderShippingRequest/UpdateOrderShippingRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderShippingResponse/UpdateOrderShippingResponse.php'; -require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderShippingResponse/UpdateOrderShippingResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderStatus.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest/Data.php'; @@ -863,7 +1119,15 @@ require_once __DIR__ . '/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields/Item.php'; require_once __DIR__ . '/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php'; +require_once __DIR__ . '/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/PageableGet.php'; +require_once __DIR__ . '/src/Endpoint/Pages/CreatePage.php'; +require_once __DIR__ . '/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest.php'; +require_once __DIR__ . '/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse.php'; +require_once __DIR__ . '/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Pages/DeletePage.php'; +require_once __DIR__ . '/src/Endpoint/Pages/DeletePageResponse/DeletePageResponse.php'; require_once __DIR__ . '/src/Endpoint/Pages/GetDetailOfPage.php'; require_once __DIR__ . '/src/Endpoint/Pages/GetDetailOfPageResponse/GetDetailOfPageResponse.php'; require_once __DIR__ . '/src/Endpoint/Pages/GetDetailOfPageResponse/GetDetailOfPageResponse/Data.php'; @@ -871,6 +1135,40 @@ require_once __DIR__ . '/src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse.php'; require_once __DIR__ . '/src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Pages/GetListOfPagesResponse/GetListOfPagesResponse/Data/Pages.php'; +require_once __DIR__ . '/src/Endpoint/Pages/UpdatePage.php'; +require_once __DIR__ . '/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest.php'; +require_once __DIR__ . '/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse.php'; +require_once __DIR__ . '/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data/Parameters.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data/ParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data/ParametricCategory/Parameters.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/DeleteParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategories.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory.php'; +require_once __DIR__ . '/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory/Parameters.php'; require_once __DIR__ . '/src/Endpoint/Patch.php'; require_once __DIR__ . '/src/Endpoint/PaymentGateways/GetInformationAboutPayment.php'; require_once __DIR__ . '/src/Endpoint/PaymentGateways/GetInformationAboutPaymentResponse/GetInformationAboutPaymentResponse.php'; @@ -889,6 +1187,7 @@ require_once __DIR__ . '/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data/PaymentType.php'; require_once __DIR__ . '/src/Endpoint/PaymentMethods/DeletePaymentMethod.php'; require_once __DIR__ . '/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php'; +require_once __DIR__ . '/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/PaymentMethods/GetListingOfPaymentMethods.php'; require_once __DIR__ . '/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse.php'; require_once __DIR__ . '/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data.php'; @@ -900,9 +1199,9 @@ require_once __DIR__ . '/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php'; -require_once __DIR__ . '/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/DeletePricelist.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php'; +require_once __DIR__ . '/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/GetListOfAllPricelistDetails.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/GetListOfAllPricelistDetailsResponse/GetListOfAllPricelistDetailsResponse.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/GetListOfAllPricelistDetailsResponse/GetListOfAllPricelistDetailsResponse/Data.php'; @@ -913,6 +1212,7 @@ require_once __DIR__ . '/src/Endpoint/PriceLists/GetPricelistDetail.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data/Pricelist.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelist.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data.php'; @@ -924,69 +1224,109 @@ require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php'; +require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices.php'; +require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices/PurchasePrice.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Sales.php'; require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductRequest/AddAlternativeProductRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductRequest/AddAlternativeProductRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductRequest/AddAlternativeProductRequest/Data/AlternativeProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductResponse/AddAlternativeProductResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductResponse/AddAlternativeProductResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddAlternativeProductResponse/AddAlternativeProductResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSet.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetRequest/AddItemToProductSetRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetRequest/AddItemToProductSetRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetRequest/AddItemToProductSetRequest/Data/SetItem.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetResponse/AddItemToProductSetResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetResponse/AddItemToProductSetResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddItemToProductSetResponse/AddItemToProductSetResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductRequest/AddRelatedProductRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductRequest/AddRelatedProductRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductRequest/AddRelatedProductRequest/Data/RelatedProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductResponse/AddRelatedProductResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductResponse/AddRelatedProductResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/AddRelatedProductResponse/AddRelatedProductResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateConsumptionTax.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateConsumptionTaxRequest/CreateConsumptionTaxRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateConsumptionTaxResponse/CreateConsumptionTaxResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterRequest/CreateFilteringParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterRequest/CreateFilteringParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterResponse/CreateFilteringParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValueRequest/CreateFilteringParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/DeleteProductAvailabilityResponse/DeleteProductAvailabilityResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilities.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability.php'; +require_once __DIR__ . '/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/CreateProductGift.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/CreateProductGiftRequest/CreateProductGiftRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/CreateProductGiftRequest/CreateProductGiftRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/CreateProductGiftResponse/CreateProductGiftResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/CreateProductGiftResponse/CreateProductGiftResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/GetListOfProductGifts.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProduct.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductResponse/SteGiftsToProductResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductGifts/SteGiftsToProductResponse/SteGiftsToProductResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImages.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesResponse/CreateProductImagesResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/CreateProductImagesResponse/CreateProductImagesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteAllProductImagesInGallery.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteOneProductImage.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImages.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdate.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSource.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSet.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetRequest/AddItemToProductSetRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetRequest/AddItemToProductSetRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetRequest/AddItemToProductSetRequest/Data/SetItem.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetResponse/AddItemToProductSetResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetResponse/AddItemToProductSetResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/AddItemToProductSetResponse/AddItemToProductSetResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItems.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsResponse/SetProductSetItemsResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsResponse/SetProductSetItemsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/ProductSets/SetProductSetItemsResponse/SetProductSetItemsResponse/Data/Items.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductCategoryRequest/CreateProductCategoryRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductCategoryRequest/CreateProductCategoryRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductCategoryResponse/CreateProductCategoryResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlag.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagRequest/CreateProductFlagRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagRequest/CreateProductFlagRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductGift.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductGiftRequest/CreateProductGiftRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductGiftRequest/CreateProductGiftRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductGiftResponse/CreateProductGiftResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductGiftResponse/CreateProductGiftResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImages.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesResponse/CreateProductImagesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateProductImagesResponse/CreateProductImagesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/CategoryGuids.php'; @@ -1002,208 +1342,42 @@ require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/SurchargeParameters.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php'; +require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels.php'; +require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductResponse/CreateProductResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/CreateProductResponse/CreateProductResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterRequest/CreateVariantParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterRequest/CreateVariantParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterResponse/CreateVariantParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterResponse/CreateVariantParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterResponse/CreateVariantParameterResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteAllProductImagesInGallery.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteConsumptionTax.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteFilteringParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteFilteringParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteOneProductImage.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/DeleteProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteProductCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteProductFlag.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteProductFlagResponse/DeleteProductFlagResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php'; +require_once __DIR__ . '/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/DeleteProductVariant.php'; require_once __DIR__ . '/src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteSurchargeParameterByIndex.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteSurchargeParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteVariantParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteVariantParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfFilteringParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfSurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfVariantParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/GetLastProductChanges.php'; require_once __DIR__ . '/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes.php'; require_once __DIR__ . '/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProducts.php'; +require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php'; +require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse.php'; +require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfConsumptionTaxes.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfConsumptionTaxesResponse/GetListOfConsumptionTaxesResponse/Data/ConsumptionTaxes.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductAlternativeProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductCategories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductCategoriesResponse/GetListOfProductCategoriesResponse/Data/Categories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductGifts.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductGiftsResponse/GetListOfProductGiftsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductImages.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductRelatedProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductUnits.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductWarranties.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilities.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsFlags.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnits.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsOrderInCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php'; require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviews.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfRecyclingFeeCategories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data/RecyclingFeeCategories.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetParametricCategoryDetail.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductCategoryDetail.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductCategoryDetailResponse/GetProductCategoryDetailResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/GetProductDetail.php'; require_once __DIR__ . '/src/Endpoint/Products/GetProductDetailByCode.php'; require_once __DIR__ . '/src/Endpoint/Products/GetProductDetailByCodeResponse/GetProductDetailByCodeResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/GetProductDetailResponse/GetProductDetailResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdate.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php'; -require_once __DIR__ . '/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/ProductBatchUpdate.php'; require_once __DIR__ . '/src/Endpoint/Products/ProductBatchUpdateRequest/ProductBatchUpdateRequest.php'; require_once __DIR__ . '/src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse.php'; @@ -1213,147 +1387,15 @@ require_once __DIR__ . '/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data/CopyProperties.php'; require_once __DIR__ . '/src/Endpoint/Products/ProductCopyResponse/ProductCopyResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItems.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsResponse/SetProductSetItemsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsResponse/SetProductSetItemsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetProductSetItemsResponse/SetProductSetItemsResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse/Data/Items.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProduct.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductResponse/SteGiftsToProductResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/SteGiftsToProductResponse/SteGiftsToProductResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateConsumptionTax.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateConsumptionTaxRequest/UpdateConsumptionTaxRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateConsumptionTaxResponse/UpdateConsumptionTaxResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterRequest/UpdateFilteringParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValueRequest/UpdateFilteringParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php'; +require_once __DIR__ . '/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse.php'; +require_once __DIR__ . '/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProduct.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCode.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/CategoryGuids.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/SurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProductByCodeResponse/UpdateProductByCodeResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryBatch.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryBatchRequest/UpdateProductCategoryBatchRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryBatchResponse/UpdateProductCategoryBatchResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlag.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagRequest/UpdateProductFlagRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagRequest/UpdateProductFlagRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSource.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductImagesSourceResponse/UpdateProductImagesSourceResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductOrderInCategory.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/CategoryGuids.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/DescriptiveParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/DescriptiveParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters/Item/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Flags.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Flags/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/SurchargeParameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters/Item.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/StocksLocations.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/StocksLocations/Item.php'; require_once __DIR__ . '/src/Endpoint/Products/UpdateProductResponse/UpdateProductResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameter.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterRequest/UpdateVariantParameterRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterRequest/UpdateVariantParameterRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterResponse/UpdateVariantParameterResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data/Values.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValue.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php'; require_once __DIR__ . '/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php'; require_once __DIR__ . '/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php'; require_once __DIR__ . '/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse.php'; @@ -1371,6 +1413,18 @@ require_once __DIR__ . '/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php'; require_once __DIR__ . '/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse.php'; require_once __DIR__ . '/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectDomainList.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains/Item.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannels.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Currencies.php'; +require_once __DIR__ . '/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Languages.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/CreateProofPayment.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse.php'; @@ -1384,7 +1438,9 @@ require_once __DIR__ . '/src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/DeleteProofPayment.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php'; +require_once __DIR__ . '/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/DownloadProofOfPaymentPdf.php'; +require_once __DIR__ . '/src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse.php'; require_once __DIR__ . '/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data.php'; @@ -1435,6 +1491,7 @@ require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php'; +require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscounts.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscountsResponse/GetDetailOfQuantityDiscountsResponse.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscountsResponse/GetDetailOfQuantityDiscountsResponse/Data.php'; @@ -1461,6 +1518,41 @@ require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/ProductGuids.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse.php'; require_once __DIR__ . '/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php'; +require_once __DIR__ . '/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse.php'; +require_once __DIR__ . '/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategoriesResponse/GetListOfRecyclingFeeCategoriesResponse/Data/RecyclingFeeCategories.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProduct.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductRequest/AddRelatedProductRequest.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductRequest/AddRelatedProductRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductRequest/AddRelatedProductRequest/Data/RelatedProduct.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductResponse/AddRelatedProductResponse.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductResponse/AddRelatedProductResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/AddRelatedProductResponse/AddRelatedProductResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/GetListOfProductRelatedProducts.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProducts.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsResponse/SetRelatedProductsResponse.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsResponse/SetRelatedProductsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/RelatedProducts/SetRelatedProductsResponse/SetRelatedProductsResponse/Data/Items.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviews.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item/Reaction.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviews.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php'; +require_once __DIR__ . '/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php'; require_once __DIR__ . '/src/Endpoint/ShippingMethods/CreateShippingMethod.php'; require_once __DIR__ . '/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest.php'; require_once __DIR__ . '/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php'; @@ -1523,16 +1615,59 @@ require_once __DIR__ . '/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithQuantity.php'; require_once __DIR__ . '/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithRealStock.php'; require_once __DIR__ . '/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php'; +require_once __DIR__ . '/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Suppliers/GetListOfSuppliers.php'; require_once __DIR__ . '/src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse.php'; require_once __DIR__ . '/src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Suppliers/GetListOfSuppliersResponse/GetListOfSuppliersResponse/Data/Suppliers.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpoints.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php'; -require_once __DIR__ . '/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item/Group.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter/Values.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndex.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter/Values.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParameters.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item/Values.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterRequest/UpdateSurchargeParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueRequest/UpdateSurchargeParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php'; +require_once __DIR__ . '/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php'; require_once __DIR__ . '/src/Endpoint/Templates/CreateAndEditHtmlCodes.php'; require_once __DIR__ . '/src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest.php'; require_once __DIR__ . '/src/Endpoint/Templates/CreateAndEditHtmlCodesRequest/CreateAndEditHtmlCodesRequest/Data.php'; @@ -1544,11 +1679,17 @@ require_once __DIR__ . '/src/Endpoint/Templates/CreateAndEditHtmlCodesResponse/CreateAndEditHtmlCodesResponse/Data/Snippets/Item.php'; require_once __DIR__ . '/src/Endpoint/Templates/DeleteHtmlCode.php'; require_once __DIR__ . '/src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse.php'; +require_once __DIR__ . '/src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Templates/GetListingOfHtmlCodes.php'; require_once __DIR__ . '/src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse.php'; require_once __DIR__ . '/src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data/Snippets.php'; require_once __DIR__ . '/src/Endpoint/Templates/GetListingOfHtmlCodesResponse/GetListingOfHtmlCodesResponse/Data/Snippets/Item.php'; +require_once __DIR__ . '/src/Endpoint/Units/GetListOfProductUnits.php'; +require_once __DIR__ . '/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse.php'; +require_once __DIR__ . '/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units.php'; +require_once __DIR__ . '/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php'; require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmail.php'; require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailRequest/CreateUnsubscribedEmailRequest.php'; require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmailRequest/CreateUnsubscribedEmailRequest/Data.php'; @@ -1560,8 +1701,61 @@ require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails.php'; require_once __DIR__ . '/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameter.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterRequest/CreateVariantParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterRequest/CreateVariantParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterResponse/CreateVariantParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterResponse/CreateVariantParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterResponse/CreateVariantParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValueRequest/CreateVariantParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/CreateVariantParameterValueResponse/CreateVariantParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameter.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetDetailOfVariantParameter.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetDetailOfVariantParameterResponse/GetDetailOfVariantParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParameters.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item/Values.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameter.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterRequest/UpdateVariantParameterRequest.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterRequest/UpdateVariantParameterRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterResponse/UpdateVariantParameterResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterResponse/UpdateVariantParameterResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValue.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValueRequest/UpdateVariantParameterValueRequest/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups.php'; +require_once __DIR__ . '/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php'; +require_once __DIR__ . '/src/Endpoint/Warranties/GetListOfProductWarranties.php'; +require_once __DIR__ . '/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse.php'; +require_once __DIR__ . '/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data.php'; +require_once __DIR__ . '/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties.php'; +require_once __DIR__ . '/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/DeleteRegisteredWebhook.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse.php'; +require_once __DIR__ . '/src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/GenerateWebhookSignatureKey.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/GenerateWebhookSignatureKeyResponse/GenerateWebhookSignatureKeyResponse.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/GenerateWebhookSignatureKeyResponse/GenerateWebhookSignatureKeyResponse/Data.php'; @@ -1587,6 +1781,7 @@ require_once __DIR__ . '/src/Endpoint/Webhooks/UpdateExistingWebhookRequest/UpdateExistingWebhookRequest.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/UpdateExistingWebhookRequest/UpdateExistingWebhookRequest/Data.php'; require_once __DIR__ . '/src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse.php'; +require_once __DIR__ . '/src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/CreateXYDiscount.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest/Data.php'; @@ -1595,6 +1790,7 @@ require_once __DIR__ . '/src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/DeleteXYDiscount.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php'; +require_once __DIR__ . '/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse/Data.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/GetDetailOfXYDiscounts.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/GetDetailOfXYDiscountsResponse/GetDetailOfXYDiscountsResponse.php'; require_once __DIR__ . '/src/Endpoint/XYDiscounts/GetDetailOfXYDiscountsResponse/GetDetailOfXYDiscountsResponse/Data.php'; diff --git a/src/Async/AsyncEndpoint.php b/src/Async/AsyncEndpoint.php old mode 100644 new mode 100755 diff --git a/src/Async/JobFailedException.php b/src/Async/JobFailedException.php old mode 100644 new mode 100755 diff --git a/src/Async/JobIsNotFinishedException.php b/src/Async/JobIsNotFinishedException.php old mode 100644 new mode 100755 diff --git a/src/Async/JobNotFoundException.php b/src/Async/JobNotFoundException.php old mode 100644 new mode 100755 diff --git a/src/Async/JobResultProcessor.php b/src/Async/JobResultProcessor.php old mode 100644 new mode 100755 index 32924b2..548b21e --- a/src/Async/JobResultProcessor.php +++ b/src/Async/JobResultProcessor.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Async; use Generator; -use Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetJobDetailResponse\GetJobDetailResponse; +use Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetJobDetailResponse\GetJobDetailResponse; use Shoptet\Api\Sdk\Php\Exception\LogicException; use Shoptet\Api\Sdk\Php\Exception\RuntimeException; use Shoptet\Api\Sdk\Php\Factory\Endpoint\EndpointFactory; diff --git a/src/Async/JobStatuses.php b/src/Async/JobStatuses.php old mode 100644 new mode 100755 diff --git a/src/Async/SnapshotEndpoint.php b/src/Async/SnapshotEndpoint.php old mode 100644 new mode 100755 diff --git a/src/Async/SnapshotResultData.php b/src/Async/SnapshotResultData.php old mode 100644 new mode 100755 index ab1e2ed..5f3b499 --- a/src/Async/SnapshotResultData.php +++ b/src/Async/SnapshotResultData.php @@ -6,7 +6,7 @@ use Generator; use IteratorAggregate; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetJobDetailResponse\GetJobDetailResponse; +use Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetJobDetailResponse\GetJobDetailResponse; use Shoptet\Api\Sdk\Php\Exception\LogicException; /** diff --git a/src/Authorization/AuthorizationFacade.php b/src/Authorization/AuthorizationFacade.php old mode 100644 new mode 100755 diff --git a/src/Authorization/MaximumTokenReachedException.php b/src/Authorization/MaximumTokenReachedException.php old mode 100644 new mode 100755 diff --git a/src/Authorization/OAuth.php b/src/Authorization/OAuth.php old mode 100644 new mode 100755 diff --git a/src/Authorization/ObtainAccessTokenFailedException.php b/src/Authorization/ObtainAccessTokenFailedException.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/BearerToken.php b/src/Authorization/Token/BearerToken.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/FileTokenStorage.php b/src/Authorization/Token/FileTokenStorage.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/PrivateApiToken.php b/src/Authorization/Token/PrivateApiToken.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/PublicApiToken.php b/src/Authorization/Token/PublicApiToken.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/Token.php b/src/Authorization/Token/Token.php old mode 100644 new mode 100755 diff --git a/src/Authorization/Token/TokenStorage.php b/src/Authorization/Token/TokenStorage.php old mode 100644 new mode 100755 diff --git a/src/Authorization/TokenHasExpiredException.php b/src/Authorization/TokenHasExpiredException.php old mode 100644 new mode 100755 diff --git a/src/Authorization/TokenNotFoundException.php b/src/Authorization/TokenNotFoundException.php old mode 100644 new mode 100755 diff --git a/src/Authorization/UnauthorizedException.php b/src/Authorization/UnauthorizedException.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ActionPrice.php b/src/Component/Entity/ActionPrice.php old mode 100644 new mode 100755 index 6761acc..c7cae0f --- a/src/Component/Entity/ActionPrice.php +++ b/src/Component/Entity/ActionPrice.php @@ -2,14 +2,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; class ActionPrice extends Entity { protected TypePrice $price; - protected TypeDate $fromDate; - protected TypeDate $toDate; + protected TypeDateNullable $fromDate; + protected TypeDateNullable $toDate; public function getPrice(): TypePrice { @@ -22,23 +22,23 @@ public function setPrice(TypePrice $price): static return $this; } - public function getFromDate(): TypeDate + public function getFromDate(): TypeDateNullable { return $this->fromDate; } - public function setFromDate(TypeDate $fromDate): static + public function setFromDate(TypeDateNullable $fromDate): static { $this->fromDate = $fromDate; return $this; } - public function getToDate(): TypeDate + public function getToDate(): TypeDateNullable { return $this->toDate; } - public function setToDate(TypeDate $toDate): static + public function setToDate(TypeDateNullable $toDate): static { $this->toDate = $toDate; return $this; diff --git a/src/Component/Entity/Address.php b/src/Component/Entity/Address.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Article.php b/src/Component/Entity/Article.php old mode 100644 new mode 100755 index 61a7535..513f779 --- a/src/Component/Entity/Article.php +++ b/src/Component/Entity/Article.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Article\SectionIds; use Shoptet\Api\Sdk\Php\Component\Entity\Article\Urls; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Article extends Entity { @@ -12,7 +12,7 @@ class Article extends Entity protected ?float $defaultSectionId; protected ?SectionIds $sectionIds; protected string $title; - protected string $language; + protected ?string $language; protected ?string $indexName; protected ?string $url; protected ?Urls $urls; @@ -23,8 +23,8 @@ class Article extends Entity /** @deprecated */ protected ?string $metaKeywords; protected ?string $metaDescription; - protected TypeDateTime $publishDate; - protected TypeDateTime $changeDate; + protected TypeDateTimeNullable $publishDate; + protected TypeDateTimeNullable $changeDate; protected bool $visible; protected string $access; protected ?string $image; @@ -74,12 +74,12 @@ public function setTitle(string $title): static return $this; } - public function getLanguage(): string + public function getLanguage(): ?string { return $this->language; } - public function setLanguage(string $language): static + public function setLanguage(?string $language): static { $this->language = $language; return $this; @@ -179,23 +179,23 @@ public function setMetaDescription(?string $metaDescription): static return $this; } - public function getPublishDate(): TypeDateTime + public function getPublishDate(): TypeDateTimeNullable { return $this->publishDate; } - public function setPublishDate(TypeDateTime $publishDate): static + public function setPublishDate(TypeDateTimeNullable $publishDate): static { $this->publishDate = $publishDate; return $this; } - public function getChangeDate(): TypeDateTime + public function getChangeDate(): TypeDateTimeNullable { return $this->changeDate; } - public function setChangeDate(TypeDateTime $changeDate): static + public function setChangeDate(TypeDateTimeNullable $changeDate): static { $this->changeDate = $changeDate; return $this; diff --git a/src/Component/Entity/Article/SectionIds.php b/src/Component/Entity/Article/SectionIds.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Article/Urls.php b/src/Component/Entity/Article/Urls.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ArticleList.php b/src/Component/Entity/ArticleList.php old mode 100644 new mode 100755 index 3ea4b4b..4b36d3d --- a/src/Component/Entity/ArticleList.php +++ b/src/Component/Entity/ArticleList.php @@ -2,7 +2,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class ArticleList extends Entity { @@ -11,7 +11,7 @@ class ArticleList extends Entity protected ?float $sectionId; protected string $title; protected ?string $url; - protected TypeDateTime $publishDate; + protected TypeDateTimeNullable $publishDate; protected bool $visible; protected ?string $image; @@ -70,12 +70,12 @@ public function setUrl(?string $url): static return $this; } - public function getPublishDate(): TypeDateTime + public function getPublishDate(): TypeDateTimeNullable { return $this->publishDate; } - public function setPublishDate(TypeDateTime $publishDate): static + public function setPublishDate(TypeDateTimeNullable $publishDate): static { $this->publishDate = $publishDate; return $this; diff --git a/src/Component/Entity/ArticleSection.php b/src/Component/Entity/ArticleSection.php old mode 100644 new mode 100755 index 29a2070..7bd4176 --- a/src/Component/Entity/ArticleSection.php +++ b/src/Component/Entity/ArticleSection.php @@ -7,7 +7,7 @@ class ArticleSection extends Entity protected float $id; protected ?float $parentId; protected string $title; - protected string $language; + protected ?string $language; protected ?string $indexName; protected ?string $url; protected ?string $description; @@ -61,12 +61,12 @@ public function setTitle(string $title): static return $this; } - public function getLanguage(): string + public function getLanguage(): ?string { return $this->language; } - public function setLanguage(string $language): static + public function setLanguage(?string $language): static { $this->language = $language; return $this; diff --git a/src/Component/Entity/ArticleSectionList.php b/src/Component/Entity/ArticleSectionList.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ArticleSnapshot.php b/src/Component/Entity/ArticleSnapshot.php new file mode 100755 index 0000000..43306c9 --- /dev/null +++ b/src/Component/Entity/ArticleSnapshot.php @@ -0,0 +1,7 @@ +withVat; } - public function setWithVat(TypePrice $withVat): static + public function setWithVat(TypePriceNullable $withVat): static { $this->withVat = $withVat; return $this; } - public function getWithoutVat(): TypePrice + public function getWithoutVat(): TypePriceNullable { return $this->withoutVat; } - public function setWithoutVat(TypePrice $withoutVat): static + public function setWithoutVat(TypePriceNullable $withoutVat): static { $this->withoutVat = $withoutVat; return $this; } - public function getVat(): TypePrice + public function getVat(): TypePriceNullable { return $this->vat; } - public function setVat(TypePrice $vat): static + public function setVat(TypePriceNullable $vat): static { $this->vat = $vat; return $this; diff --git a/src/Component/Entity/Category.php b/src/Component/Entity/Category.php old mode 100644 new mode 100755 index 019d0f2..05c3344 --- a/src/Component/Entity/Category.php +++ b/src/Component/Entity/Category.php @@ -3,18 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Category\CatalogueMapping; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class Category extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected string $name; protected ?string $image; protected ?string $description; protected ?string $secondDescription; protected string $indexName; protected string $url; - protected ?TypeGuid $parentGuid; + protected TypeGuidNullable $parentGuid; protected ?float $priority; protected ?string $menuTitle; protected ?string $title; @@ -26,12 +26,12 @@ class Category extends Entity protected ?string $productOrdering; protected CatalogueMapping $catalogueMapping; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; @@ -103,12 +103,12 @@ public function setUrl(string $url): static return $this; } - public function getParentGuid(): ?TypeGuid + public function getParentGuid(): TypeGuidNullable { return $this->parentGuid; } - public function setParentGuid(?TypeGuid $parentGuid): static + public function setParentGuid(TypeGuidNullable $parentGuid): static { $this->parentGuid = $parentGuid; return $this; diff --git a/src/Component/Entity/Category/CatalogueMapping.php b/src/Component/Entity/Category/CatalogueMapping.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Category/CatalogueMapping/Item.php b/src/Component/Entity/Category/CatalogueMapping/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/CategoryBatchUpdate.php b/src/Component/Entity/CategoryBatchUpdate.php new file mode 100755 index 0000000..6c41add --- /dev/null +++ b/src/Component/Entity/CategoryBatchUpdate.php @@ -0,0 +1,19 @@ +language; + } + + public function setLanguage(?string $language): static + { + $this->language = $language; + return $this; + } +} diff --git a/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest/Data.php b/src/Component/Entity/CategoryUpdate.php old mode 100644 new mode 100755 similarity index 81% rename from src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest/Data.php rename to src/Component/Entity/CategoryUpdate.php index 2854e57..ac9ccbf --- a/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest/Data.php +++ b/src/Component/Entity/CategoryUpdate.php @@ -1,22 +1,22 @@ parentGuid; } - public function setParentGuid(?TypeGuid $parentGuid): static + public function setParentGuid(?TypeGuidNullable $parentGuid): static { $this->parentGuid = $parentGuid; return $this; @@ -101,12 +101,12 @@ public function setImageName(?string $imageName): static return $this; } - public function getSourceImageName(): ?TypeFilename + public function getSourceImageName(): ?TypeFilenameNullable { return $this->sourceImageName; } - public function setSourceImageName(?TypeFilename $sourceImageName): static + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static { $this->sourceImageName = $sourceImageName; return $this; @@ -211,23 +211,23 @@ public function setProductOrdering(?string $productOrdering): static return $this; } - public function getSimilarProductsCategory(): ?TypeGuid + public function getSimilarProductsCategory(): ?TypeGuidNullable { return $this->similarProductsCategory; } - public function setSimilarProductsCategory(?TypeGuid $similarProductsCategory): static + public function setSimilarProductsCategory(?TypeGuidNullable $similarProductsCategory): static { $this->similarProductsCategory = $similarProductsCategory; return $this; } - public function getRelatedProductsCategory(): ?TypeGuid + public function getRelatedProductsCategory(): ?TypeGuidNullable { return $this->relatedProductsCategory; } - public function setRelatedProductsCategory(?TypeGuid $relatedProductsCategory): static + public function setRelatedProductsCategory(?TypeGuidNullable $relatedProductsCategory): static { $this->relatedProductsCategory = $relatedProductsCategory; return $this; diff --git a/src/Component/Entity/ConsumptionTax.php b/src/Component/Entity/ConsumptionTax.php old mode 100644 new mode 100755 index f59dc4e..a009e55 --- a/src/Component/Entity/ConsumptionTax.php +++ b/src/Component/Entity/ConsumptionTax.php @@ -2,7 +2,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; class ConsumptionTax extends Entity @@ -12,8 +12,8 @@ class ConsumptionTax extends Entity protected TypePrice $price; protected string $currency; protected bool $isVisible; - protected TypeDateTime $created; - protected TypeDateTime $updated; + protected TypeDateTimeNullable $created; + protected TypeDateTimeNullable $updated; public function getId(): int { @@ -70,23 +70,23 @@ public function setIsVisible(bool $isVisible): static return $this; } - public function getCreated(): TypeDateTime + public function getCreated(): TypeDateTimeNullable { return $this->created; } - public function setCreated(TypeDateTime $created): static + public function setCreated(TypeDateTimeNullable $created): static { $this->created = $created; return $this; } - public function getUpdated(): TypeDateTime + public function getUpdated(): TypeDateTimeNullable { return $this->updated; } - public function setUpdated(TypeDateTime $updated): static + public function setUpdated(TypeDateTimeNullable $updated): static { $this->updated = $updated; return $this; diff --git a/src/Component/Entity/CreditNote.php b/src/Component/Entity/CreditNote.php old mode 100644 new mode 100755 index 57948be..1d43940 --- a/src/Component/Entity/CreditNote.php +++ b/src/Component/Entity/CreditNote.php @@ -3,8 +3,8 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\CreditNote\Items; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeightUnlimited; class CreditNote extends Entity @@ -14,20 +14,20 @@ class CreditNote extends Entity protected ?string $invoiceCode; protected ?string $orderCode; protected ?string $proofPaymentCode; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; - protected TypeDate $dueDate; - protected TypeDate $taxDate; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; + protected TypeDateNullable $dueDate; + protected TypeDateNullable $taxDate; protected float $varSymbol; protected ?int $constSymbol; protected ?float $specSymbol; protected ?bool $restocked; protected ?string $stockAmountChangeType; - protected ?TypeWeightUnlimited $weight; - protected ?TypeWeightUnlimited $completePackageWeight; - protected BillingMethod $billingMethod; + protected TypeWeightUnlimited $weight; + protected TypeWeightUnlimited $completePackageWeight; + protected ?BillingMethod $billingMethod; protected BillingAddress $billingAddress; - protected ?Address $deliveryAddress; + protected Address $deliveryAddress; protected bool $addressesEqual; protected Price $price; protected DocumentCustomer $customer; @@ -36,6 +36,7 @@ class CreditNote extends Entity protected ?string $documentRemark; protected bool $vatPayer; protected ?string $vatMode; + protected ?string $reasonRemark; public function getCode(): string { @@ -92,45 +93,45 @@ public function setProofPaymentCode(?string $proofPaymentCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; } - public function getDueDate(): TypeDate + public function getDueDate(): TypeDateNullable { return $this->dueDate; } - public function setDueDate(TypeDate $dueDate): static + public function setDueDate(TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): TypeDate + public function getTaxDate(): TypeDateNullable { return $this->taxDate; } - public function setTaxDate(TypeDate $taxDate): static + public function setTaxDate(TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; @@ -191,34 +192,34 @@ public function setStockAmountChangeType(?string $stockAmountChangeType): static return $this; } - public function getWeight(): ?TypeWeightUnlimited + public function getWeight(): TypeWeightUnlimited { return $this->weight; } - public function setWeight(?TypeWeightUnlimited $weight): static + public function setWeight(TypeWeightUnlimited $weight): static { $this->weight = $weight; return $this; } - public function getCompletePackageWeight(): ?TypeWeightUnlimited + public function getCompletePackageWeight(): TypeWeightUnlimited { return $this->completePackageWeight; } - public function setCompletePackageWeight(?TypeWeightUnlimited $completePackageWeight): static + public function setCompletePackageWeight(TypeWeightUnlimited $completePackageWeight): static { $this->completePackageWeight = $completePackageWeight; return $this; } - public function getBillingMethod(): BillingMethod + public function getBillingMethod(): ?BillingMethod { return $this->billingMethod; } - public function setBillingMethod(BillingMethod $billingMethod): static + public function setBillingMethod(?BillingMethod $billingMethod): static { $this->billingMethod = $billingMethod; return $this; @@ -235,12 +236,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): ?Address + public function getDeliveryAddress(): Address { return $this->deliveryAddress; } - public function setDeliveryAddress(?Address $deliveryAddress): static + public function setDeliveryAddress(Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; @@ -333,4 +334,15 @@ public function setVatMode(?string $vatMode): static $this->vatMode = $vatMode; return $this; } + + public function getReasonRemark(): ?string + { + return $this->reasonRemark; + } + + public function setReasonRemark(?string $reasonRemark): static + { + $this->reasonRemark = $reasonRemark; + return $this; + } } diff --git a/src/Component/Entity/CreditNote/Items.php b/src/Component/Entity/CreditNote/Items.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/CreditNoteSnapshot.php b/src/Component/Entity/CreditNoteSnapshot.php new file mode 100755 index 0000000..58a69ad --- /dev/null +++ b/src/Component/Entity/CreditNoteSnapshot.php @@ -0,0 +1,7 @@ +creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -127,12 +127,12 @@ public function setPriceRatio(TypePriceRatio $priceRatio): static return $this; } - public function getBirthDate(): TypeDate + public function getBirthDate(): TypeDateNullable { return $this->birthDate; } - public function setBirthDate(TypeDate $birthDate): static + public function setBirthDate(TypeDateNullable $birthDate): static { $this->birthDate = $birthDate; return $this; diff --git a/src/Component/Entity/Customer/Accounts.php b/src/Component/Entity/Customer/Accounts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Customer/Accounts/Item.php b/src/Component/Entity/Customer/Accounts/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Customer/CustomerGroup.php b/src/Component/Entity/Customer/CustomerGroup.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Customer/DeliveryAddress.php b/src/Component/Entity/Customer/DeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Customer/Remarks.php b/src/Component/Entity/Customer/Remarks.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Customer/Remarks/Item.php b/src/Component/Entity/Customer/Remarks/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/CustomerSnapshot.php b/src/Component/Entity/CustomerSnapshot.php new file mode 100755 index 0000000..bd526de --- /dev/null +++ b/src/Component/Entity/CustomerSnapshot.php @@ -0,0 +1,7 @@ +creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -85,12 +85,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): ?Address + public function getDeliveryAddress(): Address { return $this->deliveryAddress; } - public function setDeliveryAddress(?Address $deliveryAddress): static + public function setDeliveryAddress(Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/DeliveryNote/Items.php b/src/Component/Entity/DeliveryNote/Items.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/DeliveryNoteItem.php b/src/Component/Entity/DeliveryNoteItem.php old mode 100644 new mode 100755 index a668518..6c1771a --- a/src/Component/Entity/DeliveryNoteItem.php +++ b/src/Component/Entity/DeliveryNoteItem.php @@ -2,7 +2,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; @@ -13,7 +13,7 @@ class DeliveryNoteItem extends Entity protected ?string $name; protected ?string $variantName; protected ?string $brand; - protected TypeAmount $amount; + protected TypeAmountNullable $amount; protected ?string $amountUnit; protected ?string $remark; protected ?TypeWeight $weight; @@ -76,12 +76,12 @@ public function setBrand(?string $brand): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Component/Entity/DeliveryNoteSnapshot.php b/src/Component/Entity/DeliveryNoteSnapshot.php new file mode 100755 index 0000000..709cb74 --- /dev/null +++ b/src/Component/Entity/DeliveryNoteSnapshot.php @@ -0,0 +1,7 @@ +creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -59,12 +59,12 @@ public function setDiscountType(string $discountType): static return $this; } - public function getAmount(): TypePrice + public function getAmount(): TypePriceNullable { return $this->amount; } - public function setAmount(TypePrice $amount): static + public function setAmount(TypePriceNullable $amount): static { $this->amount = $amount; return $this; @@ -81,23 +81,23 @@ public function setRatio(?TypePriceRatio $ratio): static return $this; } - public function getMinPrice(): TypePrice + public function getMinPrice(): TypePriceNullable { return $this->minPrice; } - public function setMinPrice(TypePrice $minPrice): static + public function setMinPrice(TypePriceNullable $minPrice): static { $this->minPrice = $minPrice; return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; @@ -125,23 +125,23 @@ public function setShippingPrice(?string $shippingPrice): static return $this; } - public function getValidFrom(): TypeDate + public function getValidFrom(): TypeDateNullable { return $this->validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Component/Entity/DiscountCouponSnapshot.php b/src/Component/Entity/DiscountCouponSnapshot.php new file mode 100755 index 0000000..0e96701 --- /dev/null +++ b/src/Component/Entity/DiscountCouponSnapshot.php @@ -0,0 +1,7 @@ +creationDate; } - public function setCreationDate(TypeDateTime $creationDate): static + public function setCreationDate(TypeDateTimeNullable $creationDate): static { $this->creationDate = $creationDate; return $this; diff --git a/src/Component/Entity/DocumentConsumptionTax.php b/src/Component/Entity/DocumentConsumptionTax.php old mode 100644 new mode 100755 index 88afaea..bc71fa8 --- a/src/Component/Entity/DocumentConsumptionTax.php +++ b/src/Component/Entity/DocumentConsumptionTax.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class DocumentConsumptionTax extends Entity { protected TypeCurrencyCode $currency; - protected TypePrice $price; + protected TypePriceNullable $price; public function getCurrency(): TypeCurrencyCode { @@ -21,12 +21,12 @@ public function setCurrency(TypeCurrencyCode $currency): static return $this; } - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Component/Entity/DocumentCustomer.php b/src/Component/Entity/DocumentCustomer.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/DocumentItemsWithPrice.php b/src/Component/Entity/DocumentItemsWithPrice.php old mode 100644 new mode 100755 index 0f26497..d2f25ff --- a/src/Component/Entity/DocumentItemsWithPrice.php +++ b/src/Component/Entity/DocumentItemsWithPrice.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\DocumentItemsWithPrice\DisplayPrices; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; @@ -16,14 +16,17 @@ class DocumentItemsWithPrice extends Entity protected ?string $name; protected ?string $variantName; protected ?string $brand; - protected TypeAmount $amount; + protected TypeAmountNullable $amount; protected ?string $amountUnit; protected ?string $remark; protected TypePriceRatio $priceRatio; protected ?TypeWeight $weight; protected ?string $additionalField; protected ItemPrice $itemPrice; + + /** @deprecated */ protected ?ItemPrice $buyPrice; + protected ?ItemPrice $purchasePrice; protected ?DisplayPrices $displayPrices; protected float $itemId; protected ?ItemSurchargeParameters $surchargeParameters; @@ -95,12 +98,12 @@ public function setBrand(?string $brand): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; @@ -172,17 +175,34 @@ public function setItemPrice(ItemPrice $itemPrice): static return $this; } + /** + * @deprecated + */ public function getBuyPrice(): ?ItemPrice { return $this->buyPrice; } + /** + * @deprecated + */ public function setBuyPrice(?ItemPrice $buyPrice): static { $this->buyPrice = $buyPrice; return $this; } + public function getPurchasePrice(): ?ItemPrice + { + return $this->purchasePrice; + } + + public function setPurchasePrice(?ItemPrice $purchasePrice): static + { + $this->purchasePrice = $purchasePrice; + return $this; + } + public function getDisplayPrices(): ?DisplayPrices { return $this->displayPrices; diff --git a/src/Component/Entity/DocumentItemsWithPrice/DisplayPrices.php b/src/Component/Entity/DocumentItemsWithPrice/DisplayPrices.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Entity.php b/src/Component/Entity/Entity.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/EntityCollection.php b/src/Component/Entity/EntityCollection.php old mode 100644 new mode 100755 index 0f08db2..7f8d782 --- a/src/Component/Entity/EntityCollection.php +++ b/src/Component/Entity/EntityCollection.php @@ -73,7 +73,7 @@ public function add(mixed $item): void /** * @param int $key - * @return null|TValue + * @return TValue|null */ public function remove(int $key): mixed { diff --git a/src/Component/Entity/EntityCollectionInterface.php b/src/Component/Entity/EntityCollectionInterface.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Errors.php b/src/Component/Entity/Errors.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Errors/Item.php b/src/Component/Entity/Errors/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Eshop.php b/src/Component/Entity/Eshop.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/GoogleMappingType.php b/src/Component/Entity/GoogleMappingType.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Invoice.php b/src/Component/Entity/Invoice.php old mode 100644 new mode 100755 index 3d0922c..41f1e14 --- a/src/Component/Entity/Invoice.php +++ b/src/Component/Entity/Invoice.php @@ -3,28 +3,28 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Invoice\Items; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeightUnlimited; class Invoice extends Entity { protected string $code; protected bool $isValid; - protected ?string $proformaInvoiceCode; + protected ProformaInvoiceCodes $proformaInvoiceCodes; protected ?string $orderCode; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; - protected TypeDate $dueDate; - protected TypeDate $taxDate; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; + protected TypeDateNullable $dueDate; + protected TypeDateNullable $taxDate; protected float $varSymbol; protected ?string $constSymbol; protected ?float $specSymbol; - protected ?TypeWeightUnlimited $weight; - protected ?TypeWeightUnlimited $completePackageWeight; - protected BillingMethod $billingMethod; + protected TypeWeightUnlimited $weight; + protected TypeWeightUnlimited $completePackageWeight; + protected ?BillingMethod $billingMethod; protected BillingAddress $billingAddress; - protected ?Address $deliveryAddress; + protected Address $deliveryAddress; protected bool $addressesEqual; protected Price $price; protected DocumentCustomer $customer; @@ -57,14 +57,14 @@ public function setIsValid(bool $isValid): static return $this; } - public function getProformaInvoiceCode(): ?string + public function getProformaInvoiceCodes(): ProformaInvoiceCodes { - return $this->proformaInvoiceCode; + return $this->proformaInvoiceCodes; } - public function setProformaInvoiceCode(?string $proformaInvoiceCode): static + public function setProformaInvoiceCodes(ProformaInvoiceCodes $proformaInvoiceCodes): static { - $this->proformaInvoiceCode = $proformaInvoiceCode; + $this->proformaInvoiceCodes = $proformaInvoiceCodes; return $this; } @@ -79,45 +79,45 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; } - public function getDueDate(): TypeDate + public function getDueDate(): TypeDateNullable { return $this->dueDate; } - public function setDueDate(TypeDate $dueDate): static + public function setDueDate(TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): TypeDate + public function getTaxDate(): TypeDateNullable { return $this->taxDate; } - public function setTaxDate(TypeDate $taxDate): static + public function setTaxDate(TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; @@ -156,34 +156,34 @@ public function setSpecSymbol(?float $specSymbol): static return $this; } - public function getWeight(): ?TypeWeightUnlimited + public function getWeight(): TypeWeightUnlimited { return $this->weight; } - public function setWeight(?TypeWeightUnlimited $weight): static + public function setWeight(TypeWeightUnlimited $weight): static { $this->weight = $weight; return $this; } - public function getCompletePackageWeight(): ?TypeWeightUnlimited + public function getCompletePackageWeight(): TypeWeightUnlimited { return $this->completePackageWeight; } - public function setCompletePackageWeight(?TypeWeightUnlimited $completePackageWeight): static + public function setCompletePackageWeight(TypeWeightUnlimited $completePackageWeight): static { $this->completePackageWeight = $completePackageWeight; return $this; } - public function getBillingMethod(): BillingMethod + public function getBillingMethod(): ?BillingMethod { return $this->billingMethod; } - public function setBillingMethod(BillingMethod $billingMethod): static + public function setBillingMethod(?BillingMethod $billingMethod): static { $this->billingMethod = $billingMethod; return $this; @@ -200,12 +200,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): ?Address + public function getDeliveryAddress(): Address { return $this->deliveryAddress; } - public function setDeliveryAddress(?Address $deliveryAddress): static + public function setDeliveryAddress(Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/Invoice/Items.php b/src/Component/Entity/Invoice/Items.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/InvoiceItem.php b/src/Component/Entity/InvoiceItem.php old mode 100644 new mode 100755 index 563afac..9a3c8f9 --- a/src/Component/Entity/InvoiceItem.php +++ b/src/Component/Entity/InvoiceItem.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\InvoiceItem\DisplayPrices; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; @@ -17,14 +17,17 @@ class InvoiceItem extends Entity protected ?string $name; protected ?string $variantName; protected ?string $brand; - protected TypeAmount $amount; + protected TypeAmountNullable $amount; protected ?string $amountUnit; protected ?string $remark; protected TypePriceRatio $priceRatio; protected ?TypeWeight $weight; protected ?string $additionalField; protected ItemPrice $itemPrice; + + /** @deprecated */ protected ?ItemPrice $buyPrice; + protected ?ItemPrice $purchasePrice; protected ?DisplayPrices $displayPrices; protected ?RecyclingFee $recyclingFee; protected ?ItemSurchargeParameters $surchargeParameters; @@ -108,12 +111,12 @@ public function setBrand(?string $brand): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; @@ -185,17 +188,34 @@ public function setItemPrice(ItemPrice $itemPrice): static return $this; } + /** + * @deprecated + */ public function getBuyPrice(): ?ItemPrice { return $this->buyPrice; } + /** + * @deprecated + */ public function setBuyPrice(?ItemPrice $buyPrice): static { $this->buyPrice = $buyPrice; return $this; } + public function getPurchasePrice(): ?ItemPrice + { + return $this->purchasePrice; + } + + public function setPurchasePrice(?ItemPrice $purchasePrice): static + { + $this->purchasePrice = $purchasePrice; + return $this; + } + public function getDisplayPrices(): ?DisplayPrices { return $this->displayPrices; diff --git a/src/Component/Entity/InvoiceItem/DisplayPrices.php b/src/Component/Entity/InvoiceItem/DisplayPrices.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/InvoiceSnapshot.php b/src/Component/Entity/InvoiceSnapshot.php new file mode 100755 index 0000000..41ef49e --- /dev/null +++ b/src/Component/Entity/InvoiceSnapshot.php @@ -0,0 +1,7 @@ +withVat; } - public function setWithVat(TypePrice $withVat): static + public function setWithVat(TypePriceNullable $withVat): static { $this->withVat = $withVat; return $this; } - public function getWithoutVat(): TypePrice + public function getWithoutVat(): TypePriceNullable { return $this->withoutVat; } - public function setWithoutVat(TypePrice $withoutVat): static + public function setWithoutVat(TypePriceNullable $withoutVat): static { $this->withoutVat = $withoutVat; return $this; } - public function getVat(): TypePrice + public function getVat(): TypePriceNullable { return $this->vat; } - public function setVat(TypePrice $vat): static + public function setVat(TypePriceNullable $vat): static { $this->vat = $vat; return $this; diff --git a/src/Component/Entity/ItemSpecificSurchargeParameters.php b/src/Component/Entity/ItemSpecificSurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSpecificSurchargeParameters/Item.php b/src/Component/Entity/ItemSpecificSurchargeParameters/Item.php old mode 100644 new mode 100755 index bda0b44..c035301 --- a/src/Component/Entity/ItemSpecificSurchargeParameters/Item.php +++ b/src/Component/Entity/ItemSpecificSurchargeParameters/Item.php @@ -3,13 +3,13 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\ItemSpecificSurchargeParameters; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class Item extends Entity { protected string $relationId; protected string $name; - protected TypePrice $price; + protected TypePriceNullable $price; public function getRelationId(): string { @@ -33,12 +33,12 @@ public function setName(string $name): static return $this; } - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice.php b/src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice/Item.php b/src/Component/Entity/ItemSpecificSurchargeParametersWithoutPrice/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSurchargeParameters.php b/src/Component/Entity/ItemSurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSurchargeParameters/Item.php b/src/Component/Entity/ItemSurchargeParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSurchargeParameters/Item/ParameterName.php b/src/Component/Entity/ItemSurchargeParameters/Item/ParameterName.php old mode 100644 new mode 100755 index 0fdcd14..0e66d75 --- a/src/Component/Entity/ItemSurchargeParameters/Item/ParameterName.php +++ b/src/Component/Entity/ItemSurchargeParameters/Item/ParameterName.php @@ -8,6 +8,7 @@ class ParameterName extends Entity { protected ?string $code; protected ?string $name; + protected ?bool $subscription; public function getCode(): ?string { @@ -30,4 +31,15 @@ public function setName(?string $name): static $this->name = $name; return $this; } + + public function getSubscription(): ?bool + { + return $this->subscription; + } + + public function setSubscription(?bool $subscription): static + { + $this->subscription = $subscription; + return $this; + } } diff --git a/src/Component/Entity/ItemSurchargeParameters/Item/ParameterValue.php b/src/Component/Entity/ItemSurchargeParameters/Item/ParameterValue.php old mode 100644 new mode 100755 index 04f8633..7dfa852 --- a/src/Component/Entity/ItemSurchargeParameters/Item/ParameterValue.php +++ b/src/Component/Entity/ItemSurchargeParameters/Item/ParameterValue.php @@ -3,13 +3,13 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\ItemSurchargeParameters\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ParameterValue extends Entity { protected ?string $valueIndex; protected ?string $description; - protected ?TypePrice $price; + protected ?TypePriceNullable $price; public function getValueIndex(): ?string { @@ -33,12 +33,12 @@ public function setDescription(?string $description): static return $this; } - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Component/Entity/ItemSurchargeParametersWithoutPrice.php b/src/Component/Entity/ItemSurchargeParametersWithoutPrice.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item.php b/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterName.php b/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterName.php old mode 100644 new mode 100755 index d6e6976..49dd8ef --- a/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterName.php +++ b/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterName.php @@ -8,6 +8,7 @@ class ParameterName extends Entity { protected ?string $code; protected ?string $name; + protected ?bool $subscription; public function getCode(): ?string { @@ -30,4 +31,15 @@ public function setName(?string $name): static $this->name = $name; return $this; } + + public function getSubscription(): ?bool + { + return $this->subscription; + } + + public function setSubscription(?bool $subscription): static + { + $this->subscription = $subscription; + return $this; + } } diff --git a/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterValue.php b/src/Component/Entity/ItemSurchargeParametersWithoutPrice/Item/ParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/MeasureUnit.php b/src/Component/Entity/MeasureUnit.php old mode 100644 new mode 100755 index a98d3a8..852cc79 --- a/src/Component/Entity/MeasureUnit.php +++ b/src/Component/Entity/MeasureUnit.php @@ -2,14 +2,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; class MeasureUnit extends Entity { protected ?int $packagingUnitId; - protected TypePositiveAmount $packagingAmount; + protected TypePositiveAmountNullable $packagingAmount; protected ?int $measureUnitId; - protected TypePositiveAmount $measureAmount; + protected TypePositiveAmountNullable $measureAmount; public function getPackagingUnitId(): ?int { @@ -22,12 +22,12 @@ public function setPackagingUnitId(?int $packagingUnitId): static return $this; } - public function getPackagingAmount(): TypePositiveAmount + public function getPackagingAmount(): TypePositiveAmountNullable { return $this->packagingAmount; } - public function setPackagingAmount(TypePositiveAmount $packagingAmount): static + public function setPackagingAmount(TypePositiveAmountNullable $packagingAmount): static { $this->packagingAmount = $packagingAmount; return $this; @@ -44,12 +44,12 @@ public function setMeasureUnitId(?int $measureUnitId): static return $this; } - public function getMeasureAmount(): TypePositiveAmount + public function getMeasureAmount(): TypePositiveAmountNullable { return $this->measureAmount; } - public function setMeasureAmount(TypePositiveAmount $measureAmount): static + public function setMeasureAmount(TypePositiveAmountNullable $measureAmount): static { $this->measureAmount = $measureAmount; return $this; diff --git a/src/Component/Entity/NotificationData.php b/src/Component/Entity/NotificationData.php old mode 100644 new mode 100755 index 0bbd871..d6ce08c --- a/src/Component/Entity/NotificationData.php +++ b/src/Component/Entity/NotificationData.php @@ -2,13 +2,13 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class NotificationData extends Entity { protected int $eshopId; protected string $event; - protected TypeDateTime $eventCreated; + protected TypeDateTimeNullable $eventCreated; protected string $eventInstance; public function getEshopId(): int @@ -33,12 +33,12 @@ public function setEvent(string $event): static return $this; } - public function getEventCreated(): TypeDateTime + public function getEventCreated(): TypeDateTimeNullable { return $this->eventCreated; } - public function setEventCreated(TypeDateTime $eventCreated): static + public function setEventCreated(TypeDateTimeNullable $eventCreated): static { $this->eventCreated = $eventCreated; return $this; diff --git a/src/Component/Entity/Order.php b/src/Component/Entity/Order.php old mode 100644 new mode 100755 index 52d24f2..16db6c7 --- a/src/Component/Entity/Order.php +++ b/src/Component/Entity/Order.php @@ -2,6 +2,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; +use Shoptet\Api\Sdk\Php\Component\Entity\Order\Completion; use Shoptet\Api\Sdk\Php\Component\Entity\Order\Items; use Shoptet\Api\Sdk\Php\Component\Entity\Order\Notes; use Shoptet\Api\Sdk\Php\Component\Entity\Order\PaymentMethods; @@ -9,7 +10,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Order\Shippings; use Shoptet\Api\Sdk\Php\Component\Entity\Order\Source; use Shoptet\Api\Sdk\Php\Component\Entity\Order\Status; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; class Order extends Entity @@ -17,8 +18,8 @@ class Order extends Entity protected string $code; protected string $guid; protected ?string $externalCode; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; protected ?string $email; protected ?string $phone; protected ?string $birthDate; @@ -31,7 +32,7 @@ class Order extends Entity protected ?string $vatMode; protected ?BillingMethod $billingMethod; protected ?PaymentMethod $paymentMethod; - protected ?Shipping $shipping; + protected Shipping $shipping; protected ?ShippingDetails $shippingDetails; protected string $adminUrl; protected ?Status $status; @@ -47,6 +48,8 @@ class Order extends Entity protected ?Shippings $shippings; protected Items $items; protected ?Notes $notes; + protected ?OrderPreAuthorization $preAuthorization; + protected ?Completion $completion; public function getCode(): string { @@ -81,23 +84,23 @@ public function setExternalCode(?string $externalCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -235,12 +238,12 @@ public function setPaymentMethod(?PaymentMethod $paymentMethod): static return $this; } - public function getShipping(): ?Shipping + public function getShipping(): Shipping { return $this->shipping; } - public function setShipping(?Shipping $shipping): static + public function setShipping(Shipping $shipping): static { $this->shipping = $shipping; return $this; @@ -410,4 +413,26 @@ public function setNotes(?Notes $notes): static $this->notes = $notes; return $this; } + + public function getPreAuthorization(): ?OrderPreAuthorization + { + return $this->preAuthorization; + } + + public function setPreAuthorization(?OrderPreAuthorization $preAuthorization): static + { + $this->preAuthorization = $preAuthorization; + return $this; + } + + public function getCompletion(): ?Completion + { + return $this->completion; + } + + public function setCompletion(?Completion $completion): static + { + $this->completion = $completion; + return $this; + } } diff --git a/src/Component/Entity/Order/Completion.php b/src/Component/Entity/Order/Completion.php new file mode 100755 index 0000000..51ae947 --- /dev/null +++ b/src/Component/Entity/Order/Completion.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Completion extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\Order\Completion\Item'; + } +} diff --git a/src/Component/Entity/Order/Completion/Item.php b/src/Component/Entity/Order/Completion/Item.php new file mode 100755 index 0000000..433f0f0 --- /dev/null +++ b/src/Component/Entity/Order/Completion/Item.php @@ -0,0 +1,132 @@ +productGuid; + } + + public function setProductGuid(?TypeGuidUnlimited $productGuid): static + { + $this->productGuid = $productGuid; + return $this; + } + + public function getCode(): ?string + { + return $this->code; + } + + public function setCode(?string $code): static + { + $this->code = $code; + return $this; + } + + public function getItemType(): string + { + return $this->itemType; + } + + public function setItemType(string $itemType): static + { + $this->itemType = $itemType; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getVariantName(): ?string + { + return $this->variantName; + } + + public function setVariantName(?string $variantName): static + { + $this->variantName = $variantName; + return $this; + } + + public function getAmount(): TypeAmountNullable + { + return $this->amount; + } + + public function setAmount(TypeAmountNullable $amount): static + { + $this->amount = $amount; + return $this; + } + + public function getAmountUnit(): ?string + { + return $this->amountUnit; + } + + public function setAmountUnit(?string $amountUnit): static + { + $this->amountUnit = $amountUnit; + return $this; + } + + public function getItemId(): ?float + { + return $this->itemId; + } + + public function setItemId(?float $itemId): static + { + $this->itemId = $itemId; + return $this; + } + + public function getAmountCompleted(): TypePositiveAmountNullable + { + return $this->amountCompleted; + } + + public function setAmountCompleted(TypePositiveAmountNullable $amountCompleted): static + { + $this->amountCompleted = $amountCompleted; + return $this; + } + + public function getParentProductSetItemId(): ?float + { + return $this->parentProductSetItemId; + } + + public function setParentProductSetItemId(?float $parentProductSetItemId): static + { + $this->parentProductSetItemId = $parentProductSetItemId; + return $this; + } +} diff --git a/src/Component/Entity/Order/Items.php b/src/Component/Entity/Order/Items.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Notes.php b/src/Component/Entity/Order/Notes.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Notes/AdditionalFields.php b/src/Component/Entity/Order/Notes/AdditionalFields.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Notes/AdditionalFields/Item.php b/src/Component/Entity/Order/Notes/AdditionalFields/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/PaymentMethods.php b/src/Component/Entity/Order/PaymentMethods.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/PaymentMethods/Item.php b/src/Component/Entity/Order/PaymentMethods/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/ShippingDetails.php b/src/Component/Entity/Order/ShippingDetails.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Shippings.php b/src/Component/Entity/Order/Shippings.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Shippings/Item.php b/src/Component/Entity/Order/Shippings/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Shippings/Item/Shipping.php b/src/Component/Entity/Order/Shippings/Item/Shipping.php old mode 100644 new mode 100755 index 67bc7e7..d1a6c0f --- a/src/Component/Entity/Order/Shippings/Item/Shipping.php +++ b/src/Component/Entity/Order/Shippings/Item/Shipping.php @@ -3,19 +3,19 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Order\Shippings\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class Shipping extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected string $name; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; diff --git a/src/Component/Entity/Order/Source.php b/src/Component/Entity/Order/Source.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Order/Status.php b/src/Component/Entity/Order/Status.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/OrderBatchCreate.php b/src/Component/Entity/OrderBatchCreate.php new file mode 100755 index 0000000..9a0ab05 --- /dev/null +++ b/src/Component/Entity/OrderBatchCreate.php @@ -0,0 +1,33 @@ +settings; + } + + public function setSettings(?Settings $settings): static + { + $this->settings = $settings; + return $this; + } + + public function getData(): Order + { + return $this->data; + } + + public function setData(Order $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Component/Entity/OrderBatchCreate/Settings.php b/src/Component/Entity/OrderBatchCreate/Settings.php new file mode 100755 index 0000000..e559c55 --- /dev/null +++ b/src/Component/Entity/OrderBatchCreate/Settings.php @@ -0,0 +1,93 @@ +suppressDocumentGeneration; + } + + public function setSuppressDocumentGeneration(?bool $suppressDocumentGeneration): static + { + $this->suppressDocumentGeneration = $suppressDocumentGeneration; + return $this; + } + + public function getSuppressEmailSending(): ?bool + { + return $this->suppressEmailSending; + } + + public function setSuppressEmailSending(?bool $suppressEmailSending): static + { + $this->suppressEmailSending = $suppressEmailSending; + return $this; + } + + public function getSuppressProductChecking(): ?bool + { + return $this->suppressProductChecking; + } + + public function setSuppressProductChecking(?bool $suppressProductChecking): static + { + $this->suppressProductChecking = $suppressProductChecking; + return $this; + } + + public function getSuppressStockMovements(): ?bool + { + return $this->suppressStockMovements; + } + + public function setSuppressStockMovements(?bool $suppressStockMovements): static + { + $this->suppressStockMovements = $suppressStockMovements; + return $this; + } + + public function getSuppressHistoricalMandatoryFields(): ?bool + { + return $this->suppressHistoricalMandatoryFields; + } + + public function setSuppressHistoricalMandatoryFields(?bool $suppressHistoricalMandatoryFields): static + { + $this->suppressHistoricalMandatoryFields = $suppressHistoricalMandatoryFields; + return $this; + } + + public function getSuppressHistoricalPaymentChecking(): ?bool + { + return $this->suppressHistoricalPaymentChecking; + } + + public function setSuppressHistoricalPaymentChecking(?bool $suppressHistoricalPaymentChecking): static + { + $this->suppressHistoricalPaymentChecking = $suppressHistoricalPaymentChecking; + return $this; + } + + public function getSuppressHistoricalShippingChecking(): ?bool + { + return $this->suppressHistoricalShippingChecking; + } + + public function setSuppressHistoricalShippingChecking(?bool $suppressHistoricalShippingChecking): static + { + $this->suppressHistoricalShippingChecking = $suppressHistoricalShippingChecking; + return $this; + } +} diff --git a/src/Component/Entity/OrderGift.php b/src/Component/Entity/OrderGift.php old mode 100644 new mode 100755 index c24754b..d88b714 --- a/src/Component/Entity/OrderGift.php +++ b/src/Component/Entity/OrderGift.php @@ -3,14 +3,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class OrderGift extends Entity { protected int $id; protected string $code; protected TypeCurrencyCode $currencyCode; - protected TypePrice $orderPrice; + protected TypePriceNullable $orderPrice; protected bool $includingVat; protected int $priority; @@ -47,12 +47,12 @@ public function setCurrencyCode(TypeCurrencyCode $currencyCode): static return $this; } - public function getOrderPrice(): TypePrice + public function getOrderPrice(): TypePriceNullable { return $this->orderPrice; } - public function setOrderPrice(TypePrice $orderPrice): static + public function setOrderPrice(TypePriceNullable $orderPrice): static { $this->orderPrice = $orderPrice; return $this; diff --git a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item.php b/src/Component/Entity/OrderHistory.php old mode 100644 new mode 100755 similarity index 68% rename from src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item.php rename to src/Component/Entity/OrderHistory.php index 601ac7d..ee7ae3d --- a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item.php +++ b/src/Component/Entity/OrderHistory.php @@ -1,15 +1,14 @@ creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; diff --git a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item/User.php b/src/Component/Entity/OrderHistory/User.php old mode 100644 new mode 100755 similarity index 79% rename from src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item/User.php rename to src/Component/Entity/OrderHistory/User.php index b74b9ca..c6addae --- a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory/Item/User.php +++ b/src/Component/Entity/OrderHistory/User.php @@ -1,6 +1,6 @@ orderCode; + } + + public function setOrderCode(string $orderCode): static + { + $this->orderCode = $orderCode; + return $this; + } +} diff --git a/src/Component/Entity/OrderItem.php b/src/Component/Entity/OrderItem.php old mode 100644 new mode 100755 index eb6437b..9fa042c --- a/src/Component/Entity/OrderItem.php +++ b/src/Component/Entity/OrderItem.php @@ -6,9 +6,9 @@ use Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\MainImage; use Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\Status; use Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\SurchargeParametersTexts; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; @@ -25,20 +25,25 @@ class OrderItem extends Entity protected ?string $remark; protected TypeWeight $weight; protected ?string $additionalField; - protected TypeAmount $amount; + protected TypeAmountNullable $amount; protected ?string $amountUnit; protected TypePriceRatio $priceRatio; protected Status $status; protected ItemPrice $itemPrice; protected ?DisplayPrices $displayPrices; + + /** @deprecated */ protected ?ItemPrice $buyPrice; + protected ?ItemPrice $purchasePrice; protected RecyclingFee $recyclingFee; protected ?MainImage $mainImage; protected ?string $stockLocation; protected ?string $supplierName; protected float $itemId; protected ?string $warrantyDescription; - protected TypePositiveAmount $amountCompleted; + + /** @deprecated */ + protected TypePositiveAmountNullable $amountCompleted; /** @deprecated */ protected ?SurchargeParametersTexts $surchargeParametersTexts; @@ -168,12 +173,12 @@ public function setAdditionalField(?string $additionalField): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; @@ -234,17 +239,34 @@ public function setDisplayPrices(?DisplayPrices $displayPrices): static return $this; } + /** + * @deprecated + */ public function getBuyPrice(): ?ItemPrice { return $this->buyPrice; } + /** + * @deprecated + */ public function setBuyPrice(?ItemPrice $buyPrice): static { $this->buyPrice = $buyPrice; return $this; } + public function getPurchasePrice(): ?ItemPrice + { + return $this->purchasePrice; + } + + public function setPurchasePrice(?ItemPrice $purchasePrice): static + { + $this->purchasePrice = $purchasePrice; + return $this; + } + public function getRecyclingFee(): RecyclingFee { return $this->recyclingFee; @@ -311,12 +333,18 @@ public function setWarrantyDescription(?string $warrantyDescription): static return $this; } - public function getAmountCompleted(): TypePositiveAmount + /** + * @deprecated + */ + public function getAmountCompleted(): TypePositiveAmountNullable { return $this->amountCompleted; } - public function setAmountCompleted(TypePositiveAmount $amountCompleted): static + /** + * @deprecated + */ + public function setAmountCompleted(TypePositiveAmountNullable $amountCompleted): static { $this->amountCompleted = $amountCompleted; return $this; diff --git a/src/Component/Entity/OrderItem/DisplayPrices.php b/src/Component/Entity/OrderItem/DisplayPrices.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/OrderItem/MainImage.php b/src/Component/Entity/OrderItem/MainImage.php old mode 100644 new mode 100755 index d2f64f6..13aca64 --- a/src/Component/Entity/OrderItem/MainImage.php +++ b/src/Component/Entity/OrderItem/MainImage.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\OrderItem; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class MainImage extends Entity { @@ -12,7 +12,7 @@ class MainImage extends Entity protected string $cdnName; protected float $priority; protected ?string $description; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; public function getName(): string { @@ -69,12 +69,12 @@ public function setDescription(?string $description): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Component/Entity/OrderItem/Status.php b/src/Component/Entity/OrderItem/Status.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/OrderItem/SurchargeParametersTexts.php b/src/Component/Entity/OrderItem/SurchargeParametersTexts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/OrderPreAuthorization.php b/src/Component/Entity/OrderPreAuthorization.php new file mode 100755 index 0000000..e27ae26 --- /dev/null +++ b/src/Component/Entity/OrderPreAuthorization.php @@ -0,0 +1,33 @@ +hasPendingPreAuthorization; + } + + public function setHasPendingPreAuthorization(bool $hasPendingPreAuthorization): static + { + $this->hasPendingPreAuthorization = $hasPendingPreAuthorization; + return $this; + } + + public function getPreAuthorizationAmount(): TypePrice + { + return $this->preAuthorizationAmount; + } + + public function setPreAuthorizationAmount(TypePrice $preAuthorizationAmount): static + { + $this->preAuthorizationAmount = $preAuthorizationAmount; + return $this; + } +} diff --git a/src/Component/Entity/OrderSnapshot.php b/src/Component/Entity/OrderSnapshot.php new file mode 100755 index 0000000..9565b76 --- /dev/null +++ b/src/Component/Entity/OrderSnapshot.php @@ -0,0 +1,7 @@ +language; } - public function setLanguage(string $language): static + public function setLanguage(?string $language): static { $this->language = $language; return $this; @@ -103,6 +105,17 @@ public function setMetaDescription(?string $metaDescription): static return $this; } + public function getCanonicalUrl(): ?string + { + return $this->canonicalUrl; + } + + public function setCanonicalUrl(?string $canonicalUrl): static + { + $this->canonicalUrl = $canonicalUrl; + return $this; + } + public function isVisible(): bool { return $this->visible; @@ -124,4 +137,15 @@ public function setAccess(string $access): static $this->access = $access; return $this; } + + public function getOgImage(): ?string + { + return $this->ogImage; + } + + public function setOgImage(?string $ogImage): static + { + $this->ogImage = $ogImage; + return $this; + } } diff --git a/src/Component/Entity/PageList.php b/src/Component/Entity/PageList.php old mode 100644 new mode 100755 index 39d860e..608d4c4 --- a/src/Component/Entity/PageList.php +++ b/src/Component/Entity/PageList.php @@ -8,6 +8,7 @@ class PageList extends Entity protected string $title; protected ?string $url; protected ?bool $visible; + protected ?string $ogImage; public function getId(): float { @@ -52,4 +53,15 @@ public function setVisible(?bool $visible): static $this->visible = $visible; return $this; } + + public function getOgImage(): ?string + { + return $this->ogImage; + } + + public function setOgImage(?string $ogImage): static + { + $this->ogImage = $ogImage; + return $this; + } } diff --git a/src/Component/Entity/Paginator.php b/src/Component/Entity/Paginator.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ParameterValueCombinations.php b/src/Component/Entity/ParameterValueCombinations.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ParameterValueCombinationsCodes.php b/src/Component/Entity/ParameterValueCombinationsCodes.php new file mode 100755 index 0000000..aa3a3d4 --- /dev/null +++ b/src/Component/Entity/ParameterValueCombinationsCodes.php @@ -0,0 +1,31 @@ +parameterCode; + } + + public function setParameterCode(string $parameterCode): static + { + $this->parameterCode = $parameterCode; + return $this; + } + + public function getValueCode(): string + { + return $this->valueCode; + } + + public function setValueCode(string $valueCode): static + { + $this->valueCode = $valueCode; + return $this; + } +} diff --git a/src/Component/Entity/PaymentMethod.php b/src/Component/Entity/PaymentMethod.php old mode 100644 new mode 100755 index 2c21816..3a0c5e0 --- a/src/Component/Entity/PaymentMethod.php +++ b/src/Component/Entity/PaymentMethod.php @@ -2,19 +2,19 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class PaymentMethod extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected string $name; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; diff --git a/src/Component/Entity/Price.php b/src/Component/Entity/Price.php old mode 100644 new mode 100755 index 8bc8d2e..429ede1 --- a/src/Component/Entity/Price.php +++ b/src/Component/Entity/Price.php @@ -4,36 +4,37 @@ use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeExchangeRate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class Price extends Entity { - protected TypePrice $vat; - protected TypePrice $toPay; + protected TypePriceNullable $vat; + protected TypePriceNullable $toPay; protected TypeCurrencyCode $currencyCode; - protected TypePrice $withoutVat; - protected TypePrice $withVat; + protected TypePriceNullable $withoutVat; + protected TypePriceNullable $withVat; protected TypeExchangeRate $exchangeRate; - protected ?TypePrice $partialPaymentAmount; + protected ?TypeExchangeRate $invoicingExchangeRate; + protected ?TypePriceNullable $partialPaymentAmount; protected ?string $partialPaymentType; - public function getVat(): TypePrice + public function getVat(): TypePriceNullable { return $this->vat; } - public function setVat(TypePrice $vat): static + public function setVat(TypePriceNullable $vat): static { $this->vat = $vat; return $this; } - public function getToPay(): TypePrice + public function getToPay(): TypePriceNullable { return $this->toPay; } - public function setToPay(TypePrice $toPay): static + public function setToPay(TypePriceNullable $toPay): static { $this->toPay = $toPay; return $this; @@ -50,23 +51,23 @@ public function setCurrencyCode(TypeCurrencyCode $currencyCode): static return $this; } - public function getWithoutVat(): TypePrice + public function getWithoutVat(): TypePriceNullable { return $this->withoutVat; } - public function setWithoutVat(TypePrice $withoutVat): static + public function setWithoutVat(TypePriceNullable $withoutVat): static { $this->withoutVat = $withoutVat; return $this; } - public function getWithVat(): TypePrice + public function getWithVat(): TypePriceNullable { return $this->withVat; } - public function setWithVat(TypePrice $withVat): static + public function setWithVat(TypePriceNullable $withVat): static { $this->withVat = $withVat; return $this; @@ -83,12 +84,23 @@ public function setExchangeRate(TypeExchangeRate $exchangeRate): static return $this; } - public function getPartialPaymentAmount(): ?TypePrice + public function getInvoicingExchangeRate(): ?TypeExchangeRate + { + return $this->invoicingExchangeRate; + } + + public function setInvoicingExchangeRate(?TypeExchangeRate $invoicingExchangeRate): static + { + $this->invoicingExchangeRate = $invoicingExchangeRate; + return $this; + } + + public function getPartialPaymentAmount(): ?TypePriceNullable { return $this->partialPaymentAmount; } - public function setPartialPaymentAmount(?TypePrice $partialPaymentAmount): static + public function setPartialPaymentAmount(?TypePriceNullable $partialPaymentAmount): static { $this->partialPaymentAmount = $partialPaymentAmount; return $this; diff --git a/src/Component/Entity/PriceSales.php b/src/Component/Entity/PriceSales.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Pricelist.php b/src/Component/Entity/Pricelist.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/PricelistDetail.php b/src/Component/Entity/PricelistDetail.php old mode 100644 new mode 100755 index 3926564..ac8c09e --- a/src/Component/Entity/PricelistDetail.php +++ b/src/Component/Entity/PricelistDetail.php @@ -2,29 +2,105 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\Entity\PricelistDetail\Item; - -/** - * @extends EntityCollection - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class PricelistDetail extends EntityCollection +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeVatRate; + +class PricelistDetail extends Entity { - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string + protected string $code; + protected TypeCurrencyCode $currencyCode; + protected bool $includingVat; + protected TypeVatRate $vatRate; + protected VariantPrice $price; + protected ProductOrderableAmount $orderableAmount; + protected PriceSales $sales; + protected ?ProductPrices $prices; + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): static + { + $this->code = $code; + return $this; + } + + public function getCurrencyCode(): TypeCurrencyCode + { + return $this->currencyCode; + } + + public function setCurrencyCode(TypeCurrencyCode $currencyCode): static + { + $this->currencyCode = $currencyCode; + return $this; + } + + public function isIncludingVat(): bool + { + return $this->includingVat; + } + + public function setIncludingVat(bool $includingVat): static + { + $this->includingVat = $includingVat; + return $this; + } + + public function getVatRate(): TypeVatRate + { + return $this->vatRate; + } + + public function setVatRate(TypeVatRate $vatRate): static + { + $this->vatRate = $vatRate; + return $this; + } + + public function getPrice(): VariantPrice + { + return $this->price; + } + + public function setPrice(VariantPrice $price): static + { + $this->price = $price; + return $this; + } + + public function getOrderableAmount(): ProductOrderableAmount + { + return $this->orderableAmount; + } + + public function setOrderableAmount(ProductOrderableAmount $orderableAmount): static + { + $this->orderableAmount = $orderableAmount; + return $this; + } + + public function getSales(): PriceSales + { + return $this->sales; + } + + public function setSales(PriceSales $sales): static + { + $this->sales = $sales; + return $this; + } + + public function getPrices(): ?ProductPrices + { + return $this->prices; + } + + public function setPrices(?ProductPrices $prices): static { - return 'Shoptet\Api\Sdk\Php\Component\Entity\PricelistDetail\Item'; + $this->prices = $prices; + return $this; } } diff --git a/src/Component/Entity/PricelistDetail/Item.php b/src/Component/Entity/PricelistDetail/Item.php deleted file mode 100644 index a4b128a..0000000 --- a/src/Component/Entity/PricelistDetail/Item.php +++ /dev/null @@ -1,98 +0,0 @@ -code; - } - - public function setCode(string $code): static - { - $this->code = $code; - return $this; - } - - public function getCurrencyCode(): TypeCurrencyCode - { - return $this->currencyCode; - } - - public function setCurrencyCode(TypeCurrencyCode $currencyCode): static - { - $this->currencyCode = $currencyCode; - return $this; - } - - public function isIncludingVat(): bool - { - return $this->includingVat; - } - - public function setIncludingVat(bool $includingVat): static - { - $this->includingVat = $includingVat; - return $this; - } - - public function getVatRate(): TypeVatRate - { - return $this->vatRate; - } - - public function setVatRate(TypeVatRate $vatRate): static - { - $this->vatRate = $vatRate; - return $this; - } - - public function getPrice(): VariantPrice - { - return $this->price; - } - - public function setPrice(VariantPrice $price): static - { - $this->price = $price; - return $this; - } - - public function getOrderableAmount(): ProductOrderableAmount - { - return $this->orderableAmount; - } - - public function setOrderableAmount(ProductOrderableAmount $orderableAmount): static - { - $this->orderableAmount = $orderableAmount; - return $this; - } - - public function getSales(): PriceSales - { - return $this->sales; - } - - public function setSales(PriceSales $sales): static - { - $this->sales = $sales; - return $this; - } -} diff --git a/src/Component/Entity/PricelistSnapshot.php b/src/Component/Entity/PricelistSnapshot.php new file mode 100755 index 0000000..f4e90f9 --- /dev/null +++ b/src/Component/Entity/PricelistSnapshot.php @@ -0,0 +1,7 @@ +indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + public function getBrand(): ?BrandNamed { return $this->brand; @@ -135,23 +148,23 @@ public function setVisibility(string $visibility): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -234,6 +247,17 @@ public function setInternalNote(?string $internalNote): static return $this; } + public function getPreauthorizationRequired(): ?bool + { + return $this->preauthorizationRequired; + } + + public function setPreauthorizationRequired(?bool $preauthorizationRequired): static + { + $this->preauthorizationRequired = $preauthorizationRequired; + return $this; + } + public function getDefaultCategory(): DefaultCategory { return $this->defaultCategory; @@ -378,12 +402,12 @@ public function setSizeIdName(?string $sizeIdName): static return $this; } - public function getVoteAverageScore(): ?TypeAmount + public function getVoteAverageScore(): ?TypeAmountNullable { return $this->voteAverageScore; } - public function setVoteAverageScore(?TypeAmount $voteAverageScore): static + public function setVoteAverageScore(?TypeAmountNullable $voteAverageScore): static { $this->voteAverageScore = $voteAverageScore; return $this; diff --git a/src/Component/Entity/Product/AlternativeProducts.php b/src/Component/Entity/Product/AlternativeProducts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Categories.php b/src/Component/Entity/Product/Categories.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Categories/Item.php b/src/Component/Entity/Product/Categories/Item.php old mode 100644 new mode 100755 index e729c69..6e716ed --- a/src/Component/Entity/Product/Categories/Item.php +++ b/src/Component/Entity/Product/Categories/Item.php @@ -3,20 +3,20 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Categories; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class Item extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected string $name; - protected ?TypeGuid $parentGuid; + protected TypeGuidNullable $parentGuid; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; @@ -33,12 +33,12 @@ public function setName(string $name): static return $this; } - public function getParentGuid(): ?TypeGuid + public function getParentGuid(): TypeGuidNullable { return $this->parentGuid; } - public function setParentGuid(?TypeGuid $parentGuid): static + public function setParentGuid(TypeGuidNullable $parentGuid): static { $this->parentGuid = $parentGuid; return $this; diff --git a/src/Component/Entity/Product/DefaultCategory.php b/src/Component/Entity/Product/DefaultCategory.php old mode 100644 new mode 100755 index b6c1af5..edf53cf --- a/src/Component/Entity/Product/DefaultCategory.php +++ b/src/Component/Entity/Product/DefaultCategory.php @@ -3,20 +3,20 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class DefaultCategory extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected ?string $name; protected ?bool $visible; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; diff --git a/src/Component/Entity/Product/DescriptiveParameters.php b/src/Component/Entity/Product/DescriptiveParameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/DescriptiveParameters/Item.php b/src/Component/Entity/Product/DescriptiveParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/FilteringParameters.php b/src/Component/Entity/Product/FilteringParameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/FilteringParameters/Item.php b/src/Component/Entity/Product/FilteringParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/FilteringParameters/Item/Values.php b/src/Component/Entity/Product/FilteringParameters/Item/Values.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/FilteringParameters/Item/Values/Item.php b/src/Component/Entity/Product/FilteringParameters/Item/Values/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Flags.php b/src/Component/Entity/Product/Flags.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Flags/Item.php b/src/Component/Entity/Product/Flags/Item.php old mode 100644 new mode 100755 index e7b2617..8405fd8 --- a/src/Component/Entity/Product/Flags/Item.php +++ b/src/Component/Entity/Product/Flags/Item.php @@ -3,14 +3,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Flags; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class Item extends Entity { protected string $code; protected string $title; - protected TypeDate $dateFrom; - protected TypeDate $dateTo; + protected TypeDateNullable $dateFrom; + protected TypeDateNullable $dateTo; public function getCode(): string { @@ -34,23 +34,23 @@ public function setTitle(string $title): static return $this; } - public function getDateFrom(): TypeDate + public function getDateFrom(): TypeDateNullable { return $this->dateFrom; } - public function setDateFrom(TypeDate $dateFrom): static + public function setDateFrom(TypeDateNullable $dateFrom): static { $this->dateFrom = $dateFrom; return $this; } - public function getDateTo(): TypeDate + public function getDateTo(): TypeDateNullable { return $this->dateTo; } - public function setDateTo(TypeDate $dateTo): static + public function setDateTo(TypeDateNullable $dateTo): static { $this->dateTo = $dateTo; return $this; diff --git a/src/Component/Entity/Product/Images.php b/src/Component/Entity/Product/Images.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Images/Item.php b/src/Component/Entity/Product/Images/Item.php old mode 100644 new mode 100755 index 047eace..4f020a6 --- a/src/Component/Entity/Product/Images/Item.php +++ b/src/Component/Entity/Product/Images/Item.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Images; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { @@ -12,7 +12,7 @@ class Item extends Entity protected string $cdnName; protected ?int $priority; protected ?string $description; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected ?bool $isMainImage; public function getName(): string @@ -70,12 +70,12 @@ public function setDescription(?string $description): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Component/Entity/Product/RelatedFiles.php b/src/Component/Entity/Product/RelatedFiles.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/RelatedFiles/Item.php b/src/Component/Entity/Product/RelatedFiles/Item.php old mode 100644 new mode 100755 index 6be62dc..cfd64a5 --- a/src/Component/Entity/Product/RelatedFiles/Item.php +++ b/src/Component/Entity/Product/RelatedFiles/Item.php @@ -6,10 +6,22 @@ class Item extends Entity { + protected int $id; protected ?string $name; protected string $url; protected ?int $size; + public function getId(): int + { + return $this->id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + public function getName(): ?string { return $this->name; diff --git a/src/Component/Entity/Product/RelatedProducts.php b/src/Component/Entity/Product/RelatedProducts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/RelatedVideos.php b/src/Component/Entity/Product/RelatedVideos.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/RelatedVideos/Item.php b/src/Component/Entity/Product/RelatedVideos/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/SetItems.php b/src/Component/Entity/Product/SetItems.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/SetItems/Item.php b/src/Component/Entity/Product/SetItems/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/SurchargeParameters.php b/src/Component/Entity/Product/SurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants.php b/src/Component/Entity/Product/Variants.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants/Item.php b/src/Component/Entity/Product/Variants/Item.php old mode 100644 new mode 100755 index e245d30..898d394 --- a/src/Component/Entity/Product/Variants/Item.php +++ b/src/Component/Entity/Product/Variants/Item.php @@ -6,30 +6,32 @@ use Shoptet\Api\Sdk\Php\Component\Entity\AvailabilityShort; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\ProductConsumptionTax; +use Shoptet\Api\Sdk\Php\Component\Entity\ProductPrices; use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\MeasureUnit; +use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\OssVatLevels; use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\Parameters; use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\PerPricelistPrices; use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\PerStockAmounts; use Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\ZboziCZ; use Shoptet\Api\Sdk\Php\Component\Entity\RecyclingFeeCategory; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDimension; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; class Item extends Entity { protected string $code; protected ?string $ean; - protected TypeAmount $stock; + protected TypeAmountNullable $stock; protected ?string $unit; protected ?TypeWeight $weight; protected TypeDimension $width; protected TypeDimension $height; protected TypeDimension $depth; protected bool $visible; - protected TypePrice $price; - protected TypePrice $commonPrice; + protected TypePriceNullable $price; + protected TypePriceNullable $commonPrice; protected ?string $manufacturerCode; protected ?string $pluCode; protected ?string $isbn; @@ -38,8 +40,8 @@ class Item extends Entity protected bool $includingVat; protected string $vatRate; protected string $currencyCode; - protected TypeAmount $minStockSupply; - protected ?ActionPrice $actionPrice; + protected TypeAmountNullable $minStockSupply; + protected ActionPrice $actionPrice; protected ?string $image; protected ?bool $isProductDefaultImage; protected ?string $name; @@ -58,6 +60,8 @@ class Item extends Entity protected ?PerStockAmounts $perStockAmounts; protected ?PerPricelistPrices $perPricelistPrices; protected ?string $url; + protected ?ProductPrices $prices; + protected ?OssVatLevels $ossVatLevels; public function getCode(): string { @@ -81,12 +85,12 @@ public function setEan(?string $ean): static return $this; } - public function getStock(): TypeAmount + public function getStock(): TypeAmountNullable { return $this->stock; } - public function setStock(TypeAmount $stock): static + public function setStock(TypeAmountNullable $stock): static { $this->stock = $stock; return $this; @@ -158,23 +162,23 @@ public function setVisible(bool $visible): static return $this; } - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getCommonPrice(): TypePrice + public function getCommonPrice(): TypePriceNullable { return $this->commonPrice; } - public function setCommonPrice(TypePrice $commonPrice): static + public function setCommonPrice(TypePriceNullable $commonPrice): static { $this->commonPrice = $commonPrice; return $this; @@ -268,23 +272,23 @@ public function setCurrencyCode(string $currencyCode): static return $this; } - public function getMinStockSupply(): TypeAmount + public function getMinStockSupply(): TypeAmountNullable { return $this->minStockSupply; } - public function setMinStockSupply(TypeAmount $minStockSupply): static + public function setMinStockSupply(TypeAmountNullable $minStockSupply): static { $this->minStockSupply = $minStockSupply; return $this; } - public function getActionPrice(): ?ActionPrice + public function getActionPrice(): ActionPrice { return $this->actionPrice; } - public function setActionPrice(?ActionPrice $actionPrice): static + public function setActionPrice(ActionPrice $actionPrice): static { $this->actionPrice = $actionPrice; return $this; @@ -487,4 +491,26 @@ public function setUrl(?string $url): static $this->url = $url; return $this; } + + public function getPrices(): ?ProductPrices + { + return $this->prices; + } + + public function setPrices(?ProductPrices $prices): static + { + $this->prices = $prices; + return $this; + } + + public function getOssVatLevels(): ?OssVatLevels + { + return $this->ossVatLevels; + } + + public function setOssVatLevels(?OssVatLevels $ossVatLevels): static + { + $this->ossVatLevels = $ossVatLevels; + return $this; + } } diff --git a/src/Component/Entity/Product/Variants/Item/MeasureUnit.php b/src/Component/Entity/Product/Variants/Item/MeasureUnit.php old mode 100644 new mode 100755 index ea6cd1d..62f0b94 --- a/src/Component/Entity/Product/Variants/Item/MeasureUnit.php +++ b/src/Component/Entity/Product/Variants/Item/MeasureUnit.php @@ -3,18 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class MeasureUnit extends Entity { protected ?int $packagingUnitId; protected ?string $packagingUnitName; - protected TypeAmount $packagingAmount; + protected TypeAmountNullable $packagingAmount; protected ?int $measureUnitId; protected ?string $measureUnitName; - protected TypeAmount $measureAmount; - protected TypePrice $measurePrice; + protected TypeAmountNullable $measureAmount; + protected TypePriceNullable $measurePrice; public function getPackagingUnitId(): ?int { @@ -38,12 +38,12 @@ public function setPackagingUnitName(?string $packagingUnitName): static return $this; } - public function getPackagingAmount(): TypeAmount + public function getPackagingAmount(): TypeAmountNullable { return $this->packagingAmount; } - public function setPackagingAmount(TypeAmount $packagingAmount): static + public function setPackagingAmount(TypeAmountNullable $packagingAmount): static { $this->packagingAmount = $packagingAmount; return $this; @@ -71,23 +71,23 @@ public function setMeasureUnitName(?string $measureUnitName): static return $this; } - public function getMeasureAmount(): TypeAmount + public function getMeasureAmount(): TypeAmountNullable { return $this->measureAmount; } - public function setMeasureAmount(TypeAmount $measureAmount): static + public function setMeasureAmount(TypeAmountNullable $measureAmount): static { $this->measureAmount = $measureAmount; return $this; } - public function getMeasurePrice(): TypePrice + public function getMeasurePrice(): TypePriceNullable { return $this->measurePrice; } - public function setMeasurePrice(TypePrice $measurePrice): static + public function setMeasurePrice(TypePriceNullable $measurePrice): static { $this->measurePrice = $measurePrice; return $this; diff --git a/src/Component/Entity/Product/Variants/Item/OssVatLevels.php b/src/Component/Entity/Product/Variants/Item/OssVatLevels.php new file mode 100755 index 0000000..8977a35 --- /dev/null +++ b/src/Component/Entity/Product/Variants/Item/OssVatLevels.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class OssVatLevels extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\OssVatLevels\Item'; + } +} diff --git a/src/Component/Entity/Product/Variants/Item/OssVatLevels/Item.php b/src/Component/Entity/Product/Variants/Item/OssVatLevels/Item.php new file mode 100755 index 0000000..b10c33f --- /dev/null +++ b/src/Component/Entity/Product/Variants/Item/OssVatLevels/Item.php @@ -0,0 +1,57 @@ +countryCode; + } + + public function setCountryCode(string $countryCode): static + { + $this->countryCode = $countryCode; + return $this; + } + + public function getTaxLevel(): string + { + return $this->taxLevel; + } + + public function setTaxLevel(string $taxLevel): static + { + $this->taxLevel = $taxLevel; + return $this; + } + + public function getTaxLevelDescription(): string + { + return $this->taxLevelDescription; + } + + public function setTaxLevelDescription(string $taxLevelDescription): static + { + $this->taxLevelDescription = $taxLevelDescription; + return $this; + } + + public function getTaxValue(): ?string + { + return $this->taxValue; + } + + public function setTaxValue(?string $taxValue): static + { + $this->taxValue = $taxValue; + return $this; + } +} diff --git a/src/Component/Entity/Product/Variants/Item/Parameters.php b/src/Component/Entity/Product/Variants/Item/Parameters.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants/Item/Parameters/Item.php b/src/Component/Entity/Product/Variants/Item/Parameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants/Item/PerPricelistPrices.php b/src/Component/Entity/Product/Variants/Item/PerPricelistPrices.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants/Item/PerPricelistPrices/Item.php b/src/Component/Entity/Product/Variants/Item/PerPricelistPrices/Item.php old mode 100644 new mode 100755 index 26d9c83..64e7dc3 --- a/src/Component/Entity/Product/Variants/Item/PerPricelistPrices/Item.php +++ b/src/Component/Entity/Product/Variants/Item/PerPricelistPrices/Item.php @@ -5,6 +5,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\PriceSales; use Shoptet\Api\Sdk\Php\Component\Entity\ProductOrderableAmount; +use Shoptet\Api\Sdk\Php\Component\Entity\ProductPrices; use Shoptet\Api\Sdk\Php\Component\Entity\VariantPrice; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeVatRate; @@ -19,6 +20,7 @@ class Item extends Entity protected PriceSales $sales; protected ProductOrderableAmount $orderableAmount; protected int $pricelistId; + protected ?ProductPrices $prices; public function getCode(): string { @@ -107,4 +109,15 @@ public function setPricelistId(int $pricelistId): static $this->pricelistId = $pricelistId; return $this; } + + public function getPrices(): ?ProductPrices + { + return $this->prices; + } + + public function setPrices(?ProductPrices $prices): static + { + $this->prices = $prices; + return $this; + } } diff --git a/src/Component/Entity/Product/Variants/Item/PerStockAmounts.php b/src/Component/Entity/Product/Variants/Item/PerStockAmounts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php b/src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php old mode 100644 new mode 100755 index e0c48d9..6b2c355 --- a/src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php +++ b/src/Component/Entity/Product/Variants/Item/PerStockAmounts/Item.php @@ -3,16 +3,16 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Variants\Item\PerStockAmounts; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected int $stockId; - protected TypeAmount $amount; - protected TypeAmount $claim; + protected TypeAmountNullable $amount; + protected TypeAmountNullable $claim; protected ?string $location; - protected TypeDateTime $lastAmountUpdate; + protected TypeDateTimeNullable $lastAmountUpdate; public function getStockId(): int { @@ -25,23 +25,23 @@ public function setStockId(int $stockId): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; } - public function getClaim(): TypeAmount + public function getClaim(): TypeAmountNullable { return $this->claim; } - public function setClaim(TypeAmount $claim): static + public function setClaim(TypeAmountNullable $claim): static { $this->claim = $claim; return $this; @@ -58,12 +58,12 @@ public function setLocation(?string $location): static return $this; } - public function getLastAmountUpdate(): TypeDateTime + public function getLastAmountUpdate(): TypeDateTimeNullable { return $this->lastAmountUpdate; } - public function setLastAmountUpdate(TypeDateTime $lastAmountUpdate): static + public function setLastAmountUpdate(TypeDateTimeNullable $lastAmountUpdate): static { $this->lastAmountUpdate = $lastAmountUpdate; return $this; diff --git a/src/Component/Entity/Product/Variants/Item/ZboziCZ.php b/src/Component/Entity/Product/Variants/Item/ZboziCZ.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Product/Warranty.php b/src/Component/Entity/Product/Warranty.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductBatchUpdate.php b/src/Component/Entity/ProductBatchUpdate.php new file mode 100755 index 0000000..570ed35 --- /dev/null +++ b/src/Component/Entity/ProductBatchUpdate.php @@ -0,0 +1,19 @@ +language; + } + + public function setLanguage(?string $language): static + { + $this->language = $language; + return $this; + } +} diff --git a/src/Component/Entity/ProductConsumptionTax.php b/src/Component/Entity/ProductConsumptionTax.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductFilteringParameterValue.php b/src/Component/Entity/ProductFilteringParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductFilteringParameterValues.php b/src/Component/Entity/ProductFilteringParameterValues.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductFilteringParameterValues/Item.php b/src/Component/Entity/ProductFilteringParameterValues/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductFlags.php b/src/Component/Entity/ProductFlags.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductFlags/Item.php b/src/Component/Entity/ProductFlags/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductGifts.php b/src/Component/Entity/ProductGifts.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductGifts/Item.php b/src/Component/Entity/ProductGifts/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductOrderableAmount.php b/src/Component/Entity/ProductOrderableAmount.php old mode 100644 new mode 100755 index bc07985..9d49499 --- a/src/Component/Entity/ProductOrderableAmount.php +++ b/src/Component/Entity/ProductOrderableAmount.php @@ -2,30 +2,30 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; class ProductOrderableAmount extends Entity { - protected TypePositiveAmount $minimumAmount; - protected TypePositiveAmount $maximumAmount; + protected TypePositiveAmountNullable $minimumAmount; + protected TypePositiveAmountNullable $maximumAmount; - public function getMinimumAmount(): TypePositiveAmount + public function getMinimumAmount(): TypePositiveAmountNullable { return $this->minimumAmount; } - public function setMinimumAmount(TypePositiveAmount $minimumAmount): static + public function setMinimumAmount(TypePositiveAmountNullable $minimumAmount): static { $this->minimumAmount = $minimumAmount; return $this; } - public function getMaximumAmount(): TypePositiveAmount + public function getMaximumAmount(): TypePositiveAmountNullable { return $this->maximumAmount; } - public function setMaximumAmount(TypePositiveAmount $maximumAmount): static + public function setMaximumAmount(TypePositiveAmountNullable $maximumAmount): static { $this->maximumAmount = $maximumAmount; return $this; diff --git a/src/Component/Entity/ProductPricelistSnapshot.php b/src/Component/Entity/ProductPricelistSnapshot.php new file mode 100755 index 0000000..abaef2b --- /dev/null +++ b/src/Component/Entity/ProductPricelistSnapshot.php @@ -0,0 +1,33 @@ +productGuid; + } + + public function setProductGuid(TypeGuidUnlimited $productGuid): static + { + $this->productGuid = $productGuid; + return $this; + } + + public function getProductId(): int + { + return $this->productId; + } + + public function setProductId(int $productId): static + { + $this->productId = $productId; + return $this; + } +} diff --git a/src/Component/Entity/ProductPrices.php b/src/Component/Entity/ProductPrices.php new file mode 100755 index 0000000..f3c9bf2 --- /dev/null +++ b/src/Component/Entity/ProductPrices.php @@ -0,0 +1,21 @@ +purchasePrice; + } + + public function setPurchasePrice(?PurchasePrice $purchasePrice): static + { + $this->purchasePrice = $purchasePrice; + return $this; + } +} diff --git a/src/Component/Entity/ProductPrices/PurchasePrice.php b/src/Component/Entity/ProductPrices/PurchasePrice.php new file mode 100755 index 0000000..0474811 --- /dev/null +++ b/src/Component/Entity/ProductPrices/PurchasePrice.php @@ -0,0 +1,47 @@ +price; + } + + public function setPrice(TypePriceNullable $price): static + { + $this->price = $price; + return $this; + } + + public function getVatRate(): TypeVatRate + { + return $this->vatRate; + } + + public function setVatRate(TypeVatRate $vatRate): static + { + $this->vatRate = $vatRate; + return $this; + } + + public function isIncludingVat(): bool + { + return $this->includingVat; + } + + public function setIncludingVat(bool $includingVat): static + { + $this->includingVat = $includingVat; + return $this; + } +} diff --git a/src/Component/Entity/ProductRequestSurchargeParameter.php b/src/Component/Entity/ProductRequestSurchargeParameter.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductRequestSurchargeParameter/Values.php b/src/Component/Entity/ProductRequestSurchargeParameter/Values.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductRequestSurchargeParameterValue.php b/src/Component/Entity/ProductRequestSurchargeParameterValue.php old mode 100644 new mode 100755 index 42c252f..dd287eb --- a/src/Component/Entity/ProductRequestSurchargeParameterValue.php +++ b/src/Component/Entity/ProductRequestSurchargeParameterValue.php @@ -2,12 +2,12 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ProductRequestSurchargeParameterValue extends Entity { protected string $valueIndex; - protected ?TypePrice $price; + protected ?TypePriceNullable $price; protected ?bool $visible; public function getValueIndex(): string @@ -21,12 +21,12 @@ public function setValueIndex(string $valueIndex): static return $this; } - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Component/Entity/ProductSet.php b/src/Component/Entity/ProductSet.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductSnapshot.php b/src/Component/Entity/ProductSnapshot.php new file mode 100755 index 0000000..36777dd --- /dev/null +++ b/src/Component/Entity/ProductSnapshot.php @@ -0,0 +1,7 @@ +subscription; + } + + public function setSubscription(?bool $subscription): static + { + $this->subscription = $subscription; + return $this; + } + public function getValues(): Values { return $this->values; diff --git a/src/Component/Entity/ProductSurchargeParameter/Values.php b/src/Component/Entity/ProductSurchargeParameter/Values.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProductSurchargeParameterValue.php b/src/Component/Entity/ProductSurchargeParameterValue.php old mode 100644 new mode 100755 index 1e9cb62..76bf61f --- a/src/Component/Entity/ProductSurchargeParameterValue.php +++ b/src/Component/Entity/ProductSurchargeParameterValue.php @@ -2,13 +2,13 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ProductSurchargeParameterValue extends Entity { protected string $valueIndex; protected string $description; - protected TypePrice $price; + protected TypePriceNullable $price; protected ?int $priority; protected bool $visible; @@ -34,12 +34,12 @@ public function setDescription(string $description): static return $this; } - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data.php b/src/Component/Entity/ProductUpdate.php old mode 100644 new mode 100755 similarity index 82% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data.php rename to src/Component/Entity/ProductUpdate.php index ef2b2f2..0721e49 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data.php +++ b/src/Component/Entity/ProductUpdate.php @@ -1,18 +1,18 @@ additionalName; + } + + public function setAdditionalName(?string $additionalName): static + { + $this->additionalName = $additionalName; + return $this; + } + public function getMetaTitle(): ?string { return $this->metaTitle; @@ -193,12 +206,23 @@ public function setInternalNote(?string $internalNote): static return $this; } - public function getSupplierGuid(): ?TypeGuid + public function getPreauthorizationRequired(): ?bool + { + return $this->preauthorizationRequired; + } + + public function setPreauthorizationRequired(?bool $preauthorizationRequired): static + { + $this->preauthorizationRequired = $preauthorizationRequired; + return $this; + } + + public function getSupplierGuid(): ?TypeGuidNullable { return $this->supplierGuid; } - public function setSupplierGuid(?TypeGuid $supplierGuid): static + public function setSupplierGuid(?TypeGuidNullable $supplierGuid): static { $this->supplierGuid = $supplierGuid; return $this; diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/CategoryGuids.php b/src/Component/Entity/ProductUpdate/CategoryGuids.php old mode 100644 new mode 100755 similarity index 90% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/CategoryGuids.php rename to src/Component/Entity/ProductUpdate/CategoryGuids.php index fc4233e..d26a4e8 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/CategoryGuids.php +++ b/src/Component/Entity/ProductUpdate/CategoryGuids.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class DescriptiveParameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\DescriptiveParameters\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\DescriptiveParameters\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/DescriptiveParameters/Item.php b/src/Component/Entity/ProductUpdate/DescriptiveParameters/Item.php old mode 100644 new mode 100755 similarity index 89% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/DescriptiveParameters/Item.php rename to src/Component/Entity/ProductUpdate/DescriptiveParameters/Item.php index 79f2c94..6b760bd --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/DescriptiveParameters/Item.php +++ b/src/Component/Entity/ProductUpdate/DescriptiveParameters/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class FilteringParameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\FilteringParameters\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\FilteringParameters\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters/Item.php b/src/Component/Entity/ProductUpdate/FilteringParameters/Item.php old mode 100644 new mode 100755 similarity index 69% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters/Item.php rename to src/Component/Entity/ProductUpdate/FilteringParameters/Item.php index 8cc972a..123baef --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/FilteringParameters/Item.php +++ b/src/Component/Entity/ProductUpdate/FilteringParameters/Item.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class Flags extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\Flags\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\Flags\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Flags/Item.php b/src/Component/Entity/ProductUpdate/Flags/Item.php old mode 100644 new mode 100755 similarity index 54% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Flags/Item.php rename to src/Component/Entity/ProductUpdate/Flags/Item.php index 26c86cf..b81ba84 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Flags/Item.php +++ b/src/Component/Entity/ProductUpdate/Flags/Item.php @@ -1,15 +1,15 @@ dateFrom; } - public function setDateFrom(?TypeDate $dateFrom): static + public function setDateFrom(?TypeDateNullable $dateFrom): static { $this->dateFrom = $dateFrom; return $this; } - public function getDateTo(): ?TypeDate + public function getDateTo(): ?TypeDateNullable { return $this->dateTo; } - public function setDateTo(?TypeDate $dateTo): static + public function setDateTo(?TypeDateNullable $dateTo): static { $this->dateTo = $dateTo; return $this; diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos.php b/src/Component/Entity/ProductUpdate/RelatedVideos.php old mode 100644 new mode 100755 similarity index 69% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos.php rename to src/Component/Entity/ProductUpdate/RelatedVideos.php index f1cccbe..d52d30c --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos.php +++ b/src/Component/Entity/ProductUpdate/RelatedVideos.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class RelatedVideos extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\RelatedVideos\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\RelatedVideos\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos/Item.php b/src/Component/Entity/ProductUpdate/RelatedVideos/Item.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos/Item.php rename to src/Component/Entity/ProductUpdate/RelatedVideos/Item.php index b0b90f2..549441b --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/RelatedVideos/Item.php +++ b/src/Component/Entity/ProductUpdate/RelatedVideos/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class Variants extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\Variants\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\Variants\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item.php b/src/Component/Entity/ProductUpdate/Variants/Item.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item.php rename to src/Component/Entity/ProductUpdate/Variants/Item.php index 0f14f2f..ac313e9 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item.php +++ b/src/Component/Entity/ProductUpdate/Variants/Item.php @@ -1,18 +1,20 @@ code; } - public function setCode(?string $code): static + public function setCode(?TypeVariantCodeRequest $code): static { $this->code = $code; return $this; @@ -238,12 +241,12 @@ public function setParameters(?Parameters $parameters): static return $this; } - public function getMinStockSupply(): ?TypePositiveAmount + public function getMinStockSupply(): ?TypePositiveAmountNullable { return $this->minStockSupply; } - public function setMinStockSupply(?TypePositiveAmount $minStockSupply): static + public function setMinStockSupply(?TypePositiveAmountNullable $minStockSupply): static { $this->minStockSupply = $minStockSupply; return $this; @@ -336,4 +339,15 @@ public function setAtypicalShipping(?bool $atypicalShipping): static $this->atypicalShipping = $atypicalShipping; return $this; } + + public function getOssVatLevels(): ?OssVatLevels + { + return $this->ossVatLevels; + } + + public function setOssVatLevels(?OssVatLevels $ossVatLevels): static + { + $this->ossVatLevels = $ossVatLevels; + return $this; + } } diff --git a/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels.php b/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels.php new file mode 100755 index 0000000..76194a6 --- /dev/null +++ b/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class OssVatLevels extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\Variants\Item\OssVatLevels\Item'; + } +} diff --git a/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels/Item.php b/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels/Item.php new file mode 100755 index 0000000..97b072d --- /dev/null +++ b/src/Component/Entity/ProductUpdate/Variants/Item/OssVatLevels/Item.php @@ -0,0 +1,33 @@ +countryCode; + } + + public function setCountryCode(string $countryCode): static + { + $this->countryCode = $countryCode; + return $this; + } + + public function getTaxLevel(): string + { + return $this->taxLevel; + } + + public function setTaxLevel(string $taxLevel): static + { + $this->taxLevel = $taxLevel; + return $this; + } +} diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters.php b/src/Component/Entity/ProductUpdate/Variants/Item/Parameters.php old mode 100644 new mode 100755 similarity index 66% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters.php rename to src/Component/Entity/ProductUpdate/Variants/Item/Parameters.php index 9193ac5..7fccbac --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters.php +++ b/src/Component/Entity/ProductUpdate/Variants/Item/Parameters.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class Parameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\Variants\Item\Parameters\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\Variants\Item\Parameters\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters/Item.php b/src/Component/Entity/ProductUpdate/Variants/Item/Parameters/Item.php old mode 100644 new mode 100755 similarity index 83% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters/Item.php rename to src/Component/Entity/ProductUpdate/Variants/Item/Parameters/Item.php index 6ede087..68e8826 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/Parameters/Item.php +++ b/src/Component/Entity/ProductUpdate/Variants/Item/Parameters/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class StocksLocations extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data\Variants\Item\StocksLocations\Item'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate\Variants\Item\StocksLocations\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/StocksLocations/Item.php b/src/Component/Entity/ProductUpdate/Variants/Item/StocksLocations/Item.php old mode 100644 new mode 100755 similarity index 81% rename from src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/StocksLocations/Item.php rename to src/Component/Entity/ProductUpdate/Variants/Item/StocksLocations/Item.php index a729e89..0bc6cd8 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest/Data/Variants/Item/StocksLocations/Item.php +++ b/src/Component/Entity/ProductUpdate/Variants/Item/StocksLocations/Item.php @@ -1,6 +1,6 @@ creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; } - public function getDueDate(): TypeDate + public function getDueDate(): TypeDateNullable { return $this->dueDate; } - public function setDueDate(TypeDate $dueDate): static + public function setDueDate(TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; @@ -143,34 +143,34 @@ public function setSpecSymbol(?float $specSymbol): static return $this; } - public function getWeight(): ?TypeWeightUnlimited + public function getWeight(): TypeWeightUnlimited { return $this->weight; } - public function setWeight(?TypeWeightUnlimited $weight): static + public function setWeight(TypeWeightUnlimited $weight): static { $this->weight = $weight; return $this; } - public function getCompletePackageWeight(): ?TypeWeightUnlimited + public function getCompletePackageWeight(): TypeWeightUnlimited { return $this->completePackageWeight; } - public function setCompletePackageWeight(?TypeWeightUnlimited $completePackageWeight): static + public function setCompletePackageWeight(TypeWeightUnlimited $completePackageWeight): static { $this->completePackageWeight = $completePackageWeight; return $this; } - public function getBillingMethod(): BillingMethod + public function getBillingMethod(): ?BillingMethod { return $this->billingMethod; } - public function setBillingMethod(BillingMethod $billingMethod): static + public function setBillingMethod(?BillingMethod $billingMethod): static { $this->billingMethod = $billingMethod; return $this; @@ -187,12 +187,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): ?Address + public function getDeliveryAddress(): Address { return $this->deliveryAddress; } - public function setDeliveryAddress(?Address $deliveryAddress): static + public function setDeliveryAddress(Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/ProformaInvoice/Items.php b/src/Component/Entity/ProformaInvoice/Items.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProformaInvoiceCodes.php b/src/Component/Entity/ProformaInvoiceCodes.php new file mode 100755 index 0000000..1a47ae9 --- /dev/null +++ b/src/Component/Entity/ProformaInvoiceCodes.php @@ -0,0 +1,28 @@ + + * @property string[] $data + * @method string[] toArray() + * @method void set(int $key, string $item) + * @method null|string get(int $key) + * @method void add(string $item) + * @method null|string remove(int $key) + * @method bool removeItem(string $item, bool $strict = true) + * @method bool contains(string $item, bool $strict = true) + * @method null|string offsetGet(int $offset) + * @method void offsetSet(int $offset, string $value) + */ +class ProformaInvoiceCodes extends EntityCollection +{ + /** + * @param array $data + * @return string + */ + public function getItemType(array $data): string + { + return 'string'; + } +} diff --git a/src/Component/Entity/ProformaInvoiceSnapshot.php b/src/Component/Entity/ProformaInvoiceSnapshot.php new file mode 100755 index 0000000..3c7fd49 --- /dev/null +++ b/src/Component/Entity/ProformaInvoiceSnapshot.php @@ -0,0 +1,7 @@ +createdAt; } - public function setCreatedAt(TypeDateTime $createdAt): static + public function setCreatedAt(TypeDateTimeNullable $createdAt): static { $this->createdAt = $createdAt; return $this; } - public function getUpdatedAt(): TypeDateTime + public function getUpdatedAt(): TypeDateTimeNullable { return $this->updatedAt; } - public function setUpdatedAt(TypeDateTime $updatedAt): static + public function setUpdatedAt(TypeDateTimeNullable $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } - public function getIssueDate(): TypeDateTime + public function getIssueDate(): TypeDateTimeNullable { return $this->issueDate; } - public function setIssueDate(TypeDateTime $issueDate): static + public function setIssueDate(TypeDateTimeNullable $issueDate): static { $this->issueDate = $issueDate; return $this; } - public function getTaxDate(): TypeDate + public function getTaxDate(): TypeDateNullable { return $this->taxDate; } - public function setTaxDate(TypeDate $taxDate): static + public function setTaxDate(TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; @@ -160,12 +162,12 @@ public function setCurrencyCode(string $currencyCode): static return $this; } - public function getPayment(): TypePrice + public function getPayment(): TypePriceNullable { return $this->payment; } - public function setPayment(TypePrice $payment): static + public function setPayment(TypePriceNullable $payment): static { $this->payment = $payment; return $this; @@ -336,12 +338,12 @@ public function setCompanyId(?string $companyId): static return $this; } - public function getLanguage(): string + public function getLanguage(): ?string { return $this->language; } - public function setLanguage(string $language): static + public function setLanguage(?string $language): static { $this->language = $language; return $this; @@ -474,12 +476,12 @@ public function setSpecSymbol(?float $specSymbol): static return $this; } - public function getBillingMethod(): BillingMethod + public function getBillingMethod(): ?BillingMethod { return $this->billingMethod; } - public function setBillingMethod(BillingMethod $billingMethod): static + public function setBillingMethod(?BillingMethod $billingMethod): static { $this->billingMethod = $billingMethod; return $this; @@ -594,4 +596,15 @@ public function setVatMode(?string $vatMode): static $this->vatMode = $vatMode; return $this; } + + public function getInvoicingExchangeRate(): TypeExchangeRate + { + return $this->invoicingExchangeRate; + } + + public function setInvoicingExchangeRate(TypeExchangeRate $invoicingExchangeRate): static + { + $this->invoicingExchangeRate = $invoicingExchangeRate; + return $this; + } } diff --git a/src/Component/Entity/ProofPaymentDetail/Source.php b/src/Component/Entity/ProofPaymentDetail/Source.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProofPaymentSnapshot.php b/src/Component/Entity/ProofPaymentSnapshot.php new file mode 100755 index 0000000..ae4f252 --- /dev/null +++ b/src/Component/Entity/ProofPaymentSnapshot.php @@ -0,0 +1,7 @@ +priceWithVat; } - public function setPriceWithVat(TypePrice $priceWithVat): static + public function setPriceWithVat(TypePriceNullable $priceWithVat): static { $this->priceWithVat = $priceWithVat; return $this; } - public function getPriceWithoutVat(): TypePrice + public function getPriceWithoutVat(): TypePriceNullable { return $this->priceWithoutVat; } - public function setPriceWithoutVat(TypePrice $priceWithoutVat): static + public function setPriceWithoutVat(TypePriceNullable $priceWithoutVat): static { $this->priceWithoutVat = $priceWithoutVat; return $this; } - public function getVat(): TypePrice + public function getVat(): TypePriceNullable { return $this->vat; } - public function setVat(TypePrice $vat): static + public function setVat(TypePriceNullable $vat): static { $this->vat = $vat; return $this; diff --git a/src/Component/Entity/ProofPaymentVatBreakdown/Summary.php b/src/Component/Entity/ProofPaymentVatBreakdown/Summary.php old mode 100644 new mode 100755 index 1894388..e549c00 --- a/src/Component/Entity/ProofPaymentVatBreakdown/Summary.php +++ b/src/Component/Entity/ProofPaymentVatBreakdown/Summary.php @@ -3,42 +3,42 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\ProofPaymentVatBreakdown; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class Summary extends Entity { - protected TypePrice $withVat; - protected TypePrice $withoutVat; - protected TypePrice $vat; + protected TypePriceNullable $withVat; + protected TypePriceNullable $withoutVat; + protected TypePriceNullable $vat; - public function getWithVat(): TypePrice + public function getWithVat(): TypePriceNullable { return $this->withVat; } - public function setWithVat(TypePrice $withVat): static + public function setWithVat(TypePriceNullable $withVat): static { $this->withVat = $withVat; return $this; } - public function getWithoutVat(): TypePrice + public function getWithoutVat(): TypePriceNullable { return $this->withoutVat; } - public function setWithoutVat(TypePrice $withoutVat): static + public function setWithoutVat(TypePriceNullable $withoutVat): static { $this->withoutVat = $withoutVat; return $this; } - public function getVat(): TypePrice + public function getVat(): TypePriceNullable { return $this->vat; } - public function setVat(TypePrice $vat): static + public function setVat(TypePriceNullable $vat): static { $this->vat = $vat; return $this; diff --git a/src/Component/Entity/ProofPaymentsForInvoice.php b/src/Component/Entity/ProofPaymentsForInvoice.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProofPaymentsForInvoice/Item.php b/src/Component/Entity/ProofPaymentsForInvoice/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ProofPaymentsList.php b/src/Component/Entity/ProofPaymentsList.php old mode 100644 new mode 100755 index c64282b..c69b7e3 --- a/src/Component/Entity/ProofPaymentsList.php +++ b/src/Component/Entity/ProofPaymentsList.php @@ -2,19 +2,21 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeExchangeRate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ProofPaymentsList extends Entity { protected string $code; protected ?string $orderCode; protected ?string $proformaInvoiceCode; - protected TypeDateTime $issueDate; + protected TypeDateTimeNullable $issueDate; protected ?string $billFullName; - protected TypePrice $payment; + protected TypePriceNullable $payment; protected bool $isValid; protected ?string $vatMode; + protected TypeExchangeRate $invoicingExchangeRate; protected ?string $invoiceCode; protected bool $closed; @@ -51,12 +53,12 @@ public function setProformaInvoiceCode(?string $proformaInvoiceCode): static return $this; } - public function getIssueDate(): TypeDateTime + public function getIssueDate(): TypeDateTimeNullable { return $this->issueDate; } - public function setIssueDate(TypeDateTime $issueDate): static + public function setIssueDate(TypeDateTimeNullable $issueDate): static { $this->issueDate = $issueDate; return $this; @@ -73,12 +75,12 @@ public function setBillFullName(?string $billFullName): static return $this; } - public function getPayment(): TypePrice + public function getPayment(): TypePriceNullable { return $this->payment; } - public function setPayment(TypePrice $payment): static + public function setPayment(TypePriceNullable $payment): static { $this->payment = $payment; return $this; @@ -106,6 +108,17 @@ public function setVatMode(?string $vatMode): static return $this; } + public function getInvoicingExchangeRate(): TypeExchangeRate + { + return $this->invoicingExchangeRate; + } + + public function setInvoicingExchangeRate(TypeExchangeRate $invoicingExchangeRate): static + { + $this->invoicingExchangeRate = $invoicingExchangeRate; + return $this; + } + public function getInvoiceCode(): ?string { return $this->invoiceCode; diff --git a/src/Component/Entity/QuantityDiscount.php b/src/Component/Entity/QuantityDiscount.php old mode 100644 new mode 100755 index e9fc728..0fce842 --- a/src/Component/Entity/QuantityDiscount.php +++ b/src/Component/Entity/QuantityDiscount.php @@ -4,18 +4,18 @@ use Shoptet\Api\Sdk\Php\Component\Entity\QuantityDiscount\CustomerGroups; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeColor; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class QuantityDiscount extends Entity { protected int $id; protected string $title; - protected TypeDate $validFrom; - protected TypeDate $validTo; + protected TypeDateNullable $validFrom; + protected TypeDateNullable $validTo; protected bool $timeUnlimited; protected ?CustomerGroups $customerGroups; protected bool $displayFlag; - protected ?TypeColor $flagColor; + protected TypeColor $flagColor; protected ?int $priority; protected bool $isActive; protected string $status; @@ -46,23 +46,23 @@ public function setTitle(string $title): static return $this; } - public function getValidFrom(): TypeDate + public function getValidFrom(): TypeDateNullable { return $this->validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; @@ -101,12 +101,12 @@ public function setDisplayFlag(bool $displayFlag): static return $this; } - public function getFlagColor(): ?TypeColor + public function getFlagColor(): TypeColor { return $this->flagColor; } - public function setFlagColor(?TypeColor $flagColor): static + public function setFlagColor(TypeColor $flagColor): static { $this->flagColor = $flagColor; return $this; diff --git a/src/Component/Entity/QuantityDiscount/CustomerGroups.php b/src/Component/Entity/QuantityDiscount/CustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/QuantityDiscount/CustomerGroups/Item.php b/src/Component/Entity/QuantityDiscount/CustomerGroups/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/QuantityDiscountSettingsResponse.php b/src/Component/Entity/QuantityDiscountSettingsResponse.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/QuantityDiscountSettingsResponse/Item.php b/src/Component/Entity/QuantityDiscountSettingsResponse/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php b/src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php old mode 100644 new mode 100755 index 53f7858..bf0a3b1 --- a/src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php +++ b/src/Component/Entity/QuantityDiscountSettingsResponse/Item/DiscountValue.php @@ -3,17 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity\QuantityDiscountSettingsResponse\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; class DiscountValue extends Entity { - protected float $priceRatio; + protected TypePriceRatio $priceRatio; - public function getPriceRatio(): float + public function getPriceRatio(): TypePriceRatio { return $this->priceRatio; } - public function setPriceRatio(float $priceRatio): static + public function setPriceRatio(TypePriceRatio $priceRatio): static { $this->priceRatio = $priceRatio; return $this; diff --git a/src/Component/Entity/QuantityDiscountSnapshot.php b/src/Component/Entity/QuantityDiscountSnapshot.php new file mode 100755 index 0000000..d6a5c3d --- /dev/null +++ b/src/Component/Entity/QuantityDiscountSnapshot.php @@ -0,0 +1,7 @@ +category; } - public function setCategory(?TypeNonEmptyString $category): static + public function setCategory(TypeNonEmptyString $category): static { $this->category = $category; return $this; } - public function getFee(): TypePrice + public function getFee(): TypePriceNullable { return $this->fee; } - public function setFee(TypePrice $fee): static + public function setFee(TypePriceNullable $fee): static { $this->fee = $fee; return $this; diff --git a/src/Component/Entity/RecyclingFeeCategory.php b/src/Component/Entity/RecyclingFeeCategory.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/RelatedProduct.php b/src/Component/Entity/RelatedProduct.php old mode 100644 new mode 100755 index 18990d4..02c032b --- a/src/Component/Entity/RelatedProduct.php +++ b/src/Component/Entity/RelatedProduct.php @@ -9,6 +9,7 @@ class RelatedProduct extends Entity protected TypeGuidUnlimited $guid; protected int $priority; protected ?string $visibility; + protected ?string $linkType; public function getGuid(): TypeGuidUnlimited { @@ -42,4 +43,15 @@ public function setVisibility(?string $visibility): static $this->visibility = $visibility; return $this; } + + public function getLinkType(): ?string + { + return $this->linkType; + } + + public function setLinkType(?string $linkType): static + { + $this->linkType = $linkType; + return $this; + } } diff --git a/src/Component/Entity/ShipmentAddress.php b/src/Component/Entity/ShipmentAddress.php old mode 100644 new mode 100755 index ad8eb91..93bb009 --- a/src/Component/Entity/ShipmentAddress.php +++ b/src/Component/Entity/ShipmentAddress.php @@ -12,6 +12,8 @@ class ShipmentAddress extends Entity protected ?string $zipCode; protected ?string $houseNumber; protected ?string $contactPhone; + protected string $senderName; + protected string $contactPerson; protected ?string $contactEmail; protected ?bool $isDefault; protected ?string $type; @@ -104,6 +106,28 @@ public function setContactPhone(?string $contactPhone): static return $this; } + public function getSenderName(): string + { + return $this->senderName; + } + + public function setSenderName(string $senderName): static + { + $this->senderName = $senderName; + return $this; + } + + public function getContactPerson(): string + { + return $this->contactPerson; + } + + public function setContactPerson(string $contactPerson): static + { + $this->contactPerson = $contactPerson; + return $this; + } + public function getContactEmail(): ?string { return $this->contactEmail; diff --git a/src/Component/Entity/ShipmentCarrierCountry.php b/src/Component/Entity/ShipmentCarrierCountry.php old mode 100644 new mode 100755 index cf5b64c..36fe8f3 --- a/src/Component/Entity/ShipmentCarrierCountry.php +++ b/src/Component/Entity/ShipmentCarrierCountry.php @@ -2,12 +2,12 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ShipmentCarrierCountry extends Entity { protected string $countryCode; - protected TypePrice $maxCod; + protected TypePriceNullable $maxCod; protected ?string $codCurrencyCode; protected int $maxWeight; @@ -22,12 +22,12 @@ public function setCountryCode(string $countryCode): static return $this; } - public function getMaxCod(): TypePrice + public function getMaxCod(): TypePriceNullable { return $this->maxCod; } - public function setMaxCod(TypePrice $maxCod): static + public function setMaxCod(TypePriceNullable $maxCod): static { $this->maxCod = $maxCod; return $this; diff --git a/src/Component/Entity/ShipmentCoDPrice.php b/src/Component/Entity/ShipmentCoDPrice.php old mode 100644 new mode 100755 index 0178c92..207b405 --- a/src/Component/Entity/ShipmentCoDPrice.php +++ b/src/Component/Entity/ShipmentCoDPrice.php @@ -2,19 +2,19 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ShipmentCoDPrice extends Entity { - protected TypePrice $value; + protected TypePriceNullable $value; protected string $currencyCode; - public function getValue(): TypePrice + public function getValue(): TypePriceNullable { return $this->value; } - public function setValue(TypePrice $value): static + public function setValue(TypePriceNullable $value): static { $this->value = $value; return $this; diff --git a/src/Component/Entity/ShipmentCustomer.php b/src/Component/Entity/ShipmentCustomer.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ShipmentHistory.php b/src/Component/Entity/ShipmentHistory.php old mode 100644 new mode 100755 index b4925af..a894219 --- a/src/Component/Entity/ShipmentHistory.php +++ b/src/Component/Entity/ShipmentHistory.php @@ -2,14 +2,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class ShipmentHistory extends Entity { protected string $fromStatus; protected string $toStatus; - protected TypeDateTime $realDatetime; - protected TypeDateTime $providerDatetime; + protected TypeDateTimeNullable $realDatetime; + protected TypeDateTimeNullable $providerDatetime; protected string $note; public function getFromStatus(): string @@ -34,23 +34,23 @@ public function setToStatus(string $toStatus): static return $this; } - public function getRealDatetime(): TypeDateTime + public function getRealDatetime(): TypeDateTimeNullable { return $this->realDatetime; } - public function setRealDatetime(TypeDateTime $realDatetime): static + public function setRealDatetime(TypeDateTimeNullable $realDatetime): static { $this->realDatetime = $realDatetime; return $this; } - public function getProviderDatetime(): TypeDateTime + public function getProviderDatetime(): TypeDateTimeNullable { return $this->providerDatetime; } - public function setProviderDatetime(TypeDateTime $providerDatetime): static + public function setProviderDatetime(TypeDateTimeNullable $providerDatetime): static { $this->providerDatetime = $providerDatetime; return $this; diff --git a/src/Component/Entity/ShipmentPackage.php b/src/Component/Entity/ShipmentPackage.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ShipmentPackageWithHistory.php b/src/Component/Entity/ShipmentPackageWithHistory.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ShipmentPackageWithHistory/History.php b/src/Component/Entity/ShipmentPackageWithHistory/History.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/ShipmentPrice.php b/src/Component/Entity/ShipmentPrice.php old mode 100644 new mode 100755 index 997b679..5e17ac2 --- a/src/Component/Entity/ShipmentPrice.php +++ b/src/Component/Entity/ShipmentPrice.php @@ -2,19 +2,19 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ShipmentPrice extends Entity { - protected TypePrice $value; + protected TypePriceNullable $value; protected string $currencyCode; - public function getValue(): TypePrice + public function getValue(): TypePriceNullable { return $this->value; } - public function setValue(TypePrice $value): static + public function setValue(TypePriceNullable $value): static { $this->value = $value; return $this; diff --git a/src/Component/Entity/Shipping.php b/src/Component/Entity/Shipping.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/Stock.php b/src/Component/Entity/Stock.php old mode 100644 new mode 100755 index a6443e8..90c22f1 --- a/src/Component/Entity/Stock.php +++ b/src/Component/Entity/Stock.php @@ -9,6 +9,8 @@ class Stock extends Entity protected bool $isDeliveryPoint; protected ?string $deliveryPointTitle; protected ?string $deliveryPointAddress; + protected string $type; + protected ?int $parentStockId; public function getId(): int { @@ -64,4 +66,26 @@ public function setDeliveryPointAddress(?string $deliveryPointAddress): static $this->deliveryPointAddress = $deliveryPointAddress; return $this; } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): static + { + $this->type = $type; + return $this; + } + + public function getParentStockId(): ?int + { + return $this->parentStockId; + } + + public function setParentStockId(?int $parentStockId): static + { + $this->parentStockId = $parentStockId; + return $this; + } } diff --git a/src/Component/Entity/StockList.php b/src/Component/Entity/StockList.php new file mode 100755 index 0000000..d16fcc2 --- /dev/null +++ b/src/Component/Entity/StockList.php @@ -0,0 +1,67 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getTitle(): string + { + return $this->title; + } + + public function setTitle(string $title): static + { + $this->title = $title; + return $this; + } + + public function isIsDeliveryPoint(): bool + { + return $this->isDeliveryPoint; + } + + public function setIsDeliveryPoint(bool $isDeliveryPoint): static + { + $this->isDeliveryPoint = $isDeliveryPoint; + return $this; + } + + public function getDeliveryPointTitle(): ?string + { + return $this->deliveryPointTitle; + } + + public function setDeliveryPointTitle(?string $deliveryPointTitle): static + { + $this->deliveryPointTitle = $deliveryPointTitle; + return $this; + } + + public function getDeliveryPointAddress(): ?string + { + return $this->deliveryPointAddress; + } + + public function setDeliveryPointAddress(?string $deliveryPointAddress): static + { + $this->deliveryPointAddress = $deliveryPointAddress; + return $this; + } +} diff --git a/src/Component/Entity/Supplier.php b/src/Component/Entity/Supplier.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/SurchargeParameterValue.php b/src/Component/Entity/SurchargeParameterValue.php old mode 100644 new mode 100755 index 933d561..d0994d4 --- a/src/Component/Entity/SurchargeParameterValue.php +++ b/src/Component/Entity/SurchargeParameterValue.php @@ -2,14 +2,14 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class SurchargeParameterValue extends Entity { protected int $id; protected string $valueIndex; protected string $description; - protected TypePrice $price; + protected TypePriceNullable $price; protected ?int $priority; public function getId(): int @@ -45,12 +45,12 @@ public function setDescription(string $description): static return $this; } - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Component/Entity/TypeCurrency.php b/src/Component/Entity/TypeCurrency.php new file mode 100755 index 0000000..a210880 --- /dev/null +++ b/src/Component/Entity/TypeCurrency.php @@ -0,0 +1,117 @@ +code; + } + + public function setCode(TypeCurrencyCode $code): static + { + $this->code = $code; + return $this; + } + + public function getTitle(): string + { + return $this->title; + } + + public function setTitle(string $title): static + { + $this->title = $title; + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): static + { + $this->symbol = $symbol; + return $this; + } + + public function isIsSymbolOnLeft(): bool + { + return $this->isSymbolOnLeft; + } + + public function setIsSymbolOnLeft(bool $isSymbolOnLeft): static + { + $this->isSymbolOnLeft = $isSymbolOnLeft; + return $this; + } + + public function getPrecision(): int + { + return $this->precision; + } + + public function setPrecision(int $precision): static + { + $this->precision = $precision; + return $this; + } + + public function getPriority(): ?int + { + return $this->priority; + } + + public function setPriority(?int $priority): static + { + $this->priority = $priority; + return $this; + } + + public function getDecimalSeparator(): string + { + return $this->decimalSeparator; + } + + public function setDecimalSeparator(string $decimalSeparator): static + { + $this->decimalSeparator = $decimalSeparator; + return $this; + } + + public function getThousandSeparator(): ?string + { + return $this->thousandSeparator; + } + + public function setThousandSeparator(?string $thousandSeparator): static + { + $this->thousandSeparator = $thousandSeparator; + return $this; + } + + public function getIsDefault(): ?bool + { + return $this->isDefault; + } + + public function setIsDefault(?bool $isDefault): static + { + $this->isDefault = $isDefault; + return $this; + } +} diff --git a/src/Component/Entity/TypeLanguage.php b/src/Component/Entity/TypeLanguage.php new file mode 100755 index 0000000..880382a --- /dev/null +++ b/src/Component/Entity/TypeLanguage.php @@ -0,0 +1,103 @@ +code; + } + + public function setCode(string $code): static + { + $this->code = $code; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getDateFormat(): string + { + return $this->dateFormat; + } + + public function setDateFormat(string $dateFormat): static + { + $this->dateFormat = $dateFormat; + return $this; + } + + public function getTimeFormat(): string + { + return $this->timeFormat; + } + + public function setTimeFormat(string $timeFormat): static + { + $this->timeFormat = $timeFormat; + return $this; + } + + public function isIsVisible(): bool + { + return $this->isVisible; + } + + public function setIsVisible(bool $isVisible): static + { + $this->isVisible = $isVisible; + return $this; + } + + public function isIsBlocked(): bool + { + return $this->isBlocked; + } + + public function setIsBlocked(bool $isBlocked): static + { + $this->isBlocked = $isBlocked; + return $this; + } + + public function getPriority(): ?int + { + return $this->priority; + } + + public function setPriority(?int $priority): static + { + $this->priority = $priority; + return $this; + } + + public function getIsDefault(): ?bool + { + return $this->isDefault; + } + + public function setIsDefault(?bool $isDefault): static + { + $this->isDefault = $isDefault; + return $this; + } +} diff --git a/src/Component/Entity/VariantPrice.php b/src/Component/Entity/VariantPrice.php old mode 100644 new mode 100755 index 02258ae..8d29f29 --- a/src/Component/Entity/VariantPrice.php +++ b/src/Component/Entity/VariantPrice.php @@ -2,45 +2,45 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeProductPriceRatio; class VariantPrice extends Entity { - protected TypePrice $price; - protected TypePrice $commonPrice; - protected TypePrice $buyPrice; + protected TypePriceNullable $price; + protected TypePriceNullable $commonPrice; + protected TypePriceNullable $buyPrice; protected TypeProductPriceRatio $priceRatio; - protected ?ActionPrice $actionPrice; + protected ActionPrice $actionPrice; - public function getPrice(): TypePrice + public function getPrice(): TypePriceNullable { return $this->price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getCommonPrice(): TypePrice + public function getCommonPrice(): TypePriceNullable { return $this->commonPrice; } - public function setCommonPrice(TypePrice $commonPrice): static + public function setCommonPrice(TypePriceNullable $commonPrice): static { $this->commonPrice = $commonPrice; return $this; } - public function getBuyPrice(): TypePrice + public function getBuyPrice(): TypePriceNullable { return $this->buyPrice; } - public function setBuyPrice(TypePrice $buyPrice): static + public function setBuyPrice(TypePriceNullable $buyPrice): static { $this->buyPrice = $buyPrice; return $this; @@ -57,12 +57,12 @@ public function setPriceRatio(TypeProductPriceRatio $priceRatio): static return $this; } - public function getActionPrice(): ?ActionPrice + public function getActionPrice(): ActionPrice { return $this->actionPrice; } - public function setActionPrice(?ActionPrice $actionPrice): static + public function setActionPrice(ActionPrice $actionPrice): static { $this->actionPrice = $actionPrice; return $this; diff --git a/src/Component/Entity/Webhook.php b/src/Component/Entity/Webhook.php old mode 100644 new mode 100755 index 47b72a3..01c566a --- a/src/Component/Entity/Webhook.php +++ b/src/Component/Entity/Webhook.php @@ -2,15 +2,15 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Webhook extends Entity { protected int $id; protected string $event; protected string $url; - protected TypeDateTime $created; - protected TypeDateTime $updated; + protected TypeDateTimeNullable $created; + protected TypeDateTimeNullable $updated; public function getId(): int { @@ -45,23 +45,23 @@ public function setUrl(string $url): static return $this; } - public function getCreated(): TypeDateTime + public function getCreated(): TypeDateTimeNullable { return $this->created; } - public function setCreated(TypeDateTime $created): static + public function setCreated(TypeDateTimeNullable $created): static { $this->created = $created; return $this; } - public function getUpdated(): TypeDateTime + public function getUpdated(): TypeDateTimeNullable { return $this->updated; } - public function setUpdated(TypeDateTime $updated): static + public function setUpdated(TypeDateTimeNullable $updated): static { $this->updated = $updated; return $this; diff --git a/src/Component/Entity/WebhookNotification.php b/src/Component/Entity/WebhookNotification.php old mode 100644 new mode 100755 index 510475e..97d6669 --- a/src/Component/Entity/WebhookNotification.php +++ b/src/Component/Entity/WebhookNotification.php @@ -2,7 +2,7 @@ namespace Shoptet\Api\Sdk\Php\Component\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class WebhookNotification extends Entity { @@ -10,9 +10,9 @@ class WebhookNotification extends Entity protected int $webhookId; protected string $webhookUrl; protected string $event; - protected TypeDateTime $eventCreated; - protected TypeDateTime $created; - protected TypeDateTime $attempted; + protected TypeDateTimeNullable $eventCreated; + protected TypeDateTimeNullable $created; + protected TypeDateTimeNullable $attempted; protected int $attempts; protected string $status; protected bool $active; @@ -62,34 +62,34 @@ public function setEvent(string $event): static return $this; } - public function getEventCreated(): TypeDateTime + public function getEventCreated(): TypeDateTimeNullable { return $this->eventCreated; } - public function setEventCreated(TypeDateTime $eventCreated): static + public function setEventCreated(TypeDateTimeNullable $eventCreated): static { $this->eventCreated = $eventCreated; return $this; } - public function getCreated(): TypeDateTime + public function getCreated(): TypeDateTimeNullable { return $this->created; } - public function setCreated(TypeDateTime $created): static + public function setCreated(TypeDateTimeNullable $created): static { $this->created = $created; return $this; } - public function getAttempted(): TypeDateTime + public function getAttempted(): TypeDateTimeNullable { return $this->attempted; } - public function setAttempted(TypeDateTime $attempted): static + public function setAttempted(TypeDateTimeNullable $attempted): static { $this->attempted = $attempted; return $this; diff --git a/src/Component/Entity/XyDiscount.php b/src/Component/Entity/XyDiscount.php old mode 100644 new mode 100755 index 2479f53..5dddfa0 --- a/src/Component/Entity/XyDiscount.php +++ b/src/Component/Entity/XyDiscount.php @@ -5,23 +5,23 @@ use Shoptet\Api\Sdk\Php\Component\Entity\XyDiscount\CustomerGroups; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeColor; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class XyDiscount extends Entity { protected int $id; protected string $title; - protected TypeDate $validFrom; - protected TypeDate $validTo; + protected TypeDateNullable $validFrom; + protected TypeDateNullable $validTo; protected ?CustomerGroups $customerGroups; protected TypeAmount $xAmount; protected TypeAmount $yAmount; protected ?string $description; protected ?string $termsAndConditionsUrl; protected bool $displayFlag; - protected ?TypeColor $flagColor; + protected TypeColor $flagColor; protected bool $displayBanner; - protected ?TypeColor $bannerColor; + protected TypeColor $bannerColor; protected ?int $priority; protected ?int $usageCount; protected XyDiscountTargetingResponse $xTargeting; @@ -50,23 +50,23 @@ public function setTitle(string $title): static return $this; } - public function getValidFrom(): TypeDate + public function getValidFrom(): TypeDateNullable { return $this->validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; @@ -138,12 +138,12 @@ public function setDisplayFlag(bool $displayFlag): static return $this; } - public function getFlagColor(): ?TypeColor + public function getFlagColor(): TypeColor { return $this->flagColor; } - public function setFlagColor(?TypeColor $flagColor): static + public function setFlagColor(TypeColor $flagColor): static { $this->flagColor = $flagColor; return $this; @@ -160,12 +160,12 @@ public function setDisplayBanner(bool $displayBanner): static return $this; } - public function getBannerColor(): ?TypeColor + public function getBannerColor(): TypeColor { return $this->bannerColor; } - public function setBannerColor(?TypeColor $bannerColor): static + public function setBannerColor(TypeColor $bannerColor): static { $this->bannerColor = $bannerColor; return $this; diff --git a/src/Component/Entity/XyDiscount/CustomerGroups.php b/src/Component/Entity/XyDiscount/CustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscount/CustomerGroups/Item.php b/src/Component/Entity/XyDiscount/CustomerGroups/Item.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingPostRequest.php b/src/Component/Entity/XyDiscountTargetingPostRequest.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingPostRequest/BrandCodes.php b/src/Component/Entity/XyDiscountTargetingPostRequest/BrandCodes.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingPostRequest/CategoryGuids.php b/src/Component/Entity/XyDiscountTargetingPostRequest/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingPostRequest/ProductGuids.php b/src/Component/Entity/XyDiscountTargetingPostRequest/ProductGuids.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingResponse.php b/src/Component/Entity/XyDiscountTargetingResponse.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingResponse/BrandCodes.php b/src/Component/Entity/XyDiscountTargetingResponse/BrandCodes.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingResponse/CategoryGuids.php b/src/Component/Entity/XyDiscountTargetingResponse/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Component/Entity/XyDiscountTargetingResponse/ProductGuids.php b/src/Component/Entity/XyDiscountTargetingResponse/ProductGuids.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/ConsumptionTaxId.php b/src/Component/ValueObject/ConsumptionTaxId.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeAmount.php b/src/Component/ValueObject/TypeAmount.php old mode 100644 new mode 100755 index 3fe9059..7dcf3f1 --- a/src/Component/ValueObject/TypeAmount.php +++ b/src/Component/ValueObject/TypeAmount.php @@ -7,11 +7,8 @@ readonly class TypeAmount implements ValueObjectInterface { public function __construct( - public ?string $typeAmount, + public string $typeAmount, ) { - if ($this->typeAmount === null) { - return; - } if (!preg_match('/^(-)?[0-9]+\.[0-9]{3}$/', $this->typeAmount)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeAmount', $this->typeAmount)); } diff --git a/src/Component/ValueObject/TypeAmountNullable.php b/src/Component/ValueObject/TypeAmountNullable.php new file mode 100755 index 0000000..2621417 --- /dev/null +++ b/src/Component/ValueObject/TypeAmountNullable.php @@ -0,0 +1,29 @@ +typeAmountNullable === null) { + return; + } + if (!preg_match('/^(-)?[0-9]+\.[0-9]{3}$/', $this->typeAmountNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeAmountNullable', $this->typeAmountNullable)); + } + } + + public function equals(self $typeAmountNullable): bool + { + return $typeAmountNullable->typeAmountNullable === $this->typeAmountNullable; + } + + public function __toString(): string + { + return (string) $this->typeAmountNullable; + } +} diff --git a/src/Component/ValueObject/TypeColor.php b/src/Component/ValueObject/TypeColor.php old mode 100644 new mode 100755 index 146f183..80c795f --- a/src/Component/ValueObject/TypeColor.php +++ b/src/Component/ValueObject/TypeColor.php @@ -7,8 +7,11 @@ readonly class TypeColor implements ValueObjectInterface { public function __construct( - public string $typeColor, + public ?string $typeColor, ) { + if ($this->typeColor === null) { + return; + } if (!preg_match('/^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/', $this->typeColor)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeColor', $this->typeColor)); } diff --git a/src/Component/ValueObject/TypeConstSymbol.php b/src/Component/ValueObject/TypeConstSymbol.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeConstSymbolNullable.php b/src/Component/ValueObject/TypeConstSymbolNullable.php new file mode 100755 index 0000000..4b6db8b --- /dev/null +++ b/src/Component/ValueObject/TypeConstSymbolNullable.php @@ -0,0 +1,29 @@ +typeConstSymbolNullable === null) { + return; + } + if (!preg_match('/^[0-9]{1,4}$/', $this->typeConstSymbolNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeConstSymbolNullable', $this->typeConstSymbolNullable)); + } + } + + public function equals(self $typeConstSymbolNullable): bool + { + return $typeConstSymbolNullable->typeConstSymbolNullable === $this->typeConstSymbolNullable; + } + + public function __toString(): string + { + return (string) $this->typeConstSymbolNullable; + } +} diff --git a/src/Component/ValueObject/TypeCurrencyCode.php b/src/Component/ValueObject/TypeCurrencyCode.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeCurrencyCodeNullable.php b/src/Component/ValueObject/TypeCurrencyCodeNullable.php new file mode 100755 index 0000000..7cccd63 --- /dev/null +++ b/src/Component/ValueObject/TypeCurrencyCodeNullable.php @@ -0,0 +1,29 @@ +typeCurrencyCodeNullable === null) { + return; + } + if (!preg_match('/^[a-zA-Z]{3}$/', $this->typeCurrencyCodeNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeCurrencyCodeNullable', $this->typeCurrencyCodeNullable)); + } + } + + public function equals(self $typeCurrencyCodeNullable): bool + { + return $typeCurrencyCodeNullable->typeCurrencyCodeNullable === $this->typeCurrencyCodeNullable; + } + + public function __toString(): string + { + return (string) $this->typeCurrencyCodeNullable; + } +} diff --git a/src/Component/ValueObject/TypeCustomerFieldValue.php b/src/Component/ValueObject/TypeCustomerFieldValue.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeDate.php b/src/Component/ValueObject/TypeDate.php old mode 100644 new mode 100755 index 3044d64..a04d31f --- a/src/Component/ValueObject/TypeDate.php +++ b/src/Component/ValueObject/TypeDate.php @@ -7,11 +7,8 @@ readonly class TypeDate implements ValueObjectInterface { public function __construct( - public ?string $typeDate, + public string $typeDate, ) { - if ($this->typeDate === null) { - return; - } if (!preg_match('/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/', $this->typeDate)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeDate', $this->typeDate)); } diff --git a/src/Component/ValueObject/TypeDateNullable.php b/src/Component/ValueObject/TypeDateNullable.php new file mode 100755 index 0000000..ec4cc72 --- /dev/null +++ b/src/Component/ValueObject/TypeDateNullable.php @@ -0,0 +1,29 @@ +typeDateNullable === null) { + return; + } + if (!preg_match('/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/', $this->typeDateNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeDateNullable', $this->typeDateNullable)); + } + } + + public function equals(self $typeDateNullable): bool + { + return $typeDateNullable->typeDateNullable === $this->typeDateNullable; + } + + public function __toString(): string + { + return (string) $this->typeDateNullable; + } +} diff --git a/src/Component/ValueObject/TypeDateTime.php b/src/Component/ValueObject/TypeDateTime.php old mode 100644 new mode 100755 index 53eb29c..39eef7b --- a/src/Component/ValueObject/TypeDateTime.php +++ b/src/Component/ValueObject/TypeDateTime.php @@ -7,11 +7,8 @@ readonly class TypeDateTime implements ValueObjectInterface { public function __construct( - public ?string $typeDateTime, + public string $typeDateTime, ) { - if ($this->typeDateTime === null) { - return; - } if (!preg_match('/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0-5][0-9]:[0-5][0-9]\+[0-9]{4}$/', $this->typeDateTime)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeDateTime', $this->typeDateTime)); } diff --git a/src/Component/ValueObject/TypeDateTimeNullable.php b/src/Component/ValueObject/TypeDateTimeNullable.php new file mode 100755 index 0000000..bb9e531 --- /dev/null +++ b/src/Component/ValueObject/TypeDateTimeNullable.php @@ -0,0 +1,29 @@ +typeDateTimeNullable === null) { + return; + } + if (!preg_match('/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0-5][0-9]:[0-5][0-9]\+[0-9]{4}$/', $this->typeDateTimeNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeDateTimeNullable', $this->typeDateTimeNullable)); + } + } + + public function equals(self $typeDateTimeNullable): bool + { + return $typeDateTimeNullable->typeDateTimeNullable === $this->typeDateTimeNullable; + } + + public function __toString(): string + { + return (string) $this->typeDateTimeNullable; + } +} diff --git a/src/Component/ValueObject/TypeDateTimeRequest.php b/src/Component/ValueObject/TypeDateTimeRequest.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeDimension.php b/src/Component/ValueObject/TypeDimension.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeExchangeRate.php b/src/Component/ValueObject/TypeExchangeRate.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeFilename.php b/src/Component/ValueObject/TypeFilename.php old mode 100644 new mode 100755 index 10c2b9c..5e5aa8a --- a/src/Component/ValueObject/TypeFilename.php +++ b/src/Component/ValueObject/TypeFilename.php @@ -9,7 +9,7 @@ public function __construct( public string $typeFilename, ) { - if (!preg_match('/^[0-9a-zA-Z\-.]+$/', $this->typeFilename)) { + if (!preg_match('/^[0-9a-zA-Z_\-.]+$/', $this->typeFilename)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeFilename', $this->typeFilename)); } if (mb_strlen($this->typeFilename) < '1') { diff --git a/src/Component/ValueObject/TypeFilenameNullable.php b/src/Component/ValueObject/TypeFilenameNullable.php new file mode 100755 index 0000000..a1082fe --- /dev/null +++ b/src/Component/ValueObject/TypeFilenameNullable.php @@ -0,0 +1,35 @@ +typeFilenameNullable === null) { + return; + } + if (!preg_match('/^[0-9a-zA-Z_\-.]+$/', $this->typeFilenameNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeFilenameNullable', $this->typeFilenameNullable)); + } + if (mb_strlen($this->typeFilenameNullable) < '1') { + throw new InvalidArgumentException(sprintf('%s "%s" is too short. %s should be at least %s characters long', 'typeFilenameNullable', $this->typeFilenameNullable, '1', 'typeFilenameNullable')); + } + if (mb_strlen($this->typeFilenameNullable) > '255') { + throw new InvalidArgumentException(sprintf('%s "%s" is too long. %s should be less than %s characters long', 'typeFilenameNullable', $this->typeFilenameNullable, '255', 'typeFilenameNullable')); + } + } + + public function equals(self $typeFilenameNullable): bool + { + return $typeFilenameNullable->typeFilenameNullable === $this->typeFilenameNullable; + } + + public function __toString(): string + { + return (string) $this->typeFilenameNullable; + } +} diff --git a/src/Component/ValueObject/TypeGuid.php b/src/Component/ValueObject/TypeGuid.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeGuidNullable.php b/src/Component/ValueObject/TypeGuidNullable.php new file mode 100755 index 0000000..771c379 --- /dev/null +++ b/src/Component/ValueObject/TypeGuidNullable.php @@ -0,0 +1,32 @@ +typeGuidNullable === null) { + return; + } + if (!preg_match('/^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$/', $this->typeGuidNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeGuidNullable', $this->typeGuidNullable)); + } + if (mb_strlen($this->typeGuidNullable) > '36') { + throw new InvalidArgumentException(sprintf('%s "%s" is too long. %s should be less than %s characters long', 'typeGuidNullable', $this->typeGuidNullable, '36', 'typeGuidNullable')); + } + } + + public function equals(self $typeGuidNullable): bool + { + return $typeGuidNullable->typeGuidNullable === $this->typeGuidNullable; + } + + public function __toString(): string + { + return (string) $this->typeGuidNullable; + } +} diff --git a/src/Component/ValueObject/TypeGuidUnlimited.php b/src/Component/ValueObject/TypeGuidUnlimited.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeNonEmptyString.php b/src/Component/ValueObject/TypeNonEmptyString.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypePositiveAmount.php b/src/Component/ValueObject/TypePositiveAmount.php old mode 100644 new mode 100755 index 5fa3393..f2e68c6 --- a/src/Component/ValueObject/TypePositiveAmount.php +++ b/src/Component/ValueObject/TypePositiveAmount.php @@ -7,11 +7,8 @@ readonly class TypePositiveAmount implements ValueObjectInterface { public function __construct( - public ?string $typePositiveAmount, + public string $typePositiveAmount, ) { - if ($this->typePositiveAmount === null) { - return; - } if (!preg_match('/^[0-9]+\.[0-9]{3}$/', $this->typePositiveAmount)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typePositiveAmount', $this->typePositiveAmount)); } diff --git a/src/Component/ValueObject/TypePositiveAmountNullable.php b/src/Component/ValueObject/TypePositiveAmountNullable.php new file mode 100755 index 0000000..99617a7 --- /dev/null +++ b/src/Component/ValueObject/TypePositiveAmountNullable.php @@ -0,0 +1,29 @@ +typePositiveAmountNullable === null) { + return; + } + if (!preg_match('/^[0-9]+\.[0-9]{3}$/', $this->typePositiveAmountNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typePositiveAmountNullable', $this->typePositiveAmountNullable)); + } + } + + public function equals(self $typePositiveAmountNullable): bool + { + return $typePositiveAmountNullable->typePositiveAmountNullable === $this->typePositiveAmountNullable; + } + + public function __toString(): string + { + return (string) $this->typePositiveAmountNullable; + } +} diff --git a/src/Component/ValueObject/TypePrice.php b/src/Component/ValueObject/TypePrice.php old mode 100644 new mode 100755 index b4e2b48..dc11329 --- a/src/Component/ValueObject/TypePrice.php +++ b/src/Component/ValueObject/TypePrice.php @@ -7,11 +7,8 @@ readonly class TypePrice implements ValueObjectInterface { public function __construct( - public ?string $typePrice, + public string $typePrice, ) { - if ($this->typePrice === null) { - return; - } if (!preg_match('/^(-)?[0-9]+\.[0-9]{2}$/', $this->typePrice)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typePrice', $this->typePrice)); } diff --git a/src/Component/ValueObject/TypePriceNullable.php b/src/Component/ValueObject/TypePriceNullable.php new file mode 100755 index 0000000..1b3950e --- /dev/null +++ b/src/Component/ValueObject/TypePriceNullable.php @@ -0,0 +1,29 @@ +typePriceNullable === null) { + return; + } + if (!preg_match('/^(-)?[0-9]+\.[0-9]{2}$/', $this->typePriceNullable)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typePriceNullable', $this->typePriceNullable)); + } + } + + public function equals(self $typePriceNullable): bool + { + return $typePriceNullable->typePriceNullable === $this->typePriceNullable; + } + + public function __toString(): string + { + return (string) $this->typePriceNullable; + } +} diff --git a/src/Component/ValueObject/TypePriceRatio.php b/src/Component/ValueObject/TypePriceRatio.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeProductPriceRatio.php b/src/Component/ValueObject/TypeProductPriceRatio.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeUnitRatio.php b/src/Component/ValueObject/TypeUnitRatio.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeVariantCodeRequest.php b/src/Component/ValueObject/TypeVariantCodeRequest.php new file mode 100755 index 0000000..9f004c2 --- /dev/null +++ b/src/Component/ValueObject/TypeVariantCodeRequest.php @@ -0,0 +1,32 @@ +typeVariantCodeRequest)) { + throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeVariantCodeRequest', $this->typeVariantCodeRequest)); + } + if (mb_strlen($this->typeVariantCodeRequest) < '1') { + throw new InvalidArgumentException(sprintf('%s "%s" is too short. %s should be at least %s characters long', 'typeVariantCodeRequest', $this->typeVariantCodeRequest, '1', 'typeVariantCodeRequest')); + } + if (mb_strlen($this->typeVariantCodeRequest) > '64') { + throw new InvalidArgumentException(sprintf('%s "%s" is too long. %s should be less than %s characters long', 'typeVariantCodeRequest', $this->typeVariantCodeRequest, '64', 'typeVariantCodeRequest')); + } + } + + public function equals(self $typeVariantCodeRequest): bool + { + return $typeVariantCodeRequest->typeVariantCodeRequest === $this->typeVariantCodeRequest; + } + + public function __toString(): string + { + return (string) $this->typeVariantCodeRequest; + } +} diff --git a/src/Component/ValueObject/TypeVatRate.php b/src/Component/ValueObject/TypeVatRate.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeWeight.php b/src/Component/ValueObject/TypeWeight.php old mode 100644 new mode 100755 diff --git a/src/Component/ValueObject/TypeWeightRequest.php b/src/Component/ValueObject/TypeWeightRequest.php old mode 100644 new mode 100755 index 39d422b..26fd8c1 --- a/src/Component/ValueObject/TypeWeightRequest.php +++ b/src/Component/ValueObject/TypeWeightRequest.php @@ -7,8 +7,11 @@ readonly class TypeWeightRequest implements ValueObjectInterface { public function __construct( - public string $typeWeightRequest, + public ?string $typeWeightRequest, ) { + if ($this->typeWeightRequest === null) { + return; + } if (!preg_match('/^[0-9]{1,5}\.[0-9]{3}$/', $this->typeWeightRequest)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeWeightRequest', $this->typeWeightRequest)); } diff --git a/src/Component/ValueObject/TypeWeightUnlimited.php b/src/Component/ValueObject/TypeWeightUnlimited.php old mode 100644 new mode 100755 index dae9b41..62f1981 --- a/src/Component/ValueObject/TypeWeightUnlimited.php +++ b/src/Component/ValueObject/TypeWeightUnlimited.php @@ -7,8 +7,11 @@ readonly class TypeWeightUnlimited implements ValueObjectInterface { public function __construct( - public string $typeWeightUnlimited, + public ?string $typeWeightUnlimited, ) { + if ($this->typeWeightUnlimited === null) { + return; + } if (!preg_match('/^[0-9]+\.[0-9]{3}$/', $this->typeWeightUnlimited)) { throw new InvalidArgumentException(sprintf('Invalid %s "%s".', 'typeWeightUnlimited', $this->typeWeightUnlimited)); } diff --git a/src/Component/ValueObject/ValueObjectInterface.php b/src/Component/ValueObject/ValueObjectInterface.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/AddAlternativeProduct.php b/src/Endpoint/AlternativeProducts/AddAlternativeProduct.php similarity index 65% rename from src/Endpoint/Products/AddAlternativeProduct.php rename to src/Endpoint/AlternativeProducts/AddAlternativeProduct.php index 00345ad..bb945e6 100644 --- a/src/Endpoint/Products/AddAlternativeProduct.php +++ b/src/Endpoint/AlternativeProducts/AddAlternativeProduct.php @@ -1,13 +1,13 @@ items; + } + + public function setItems(Items $items): static + { + $this->items = $items; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php b/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php old mode 100644 new mode 100755 similarity index 86% rename from src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php rename to src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php index 90668ea..0bdc3b3 --- a/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php +++ b/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data/Items.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class AlternativeProducts extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetAlternativeProductsRequest\SetAlternativeProductsRequest\Data\AlternativeProducts\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\SetAlternativeProductsRequest\SetAlternativeProductsRequest\Data\AlternativeProducts\Item'; } } diff --git a/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php b/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php old mode 100644 new mode 100755 similarity index 73% rename from src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php rename to src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php index ee5bc13..f78791c --- a/src/Endpoint/Products/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php +++ b/src/Endpoint/AlternativeProducts/SetAlternativeProductsRequest/SetAlternativeProductsRequest/Data/AlternativeProducts/Item.php @@ -1,6 +1,6 @@ items; + } + + public function setItems(Items $items): static + { + $this->items = $items; + return $this; + } +} diff --git a/src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse/Data/Items.php b/src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data/Items.php old mode 100644 new mode 100755 similarity index 88% rename from src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse/Data/Items.php rename to src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data/Items.php index 6343021..e14779a --- a/src/Endpoint/Products/SetRelatedProductsResponse/SetRelatedProductsResponse/Data/Items.php +++ b/src/Endpoint/AlternativeProducts/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data/Items.php @@ -1,6 +1,6 @@ sourceImageName; } - public function setSourceImageName(?TypeFilename $sourceImageName): static + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static { $this->sourceImageName = $sourceImageName; return $this; } - public function getSourceOgImageName(): ?TypeFilename + public function getSourceOgImageName(): ?TypeFilenameNullable { return $this->sourceOgImageName; } - public function setSourceOgImageName(?TypeFilename $sourceOgImageName): static + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static { $this->sourceOgImageName = $sourceOgImageName; return $this; diff --git a/src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest/Data/SectionIds.php b/src/Endpoint/Articles/CreateArticleRequest/CreateArticleRequest/Data/SectionIds.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse.php b/src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse/Data.php b/src/Endpoint/Articles/CreateArticleResponse/CreateArticleResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleSection.php b/src/Endpoint/Articles/CreateArticleSection.php index d6b7bf0..7a0f519 100644 --- a/src/Endpoint/Articles/CreateArticleSection.php +++ b/src/Endpoint/Articles/CreateArticleSection.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Articles/createarticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/createarticlesection * * @method CreateArticleSection setBody(null|array|CreateArticleSectionRequest $entity) * @method null|CreateArticleSectionRequest getBody() diff --git a/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest.php b/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest/Data.php b/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest/Data.php old mode 100644 new mode 100755 index 4dd16b8..308ad16 --- a/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest/Data.php +++ b/src/Endpoint/Articles/CreateArticleSectionRequest/CreateArticleSectionRequest/Data.php @@ -3,6 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticleSectionRequest\CreateArticleSectionRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeFilenameNullable; class Data extends Entity { @@ -24,6 +25,8 @@ class Data extends Entity protected ?string $metaDescription; protected ?bool $visible; protected ?string $access; + protected ?TypeFilenameNullable $sourceImageName; + protected ?TypeFilenameNullable $sourceOgImageName; public function getTitle(): string { @@ -222,4 +225,26 @@ public function setAccess(?string $access): static $this->access = $access; return $this; } + + public function getSourceImageName(): ?TypeFilenameNullable + { + return $this->sourceImageName; + } + + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static + { + $this->sourceImageName = $sourceImageName; + return $this; + } + + public function getSourceOgImageName(): ?TypeFilenameNullable + { + return $this->sourceOgImageName; + } + + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static + { + $this->sourceOgImageName = $sourceOgImageName; + return $this; + } } diff --git a/src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse.php b/src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse/Data.php b/src/Endpoint/Articles/CreateArticleSectionResponse/CreateArticleSectionResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/DeleteArticle.php b/src/Endpoint/Articles/DeleteArticle.php index 13eebb6..a01bbd6 100644 --- a/src/Endpoint/Articles/DeleteArticle.php +++ b/src/Endpoint/Articles/DeleteArticle.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Delete; /** - * @see https://api.docs.shoptet.com/openapi/Articles/deletearticle + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/deletearticle * * @method DeleteArticle setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php b/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php old mode 100644 new mode 100755 index 82443cd..81e03f4 --- a/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php +++ b/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Articles\DeleteArticleResponse\DeleteArticleResponse\Data; class DeleteArticleResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse/Data.php b/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse/Data.php new file mode 100755 index 0000000..e8284c7 --- /dev/null +++ b/src/Endpoint/Articles/DeleteArticleResponse/DeleteArticleResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse/Data.php b/src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse/Data.php new file mode 100755 index 0000000..83414c8 --- /dev/null +++ b/src/Endpoint/Articles/DeleteArticleSectionResponse/DeleteArticleSectionResponse/Data.php @@ -0,0 +1,9 @@ +sourceImageName; } - public function setSourceImageName(?TypeFilename $sourceImageName): static + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static { $this->sourceImageName = $sourceImageName; return $this; } - public function getSourceOgImageName(): ?TypeFilename + public function getSourceOgImageName(): ?TypeFilenameNullable { return $this->sourceOgImageName; } - public function setSourceOgImageName(?TypeFilename $sourceOgImageName): static + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static { $this->sourceOgImageName = $sourceOgImageName; return $this; diff --git a/src/Endpoint/Articles/UpdateArticleRequest/UpdateArticleRequest/Data/SectionIds.php b/src/Endpoint/Articles/UpdateArticleRequest/UpdateArticleRequest/Data/SectionIds.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse.php b/src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse/Data.php b/src/Endpoint/Articles/UpdateArticleResponse/UpdateArticleResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleSection.php b/src/Endpoint/Articles/UpdateArticleSection.php index 95ddd81..ddebbb1 100644 --- a/src/Endpoint/Articles/UpdateArticleSection.php +++ b/src/Endpoint/Articles/UpdateArticleSection.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Articles/updatearticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/updatearticlesection * * @method UpdateArticleSection setBody(null|array|UpdateArticleSectionRequest $entity) * @method null|UpdateArticleSectionRequest getBody() diff --git a/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest.php b/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest/Data.php b/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest/Data.php old mode 100644 new mode 100755 index 6eb0555..c0f0330 --- a/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest/Data.php +++ b/src/Endpoint/Articles/UpdateArticleSectionRequest/UpdateArticleSectionRequest/Data.php @@ -3,6 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Articles\UpdateArticleSectionRequest\UpdateArticleSectionRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeFilenameNullable; class Data extends Entity { @@ -23,6 +24,8 @@ class Data extends Entity protected ?string $metaDescription; protected ?bool $visible; protected ?string $access; + protected ?TypeFilenameNullable $sourceImageName; + protected ?TypeFilenameNullable $sourceOgImageName; public function getTitle(): ?string { @@ -210,4 +213,26 @@ public function setAccess(?string $access): static $this->access = $access; return $this; } + + public function getSourceImageName(): ?TypeFilenameNullable + { + return $this->sourceImageName; + } + + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static + { + $this->sourceImageName = $sourceImageName; + return $this; + } + + public function getSourceOgImageName(): ?TypeFilenameNullable + { + return $this->sourceOgImageName; + } + + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static + { + $this->sourceOgImageName = $sourceOgImageName; + return $this; + } } diff --git a/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse.php b/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse/Data.php b/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse/Data.php old mode 100644 new mode 100755 index 72f2221..ad9b0fb --- a/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse/Data.php +++ b/src/Endpoint/Articles/UpdateArticleSectionResponse/UpdateArticleSectionResponse/Data.php @@ -2,21 +2,21 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Articles\UpdateArticleSectionResponse\UpdateArticleSectionResponse; -use Shoptet\Api\Sdk\Php\Component\Entity\Article; +use Shoptet\Api\Sdk\Php\Component\Entity\ArticleSection; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; class Data extends Entity { - protected Article $article; + protected ArticleSection $articleSection; - public function getArticle(): Article + public function getArticleSection(): ArticleSection { - return $this->article; + return $this->articleSection; } - public function setArticle(Article $article): static + public function setArticleSection(ArticleSection $articleSection): static { - $this->article = $article; + $this->articleSection = $articleSection; return $this; } } diff --git a/src/Endpoint/Brands/CreateBrand.php b/src/Endpoint/Brands/CreateBrand.php index abe3cf7..a522009 100644 --- a/src/Endpoint/Brands/CreateBrand.php +++ b/src/Endpoint/Brands/CreateBrand.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Brands/createbrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/createbrand * * @method CreateBrand setBody(null|array|CreateBrandRequest $entity) * @method null|CreateBrandRequest getBody() diff --git a/src/Endpoint/Brands/CreateBrandBatch.php b/src/Endpoint/Brands/CreateBrandBatch.php index 24ae590..9806846 100644 --- a/src/Endpoint/Brands/CreateBrandBatch.php +++ b/src/Endpoint/Brands/CreateBrandBatch.php @@ -8,7 +8,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Brands/createbrandbatch + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/createbrandbatch * * @method CreateBrandBatch setBody(null|array|CreateBrandBatchRequest $entity) * @method null|CreateBrandBatchRequest getBody() diff --git a/src/Endpoint/Brands/CreateBrandBatchRequest/CreateBrandBatchRequest.php b/src/Endpoint/Brands/CreateBrandBatchRequest/CreateBrandBatchRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse.php b/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse/Data.php b/src/Endpoint/Brands/CreateBrandBatchResponse/CreateBrandBatchResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php b/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php old mode 100644 new mode 100755 index 7b69559..4efe613 --- a/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php +++ b/src/Endpoint/Brands/CreateBrandRequest/CreateBrandRequest.php @@ -2,19 +2,19 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Brands\CreateBrandRequest; +use Shoptet\Api\Sdk\Php\Component\Entity\BrandCreate; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Endpoint\Brands\CreateBrandRequest\CreateBrandRequest\Data; class CreateBrandRequest extends Entity { - protected Data $data; + protected BrandCreate $data; - public function getData(): Data + public function getData(): BrandCreate { return $this->data; } - public function setData(Data $data): static + public function setData(BrandCreate $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Brands/CreateBrandResponse/CreateBrandResponse.php b/src/Endpoint/Brands/CreateBrandResponse/CreateBrandResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/DeleteBrand.php b/src/Endpoint/Brands/DeleteBrand.php index 6ab06c6..e2aa05b 100644 --- a/src/Endpoint/Brands/DeleteBrand.php +++ b/src/Endpoint/Brands/DeleteBrand.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Delete; /** - * @see https://api.docs.shoptet.com/openapi/Brands/deletebrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/deletebrand * * @method DeleteBrand setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php b/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php old mode 100644 new mode 100755 index 00a1f01..b37dd7a --- a/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php +++ b/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Brands\DeleteBrandResponse\DeleteBrandResponse\Data; class DeleteBrandResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse/Data.php b/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse/Data.php new file mode 100755 index 0000000..d704878 --- /dev/null +++ b/src/Endpoint/Brands/DeleteBrandResponse/DeleteBrandResponse/Data.php @@ -0,0 +1,9 @@ +parentGuid; } - public function setParentGuid(?TypeGuid $parentGuid): static + public function setParentGuid(?TypeGuidNullable $parentGuid): static { $this->parentGuid = $parentGuid; return $this; @@ -101,12 +102,12 @@ public function setImageName(?string $imageName): static return $this; } - public function getSourceImageName(): ?TypeFilename + public function getSourceImageName(): ?TypeFilenameNullable { return $this->sourceImageName; } - public function setSourceImageName(?TypeFilename $sourceImageName): static + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static { $this->sourceImageName = $sourceImageName; return $this; @@ -211,23 +212,23 @@ public function setProductOrdering(?string $productOrdering): static return $this; } - public function getSimilarProductsCategory(): ?TypeGuid + public function getSimilarProductsCategory(): ?TypeGuidNullable { return $this->similarProductsCategory; } - public function setSimilarProductsCategory(?TypeGuid $similarProductsCategory): static + public function setSimilarProductsCategory(?TypeGuidNullable $similarProductsCategory): static { $this->similarProductsCategory = $similarProductsCategory; return $this; } - public function getRelatedProductsCategory(): ?TypeGuid + public function getRelatedProductsCategory(): ?TypeGuidNullable { return $this->relatedProductsCategory; } - public function setRelatedProductsCategory(?TypeGuid $relatedProductsCategory): static + public function setRelatedProductsCategory(?TypeGuidNullable $relatedProductsCategory): static { $this->relatedProductsCategory = $relatedProductsCategory; return $this; diff --git a/src/Endpoint/Products/CreateProductCategoryResponse/CreateProductCategoryResponse.php b/src/Endpoint/Categories/CreateProductCategoryResponse/CreateProductCategoryResponse.php old mode 100644 new mode 100755 similarity index 89% rename from src/Endpoint/Products/CreateProductCategoryResponse/CreateProductCategoryResponse.php rename to src/Endpoint/Categories/CreateProductCategoryResponse/CreateProductCategoryResponse.php index 2db04c1..cb81917 --- a/src/Endpoint/Products/CreateProductCategoryResponse/CreateProductCategoryResponse.php +++ b/src/Endpoint/Categories/CreateProductCategoryResponse/CreateProductCategoryResponse.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse/Data.php b/src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse/Data.php new file mode 100755 index 0000000..201a2f2 --- /dev/null +++ b/src/Endpoint/Categories/DeleteProductCategoryResponse/DeleteProductCategoryResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class CategoryProducts extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsOrderInCategoryResponse\GetListOfProductsOrderInCategoryResponse\Data\CategoryProducts\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Categories\GetListOfProductsOrderInCategoryResponse\GetListOfProductsOrderInCategoryResponse\Data\CategoryProducts\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php b/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php old mode 100644 new mode 100755 similarity index 81% rename from src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php rename to src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php index 7a963cf..0e42b94 --- a/src/Endpoint/Products/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php +++ b/src/Endpoint/Categories/GetListOfProductsOrderInCategoryResponse/GetListOfProductsOrderInCategoryResponse/Data/CategoryProducts/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(CategoryUpdate $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Products/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php b/src/Endpoint/Categories/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php old mode 100644 new mode 100755 similarity index 89% rename from src/Endpoint/Products/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php rename to src/Endpoint/Categories/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php index d1692f1..6f5a337 --- a/src/Endpoint/Products/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php +++ b/src/Endpoint/Categories/UpdateProductCategoryResponse/UpdateProductCategoryResponse.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class Data extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductOrderInCategoryRequest\UpdateProductOrderInCategoryRequest\Data\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductOrderInCategoryRequest\UpdateProductOrderInCategoryRequest\Data\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php b/src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php old mode 100644 new mode 100755 similarity index 84% rename from src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php rename to src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php index 563833f..87c37e7 --- a/src/Endpoint/Products/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php +++ b/src/Endpoint/Categories/UpdateProductOrderInCategoryRequest/UpdateProductOrderInCategoryRequest/Data/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse/Data.php b/src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse/Data.php new file mode 100755 index 0000000..41c35fc --- /dev/null +++ b/src/Endpoint/Categories/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse/Data.php b/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse/Data.php new file mode 100755 index 0000000..0966855 --- /dev/null +++ b/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse/Data.php @@ -0,0 +1,9 @@ +dueDate; } - public function setDueDate(?TypeDate $dueDate): static + public function setDueDate(?TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; @@ -138,4 +139,15 @@ public function setItems(?Items $items): static $this->items = $items; return $this; } + + public function getReasonRemark(): ?string + { + return $this->reasonRemark; + } + + public function setReasonRemark(?string $reasonRemark): static + { + $this->reasonRemark = $reasonRemark; + return $this; + } } diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items/Item.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items/Item.php old mode 100644 new mode 100755 index 6303858..0ff8531 --- a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items/Item.php +++ b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/Items/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\CreateCreditNoteFromInvoiceRequest\CreateCreditNoteFromInvoiceRequest\Data\Items; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; class Item extends Entity { protected int $invoiceItemId; - protected ?TypePositiveAmount $amount; + protected ?TypePositiveAmountNullable $amount; public function getInvoiceItemId(): int { @@ -21,12 +21,12 @@ public function setInvoiceItemId(int $invoiceItemId): static return $this; } - public function getAmount(): ?TypePositiveAmount + public function getAmount(): ?TypePositiveAmountNullable { return $this->amount; } - public function setAmount(?TypePositiveAmount $amount): static + public function setAmount(?TypePositiveAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/UseItemIds.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceRequest/CreateCreditNoteFromInvoiceRequest/Data/UseItemIds.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse/Data.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoiceResponse/CreateCreditNoteFromInvoiceResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php index 93ef02b..bae6fda 100644 --- a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php +++ b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/createcreditnotefromproofofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/createcreditnotefromproofofpayment * * @method CreateCreditNoteFromProofOfPayment setBody(null|array|CreateCreditNoteFromProofOfPaymentRequest $entity) * @method null|CreateCreditNoteFromProofOfPaymentRequest getBody() diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest/Data.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest/Data.php old mode 100644 new mode 100755 index b911cfb..9f936c1 --- a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest/Data.php +++ b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentRequest/CreateCreditNoteFromProofOfPaymentRequest/Data.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeConstSymbol; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class Data extends Entity { protected ?string $creditNoteCode; protected ?float $varSymbol; - protected ?TypeDate $dueDate; - protected ?TypeDate $taxDate; + protected ?TypeDateNullable $dueDate; + protected ?TypeDateNullable $taxDate; protected ?TypeConstSymbol $constSymbol; protected ?float $specSymbol; protected ?float $billingMethodId; protected ?string $orderCode; + protected ?string $reasonRemark; public function getCreditNoteCode(): ?string { @@ -39,23 +40,23 @@ public function setVarSymbol(?float $varSymbol): static return $this; } - public function getDueDate(): ?TypeDate + public function getDueDate(): ?TypeDateNullable { return $this->dueDate; } - public function setDueDate(?TypeDate $dueDate): static + public function setDueDate(?TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; @@ -104,4 +105,15 @@ public function setOrderCode(?string $orderCode): static $this->orderCode = $orderCode; return $this; } + + public function getReasonRemark(): ?string + { + return $this->reasonRemark; + } + + public function setReasonRemark(?string $reasonRemark): static + { + $this->reasonRemark = $reasonRemark; + return $this; + } } diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse/Data.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPaymentResponse/CreateCreditNoteFromProofOfPaymentResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItem.php b/src/Endpoint/CreditNotes/CreateCreditNoteItem.php index d02ed7e..60549f7 100644 --- a/src/Endpoint/CreditNotes/CreateCreditNoteItem.php +++ b/src/Endpoint/CreditNotes/CreateCreditNoteItem.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/createcreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/createcreditnoteitem * * @method CreateCreditNoteItem setBody(null|array|CreateCreditNoteItemRequest $entity) * @method null|CreateCreditNoteItemRequest getBody() diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest.php b/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest/Data.php b/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest/Data.php old mode 100644 new mode 100755 index 5f2672d..3bcc67a --- a/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest/Data.php +++ b/src/Endpoint/CreditNotes/CreateCreditNoteItemRequest/CreateCreditNoteItemRequest/Data.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\CreateCreditNoteItemRequest\CreateCreditNoteItemRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeVatRate; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeightRequest; @@ -12,7 +12,7 @@ class Data extends Entity { protected string $itemType; protected ?string $code; - protected TypeAmount $amount; + protected TypeAmountNullable $amount; protected ?string $name; protected ?string $variantName; protected ?string $amountUnit; @@ -46,12 +46,12 @@ public function setCode(?string $code): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse.php b/src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse/Data.php b/src/Endpoint/CreditNotes/CreateCreditNoteItemResponse/CreateCreditNoteItemResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/DeleteCreditNote.php b/src/Endpoint/CreditNotes/DeleteCreditNote.php index 280c1cf..3f1f3d2 100644 --- a/src/Endpoint/CreditNotes/DeleteCreditNote.php +++ b/src/Endpoint/CreditNotes/DeleteCreditNote.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Delete; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/deletecreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/deletecreditnote * * @method DeleteCreditNote setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php b/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php index 80cd48d..21a94a6 100644 --- a/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php +++ b/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Delete; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/deletecreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/deletecreditnoteitem * * @method DeleteCreditNoteItem setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php b/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php old mode 100644 new mode 100755 index 96d2b45..cf97f6c --- a/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php +++ b/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\DeleteCreditNoteItemResponse\DeleteCreditNoteItemResponse\Data; class DeleteCreditNoteItemResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse/Data.php b/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse/Data.php new file mode 100755 index 0000000..89da7ca --- /dev/null +++ b/src/Endpoint/CreditNotes/DeleteCreditNoteItemResponse/DeleteCreditNoteItemResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse/Data.php b/src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse/Data.php new file mode 100755 index 0000000..507be99 --- /dev/null +++ b/src/Endpoint/CreditNotes/DeleteCreditNoteResponse/DeleteCreditNoteResponse/Data.php @@ -0,0 +1,9 @@ +changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php b/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php index 3b7f621..938d7c0 100644 --- a/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php +++ b/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\CreditNotes; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\CreditNote; +use Shoptet\Api\Sdk\Php\Component\Entity\CreditNoteSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\GetListOfAllCreditNotesResponse\GetListOfAllCreditNotesResponse; use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getlistofallcreditnotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getlistofallcreditnotes * * @method GetListOfAllCreditNotes setBody(null $entity) * @method null getBody() @@ -58,6 +58,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return CreditNote::class; + return CreditNoteSnapshot::class; } } diff --git a/src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse.php b/src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse/Data.php b/src/Endpoint/CreditNotes/GetListOfAllCreditNotesResponse/GetListOfAllCreditNotesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotes.php b/src/Endpoint/CreditNotes/GetListOfCreditNotes.php index b41ef74..b192f0e 100644 --- a/src/Endpoint/CreditNotes/GetListOfCreditNotes.php +++ b/src/Endpoint/CreditNotes/GetListOfCreditNotes.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getlistofcreditnotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getlistofcreditnotes * * @method GetListOfCreditNotes setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse.php b/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data.php b/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes.php b/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes/Item.php b/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes/Item.php old mode 100644 new mode 100755 index 0e9ee8d..15a4d32 --- a/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes/Item.php +++ b/src/Endpoint/CreditNotes/GetListOfCreditNotesResponse/GetListOfCreditNotesResponse/Data/CreditNotes/Item.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Price; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { @@ -14,11 +14,12 @@ class Item extends Entity protected ?string $invoiceCode; protected ?string $proofPaymentCode; protected ?string $orderCode; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected ?string $billCompany; protected ?string $billFullName; protected Price $price; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; + protected ?string $reasonRemark; public function getCode(): string { @@ -86,12 +87,12 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -130,14 +131,25 @@ public function setPrice(Price $price): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; } + + public function getReasonRemark(): ?string + { + return $this->reasonRemark; + } + + public function setReasonRemark(?string $reasonRemark): static + { + $this->reasonRemark = $reasonRemark; + return $this; + } } diff --git a/src/Endpoint/CreditNotes/RestockCreditNote.php b/src/Endpoint/CreditNotes/RestockCreditNote.php index 340b43d..01c2832 100644 --- a/src/Endpoint/CreditNotes/RestockCreditNote.php +++ b/src/Endpoint/CreditNotes/RestockCreditNote.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/restockcreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/restockcreditnote * * @method RestockCreditNote setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse.php b/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data.php b/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data/Notes.php b/src/Endpoint/CreditNotes/RestockCreditNoteResponse/RestockCreditNoteResponse/Data/Notes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNote.php b/src/Endpoint/CreditNotes/UpdateCreditNote.php index ad893ee..7f12a13 100644 --- a/src/Endpoint/CreditNotes/UpdateCreditNote.php +++ b/src/Endpoint/CreditNotes/UpdateCreditNote.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/updatecreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/updatecreditnote * * @method UpdateCreditNote setBody(null|array|UpdateCreditNoteRequest $entity) * @method null|UpdateCreditNoteRequest getBody() diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php index 0326b64..40f7ec1 100644 --- a/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php +++ b/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Credit-notes/updatecreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/updatecreditnoteitem * * @method UpdateCreditNoteItem setBody(null|array|UpdateCreditNoteItemRequest $entity) * @method null|UpdateCreditNoteItemRequest getBody() diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest/Data.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest/Data.php old mode 100644 new mode 100755 index 57f5225..14c9060 --- a/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest/Data.php +++ b/src/Endpoint/CreditNotes/UpdateCreditNoteItemRequest/UpdateCreditNoteItemRequest/Data.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNoteItemRequest\UpdateCreditNoteItemRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeVatRate; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeightRequest; @@ -11,7 +11,7 @@ class Data extends Entity { protected ?string $code; - protected ?TypeAmount $amount; + protected ?TypeAmountNullable $amount; protected ?string $name; protected ?string $variantName; protected ?string $amountUnit; @@ -34,12 +34,12 @@ public function setCode(?string $code): static return $this; } - public function getAmount(): ?TypeAmount + public function getAmount(): ?TypeAmountNullable { return $this->amount; } - public function setAmount(?TypeAmount $amount): static + public function setAmount(?TypeAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse/Data.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItemResponse/UpdateCreditNoteItemResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest.php b/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php b/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php old mode 100644 new mode 100755 index ee168c1..9129428 --- a/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php +++ b/src/Endpoint/CreditNotes/UpdateCreditNoteRequest/UpdateCreditNoteRequest/Data.php @@ -3,18 +3,19 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNoteRequest\UpdateCreditNoteRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeConstSymbol; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeConstSymbolNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class Data extends Entity { protected ?float $varSymbol; - protected ?TypeDate $dueDate; - protected ?TypeDate $taxDate; - protected ?TypeConstSymbol $constSymbol; + protected ?TypeDateNullable $dueDate; + protected ?TypeDateNullable $taxDate; + protected ?TypeConstSymbolNullable $constSymbol; protected ?float $specSymbol; protected ?float $billingMethodId; protected ?string $orderCode; + protected ?string $reasonRemark; public function getVarSymbol(): ?float { @@ -27,34 +28,34 @@ public function setVarSymbol(?float $varSymbol): static return $this; } - public function getDueDate(): ?TypeDate + public function getDueDate(): ?TypeDateNullable { return $this->dueDate; } - public function setDueDate(?TypeDate $dueDate): static + public function setDueDate(?TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; } - public function getConstSymbol(): ?TypeConstSymbol + public function getConstSymbol(): ?TypeConstSymbolNullable { return $this->constSymbol; } - public function setConstSymbol(?TypeConstSymbol $constSymbol): static + public function setConstSymbol(?TypeConstSymbolNullable $constSymbol): static { $this->constSymbol = $constSymbol; return $this; @@ -92,4 +93,15 @@ public function setOrderCode(?string $orderCode): static $this->orderCode = $orderCode; return $this; } + + public function getReasonRemark(): ?string + { + return $this->reasonRemark; + } + + public function setReasonRemark(?string $reasonRemark): static + { + $this->reasonRemark = $reasonRemark; + return $this; + } } diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse.php b/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse/Data.php b/src/Endpoint/CreditNotes/UpdateCreditNoteResponse/UpdateCreditNoteResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomerAccount.php b/src/Endpoint/CustomerAccounts/CreateCustomerAccount.php similarity index 65% rename from src/Endpoint/Customers/CreateCustomerAccount.php rename to src/Endpoint/CustomerAccounts/CreateCustomerAccount.php index 6558b40..4b146ed 100644 --- a/src/Endpoint/Customers/CreateCustomerAccount.php +++ b/src/Endpoint/CustomerAccounts/CreateCustomerAccount.php @@ -1,13 +1,13 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse/Data.php b/src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse/Data.php new file mode 100755 index 0000000..2897886 --- /dev/null +++ b/src/Endpoint/CustomerAccounts/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class Accounts extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerAccountsResponse\GetListOfCustomerAccountsResponse\Data\Accounts\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\GetListOfCustomerAccountsResponse\GetListOfCustomerAccountsResponse\Data\Accounts\Item'; } } diff --git a/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php b/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php old mode 100644 new mode 100755 similarity index 93% rename from src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php rename to src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php index 599823a..8107171 --- a/src/Endpoint/Customers/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php +++ b/src/Endpoint/CustomerAccounts/GetListOfCustomerAccountsResponse/GetListOfCustomerAccountsResponse/Data/Accounts/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse/Data.php b/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse/Data.php new file mode 100755 index 0000000..4acc3fd --- /dev/null +++ b/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse/Data.php b/src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse/Data.php new file mode 100755 index 0000000..e359d6d --- /dev/null +++ b/src/Endpoint/CustomerRemarks/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class Remarks extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerRemarksResponse\GetListOfCustomerRemarksResponse\Data\Remarks\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\GetListOfCustomerRemarksResponse\GetListOfCustomerRemarksResponse\Data\Remarks\Item'; } } diff --git a/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php b/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php old mode 100644 new mode 100755 similarity index 84% rename from src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php rename to src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php index 9d05270..5c71cf7 --- a/src/Endpoint/Customers/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php +++ b/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarksResponse/GetListOfCustomerRemarksResponse/Data/Remarks/Item.php @@ -1,6 +1,6 @@ false, 'suppressMandatoryFieldsCheck' => false]; + + protected array $supportedQueryParams = [ + 'language' => false, + 'suppressMandatoryFieldsCheck' => false, + 'sendRegistrationEmail' => false, + ]; public function getRequestEntityClass(): string { diff --git a/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest.php b/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data.php b/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data/Account.php b/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data/Account.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse.php b/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse/Data.php b/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/DeleteCustomer.php b/src/Endpoint/Customers/DeleteCustomer.php index 40db7c4..47e16d8 100644 --- a/src/Endpoint/Customers/DeleteCustomer.php +++ b/src/Endpoint/Customers/DeleteCustomer.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Delete; /** - * @see https://api.docs.shoptet.com/openapi/Customers/deletecustomer + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/deletecustomer * * @method DeleteCustomer setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Customers/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php b/src/Endpoint/Customers/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php deleted file mode 100644 index 981e89d..0000000 --- a/src/Endpoint/Customers/DeleteCustomerAccountResponse/DeleteCustomerAccountResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Customers/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php b/src/Endpoint/Customers/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php deleted file mode 100644 index 10ce6be..0000000 --- a/src/Endpoint/Customers/DeleteCustomerDeliveryAddressResponse/DeleteCustomerDeliveryAddressResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Customers/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php b/src/Endpoint/Customers/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php deleted file mode 100644 index 4e2e598..0000000 --- a/src/Endpoint/Customers/DeleteCustomerRemarkResponse/DeleteCustomerRemarkResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php b/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php old mode 100644 new mode 100755 index a62cd04..ca86f82 --- a/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php +++ b/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerResponse\DeleteCustomerResponse\Data; class DeleteCustomerResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php b/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php new file mode 100755 index 0000000..a8fb106 --- /dev/null +++ b/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php @@ -0,0 +1,9 @@ +changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Customers/GetListOfAllCustomers.php b/src/Endpoint/Customers/GetListOfAllCustomers.php index ac81ea5..1c1aa09 100644 --- a/src/Endpoint/Customers/GetListOfAllCustomers.php +++ b/src/Endpoint/Customers/GetListOfAllCustomers.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Customers; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\Customer; +use Shoptet\Api\Sdk\Php\Component\Entity\CustomerSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfAllCustomersResponse\GetListOfAllCustomersResponse; use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofallcustomers + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofallcustomers * * @method GetListOfAllCustomers setBody(null $entity) * @method null getBody() @@ -42,6 +42,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return Customer::class; + return CustomerSnapshot::class; } } diff --git a/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse.php b/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse/Data.php b/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerGroups.php b/src/Endpoint/Customers/GetListOfCustomerGroups.php index 710e1b7..417a106 100644 --- a/src/Endpoint/Customers/GetListOfCustomerGroups.php +++ b/src/Endpoint/Customers/GetListOfCustomerGroups.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomergroups + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomergroups * * @method GetListOfCustomerGroups setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php b/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php b/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups.php b/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php b/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php old mode 100644 new mode 100755 index c13afaa..0b35f98 --- a/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php +++ b/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php @@ -20,6 +20,7 @@ class Item extends Entity protected bool $wholesale; protected bool $tableLayout; protected bool $fullProfileRequired; + protected ?int $defaultDueDays; public function getId(): int { @@ -163,4 +164,15 @@ public function setFullProfileRequired(bool $fullProfileRequired): static $this->fullProfileRequired = $fullProfileRequired; return $this; } + + public function getDefaultDueDays(): ?int + { + return $this->defaultDueDays; + } + + public function setDefaultDueDays(?int $defaultDueDays): static + { + $this->defaultDueDays = $defaultDueDays; + return $this; + } } diff --git a/src/Endpoint/Customers/GetListOfCustomerRegions.php b/src/Endpoint/Customers/GetListOfCustomerRegions.php index a7e8f89..a9d2f25 100644 --- a/src/Endpoint/Customers/GetListOfCustomerRegions.php +++ b/src/Endpoint/Customers/GetListOfCustomerRegions.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomerregions + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomerregions * * @method GetListOfCustomerRegions setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse.php b/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data.php b/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions.php b/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions/Item.php b/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data/Regions/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomers.php b/src/Endpoint/Customers/GetListOfCustomers.php index f564421..fdd88f6 100644 --- a/src/Endpoint/Customers/GetListOfCustomers.php +++ b/src/Endpoint/Customers/GetListOfCustomers.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomers + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomers * * @method GetListOfCustomers setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse.php b/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data.php b/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers.php b/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php b/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php old mode 100644 new mode 100755 index cdc66c9..3cce60a --- a/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php +++ b/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php @@ -3,14 +3,14 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomersResponse\GetListOfCustomersResponse\Data\Customers; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; class Item extends Entity { protected TypeGuidUnlimited $guid; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; protected ?string $billCompany; protected ?string $billFullName; protected string $adminUrl; @@ -26,23 +26,23 @@ public function setGuid(TypeGuidUnlimited $guid): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Customers/UpdateCustomer.php b/src/Endpoint/Customers/UpdateCustomer.php index f017f37..b988d81 100644 --- a/src/Endpoint/Customers/UpdateCustomer.php +++ b/src/Endpoint/Customers/UpdateCustomer.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Customers/updatecustomer + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/updatecustomer * * @method UpdateCustomer setBody(null|array|UpdateCustomerRequest $entity) * @method null|UpdateCustomerRequest getBody() diff --git a/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest.php b/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest/Data.php b/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse.php b/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse/Data.php b/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Delete.php b/src/Endpoint/Delete.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php b/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php index 5db423d..f6ed5a6 100644 --- a/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php +++ b/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/downloaddeliverynoteaspdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/downloaddeliverynoteaspdf * * @method DownloadDeliveryNoteAsPdf setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php b/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php index c085866..55027a0 100644 --- a/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php +++ b/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getdetailofdeliverynote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getdetailofdeliverynote * * @method GetDetailOfDeliveryNote setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse.php b/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse/Data.php b/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNoteResponse/GetDetailOfDeliveryNoteResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php b/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php index 01e6f40..27aa0bb 100644 --- a/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php +++ b/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\CreditNote; +use Shoptet\Api\Sdk\Php\Component\Entity\DeliveryNoteSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\GetListOfAllDeliveryNotesResponse\GetListOfAllDeliveryNotesResponse; use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getlistofalldeliverynotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getlistofalldeliverynotes * * @method GetListOfAllDeliveryNotes setBody(null $entity) * @method null getBody() @@ -48,6 +48,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return CreditNote::class; + return DeliveryNoteSnapshot::class; } } diff --git a/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse.php b/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse/Data.php b/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotesResponse/GetListOfAllDeliveryNotesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php index aea0dac..c804f33 100644 --- a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php +++ b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getlistofdeliverynotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getlistofdeliverynotes * * @method GetListOfDeliveryNotes setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes/Item.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes/Item.php old mode 100644 new mode 100755 index f1652f2..f3bc95b --- a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes/Item.php +++ b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotesResponse/GetListOfDeliveryNotesResponse/Data/DeliveryNotes/Item.php @@ -3,14 +3,14 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\GetListOfDeliveryNotesResponse\GetListOfDeliveryNotesResponse\Data\DeliveryNotes; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $code; protected bool $isValid; protected ?string $orderCode; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected ?string $billCompany; protected ?string $billFullName; @@ -47,12 +47,12 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php index f6c98fa..10dc357 100644 --- a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php +++ b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\BulkDeleteDiscountCouponsResponse\BulkDeleteDiscountCouponsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/bulkdeletediscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/bulkdeletediscountcoupons * * @method BulkDeleteDiscountCoupons setBody(null|array|BulkDeleteDiscountCouponsRequest $entity) * @method null|BulkDeleteDiscountCouponsRequest getBody() diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data/CouponCodes.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsRequest/BulkDeleteDiscountCouponsRequest/Data/CouponCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php old mode 100644 new mode 100755 index c9bf029..6c5b6f2 --- a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php +++ b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\BulkDeleteDiscountCouponsResponse\BulkDeleteDiscountCouponsResponse\Data; class BulkDeleteDiscountCouponsResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse/Data.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse/Data.php new file mode 100755 index 0000000..2a81758 --- /dev/null +++ b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCouponsResponse/BulkDeleteDiscountCouponsResponse/Data.php @@ -0,0 +1,9 @@ +amount; } - public function setAmount(?TypePrice $amount): static + public function setAmount(?TypePriceNullable $amount): static { $this->amount = $amount; return $this; } - public function getRatio(): ?TypePriceRatio + public function getRatio(): ?string { return $this->ratio; } - public function setRatio(?TypePriceRatio $ratio): static + public function setRatio(?string $ratio): static { $this->ratio = $ratio; return $this; } - public function getMinPrice(): ?TypePrice + public function getMinPrice(): ?TypePriceNullable { return $this->minPrice; } - public function setMinPrice(?TypePrice $minPrice): static + public function setMinPrice(?TypePriceNullable $minPrice): static { $this->minPrice = $minPrice; return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): ?TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(?TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; @@ -112,23 +111,23 @@ public function setShippingPrice(string $shippingPrice): static return $this; } - public function getValidFrom(): ?TypeDate + public function getValidFrom(): ?TypeDateNullable { return $this->validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons/Item.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons/Item.php old mode 100644 new mode 100755 index 4c3f01f..b81de34 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons/Item.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsResponse/CreateDiscountCouponsResponse/Data/Coupons/Item.php @@ -3,26 +3,26 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsResponse\CreateDiscountCouponsResponse\Data\Coupons; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCodeNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; class Item extends Entity { protected string $code; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected string $discountType; - protected TypePrice $amount; + protected TypePriceNullable $amount; protected ?TypePriceRatio $ratio; - protected TypePrice $minPrice; - protected ?TypeCurrencyCode $currency; + protected TypePriceNullable $minPrice; + protected TypeCurrencyCodeNullable $currency; protected TypeGuid $template; protected ?string $shippingPrice; - protected TypeDate $validFrom; - protected TypeDate $validTo; + protected TypeDateNullable $validFrom; + protected TypeDateNullable $validTo; protected bool $reusable; protected int $usedCount; protected ?string $remark; @@ -38,12 +38,12 @@ public function setCode(string $code): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -60,12 +60,12 @@ public function setDiscountType(string $discountType): static return $this; } - public function getAmount(): TypePrice + public function getAmount(): TypePriceNullable { return $this->amount; } - public function setAmount(TypePrice $amount): static + public function setAmount(TypePriceNullable $amount): static { $this->amount = $amount; return $this; @@ -82,23 +82,23 @@ public function setRatio(?TypePriceRatio $ratio): static return $this; } - public function getMinPrice(): TypePrice + public function getMinPrice(): TypePriceNullable { return $this->minPrice; } - public function setMinPrice(TypePrice $minPrice): static + public function setMinPrice(TypePriceNullable $minPrice): static { $this->minPrice = $minPrice; return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; @@ -126,23 +126,23 @@ public function setShippingPrice(?string $shippingPrice): static return $this; } - public function getValidFrom(): TypeDate + public function getValidFrom(): TypeDateNullable { return $this->validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php index 91ac9a2..b12d2be 100644 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/creatediscountcouponsset + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/creatediscountcouponsset * * @method CreateDiscountCouponsSet setBody(null|array|CreateDiscountCouponsSetRequest $entity) * @method null|CreateDiscountCouponsSetRequest getBody() diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest/Data.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest/Data.php old mode 100644 new mode 100755 index 2c407b7..9583717 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest/Data.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetRequest/CreateDiscountCouponsSetRequest/Data.php @@ -3,24 +3,23 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsSetRequest\CreateDiscountCouponsSetRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCodeNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class Data extends Entity { protected float $count; protected string $discountType; - protected ?TypePrice $amount; - protected ?TypePriceRatio $ratio; - protected ?TypePrice $minPrice; - protected ?TypeCurrencyCode $currency; + protected ?TypePriceNullable $amount; + protected ?string $ratio; + protected ?TypePriceNullable $minPrice; + protected ?TypeCurrencyCodeNullable $currency; protected TypeGuid $template; protected string $shippingPrice; - protected ?TypeDate $validFrom; - protected ?TypeDate $validTo; + protected ?TypeDateNullable $validFrom; + protected ?TypeDateNullable $validTo; protected bool $reusable; protected ?string $remark; @@ -46,45 +45,45 @@ public function setDiscountType(string $discountType): static return $this; } - public function getAmount(): ?TypePrice + public function getAmount(): ?TypePriceNullable { return $this->amount; } - public function setAmount(?TypePrice $amount): static + public function setAmount(?TypePriceNullable $amount): static { $this->amount = $amount; return $this; } - public function getRatio(): ?TypePriceRatio + public function getRatio(): ?string { return $this->ratio; } - public function setRatio(?TypePriceRatio $ratio): static + public function setRatio(?string $ratio): static { $this->ratio = $ratio; return $this; } - public function getMinPrice(): ?TypePrice + public function getMinPrice(): ?TypePriceNullable { return $this->minPrice; } - public function setMinPrice(?TypePrice $minPrice): static + public function setMinPrice(?TypePriceNullable $minPrice): static { $this->minPrice = $minPrice; return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): ?TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(?TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; @@ -112,23 +111,23 @@ public function setShippingPrice(string $shippingPrice): static return $this; } - public function getValidFrom(): ?TypeDate + public function getValidFrom(): ?TypeDateNullable { return $this->validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons/Item.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons/Item.php old mode 100644 new mode 100755 index 7680c29..faccd93 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons/Item.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSetResponse/CreateDiscountCouponsSetResponse/Data/Coupons/Item.php @@ -3,26 +3,26 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsSetResponse\CreateDiscountCouponsSetResponse\Data\Coupons; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCodeNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; class Item extends Entity { protected string $code; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected string $discountType; - protected TypePrice $amount; + protected TypePriceNullable $amount; protected ?TypePriceRatio $ratio; - protected TypePrice $minPrice; - protected ?TypeCurrencyCode $currency; + protected TypePriceNullable $minPrice; + protected TypeCurrencyCodeNullable $currency; protected TypeGuid $template; protected ?string $shippingPrice; - protected TypeDate $validFrom; - protected TypeDate $validTo; + protected TypeDateNullable $validFrom; + protected TypeDateNullable $validTo; protected bool $reusable; protected int $usedCount; protected ?string $remark; @@ -38,12 +38,12 @@ public function setCode(string $code): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -60,12 +60,12 @@ public function setDiscountType(string $discountType): static return $this; } - public function getAmount(): TypePrice + public function getAmount(): TypePriceNullable { return $this->amount; } - public function setAmount(TypePrice $amount): static + public function setAmount(TypePriceNullable $amount): static { $this->amount = $amount; return $this; @@ -82,23 +82,23 @@ public function setRatio(?TypePriceRatio $ratio): static return $this; } - public function getMinPrice(): TypePrice + public function getMinPrice(): TypePriceNullable { return $this->minPrice; } - public function setMinPrice(TypePrice $minPrice): static + public function setMinPrice(TypePriceNullable $minPrice): static { $this->minPrice = $minPrice; return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; @@ -126,23 +126,23 @@ public function setShippingPrice(?string $shippingPrice): static return $this; } - public function getValidFrom(): TypeDate + public function getValidFrom(): TypeDateNullable { return $this->validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php index e568fab..aca171a 100644 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/creatediscountcouponstemplate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/creatediscountcouponstemplate * * @method CreateDiscountCouponsTemplate setBody(null|array|CreateDiscountCouponsTemplateRequest $entity) * @method null|CreateDiscountCouponsTemplateRequest getBody() diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data.php old mode 100644 new mode 100755 index 3ec0959..d0ad9f5 --- a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data.php +++ b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data.php @@ -3,26 +3,26 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsTemplateRequest\CreateDiscountCouponsTemplateRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsTemplateRequest\CreateDiscountCouponsTemplateRequest\Data\Brands; use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsTemplateRequest\CreateDiscountCouponsTemplateRequest\Data\CategoryGuids; use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\CreateDiscountCouponsTemplateRequest\CreateDiscountCouponsTemplateRequest\Data\ProductFlags; class Data extends Entity { - protected ?TypeGuid $guid; + protected ?TypeGuidNullable $guid; protected string $title; protected ?int $customerGroupId; protected ?CategoryGuids $categoryGuids; protected ?Brands $brands; protected ?ProductFlags $productFlags; - public function getGuid(): ?TypeGuid + public function getGuid(): ?TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(?TypeGuidNullable $guid): static { $this->guid = $guid; return $this; diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/Brands.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/Brands.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/CategoryGuids.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags/Item.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateRequest/CreateDiscountCouponsTemplateRequest/Data/ProductFlags/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Brands.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Brands.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories/Item.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/Categories/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/CustomerGroup.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/CustomerGroup.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags/Item.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplateResponse/CreateDiscountCouponsTemplateResponse/Data/ProductFlags/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php index 4076cd0..40ccff4 100644 --- a/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php +++ b/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\DeleteDiscountCouponResponse\DeleteDiscountCouponResponse; /** - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/deletediscountcoupon + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/deletediscountcoupon * * @method DeleteDiscountCoupon setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php old mode 100644 new mode 100755 index 5a08167..1484de1 --- a/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php +++ b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\DeleteDiscountCouponResponse\DeleteDiscountCouponResponse\Data; class DeleteDiscountCouponResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse/Data.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse/Data.php new file mode 100755 index 0000000..9b80458 --- /dev/null +++ b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponResponse/DeleteDiscountCouponResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse/Data.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse/Data.php new file mode 100755 index 0000000..36dbba6 --- /dev/null +++ b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplateResponse/DeleteDiscountCouponsTemplateResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse/Data.php b/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse/Data.php new file mode 100755 index 0000000..a6b6313 --- /dev/null +++ b/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsageResponse/UpdateDiscountCouponsUsageResponse/Data.php @@ -0,0 +1,9 @@ +added; } - public function setAdded(TypeDateTime $added): static + public function setAdded(TypeDateTimeNullable $added): static { $this->added = $added; return $this; diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php index 28cb4f5..aa27948 100644 --- a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php +++ b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/getlastchangesindistributionlist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/getlastchangesindistributionlist * * @method GetLastChangesInDistributionList setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes/Item.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes/Item.php old mode 100644 new mode 100755 index 84fbc1b..2a732a3 --- a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes/Item.php +++ b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionListResponse/GetLastChangesInDistributionListResponse/Data/Changes/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\GetLastChangesInDistributionListResponse\GetLastChangesInDistributionListResponse\Data\Changes; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $changeType; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected string $email; public function getChangeType(): string @@ -22,12 +22,12 @@ public function setChangeType(string $changeType): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php index 9fc974f..0193d6c 100644 --- a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php +++ b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/getlistingofemaildistributionlists + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/getlistingofemaildistributionlists * * @method GetListingOfEmailDistributionLists setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists/Item.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionListsResponse/GetListingOfEmailDistributionListsResponse/Data/MailingLists/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Endpoint.php b/src/Endpoint/Endpoint.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EndpointMap.php b/src/Endpoint/EndpointMap.php old mode 100644 new mode 100755 index 718e28e..66a9243 --- a/src/Endpoint/EndpointMap.php +++ b/src/Endpoint/EndpointMap.php @@ -8,31 +8,35 @@ class EndpointMap 'delete' => [ '/api/products/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProduct', '/api/products/code/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductVariant', - '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteAllProductImagesInGallery', - '/api/products/{guid}/images/{gallery}/{imageName}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteOneProductImage', - '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductCategory', - '/api/products/flags/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductFlag', - '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteSurchargeParameterByIndex', - '/api/products/surcharge-parameters/{paramIndex}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteSurchargeParameterValue', - '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteFilteringParameter', - '/api/products/filtering-parameters/{code}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteFilteringParameterValue', - '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteVariantParameter', - '/api/products/variant-parameters/{paramIndex}/{rawValue}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteVariantParameterValue', - '/api/products/consumption-taxes/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteConsumptionTax', + '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\DeleteAllProductImagesInGallery', + '/api/products/{guid}/images/{gallery}/{imageName}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\DeleteOneProductImage', + '/api/products/{guid}/related-files' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UnlinkAllProductRelatedFiles', + '/api/products/{guid}/related-files/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\DeleteOneProductRelatedFile', + '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\DeleteProductCategory', + '/api/parametric-categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\DeleteParametricCategory', + '/api/products/flags/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Flags\DeleteProductFlag', + '/api/products/availabilities/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\DeleteProductAvailability', + '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\DeleteSurchargeParameterByIndex', + '/api/products/surcharge-parameters/{paramIndex}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\DeleteSurchargeParameterValue', + '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\DeleteFilteringParameter', + '/api/products/filtering-parameters/{code}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\DeleteFilteringParameterValue', + '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\DeleteVariantParameter', + '/api/products/variant-parameters/{paramIndex}/{rawValue}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\DeleteVariantParameterValue', + '/api/products/consumption-taxes/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\DeleteConsumptionTax', '/api/pricelists/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\DeletePricelist', '/api/orders/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrder', - '/api/orders/{code}/item/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderItem', - '/api/orders/{code}/item/{id}/surcharge-parameters/{relationId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderItemSurchargeParameters', - '/api/orders/{code}/history/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderHistoryItem', - '/api/orders/gifts/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderGift', + '/api/orders/{code}/item/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\DeleteOrderItem', + '/api/orders/{code}/item/{id}/surcharge-parameters/{relationId}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\DeleteOrderItemSurchargeParameters', + '/api/orders/{code}/history/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\DeleteOrderHistoryItem', + '/api/orders/gifts/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\DeleteOrderGift', '/api/proof-payments/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DeleteProofPayment', '/api/credit-notes/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\DeleteCreditNote', '/api/credit-notes/{code}/item/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\DeleteCreditNoteItem', '/api/brands/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Brands\DeleteBrand', '/api/customers/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomer', - '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerAccount', - '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerDeliveryAddress', - '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerRemark', + '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\DeleteCustomerAccount', + '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\DeleteCustomerDeliveryAddress', + '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\DeleteCustomerRemark', '/api/template-include/{location}' => 'Shoptet\Api\Sdk\Php\Endpoint\Templates\DeleteHtmlCode', '/api/webhooks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Webhooks\DeleteRegisteredWebhook', '/api/payment-methods/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\PaymentMethods\DeletePaymentMethod', @@ -43,52 +47,60 @@ class EndpointMap '/api/quantity-discounts/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\DeleteQuantityDiscount', '/api/articles/{articleId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\DeleteArticle', '/api/articles/sections/{articleSectionId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\DeleteArticleSection', + '/api/pages/{pageId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Pages\DeletePage', ], 'get' => [ '/api/eshop' => 'Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopInfo', '/api/eshop/design' => 'Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopDesign', + '/api/eshop/document-settings' => 'Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopDocumentSettings', '/api/eshop/customer-fields' => 'Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopMandatoryFields', + '/api/eshop/reviews' => 'Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfEshopReviews', '/api/products' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProducts', '/api/products/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfAllProducts', + '/api/products/snapshot/pricelists' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfAllProductsAndPricelistPrices', '/api/products/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetail', '/api/products/code/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetailByCode', - '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductImages', + '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImages', '/api/products/changes' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetLastProductChanges', - '/api/categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductCategories', - '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductCategoryDetail', - '/api/categories/{categoryGuid}/productsPriority' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsOrderInCategory', - '/api/parametric-categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfParametricCategories', - '/api/parametric-categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetParametricCategoryDetail', - '/api/products/flags' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsFlags', - '/api/products/measure-units' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsMeasureUnits', - '/api/products/availabilities' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsAvailabilities', - '/api/products/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfSurchargeParameters', - '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfSurchargeParameter', - '/api/products/filtering-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfFilteringParameters', - '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfFilteringParameter', - '/api/products/variant-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfVariantParameters', - '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfVariantParameter', - '/api/products/consumption-taxes' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfConsumptionTaxes', - '/api/products/recycling-fee-categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfRecyclingFeeCategories', - '/api/products/warranties' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductWarranties', - '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductAlternativeProducts', - '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductRelatedProducts', - '/api/products/units' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductUnits', - '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductGifts', - '/api/products/reviews' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsReviews', + '/api/categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\GetListOfProductCategories', + '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\GetProductCategoryDetail', + '/api/categories/{categoryGuid}/productsPriority' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\GetListOfProductsOrderInCategory', + '/api/parametric-categories' => 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\GetListOfParametricCategories', + '/api/parametric-categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\GetParametricCategoryDetail', + '/api/products/flags' => 'Shoptet\Api\Sdk\Php\Endpoint\Flags\GetListOfProductsFlags', + '/api/products/measure-units' => 'Shoptet\Api\Sdk\Php\Endpoint\MeasureUnits\GetListOfProductsMeasureUnits', + '/api/products/availabilities' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\GetListOfProductsAvailabilities', + '/api/products/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\GetListOfSurchargeParameters', + '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\GetDetailOfSurchargeParameter', + '/api/products/filtering-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\GetListOfFilteringParameters', + '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\GetDetailOfFilteringParameter', + '/api/products/variant-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\GetListOfVariantParameters', + '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\GetDetailOfVariantParameter', + '/api/products/consumption-taxes' => 'Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\GetListOfConsumptionTaxes', + '/api/products/recycling-fee-categories' => 'Shoptet\Api\Sdk\Php\Endpoint\RecyclingFees\GetListOfRecyclingFeeCategories', + '/api/products/warranties' => 'Shoptet\Api\Sdk\Php\Endpoint\Warranties\GetListOfProductWarranties', + '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\GetListOfProductAlternativeProducts', + '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\GetListOfProductRelatedProducts', + '/api/products/units' => 'Shoptet\Api\Sdk\Php\Endpoint\Units\GetListOfProductUnits', + '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\GetListOfProductGifts', + '/api/products/reviews' => 'Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfProductsReviews', '/api/pricelists' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\GetListOfPriceLists', '/api/pricelists/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\GetPricelistDetail', '/api/pricelists/{id}/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\GetListOfAllPricelistDetails', + '/api/project/domain' => 'Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectDomainList', + '/api/project/sales-channels' => 'Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectSalesChannels', '/api/orders' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrders', + '/api/orders/history/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\GetListOfAllRemarks', '/api/orders/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfAllOrders', '/api/orders/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderDetail', '/api/orders/{code}/pdf' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\DownloadOrderAsPdf', - '/api/orders/{code}/history' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfRemarksForOrder', + '/api/orders/{code}/history' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\GetListOfRemarksForOrder', '/api/orders/statuses' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderStatuses', '/api/orders/sources' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderSources', '/api/orders/changes' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetLastOrderChanges', - '/api/orders/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderGiftsList', - '/api/orders/gifts/settings' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderGiftSettings', + '/api/orders/claims' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderClaims', + '/api/orders/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\GetOrderGiftsList', + '/api/orders/gifts/settings' => 'Shoptet\Api\Sdk\Php\Endpoint\Gifts\GetOrderGiftSettings', '/api/invoices' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetListOfInvoices', '/api/invoices/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetListOfAllInvoices', '/api/invoices/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetInvoiceDetail', @@ -106,6 +118,7 @@ class EndpointMap '/api/proof-payments/order/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetProofPaymentDetailByOrderCode', '/api/proof-payments/proforma-invoice/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetProofPaymentDetailByProformaInvoiceCode', '/api/proof-payments/{code}/pdf' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DownloadProofOfPaymentPdf', + '/api/proof-payments/{code}/isdoc' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DownloadProofPaymentAsIsdoc', '/api/proof-payments/changes' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetLastProofPaymentsChanges', '/api/credit-notes' => 'Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\GetListOfCreditNotes', '/api/credit-notes/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\GetListOfAllCreditNotes', @@ -117,7 +130,7 @@ class EndpointMap '/api/delivery-notes/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\GetListOfAllDeliveryNotes', '/api/delivery-notes/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\GetDetailOfDeliveryNote', '/api/delivery-notes/{code}/pdf' => 'Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\DownloadDeliveryNoteAsPdf', - '/api/export/{type}/{format}' => 'Shoptet\Api\Sdk\Php\Endpoint\DocumentExport\GeneralDocumentDownload', + '/api/export/{type}/{format}' => 'Shoptet\Api\Sdk\Php\Endpoint\Exports\GeneralDocumentDownload', '/api/stocks' => 'Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetListOfStocks', '/api/stocks/{stockId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockDetail', '/api/stocks/{stockId}/movements' => 'Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockMovements', @@ -129,12 +142,12 @@ class EndpointMap '/api/customers' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomers', '/api/customers/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfAllCustomers', '/api/customers/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetCustomerDetail', - '/api/customers/{guid}/accounts' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerAccounts', - '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerAccount', - '/api/customers/{guid}/delivery-addresses' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GeListOfCustomerDeliveryAddresses', - '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerDeliveryAddress', - '/api/customers/{guid}/remarks' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerRemarks', - '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerRemark', + '/api/customers/{guid}/accounts' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\GetListOfCustomerAccounts', + '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\GetDetailOfCustomerAccount', + '/api/customers/{guid}/delivery-addresses' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\GeListOfCustomerDeliveryAddresses', + '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\GetDetailOfCustomerDeliveryAddress', + '/api/customers/{guid}/remarks' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\GetListOfCustomerRemarks', + '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\GetDetailOfCustomerRemark', '/api/customers/changes' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetLastCustomerChanges', '/api/customers/regions' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerRegions', '/api/customers/groups' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroups', @@ -161,6 +174,7 @@ class EndpointMap '/api/quantity-discounts' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\GetListOfQuantityDiscounts', '/api/quantity-discounts/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\GetListOfAllQuantityDiscounts', '/api/quantity-discounts/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\GetDetailOfQuantityDiscounts', + '/api/volume-discounts' => 'Shoptet\Api\Sdk\Php\Endpoint\VolumeDiscounts\GetListOfVolumeDiscounts', '/api/articles' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\GetListOfArticles', '/api/articles/snapshot' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\GetListAllArticles', '/api/articles/{articleId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\GetDetailOfArticle', @@ -169,36 +183,39 @@ class EndpointMap '/api/pages' => 'Shoptet\Api\Sdk\Php\Endpoint\Pages\GetListOfPages', '/api/pages/{pageId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Pages\GetDetailOfPage', '/api/discussions-posts' => 'Shoptet\Api\Sdk\Php\Endpoint\Discussions\GetListOfDiscussionPosts', - '/api/system/jobs' => 'Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetListOfJobs', - '/api/system/jobs/{jobId}' => 'Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetJobDetail', + '/api/system/jobs' => 'Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetListOfJobs', + '/api/system/jobs/{jobId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetJobDetail', '/api/system/files' => 'Shoptet\Api\Sdk\Php\Endpoint\Files\GetListOfUploadedFiles', - '/api/system/endpoints' => 'Shoptet\Api\Sdk\Php\Endpoint\SystemEndpoints\GetListOfAvailableEndpoints', + '/api/system/endpoints' => 'Shoptet\Api\Sdk\Php\Endpoint\Endpoints\GetListOfAvailableEndpoints', ], 'patch' => [ '/api/products/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProduct', '/api/products/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\ProductBatchUpdate', '/api/products/code/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCode', - '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductImagesUpdate', - '/api/products/{guid}/images/{gallery}/source' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductImagesSource', - '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategory', - '/api/categories/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategoryBatch', - '/api/categories/{categoryGuid}/productsPriority' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductOrderInCategory', - '/api/products/flags/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductFlag', - '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameter', - '/api/products/surcharge-parameters/{paramIndex}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameterValue', - '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameter', - '/api/products/filtering-parameters/{code}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameterValue', - '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameter', - '/api/products/variant-parameters/{paramIndex}/{rawValue}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameterValue', - '/api/products/consumption-taxes/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateConsumptionTax', + '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdate', + '/api/products/{guid}/images/{gallery}/source' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\UpdateProductImagesSource', + '/api/categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategory', + '/api/categories/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategoryBatch', + '/api/categories/{categoryGuid}/productsPriority' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductOrderInCategory', + '/api/parametric-categories/{categoryGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\UpdateParametricCategory', + '/api/products/flags/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Flags\UpdateProductFlag', + '/api/products/availabilities/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\UpdateProductAvailability', + '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameter', + '/api/products/surcharge-parameters/{paramIndex}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameterValue', + '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameter', + '/api/products/filtering-parameters/{code}/{valueIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameterValue', + '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameter', + '/api/products/variant-parameters/{paramIndex}/{rawValue}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameterValue', + '/api/products/consumption-taxes/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\UpdateConsumptionTax', '/api/pricelists/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelist', '/api/orders/{code}/head' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderHead', - '/api/orders/{code}/item/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderItem', - '/api/orders/{code}/payment/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderPayment', - '/api/orders/{code}/shipping/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderShipping', + '/api/orders/{code}/item/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\UpdateOrderItem', + '/api/orders/{code}/payment/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\UpdateOrderPayment', + '/api/orders/{code}/shipping/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\UpdateOrderShipping', '/api/orders/{code}/notes' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateRemarksForOrder', '/api/orders/{code}/status' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderStatus', - '/api/orders/gifts/settings' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderGiftSettings', + '/api/orders/gifts/settings' => 'Shoptet\Api\Sdk\Php\Endpoint\Gifts\UpdateOrderGiftSettings', + '/api/invoices/{code}/link-proforma-invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProformaInvoices', '/api/invoices/{code}/link-proof-payment' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProofPayments', '/api/proof-payments/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\UpdateProofPayment', '/api/credit-notes/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNote', @@ -206,9 +223,9 @@ class EndpointMap '/api/stocks/{stockId}/movements' => 'Shoptet\Api\Sdk\Php\Endpoint\Stocks\UpdateQuantityInStock', '/api/brands/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Brands\UpdateBrand', '/api/customers/{guid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomer', - '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerAccount', - '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerDeliveryAddress', - '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerRemark', + '/api/customers/{guid}/accounts/{accountGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\UpdateCustomerAccount', + '/api/customers/{guid}/delivery-addresses/{addressGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\UpdateCustomerDeliveryAddress', + '/api/customers/{guid}/remarks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\UpdateCustomerRemark', '/api/payment-status/{paymentCode}' => 'Shoptet\Api\Sdk\Php\Endpoint\PaymentGateways\UpdatePaymentStatus', '/api/webhooks/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\Webhooks\UpdateExistingWebhook', '/api/discount-coupons/use/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\UpdateDiscountCouponsUsage', @@ -217,35 +234,40 @@ class EndpointMap '/api/quantity-discounts/{id}' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscount', '/api/articles/{articleId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\UpdateArticle', '/api/articles/sections/{articleSectionId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\UpdateArticleSection', + '/api/pages/{pageId}' => 'Shoptet\Api\Sdk\Php\Endpoint\Pages\UpdatePage', ], 'post' => [ '/api/products' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProduct', '/api/products/{guid}/copy' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\ProductCopy', - '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductImages', - '/api/categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductCategory', - '/api/products/flags' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductFlag', - '/api/products/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameter', - '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterValue', - '/api/products/filtering-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameter', - '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameterValue', - '/api/products/variant-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameter', - '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameterValue', - '/api/products/consumption-taxes' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateConsumptionTax', - '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\AddAlternativeProduct', - '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\AddRelatedProduct', - '/api/products/{guid}/set' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\AddItemToProductSet', - '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductGift', + '/api/products/{guid}/images/{gallery}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\CreateProductImages', + '/api/products/{guid}/related-files' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\CreateRelatedFileLink', + '/api/categories' => 'Shoptet\Api\Sdk\Php\Endpoint\Categories\CreateProductCategory', + '/api/parametric-categories' => 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\CreateParametricCategory', + '/api/products/flags' => 'Shoptet\Api\Sdk\Php\Endpoint\Flags\CreateProductFlag', + '/api/products/availabilities' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\CreateProductAvailability', + '/api/products/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameter', + '/api/products/surcharge-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterValue', + '/api/products/filtering-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameter', + '/api/products/filtering-parameters/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameterValue', + '/api/products/variant-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameter', + '/api/products/variant-parameters/{paramIndex}' => 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameterValue', + '/api/products/consumption-taxes' => 'Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\CreateConsumptionTax', + '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\AddAlternativeProduct', + '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\AddRelatedProduct', + '/api/products/{guid}/set' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductSets\AddItemToProductSet', + '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\CreateProductGift', '/api/pricelists' => 'Shoptet\Api\Sdk\Php\Endpoint\PriceLists\CreatePricelist', '/api/orders' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrder', - '/api/orders/{code}/item' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItem', - '/api/orders/{code}/item/{id}/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItemSurchargeParameters', - '/api/orders/{code}/payment' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderPayment', - '/api/orders/{code}/shipping' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderShipping', - '/api/orders/{code}/history' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRemark', + '/api/orders/{code}/item' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItem', + '/api/orders/{code}/item/{id}/surcharge-parameters' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItemSurchargeParameters', + '/api/orders/{code}/payment' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\CreateOrderPayment', + '/api/orders/{code}/shipping' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\AddOrderShipping', + '/api/orders/{code}/history' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\CreateOrderRemark', '/api/orders/{code}/copy' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderCopy', '/api/orders/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderBatchInsertion', - '/api/orders/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderGift', + '/api/orders/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\AddOrderGift', '/api/orders/{code}/invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromOrder', + '/api/proforma-invoices/{code}/invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromProformaInvoice', '/api/proof-payments' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPayment', '/api/proof-payments/order/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByOrderCode', '/api/proof-payments/proforma-invoice/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByProformaInvoiceCode', @@ -257,9 +279,9 @@ class EndpointMap '/api/brands' => 'Shoptet\Api\Sdk\Php\Endpoint\Brands\CreateBrand', '/api/brands/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Brands\CreateBrandBatch', '/api/customers' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomer', - '/api/customers/{guid}/accounts' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerAccount', - '/api/customers/{guid}/delivery-addresses' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateDeliveryAddress', - '/api/customers/{guid}/remarks' => 'Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerRemark', + '/api/customers/{guid}/accounts' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\CreateCustomerAccount', + '/api/customers/{guid}/delivery-addresses' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\CreateDeliveryAddress', + '/api/customers/{guid}/remarks' => 'Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\CreateCustomerRemark', '/api/template-include' => 'Shoptet\Api\Sdk\Php\Endpoint\Templates\CreateAndEditHtmlCodes', '/api/webhooks' => 'Shoptet\Api\Sdk\Php\Endpoint\Webhooks\RegisterNewWebhook', '/api/webhooks/renew-signature-key' => 'Shoptet\Api\Sdk\Php\Endpoint\Webhooks\GenerateWebhookSignatureKey', @@ -275,14 +297,15 @@ class EndpointMap '/api/quantity-discounts' => 'Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\CreateQuantityDiscount', '/api/articles' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticle', '/api/articles/sections' => 'Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticleSection', + '/api/pages' => 'Shoptet\Api\Sdk\Php\Endpoint\Pages\CreatePage', '/api/system/files' => 'Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFiles', '/api/system/file' => 'Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFile', ], 'put' => [ - '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetAlternativeProducts', - '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetRelatedProducts', - '/api/products/{guid}/set' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetProductSetItems', - '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\Products\SteGiftsToProduct', + '/api/products/{guid}/alternativeProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\SetAlternativeProducts', + '/api/products/{guid}/relatedProducts' => 'Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\SetRelatedProducts', + '/api/products/{guid}/set' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductSets\SetProductSetItems', + '/api/products/{guid}/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\SteGiftsToProduct', '/api/shipping-request/{shippingRequestCode}/{shippingGuid}' => 'Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\UpdateShippingData', ], ]; diff --git a/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpoints.php b/src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php similarity index 70% rename from src/Endpoint/SystemEndpoints/GetListOfAvailableEndpoints.php rename to src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php index 34efa15..0c815ba 100644 --- a/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpoints.php +++ b/src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php @@ -1,12 +1,12 @@ @@ -26,6 +26,6 @@ class Endpoints extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\SystemEndpoints\GetListOfAvailableEndpointsResponse\GetListOfAvailableEndpointsResponse\Data\Endpoints\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Endpoints\GetListOfAvailableEndpointsResponse\GetListOfAvailableEndpointsResponse\Data\Endpoints\Item'; } } diff --git a/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php b/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php old mode 100644 new mode 100755 similarity index 85% rename from src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php rename to src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php index ee62603..494b2c8 --- a/src/Endpoint/SystemEndpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php +++ b/src/Endpoint/Endpoints/GetListOfAvailableEndpointsResponse/GetListOfAvailableEndpointsResponse/Data/Endpoints/Item.php @@ -1,9 +1,9 @@ false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetEshopDocumentSettingsResponse::class; + } + + public function getEndpoint(): string + { + return '/api/eshop/document-settings'; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse.php new file mode 100755 index 0000000..4c62871 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data.php new file mode 100755 index 0000000..a04c956 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data.php @@ -0,0 +1,138 @@ +order; + } + + public function setOrder(Order $order): static + { + $this->order = $order; + return $this; + } + + public function getProformaInvoice(): ?ProformaInvoice + { + return $this->proformaInvoice; + } + + public function setProformaInvoice(?ProformaInvoice $proformaInvoice): static + { + $this->proformaInvoice = $proformaInvoice; + return $this; + } + + public function getInvoice(): ?Invoice + { + return $this->invoice; + } + + public function setInvoice(?Invoice $invoice): static + { + $this->invoice = $invoice; + return $this; + } + + public function getCreditNote(): ?CreditNote + { + return $this->creditNote; + } + + public function setCreditNote(?CreditNote $creditNote): static + { + $this->creditNote = $creditNote; + return $this; + } + + public function getDeliveryNote(): ?DeliveryNote + { + return $this->deliveryNote; + } + + public function setDeliveryNote(?DeliveryNote $deliveryNote): static + { + $this->deliveryNote = $deliveryNote; + return $this; + } + + public function getProofPayment(): ?ProofPayment + { + return $this->proofPayment; + } + + public function setProofPayment(?ProofPayment $proofPayment): static + { + $this->proofPayment = $proofPayment; + return $this; + } + + public function getExport(): ?Export + { + return $this->export; + } + + public function setExport(?Export $export): static + { + $this->export = $export; + return $this; + } + + public function getDefaultSettings(): DefaultSettings + { + return $this->defaultSettings; + } + + public function setDefaultSettings(DefaultSettings $defaultSettings): static + { + $this->defaultSettings = $defaultSettings; + return $this; + } + + public function getLogoUrl(): ?string + { + return $this->logoUrl; + } + + public function setLogoUrl(?string $logoUrl): static + { + $this->logoUrl = $logoUrl; + return $this; + } + + public function getCompanyStamp(): CompanyStamp + { + return $this->companyStamp; + } + + public function setCompanyStamp(CompanyStamp $companyStamp): static + { + $this->companyStamp = $companyStamp; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CompanyStamp.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CompanyStamp.php new file mode 100755 index 0000000..63b92f8 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CompanyStamp.php @@ -0,0 +1,45 @@ +xAxisCorrection; + } + + public function setXAxisCorrection(int $xAxisCorrection): static + { + $this->xAxisCorrection = $xAxisCorrection; + return $this; + } + + public function getYAxisCorrection(): int + { + return $this->yAxisCorrection; + } + + public function setYAxisCorrection(int $yAxisCorrection): static + { + $this->yAxisCorrection = $yAxisCorrection; + return $this; + } + + public function getStampUrl(): ?string + { + return $this->stampUrl; + } + + public function setStampUrl(?string $stampUrl): static + { + $this->stampUrl = $stampUrl; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php new file mode 100755 index 0000000..8142838 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php @@ -0,0 +1,130 @@ +codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): int + { + return $this->codeLength; + } + + public function setCodeLength(int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function getNumberSeriesStartFrom(): int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getUnifyCodeWithOrder(): ?bool + { + return $this->unifyCodeWithOrder; + } + + public function setUnifyCodeWithOrder(?bool $unifyCodeWithOrder): static + { + $this->unifyCodeWithOrder = $unifyCodeWithOrder; + return $this; + } + + public function isDisplayCorrectedAndOriginalDocumentDiff(): bool + { + return $this->displayCorrectedAndOriginalDocumentDiff; + } + + public function setDisplayCorrectedAndOriginalDocumentDiff(bool $displayCorrectedAndOriginalDocumentDiff): static + { + $this->displayCorrectedAndOriginalDocumentDiff = $displayCorrectedAndOriginalDocumentDiff; + return $this; + } + + public function isPrintItemRemark(): bool + { + return $this->printItemRemark; + } + + public function setPrintItemRemark(bool $printItemRemark): static + { + $this->printItemRemark = $printItemRemark; + return $this; + } + + public function getDefaultReasonRemark(): ?string + { + return $this->defaultReasonRemark; + } + + public function setDefaultReasonRemark(?string $defaultReasonRemark): static + { + $this->defaultReasonRemark = $defaultReasonRemark; + return $this; + } + + public function isRestock(): bool + { + return $this->restock; + } + + public function setRestock(bool $restock): static + { + $this->restock = $restock; + return $this; + } + + public function getAddNotesFromOrder(): ?bool + { + return $this->addNotesFromOrder; + } + + public function setAddNotesFromOrder(?bool $addNotesFromOrder): static + { + $this->addNotesFromOrder = $addNotesFromOrder; + return $this; + } + + public function getForbiddenItemTypes(): ForbiddenItemTypes + { + return $this->forbiddenItemTypes; + } + + public function setForbiddenItemTypes(ForbiddenItemTypes $forbiddenItemTypes): static + { + $this->forbiddenItemTypes = $forbiddenItemTypes; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote/ForbiddenItemTypes.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote/ForbiddenItemTypes.php new file mode 100755 index 0000000..cc8f145 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote/ForbiddenItemTypes.php @@ -0,0 +1,30 @@ + + * @property string[] $data + * @method string[] toArray() + * @method void set(int $key, string $item) + * @method null|string get(int $key) + * @method void add(string $item) + * @method null|string remove(int $key) + * @method bool removeItem(string $item, bool $strict = true) + * @method bool contains(string $item, bool $strict = true) + * @method null|string offsetGet(int $offset) + * @method void offsetSet(int $offset, string $value) + */ +class ForbiddenItemTypes extends EntityCollection +{ + /** + * @param array $data + * @return string + */ + public function getItemType(array $data): string + { + return 'string'; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DefaultSettings.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DefaultSettings.php new file mode 100755 index 0000000..ff90a7a --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DefaultSettings.php @@ -0,0 +1,141 @@ +billingMethodId; + } + + public function setBillingMethodId(?int $billingMethodId): static + { + $this->billingMethodId = $billingMethodId; + return $this; + } + + public function getConstSymbol(): ?string + { + return $this->constSymbol; + } + + public function setConstSymbol(?string $constSymbol): static + { + $this->constSymbol = $constSymbol; + return $this; + } + + public function getSpecSymbol(): ?string + { + return $this->specSymbol; + } + + public function setSpecSymbol(?string $specSymbol): static + { + $this->specSymbol = $specSymbol; + return $this; + } + + public function getMaturity(): ?int + { + return $this->maturity; + } + + public function setMaturity(?int $maturity): static + { + $this->maturity = $maturity; + return $this; + } + + public function getInvoiceRemark(): ?string + { + return $this->invoiceRemark; + } + + public function setInvoiceRemark(?string $invoiceRemark): static + { + $this->invoiceRemark = $invoiceRemark; + return $this; + } + + public function getProformaInvoiceRemark(): ?string + { + return $this->proformaInvoiceRemark; + } + + public function setProformaInvoiceRemark(?string $proformaInvoiceRemark): static + { + $this->proformaInvoiceRemark = $proformaInvoiceRemark; + return $this; + } + + public function getShowQrCode(): ?bool + { + return $this->showQrCode; + } + + public function setShowQrCode(?bool $showQrCode): static + { + $this->showQrCode = $showQrCode; + return $this; + } + + public function getSortItems(): ?string + { + return $this->sortItems; + } + + public function setSortItems(?string $sortItems): static + { + $this->sortItems = $sortItems; + return $this; + } + + public function getShowBarcode(): ?bool + { + return $this->showBarcode; + } + + public function setShowBarcode(?bool $showBarcode): static + { + $this->showBarcode = $showBarcode; + return $this; + } + + public function getShowBillFullName(): ?bool + { + return $this->showBillFullName; + } + + public function setShowBillFullName(?bool $showBillFullName): static + { + $this->showBillFullName = $showBillFullName; + return $this; + } + + public function getShowBillFullNameOfRecipient(): ?bool + { + return $this->showBillFullNameOfRecipient; + } + + public function setShowBillFullNameOfRecipient(?bool $showBillFullNameOfRecipient): static + { + $this->showBillFullNameOfRecipient = $showBillFullNameOfRecipient; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DeliveryNote.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DeliveryNote.php new file mode 100755 index 0000000..3d23225 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/DeliveryNote.php @@ -0,0 +1,69 @@ +codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): int + { + return $this->codeLength; + } + + public function setCodeLength(int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function getNumberSeriesStartFrom(): int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getUnifyCodeWithOrder(): ?bool + { + return $this->unifyCodeWithOrder; + } + + public function setUnifyCodeWithOrder(?bool $unifyCodeWithOrder): static + { + $this->unifyCodeWithOrder = $unifyCodeWithOrder; + return $this; + } + + public function isPrintItemRemark(): bool + { + return $this->printItemRemark; + } + + public function setPrintItemRemark(bool $printItemRemark): static + { + $this->printItemRemark = $printItemRemark; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Export.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Export.php new file mode 100755 index 0000000..e8c7480 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Export.php @@ -0,0 +1,45 @@ +useIsdocModule; + } + + public function setUseIsdocModule(bool $useIsdocModule): static + { + $this->useIsdocModule = $useIsdocModule; + return $this; + } + + public function getErpMoneyS3PreAccounting(): ?string + { + return $this->erpMoneyS3PreAccounting; + } + + public function setErpMoneyS3PreAccounting(?string $erpMoneyS3PreAccounting): static + { + $this->erpMoneyS3PreAccounting = $erpMoneyS3PreAccounting; + return $this; + } + + public function getErpMoneyS3Account(): ?string + { + return $this->erpMoneyS3Account; + } + + public function setErpMoneyS3Account(?string $erpMoneyS3Account): static + { + $this->erpMoneyS3Account = $erpMoneyS3Account; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Invoice.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Invoice.php new file mode 100755 index 0000000..bbfd5c2 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Invoice.php @@ -0,0 +1,201 @@ +codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): int + { + return $this->codeLength; + } + + public function setCodeLength(int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function getNumberSeriesStartFrom(): int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getUnifyCodeWithOrder(): ?bool + { + return $this->unifyCodeWithOrder; + } + + public function setUnifyCodeWithOrder(?bool $unifyCodeWithOrder): static + { + $this->unifyCodeWithOrder = $unifyCodeWithOrder; + return $this; + } + + public function isUseVariableSymbolFromOrder(): bool + { + return $this->useVariableSymbolFromOrder; + } + + public function setUseVariableSymbolFromOrder(bool $useVariableSymbolFromOrder): static + { + $this->useVariableSymbolFromOrder = $useVariableSymbolFromOrder; + return $this; + } + + public function isUseSpecialNumberSerieForCashdesk(): bool + { + return $this->useSpecialNumberSerieForCashdesk; + } + + public function setUseSpecialNumberSerieForCashdesk(bool $useSpecialNumberSerieForCashdesk): static + { + $this->useSpecialNumberSerieForCashdesk = $useSpecialNumberSerieForCashdesk; + return $this; + } + + public function getCashdeskCodePrefix(): ?string + { + return $this->cashdeskCodePrefix; + } + + public function setCashdeskCodePrefix(?string $cashdeskCodePrefix): static + { + $this->cashdeskCodePrefix = $cashdeskCodePrefix; + return $this; + } + + public function getCashdeskCodeLength(): ?int + { + return $this->cashdeskCodeLength; + } + + public function setCashdeskCodeLength(?int $cashdeskCodeLength): static + { + $this->cashdeskCodeLength = $cashdeskCodeLength; + return $this; + } + + public function getCashdeskNumberSeriesStartFrom(): ?int + { + return $this->cashdeskNumberSeriesStartFrom; + } + + public function setCashdeskNumberSeriesStartFrom(?int $cashdeskNumberSeriesStartFrom): static + { + $this->cashdeskNumberSeriesStartFrom = $cashdeskNumberSeriesStartFrom; + return $this; + } + + public function isDisplayWarranty(): bool + { + return $this->displayWarranty; + } + + public function setDisplayWarranty(bool $displayWarranty): static + { + $this->displayWarranty = $displayWarranty; + return $this; + } + + public function isPrintItemRemark(): bool + { + return $this->printItemRemark; + } + + public function setPrintItemRemark(bool $printItemRemark): static + { + $this->printItemRemark = $printItemRemark; + return $this; + } + + public function isAddEanToItemRemark(): bool + { + return $this->addEanToItemRemark; + } + + public function setAddEanToItemRemark(bool $addEanToItemRemark): static + { + $this->addEanToItemRemark = $addEanToItemRemark; + return $this; + } + + public function isAddNotesFromOrder(): bool + { + return $this->addNotesFromOrder; + } + + public function setAddNotesFromOrder(bool $addNotesFromOrder): static + { + $this->addNotesFromOrder = $addNotesFromOrder; + return $this; + } + + public function getDisplayDoNotPay(): ?bool + { + return $this->displayDoNotPay; + } + + public function setDisplayDoNotPay(?bool $displayDoNotPay): static + { + $this->displayDoNotPay = $displayDoNotPay; + return $this; + } + + public function getDisplayPriceWithoutDiscount(): ?bool + { + return $this->displayPriceWithoutDiscount; + } + + public function setDisplayPriceWithoutDiscount(?bool $displayPriceWithoutDiscount): static + { + $this->displayPriceWithoutDiscount = $displayPriceWithoutDiscount; + return $this; + } + + public function getDisplayTaxableSupplyDate(): ?bool + { + return $this->displayTaxableSupplyDate; + } + + public function setDisplayTaxableSupplyDate(?bool $displayTaxableSupplyDate): static + { + $this->displayTaxableSupplyDate = $displayTaxableSupplyDate; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order.php new file mode 100755 index 0000000..90f77c0 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order.php @@ -0,0 +1,106 @@ +codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): int + { + return $this->codeLength; + } + + public function setCodeLength(int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function isIsCodeRandom(): bool + { + return $this->isCodeRandom; + } + + public function setIsCodeRandom(bool $isCodeRandom): static + { + $this->isCodeRandom = $isCodeRandom; + return $this; + } + + public function getNumberSeriesStartFrom(): int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getSyncDocuments(): ?bool + { + return $this->syncDocuments; + } + + public function setSyncDocuments(?bool $syncDocuments): static + { + $this->syncDocuments = $syncDocuments; + return $this; + } + + public function getPrintItemRemark(): ?bool + { + return $this->printItemRemark; + } + + public function setPrintItemRemark(?bool $printItemRemark): static + { + $this->printItemRemark = $printItemRemark; + return $this; + } + + public function getDisplayProductStockLocation(): ?bool + { + return $this->displayProductStockLocation; + } + + public function setDisplayProductStockLocation(?bool $displayProductStockLocation): static + { + $this->displayProductStockLocation = $displayProductStockLocation; + return $this; + } + + public function getItemRemarkParameters(): ?ItemRemarkParameters + { + return $this->itemRemarkParameters; + } + + public function setItemRemarkParameters(?ItemRemarkParameters $itemRemarkParameters): static + { + $this->itemRemarkParameters = $itemRemarkParameters; + return $this; + } +} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item/Values.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order/ItemRemarkParameters.php old mode 100644 new mode 100755 similarity index 80% rename from src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item/Values.php rename to src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order/ItemRemarkParameters.php index 9756b8a..55d9b08 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item/Values.php +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/Order/ItemRemarkParameters.php @@ -1,6 +1,6 @@ $data diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProformaInvoice.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProformaInvoice.php new file mode 100755 index 0000000..70a1d76 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProformaInvoice.php @@ -0,0 +1,106 @@ +codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): int + { + return $this->codeLength; + } + + public function setCodeLength(int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function getNumberSeriesStartFrom(): int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getUnifyCodeWithOrder(): ?bool + { + return $this->unifyCodeWithOrder; + } + + public function setUnifyCodeWithOrder(?bool $unifyCodeWithOrder): static + { + $this->unifyCodeWithOrder = $unifyCodeWithOrder; + return $this; + } + + public function isUseVariableSymbolFromOrder(): bool + { + return $this->useVariableSymbolFromOrder; + } + + public function setUseVariableSymbolFromOrder(bool $useVariableSymbolFromOrder): static + { + $this->useVariableSymbolFromOrder = $useVariableSymbolFromOrder; + return $this; + } + + public function isPrintItemRemark(): bool + { + return $this->printItemRemark; + } + + public function setPrintItemRemark(bool $printItemRemark): static + { + $this->printItemRemark = $printItemRemark; + return $this; + } + + public function isAddNotesFromOrder(): bool + { + return $this->addNotesFromOrder; + } + + public function setAddNotesFromOrder(bool $addNotesFromOrder): static + { + $this->addNotesFromOrder = $addNotesFromOrder; + return $this; + } + + public function getPercentageValueForPartialPayment(): TypePrice + { + return $this->percentageValueForPartialPayment; + } + + public function setPercentageValueForPartialPayment(TypePrice $percentageValueForPartialPayment): static + { + $this->percentageValueForPartialPayment = $percentageValueForPartialPayment; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProofPayment.php b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProofPayment.php new file mode 100755 index 0000000..fa91fd3 --- /dev/null +++ b/src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/ProofPayment.php @@ -0,0 +1,93 @@ +useSequentionalNumberSerie; + } + + public function setUseSequentionalNumberSerie(bool $useSequentionalNumberSerie): static + { + $this->useSequentionalNumberSerie = $useSequentionalNumberSerie; + return $this; + } + + public function getCodePrefix(): ?string + { + return $this->codePrefix; + } + + public function setCodePrefix(?string $codePrefix): static + { + $this->codePrefix = $codePrefix; + return $this; + } + + public function getCodeLength(): ?int + { + return $this->codeLength; + } + + public function setCodeLength(?int $codeLength): static + { + $this->codeLength = $codeLength; + return $this; + } + + public function getNumberSeriesStartFrom(): ?int + { + return $this->numberSeriesStartFrom; + } + + public function setNumberSeriesStartFrom(?int $numberSeriesStartFrom): static + { + $this->numberSeriesStartFrom = $numberSeriesStartFrom; + return $this; + } + + public function getCodePrefixOrder(): ?string + { + return $this->codePrefixOrder; + } + + public function setCodePrefixOrder(?string $codePrefixOrder): static + { + $this->codePrefixOrder = $codePrefixOrder; + return $this; + } + + public function getCodePrefixProformaInvoice(): ?string + { + return $this->codePrefixProformaInvoice; + } + + public function setCodePrefixProformaInvoice(?string $codePrefixProformaInvoice): static + { + $this->codePrefixProformaInvoice = $codePrefixProformaInvoice; + return $this; + } + + public function isCreateByIncomingPayment(): bool + { + return $this->createByIncomingPayment; + } + + public function setCreateByIncomingPayment(bool $createByIncomingPayment): static + { + $this->createByIncomingPayment = $createByIncomingPayment; + return $this; + } +} diff --git a/src/Endpoint/Eshop/GetEshopInfo.php b/src/Endpoint/Eshop/GetEshopInfo.php index 9dd77bc..6bd9e10 100644 --- a/src/Endpoint/Eshop/GetEshopInfo.php +++ b/src/Endpoint/Eshop/GetEshopInfo.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Eshop/geteshopinfo + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopinfo * * @method GetEshopInfo setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ActiveModules/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Address.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Address.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Company.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Company.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Country.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/BillingInformation/Country.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/CashDesk.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/CashDesk.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ContactInformation.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ContactInformation.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Countries/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item.php old mode 100644 new mode 100755 index 0dd9b48..daa55b9 --- a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item.php +++ b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeExchangeRate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopInfoResponse\GetEshopInfoResponse\Data\Currencies\Item\BankAccount; use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopInfoResponse\GetEshopInfoResponse\Data\Currencies\Item\Display; @@ -22,7 +22,7 @@ class Item extends Entity protected int $priceDecimalPlaces; protected int $documentPriceDecimalPlaces; protected string $rounding; - protected TypePrice $minimalOrderValue; + protected TypePriceNullable $minimalOrderValue; protected BankAccount $bankAccount; public function getCode(): string @@ -157,12 +157,12 @@ public function setRounding(string $rounding): static return $this; } - public function getMinimalOrderValue(): TypePrice + public function getMinimalOrderValue(): TypePriceNullable { return $this->minimalOrderValue; } - public function setMinimalOrderValue(TypePrice $minimalOrderValue): static + public function setMinimalOrderValue(TypePriceNullable $minimalOrderValue): static { $this->minimalOrderValue = $minimalOrderValue; return $this; diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/BankAccount.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/BankAccount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/Display.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Currencies/Item/Display.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ImageCuts/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Languages/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderAdditionalFields/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/OrderStatuses/Statuses/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Retail/Methods/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/PaymentMethods/Wholesale/Methods/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Settings.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Settings.php old mode 100644 new mode 100755 index 5a468c9..eb34950 --- a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Settings.php +++ b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Settings.php @@ -13,14 +13,16 @@ class Settings extends Entity protected int $maxProductAmount; protected int $maxEmailAmount; protected Pricelist $defaultPricelist; - protected string $eshopLanguage; + protected ?string $eshopLanguage; protected string $timezone; protected string $dateFormat; protected string $timeFormat; protected string $internals; protected bool $exchangeRateFlip; protected string $negativeStockAmount; - protected ?bool $oss; + protected bool $oss; + protected bool $stockControlDisabled; + protected bool $wholesaleSplitActive; public function isVatPayer(): bool { @@ -88,12 +90,12 @@ public function setDefaultPricelist(Pricelist $defaultPricelist): static return $this; } - public function getEshopLanguage(): string + public function getEshopLanguage(): ?string { return $this->eshopLanguage; } - public function setEshopLanguage(string $eshopLanguage): static + public function setEshopLanguage(?string $eshopLanguage): static { $this->eshopLanguage = $eshopLanguage; return $this; @@ -165,14 +167,36 @@ public function setNegativeStockAmount(string $negativeStockAmount): static return $this; } - public function getOss(): ?bool + public function isOss(): bool { return $this->oss; } - public function setOss(?bool $oss): static + public function setOss(bool $oss): static { $this->oss = $oss; return $this; } + + public function isStockControlDisabled(): bool + { + return $this->stockControlDisabled; + } + + public function setStockControlDisabled(bool $stockControlDisabled): static + { + $this->stockControlDisabled = $stockControlDisabled; + return $this; + } + + public function isWholesaleSplitActive(): bool + { + return $this->wholesaleSplitActive; + } + + public function setWholesaleSplitActive(bool $wholesaleSplitActive): static + { + $this->wholesaleSplitActive = $wholesaleSplitActive; + return $this; + } } diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Retail/Methods/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/ShippingMethods/Wholesale/Methods/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/SocialNetworks.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/SocialNetworks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/TaxClasses/Item/Rates/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls/Item.php b/src/Endpoint/Eshop/GetEshopInfoResponse/GetEshopInfoResponse/Data/Urls/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFields.php b/src/Endpoint/Eshop/GetEshopMandatoryFields.php index 13345a2..5c14bee 100644 --- a/src/Endpoint/Eshop/GetEshopMandatoryFields.php +++ b/src/Endpoint/Eshop/GetEshopMandatoryFields.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Eshop/geteshopmandatoryfields + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopmandatoryfields * * @method GetEshopMandatoryFields setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingAddress.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingInfo.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/BillingInfo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/ContactInfo.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/ContactInfo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/DeliveryAddress.php b/src/Endpoint/Eshop/GetEshopMandatoryFieldsResponse/GetEshopMandatoryFieldsResponse/Data/DeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DocumentExport/GeneralDocumentDownload.php b/src/Endpoint/Exports/GeneralDocumentDownload.php similarity index 79% rename from src/Endpoint/DocumentExport/GeneralDocumentDownload.php rename to src/Endpoint/Exports/GeneralDocumentDownload.php index fd6a47c..0204884 100644 --- a/src/Endpoint/DocumentExport/GeneralDocumentDownload.php +++ b/src/Endpoint/Exports/GeneralDocumentDownload.php @@ -1,13 +1,13 @@ images = $images; return $this; } + + public function getFiles(): ?Files + { + return $this->files; + } + + public function setFiles(?Files $files): static + { + $this->files = $files; + return $this; + } } diff --git a/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files.php b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files.php new file mode 100755 index 0000000..64da520 --- /dev/null +++ b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Files extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\Files\GetListOfUploadedFilesResponse\GetListOfUploadedFilesResponse\Data\Files\Item'; + } +} diff --git a/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files/Item.php b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files/Item.php new file mode 100755 index 0000000..b25708a --- /dev/null +++ b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Files/Item.php @@ -0,0 +1,34 @@ +name; + } + + public function setName(?string $name): static + { + $this->name = $name; + return $this; + } + + public function getCreated(): ?TypeDateTimeNullable + { + return $this->created; + } + + public function setCreated(?TypeDateTimeNullable $created): static + { + $this->created = $created; + return $this; + } +} diff --git a/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images.php b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php old mode 100644 new mode 100755 index 73ff861..a913201 --- a/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php +++ b/src/Endpoint/Files/GetListOfUploadedFilesResponse/GetListOfUploadedFilesResponse/Data/Images/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Files\GetListOfUploadedFilesResponse\GetListOfUploadedFilesResponse\Data\Images; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected ?string $name; - protected ?TypeDateTime $created; + protected ?TypeDateTimeNullable $created; public function getName(): ?string { @@ -21,12 +21,12 @@ public function setName(?string $name): static return $this; } - public function getCreated(): ?TypeDateTime + public function getCreated(): ?TypeDateTimeNullable { return $this->created; } - public function setCreated(?TypeDateTime $created): static + public function setCreated(?TypeDateTimeNullable $created): static { $this->created = $created; return $this; diff --git a/src/Endpoint/Files/UploadFile.php b/src/Endpoint/Files/UploadFile.php index 4f73956..7e8ccd0 100644 --- a/src/Endpoint/Files/UploadFile.php +++ b/src/Endpoint/Files/UploadFile.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Files/uploadfile + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Files/uploadfile * * @method UploadFile setBody(null|array|UploadFileRequest $entity) * @method null|UploadFileRequest getBody() diff --git a/src/Endpoint/Files/UploadFileRequest/UploadFileRequest.php b/src/Endpoint/Files/UploadFileRequest/UploadFileRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFileRequest/UploadFileRequest/Data.php b/src/Endpoint/Files/UploadFileRequest/UploadFileRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse.php b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php old mode 100644 new mode 100755 index abf4f2c..5563aa8 --- a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php +++ b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data.php @@ -3,20 +3,33 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFileResponse\UploadFileResponse; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; +use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFileResponse\UploadFileResponse\Data\File; use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFileResponse\UploadFileResponse\Data\Image; class Data extends Entity { - protected Image $image; + protected ?Image $image; + protected ?File $file; - public function getImage(): Image + public function getImage(): ?Image { return $this->image; } - public function setImage(Image $image): static + public function setImage(?Image $image): static { $this->image = $image; return $this; } + + public function getFile(): ?File + { + return $this->file; + } + + public function setFile(?File $file): static + { + $this->file = $file; + return $this; + } } diff --git a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/File.php b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/File.php new file mode 100755 index 0000000..ab4df03 --- /dev/null +++ b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/File.php @@ -0,0 +1,34 @@ +name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getCreated(): ?TypeDateTimeNullable + { + return $this->created; + } + + public function setCreated(?TypeDateTimeNullable $created): static + { + $this->created = $created; + return $this; + } +} diff --git a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php old mode 100644 new mode 100755 index ec4af75..c8bfe7e --- a/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php +++ b/src/Endpoint/Files/UploadFileResponse/UploadFileResponse/Data/Image.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFileResponse\UploadFileResponse\Data; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Image extends Entity { protected string $name; - protected ?TypeDateTime $created; + protected ?TypeDateTimeNullable $created; public function getName(): string { @@ -21,12 +21,12 @@ public function setName(string $name): static return $this; } - public function getCreated(): ?TypeDateTime + public function getCreated(): ?TypeDateTimeNullable { return $this->created; } - public function setCreated(?TypeDateTime $created): static + public function setCreated(?TypeDateTimeNullable $created): static { $this->created = $created; return $this; diff --git a/src/Endpoint/Files/UploadFiles.php b/src/Endpoint/Files/UploadFiles.php index 7832d1e..96bd800 100644 --- a/src/Endpoint/Files/UploadFiles.php +++ b/src/Endpoint/Files/UploadFiles.php @@ -8,7 +8,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Files/uploadfiles + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Files/uploadfiles * * @method UploadFiles setBody(null|array|UploadFilesRequest $entity) * @method null|UploadFilesRequest getBody() diff --git a/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest.php b/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data.php b/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data/Item.php b/src/Endpoint/Files/UploadFilesRequest/UploadFilesRequest/Data/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse.php b/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse/Data.php b/src/Endpoint/Files/UploadFilesResponse/UploadFilesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateFilteringParameter.php b/src/Endpoint/FilteringParameters/CreateFilteringParameter.php similarity index 64% rename from src/Endpoint/Products/CreateFilteringParameter.php rename to src/Endpoint/FilteringParameters/CreateFilteringParameter.php index e330912..072e6a9 100644 --- a/src/Endpoint/Products/CreateFilteringParameter.php +++ b/src/Endpoint/FilteringParameters/CreateFilteringParameter.php @@ -1,13 +1,13 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse/Data.php b/src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse/Data.php new file mode 100755 index 0000000..6d205d7 --- /dev/null +++ b/src/Endpoint/FilteringParameters/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse/Data.php b/src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse/Data.php new file mode 100755 index 0000000..275fe89 --- /dev/null +++ b/src/Endpoint/FilteringParameters/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class FilteringParameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfFilteringParametersResponse\GetListOfFilteringParametersResponse\Data\FilteringParameters\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\GetListOfFilteringParametersResponse\GetListOfFilteringParametersResponse\Data\FilteringParameters\Item'; } } diff --git a/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php b/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php old mode 100644 new mode 100755 similarity index 86% rename from src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php rename to src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php index 7cd37c0..141de99 --- a/src/Endpoint/Products/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php +++ b/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php @@ -1,10 +1,10 @@ id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): static + { + $this->code = $code; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getDisplayName(): ?string + { + return $this->displayName; + } + + public function setDisplayName(?string $displayName): static + { + $this->displayName = $displayName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getPriority(): ?int + { + return $this->priority; + } + + public function setPriority(?int $priority): static + { + $this->priority = $priority; + return $this; + } + + public function getGoogleMapping(): GoogleMappingType + { + return $this->googleMapping; + } + + public function setGoogleMapping(GoogleMappingType $googleMapping): static + { + $this->googleMapping = $googleMapping; + return $this; + } + + public function getValues(): ?Values + { + return $this->values; + } + + public function setValues(?Values $values): static + { + $this->values = $values; + return $this; + } +} diff --git a/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php b/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php new file mode 100755 index 0000000..59c7bd3 --- /dev/null +++ b/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php @@ -0,0 +1,31 @@ + + * @property ProductFilteringParameterValue[] $data + * @method ProductFilteringParameterValue[] toArray() + * @method void set(int $key, ProductFilteringParameterValue $item) + * @method null|ProductFilteringParameterValue get(int $key) + * @method void add(ProductFilteringParameterValue $item) + * @method null|ProductFilteringParameterValue remove(int $key) + * @method bool removeItem(ProductFilteringParameterValue $item, bool $strict = true) + * @method bool contains(ProductFilteringParameterValue $item, bool $strict = true) + * @method null|ProductFilteringParameterValue offsetGet(int $offset) + * @method void offsetSet(int $offset, ProductFilteringParameterValue $value) + */ +class Values extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductFilteringParameterValue'; + } +} diff --git a/src/Endpoint/Products/CreateProductFlag.php b/src/Endpoint/Flags/CreateProductFlag.php similarity index 68% rename from src/Endpoint/Products/CreateProductFlag.php rename to src/Endpoint/Flags/CreateProductFlag.php index 83731e4..4464cb5 100644 --- a/src/Endpoint/Products/CreateProductFlag.php +++ b/src/Endpoint/Flags/CreateProductFlag.php @@ -1,13 +1,13 @@ @@ -26,6 +26,6 @@ class Flags extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductFlagResponse\UpdateProductFlagResponse\Data\Flags\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Flags\CreateProductFlagResponse\CreateProductFlagResponse\Data\Flags\Item'; } } diff --git a/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php b/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php old mode 100644 new mode 100755 similarity index 93% rename from src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php rename to src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php index 7081d59..258caae --- a/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php +++ b/src/Endpoint/Flags/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse/Data.php b/src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse/Data.php new file mode 100755 index 0000000..70e4ed7 --- /dev/null +++ b/src/Endpoint/Flags/DeleteProductFlagResponse/DeleteProductFlagResponse/Data.php @@ -0,0 +1,9 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Flags extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\Flags\GetListOfProductsFlagsResponse\GetListOfProductsFlagsResponse\Data\Flags\Item'; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php b/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php old mode 100644 new mode 100755 similarity index 92% rename from src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php rename to src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php index 480fe4a..491fc3b --- a/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php +++ b/src/Endpoint/Flags/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class Flags extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\Flags\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Flags\UpdateProductFlagResponse\UpdateProductFlagResponse\Data\Flags\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php b/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php old mode 100644 new mode 100755 similarity index 93% rename from src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php rename to src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php index 8a3516a..d7f0ded --- a/src/Endpoint/Products/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php +++ b/src/Endpoint/Flags/UpdateProductFlagResponse/UpdateProductFlagResponse/Data/Flags/Item.php @@ -1,6 +1,6 @@ dueDate; } - public function setDueDate(?TypeDate $dueDate): static + public function setDueDate(?TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; diff --git a/src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data/ProofPaymentCodes.php b/src/Endpoint/Invoices/CreateInvoiceFromOrderRequest/CreateInvoiceFromOrderRequest/Data/ProofPaymentCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse.php b/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse/Data.php b/src/Endpoint/Invoices/CreateInvoiceFromOrderResponse/CreateInvoiceFromOrderResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php new file mode 100644 index 0000000..e81def8 --- /dev/null +++ b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php @@ -0,0 +1,34 @@ + true]; + protected array $supportedQueryParams = ['language' => false, 'suppressExistenceCheck' => false]; + + public function getRequestEntityClass(): string + { + return CreateInvoiceFromProformaInvoiceRequest::class; + } + + public function getResponseEntityClass(): string + { + return CreateInvoiceFromProformaInvoiceResponse::class; + } + + public function getEndpoint(): string + { + return '/api/proforma-invoices/{code}/invoice'; + } +} diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest.php new file mode 100755 index 0000000..41f4850 --- /dev/null +++ b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest/Data.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest/Data.php new file mode 100755 index 0000000..4280a5c --- /dev/null +++ b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceRequest/CreateInvoiceFromProformaInvoiceRequest/Data.php @@ -0,0 +1,95 @@ +invoiceCode; + } + + public function setInvoiceCode(?string $invoiceCode): static + { + $this->invoiceCode = $invoiceCode; + return $this; + } + + public function getVarSymbol(): ?float + { + return $this->varSymbol; + } + + public function setVarSymbol(?float $varSymbol): static + { + $this->varSymbol = $varSymbol; + return $this; + } + + public function getDueDate(): ?TypeDate + { + return $this->dueDate; + } + + public function setDueDate(?TypeDate $dueDate): static + { + $this->dueDate = $dueDate; + return $this; + } + + public function getTaxDate(): ?TypeDate + { + return $this->taxDate; + } + + public function setTaxDate(?TypeDate $taxDate): static + { + $this->taxDate = $taxDate; + return $this; + } + + public function getConstSymbol(): ?TypeConstSymbol + { + return $this->constSymbol; + } + + public function setConstSymbol(?TypeConstSymbol $constSymbol): static + { + $this->constSymbol = $constSymbol; + return $this; + } + + public function getSpecSymbol(): ?float + { + return $this->specSymbol; + } + + public function setSpecSymbol(?float $specSymbol): static + { + $this->specSymbol = $specSymbol; + return $this; + } + + public function getBillingMethodId(): ?float + { + return $this->billingMethodId; + } + + public function setBillingMethodId(?float $billingMethodId): static + { + $this->billingMethodId = $billingMethodId; + return $this; + } +} diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse.php new file mode 100755 index 0000000..c33f895 --- /dev/null +++ b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse/Data.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse/Data.php new file mode 100755 index 0000000..1db5766 --- /dev/null +++ b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoiceResponse/CreateInvoiceFromProformaInvoiceResponse/Data.php @@ -0,0 +1,22 @@ +invoice; + } + + public function setInvoice(Invoice $invoice): static + { + $this->invoice = $invoice; + return $this; + } +} diff --git a/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php b/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php index ff114cc..4f3e82c 100644 --- a/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php +++ b/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/downloadinvoiceasisdoc + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/downloadinvoiceasisdoc * * @method DownloadInvoiceAsIsdoc setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php b/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php index 6c3cfa1..5998036 100644 --- a/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php +++ b/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/downloadinvoiceaspdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/downloadinvoiceaspdf * * @method DownloadInvoiceAsPdf setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Invoices/GetInvoiceDetail.php b/src/Endpoint/Invoices/GetInvoiceDetail.php index 60f92d5..e8889a7 100644 --- a/src/Endpoint/Invoices/GetInvoiceDetail.php +++ b/src/Endpoint/Invoices/GetInvoiceDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetInvoiceDetailResponse\GetInvoiceDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/getinvoicedetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getinvoicedetail * * @method GetInvoiceDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse.php b/src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse/Data.php b/src/Endpoint/Invoices/GetInvoiceDetailResponse/GetInvoiceDetailResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetLastInvoiceChanges.php b/src/Endpoint/Invoices/GetLastInvoiceChanges.php index bdb1702..3ca8b22 100644 --- a/src/Endpoint/Invoices/GetLastInvoiceChanges.php +++ b/src/Endpoint/Invoices/GetLastInvoiceChanges.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/getlastinvoicechanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlastinvoicechanges * * @method GetLastInvoiceChanges setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse.php b/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data.php b/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes.php b/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes/Item.php b/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes/Item.php old mode 100644 new mode 100755 index f6135bf..dc102ee --- a/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes/Item.php +++ b/src/Endpoint/Invoices/GetLastInvoiceChangesResponse/GetLastInvoiceChangesResponse/Data/Changes/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetLastInvoiceChangesResponse\GetLastInvoiceChangesResponse\Data\Changes; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $code; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected string $changeType; public function getCode(): string @@ -22,12 +22,12 @@ public function setCode(string $code): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Invoices/GetListOfAllInvoices.php b/src/Endpoint/Invoices/GetListOfAllInvoices.php index 0c2a40f..5b47ed6 100644 --- a/src/Endpoint/Invoices/GetListOfAllInvoices.php +++ b/src/Endpoint/Invoices/GetListOfAllInvoices.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Invoices; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\Invoice; +use Shoptet\Api\Sdk\Php\Component\Entity\InvoiceSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Get; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetListOfAllInvoicesResponse\GetListOfAllInvoicesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/getlistofallinvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlistofallinvoices * * @method GetListOfAllInvoices setBody(null $entity) * @method null getBody() @@ -59,6 +59,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return Invoice::class; + return InvoiceSnapshot::class; } } diff --git a/src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse.php b/src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse/Data.php b/src/Endpoint/Invoices/GetListOfAllInvoicesResponse/GetListOfAllInvoicesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfInvoices.php b/src/Endpoint/Invoices/GetListOfInvoices.php index 54277db..914bd63 100644 --- a/src/Endpoint/Invoices/GetListOfInvoices.php +++ b/src/Endpoint/Invoices/GetListOfInvoices.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/getlistofinvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlistofinvoices * * @method GetListOfInvoices setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse.php b/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data.php b/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices.php b/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php b/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php old mode 100644 new mode 100755 index 4234597..f7b5f10 --- a/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php +++ b/src/Endpoint/Invoices/GetListOfInvoicesResponse/GetListOfInvoicesResponse/Data/Invoices/Item.php @@ -4,23 +4,24 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Price; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\Entity\ProformaInvoiceCodes; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $code; protected ?float $varSymbol; protected bool $isValid; - protected ?string $proformaInvoiceCode; + protected ProformaInvoiceCodes $proformaInvoiceCodes; protected ?string $orderCode; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected ?string $billCompany; protected ?string $billFullName; protected Price $price; - protected ?TypeDateTime $changeTime; - protected ?TypeDate $dueDate; - protected ?TypeDate $taxDate; + protected ?TypeDateTimeNullable $changeTime; + protected ?TypeDateNullable $dueDate; + protected ?TypeDateNullable $taxDate; public function getCode(): string { @@ -55,14 +56,14 @@ public function setIsValid(bool $isValid): static return $this; } - public function getProformaInvoiceCode(): ?string + public function getProformaInvoiceCodes(): ProformaInvoiceCodes { - return $this->proformaInvoiceCode; + return $this->proformaInvoiceCodes; } - public function setProformaInvoiceCode(?string $proformaInvoiceCode): static + public function setProformaInvoiceCodes(ProformaInvoiceCodes $proformaInvoiceCodes): static { - $this->proformaInvoiceCode = $proformaInvoiceCode; + $this->proformaInvoiceCodes = $proformaInvoiceCodes; return $this; } @@ -77,12 +78,12 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -121,34 +122,34 @@ public function setPrice(Price $price): static return $this; } - public function getChangeTime(): ?TypeDateTime + public function getChangeTime(): ?TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(?TypeDateTime $changeTime): static + public function setChangeTime(?TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; } - public function getDueDate(): ?TypeDate + public function getDueDate(): ?TypeDateNullable { return $this->dueDate; } - public function setDueDate(?TypeDate $dueDate): static + public function setDueDate(?TypeDateNullable $dueDate): static { $this->dueDate = $dueDate; return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php new file mode 100644 index 0000000..fbc1059 --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php @@ -0,0 +1,34 @@ + true]; + protected array $supportedQueryParams = ['language' => false, 'include' => false]; + + public function getRequestEntityClass(): string + { + return InvoiceLinkProformaInvoicesRequest::class; + } + + public function getResponseEntityClass(): string + { + return InvoiceLinkProformaInvoicesResponse::class; + } + + public function getEndpoint(): string + { + return '/api/invoices/{code}/link-proforma-invoice'; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest.php new file mode 100755 index 0000000..6491594 --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data.php new file mode 100755 index 0000000..86b73f9 --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data.php @@ -0,0 +1,22 @@ +proformaInvoiceCodes; + } + + public function setProformaInvoiceCodes(ProformaInvoiceCodes $proformaInvoiceCodes): static + { + $this->proformaInvoiceCodes = $proformaInvoiceCodes; + return $this; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data/ProformaInvoiceCodes.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data/ProformaInvoiceCodes.php new file mode 100755 index 0000000..a00c16d --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesRequest/InvoiceLinkProformaInvoicesRequest/Data/ProformaInvoiceCodes.php @@ -0,0 +1,30 @@ + + * @property string[] $data + * @method string[] toArray() + * @method void set(int $key, string $item) + * @method null|string get(int $key) + * @method void add(string $item) + * @method null|string remove(int $key) + * @method bool removeItem(string $item, bool $strict = true) + * @method bool contains(string $item, bool $strict = true) + * @method null|string offsetGet(int $offset) + * @method void offsetSet(int $offset, string $value) + */ +class ProformaInvoiceCodes extends EntityCollection +{ + /** + * @param array $data + * @return string + */ + public function getItemType(array $data): string + { + return 'string'; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse.php new file mode 100755 index 0000000..3a03b5a --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse/Data.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse/Data.php new file mode 100755 index 0000000..dbbd73f --- /dev/null +++ b/src/Endpoint/Invoices/InvoiceLinkProformaInvoicesResponse/InvoiceLinkProformaInvoicesResponse/Data.php @@ -0,0 +1,22 @@ +invoice; + } + + public function setInvoice(Invoice $invoice): static + { + $this->invoice = $invoice; + return $this; + } +} diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPayments.php b/src/Endpoint/Invoices/InvoiceLinkProofPayments.php index 26fff9f..f7eed07 100644 --- a/src/Endpoint/Invoices/InvoiceLinkProofPayments.php +++ b/src/Endpoint/Invoices/InvoiceLinkProofPayments.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Invoices/invoicelinkproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/invoicelinkproofpayments * * @method InvoiceLinkProofPayments setBody(null|array|InvoiceLinkProofPaymentsRequest $entity) * @method null|InvoiceLinkProofPaymentsRequest getBody() diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest.php b/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data.php b/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data/ProofPaymentCodes.php b/src/Endpoint/Invoices/InvoiceLinkProofPaymentsRequest/InvoiceLinkProofPaymentsRequest/Data/ProofPaymentCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse.php b/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse/Data.php b/src/Endpoint/Invoices/InvoiceLinkProofPaymentsResponse/InvoiceLinkProofPaymentsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/JobEndpoints/GetJobDetail.php b/src/Endpoint/Jobs/GetJobDetail.php similarity index 73% rename from src/Endpoint/JobEndpoints/GetJobDetail.php rename to src/Endpoint/Jobs/GetJobDetail.php index bee7028..03f902b 100644 --- a/src/Endpoint/JobEndpoints/GetJobDetail.php +++ b/src/Endpoint/Jobs/GetJobDetail.php @@ -1,12 +1,12 @@ creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getCompletionTime(): TypeDateTime + public function getCompletionTime(): TypeDateTimeNullable { return $this->completionTime; } - public function setCompletionTime(TypeDateTime $completionTime): static + public function setCompletionTime(TypeDateTimeNullable $completionTime): static { $this->completionTime = $completionTime; return $this; @@ -95,12 +95,12 @@ public function setResultUrl(?string $resultUrl): static return $this; } - public function getValidUntil(): TypeDateTime + public function getValidUntil(): TypeDateTimeNullable { return $this->validUntil; } - public function setValidUntil(TypeDateTime $validUntil): static + public function setValidUntil(TypeDateTimeNullable $validUntil): static { $this->validUntil = $validUntil; return $this; diff --git a/src/Endpoint/JobEndpoints/GetListOfJobs.php b/src/Endpoint/Jobs/GetListOfJobs.php similarity index 77% rename from src/Endpoint/JobEndpoints/GetListOfJobs.php rename to src/Endpoint/Jobs/GetListOfJobs.php index 9d0fdcd..e50b9e0 100644 --- a/src/Endpoint/JobEndpoints/GetListOfJobs.php +++ b/src/Endpoint/Jobs/GetListOfJobs.php @@ -1,12 +1,12 @@ @@ -26,6 +26,6 @@ class Jobs extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetListOfJobsResponse\GetListOfJobsResponse\Data\Jobs\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetListOfJobsResponse\GetListOfJobsResponse\Data\Jobs\Item'; } } diff --git a/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php b/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php old mode 100644 new mode 100755 similarity index 66% rename from src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php rename to src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php index bb2dae6..555bcc1 --- a/src/Endpoint/JobEndpoints/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php +++ b/src/Endpoint/Jobs/GetListOfJobsResponse/GetListOfJobsResponse/Data/Jobs/Item.php @@ -1,18 +1,18 @@ creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getCompletionTime(): TypeDateTime + public function getCompletionTime(): TypeDateTimeNullable { return $this->completionTime; } - public function setCompletionTime(TypeDateTime $completionTime): static + public function setCompletionTime(TypeDateTimeNullable $completionTime): static { $this->completionTime = $completionTime; return $this; @@ -70,12 +70,12 @@ public function setStatus(string $status): static return $this; } - public function getValidUntil(): TypeDateTime + public function getValidUntil(): TypeDateTimeNullable { return $this->validUntil; } - public function setValidUntil(TypeDateTime $validUntil): static + public function setValidUntil(TypeDateTimeNullable $validUntil): static { $this->validUntil = $validUntil; return $this; diff --git a/src/Endpoint/Products/GetListOfProductsMeasureUnits.php b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php similarity index 69% rename from src/Endpoint/Products/GetListOfProductsMeasureUnits.php rename to src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php index 656fd21..1cef6df 100644 --- a/src/Endpoint/Products/GetListOfProductsMeasureUnits.php +++ b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php @@ -1,12 +1,12 @@ @@ -26,6 +26,6 @@ class MeasureUnits extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsMeasureUnitsResponse\GetListOfProductsMeasureUnitsResponse\Data\MeasureUnits\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\MeasureUnits\GetListOfProductsMeasureUnitsResponse\GetListOfProductsMeasureUnitsResponse\Data\MeasureUnits\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php old mode 100644 new mode 100755 similarity index 77% rename from src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php rename to src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php index dce9e19..05ff34c --- a/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php +++ b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class Ratios extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsMeasureUnitsResponse\GetListOfProductsMeasureUnitsResponse\Data\MeasureUnits\Item\Ratios\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\MeasureUnits\GetListOfProductsMeasureUnitsResponse\GetListOfProductsMeasureUnitsResponse\Data\MeasureUnits\Item\Ratios\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php old mode 100644 new mode 100755 similarity index 79% rename from src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php rename to src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php index 8c26826..605bc3c --- a/src/Endpoint/Products/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php +++ b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnitsResponse/GetListOfProductsMeasureUnitsResponse/Data/MeasureUnits/Item/Ratios/Item.php @@ -1,6 +1,6 @@ orderPrice; } - public function setOrderPrice(TypePrice $orderPrice): static + public function setOrderPrice(TypePriceNullable $orderPrice): static { $this->orderPrice = $orderPrice; return $this; diff --git a/src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse.php b/src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse.php old mode 100644 new mode 100755 similarity index 78% rename from src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse.php rename to src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse.php index 9507ae0..539c460 --- a/src/Endpoint/Orders/AddOrderGiftResponse/AddOrderGiftResponse.php +++ b/src/Endpoint/OrderGifts/AddOrderGiftResponse/AddOrderGiftResponse.php @@ -1,10 +1,10 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse/Data.php b/src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse/Data.php new file mode 100755 index 0000000..495c1fb --- /dev/null +++ b/src/Endpoint/OrderGifts/DeleteOrderGiftResponse/DeleteOrderGiftResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse/Data.php b/src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse/Data.php new file mode 100755 index 0000000..2dcd2db --- /dev/null +++ b/src/Endpoint/OrderHistory/CreateOrderRemarkResponse/CreateOrderRemarkResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse/Data.php b/src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse/Data.php new file mode 100755 index 0000000..cda3548 --- /dev/null +++ b/src/Endpoint/OrderHistory/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse/Data.php @@ -0,0 +1,9 @@ + false, + 'orderCodes' => false, + 'creationTimeFrom' => false, + 'creationTimeTo' => false, + 'userId' => false, + ]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetListOfAllRemarksResponse::class; + } + + public function getEndpoint(): string + { + return '/api/orders/history/snapshot'; + } + + public function getSnapshotResultEntityClass(): string + { + return OrderHistorySnapshot::class; + } +} diff --git a/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse.php b/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse.php new file mode 100755 index 0000000..b0e4d15 --- /dev/null +++ b/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Products/CreateProductImagesResponse/CreateProductImagesResponse/Data.php b/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse/Data.php old mode 100644 new mode 100755 similarity index 74% rename from src/Endpoint/Products/CreateProductImagesResponse/CreateProductImagesResponse/Data.php rename to src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse/Data.php index 8b27f2e..363fcc4 --- a/src/Endpoint/Products/CreateProductImagesResponse/CreateProductImagesResponse/Data.php +++ b/src/Endpoint/OrderHistory/GetListOfAllRemarksResponse/GetListOfAllRemarksResponse/Data.php @@ -1,6 +1,6 @@ + * @property EntityOrderHistory[] $data + * @method EntityOrderHistory[] toArray() + * @method void set(int $key, EntityOrderHistory $item) + * @method null|EntityOrderHistory get(int $key) + * @method void add(EntityOrderHistory $item) + * @method null|EntityOrderHistory remove(int $key) + * @method bool removeItem(EntityOrderHistory $item, bool $strict = true) + * @method bool contains(EntityOrderHistory $item, bool $strict = true) + * @method null|EntityOrderHistory offsetGet(int $offset) + * @method void offsetSet(int $offset, EntityOrderHistory $value) + */ +class OrderHistory extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\OrderHistory'; + } +} diff --git a/src/Endpoint/Orders/CreateOrderItem.php b/src/Endpoint/OrderItems/CreateOrderItem.php similarity index 70% rename from src/Endpoint/Orders/CreateOrderItem.php rename to src/Endpoint/OrderItems/CreateOrderItem.php index 15749ae..b382f86 100644 --- a/src/Endpoint/Orders/CreateOrderItem.php +++ b/src/Endpoint/OrderItems/CreateOrderItem.php @@ -1,13 +1,13 @@ productGuid; } - public function setProductGuid(?TypeGuid $productGuid): static + public function setProductGuid(?TypeGuidNullable $productGuid): static { $this->productGuid = $productGuid; return $this; @@ -201,12 +201,12 @@ public function setWarrantyDescription(?string $warrantyDescription): static return $this; } - public function getAmountCompleted(): ?TypePositiveAmount + public function getAmountCompleted(): ?TypePositiveAmountNullable { return $this->amountCompleted; } - public function setAmountCompleted(?TypePositiveAmount $amountCompleted): static + public function setAmountCompleted(?TypePositiveAmountNullable $amountCompleted): static { $this->amountCompleted = $amountCompleted; return $this; diff --git a/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php b/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php old mode 100644 new mode 100755 similarity index 67% rename from src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php rename to src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php index f3e0292..5f7f341 --- a/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php +++ b/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class SurchargeParameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItemRequest\CreateOrderItemRequest\Data\SurchargeParameters\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItemRequest\CreateOrderItemRequest\Data\SurchargeParameters\Item'; } } diff --git a/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php b/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php old mode 100644 new mode 100755 similarity index 88% rename from src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php rename to src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php index 00ad8b1..02bbab1 --- a/src/Endpoint/Orders/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php +++ b/src/Endpoint/OrderItems/CreateOrderItemRequest/CreateOrderItemRequest/Data/SurchargeParameters/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(Data1|Data2 $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php b/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php rename to src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php index a3dc59c..be6d154 --- a/src/Endpoint/Orders/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php +++ b/src/Endpoint/OrderItems/CreateOrderItemSurchargeParametersRequest/CreateOrderItemSurchargeParametersRequest/Data1.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse/Data.php b/src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse/Data.php new file mode 100755 index 0000000..019ebe0 --- /dev/null +++ b/src/Endpoint/OrderItems/DeleteOrderItemResponse/DeleteOrderItemResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse/Data.php b/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse/Data.php new file mode 100755 index 0000000..39d68cb --- /dev/null +++ b/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse/Data.php @@ -0,0 +1,9 @@ +productGuid; } - public function setProductGuid(?TypeGuid $productGuid): static + public function setProductGuid(?TypeGuidNullable $productGuid): static { $this->productGuid = $productGuid; return $this; @@ -201,12 +201,12 @@ public function setWarrantyDescription(?string $warrantyDescription): static return $this; } - public function getAmountCompleted(): ?TypePositiveAmount + public function getAmountCompleted(): ?TypePositiveAmountNullable { return $this->amountCompleted; } - public function setAmountCompleted(?TypePositiveAmount $amountCompleted): static + public function setAmountCompleted(?TypePositiveAmountNullable $amountCompleted): static { $this->amountCompleted = $amountCompleted; return $this; diff --git a/src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php b/src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php old mode 100644 new mode 100755 similarity index 63% rename from src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php rename to src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php index 8fc9ffd..e06126d --- a/src/Endpoint/Orders/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php +++ b/src/Endpoint/OrderItems/UpdateOrderItemRequest/UpdateOrderItemRequest/Data/ConsumptionTax.php @@ -1,15 +1,15 @@ price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Endpoint/Orders/UpdateOrderItemResponse/UpdateOrderItemResponse.php b/src/Endpoint/OrderItems/UpdateOrderItemResponse/UpdateOrderItemResponse.php old mode 100644 new mode 100755 similarity index 77% rename from src/Endpoint/Orders/UpdateOrderItemResponse/UpdateOrderItemResponse.php rename to src/Endpoint/OrderItems/UpdateOrderItemResponse/UpdateOrderItemResponse.php index f2ddbbf..4968327 --- a/src/Endpoint/Orders/UpdateOrderItemResponse/UpdateOrderItemResponse.php +++ b/src/Endpoint/OrderItems/UpdateOrderItemResponse/UpdateOrderItemResponse.php @@ -1,10 +1,10 @@ data; - } - - public function setData(Data1|Data2 $data): static - { - $this->data = $data; - return $this; - } -} diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php old mode 100644 new mode 100755 index f5810c8..0253011 --- a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php +++ b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest\Data\BillingAddress; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest\Data\Currency; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest\Data\DeliveryAddress; @@ -24,13 +24,13 @@ class Data extends Entity protected ?string $phone; protected ?string $birthDate; protected ?bool $vatPayer; - protected ?TypeGuid $paymentMethodGuid; - protected ?TypeGuid $shippingGuid; + protected ?TypeGuidNullable $paymentMethodGuid; + protected ?TypeGuidNullable $shippingGuid; protected ?ShippingDetails $shippingDetails; protected ?bool $paid; protected ?float $billingMethodCode; protected ?string $clientIPAddress; - protected ?TypeGuid $customerGuid; + protected ?TypeGuidNullable $customerGuid; protected ?BillingAddress $billingAddress; protected ?bool $addressesEqual; protected ?DeliveryAddress $deliveryAddress; @@ -161,23 +161,23 @@ public function setVatPayer(?bool $vatPayer): static return $this; } - public function getPaymentMethodGuid(): ?TypeGuid + public function getPaymentMethodGuid(): ?TypeGuidNullable { return $this->paymentMethodGuid; } - public function setPaymentMethodGuid(?TypeGuid $paymentMethodGuid): static + public function setPaymentMethodGuid(?TypeGuidNullable $paymentMethodGuid): static { $this->paymentMethodGuid = $paymentMethodGuid; return $this; } - public function getShippingGuid(): ?TypeGuid + public function getShippingGuid(): ?TypeGuidNullable { return $this->shippingGuid; } - public function setShippingGuid(?TypeGuid $shippingGuid): static + public function setShippingGuid(?TypeGuidNullable $shippingGuid): static { $this->shippingGuid = $shippingGuid; return $this; @@ -227,12 +227,12 @@ public function setClientIPAddress(?string $clientIPAddress): static return $this; } - public function getCustomerGuid(): ?TypeGuid + public function getCustomerGuid(): ?TypeGuidNullable { return $this->customerGuid; } - public function setCustomerGuid(?TypeGuid $customerGuid): static + public function setCustomerGuid(?TypeGuidNullable $customerGuid): static { $this->customerGuid = $customerGuid; return $this; diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/BillingAddress.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/BillingAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Currency.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Currency.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/DeliveryAddress.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/DeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item.php old mode 100644 new mode 100755 index 923d64f..31affdc --- a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item.php +++ b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\ConsumptionTaxId; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest\Data\Items\Item\SurchargeParameters; class Item extends Entity @@ -19,7 +19,7 @@ class Item extends Entity protected ?string $code; protected ?string $remark; protected ?string $warrantyDescription; - protected ?TypePositiveAmount $amountCompleted; + protected ?TypePositiveAmountNullable $amountCompleted; protected ?string $additionalField; protected ?string $amount; protected ?string $amountUnit; @@ -135,12 +135,12 @@ public function setWarrantyDescription(?string $warrantyDescription): static return $this; } - public function getAmountCompleted(): ?TypePositiveAmount + public function getAmountCompleted(): ?TypePositiveAmountNullable { return $this->amountCompleted; } - public function setAmountCompleted(?TypePositiveAmount $amountCompleted): static + public function setAmountCompleted(?TypePositiveAmountNullable $amountCompleted): static { $this->amountCompleted = $amountCompleted; return $this; diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters/Item.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Items/Item/SurchargeParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields/Item.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/Notes/AdditionalFields/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/ShippingDetails.php b/src/Endpoint/Orders/CreateOrderRequest/CreateOrderRequest/Data/ShippingDetails.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse.php b/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse/Data.php b/src/Endpoint/Orders/CreateOrderResponse/CreateOrderResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/DeleteOrder.php b/src/Endpoint/Orders/DeleteOrder.php index 2ad412a..fe3fbac 100644 --- a/src/Endpoint/Orders/DeleteOrder.php +++ b/src/Endpoint/Orders/DeleteOrder.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderResponse\DeleteOrderResponse; /** - * @see https://api.docs.shoptet.com/openapi/Orders/deleteorder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/deleteorder * * @method DeleteOrder setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Orders/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php b/src/Endpoint/Orders/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php deleted file mode 100644 index c759d07..0000000 --- a/src/Endpoint/Orders/DeleteOrderGiftResponse/DeleteOrderGiftResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Orders/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php b/src/Endpoint/Orders/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php deleted file mode 100644 index 13e4c0c..0000000 --- a/src/Endpoint/Orders/DeleteOrderHistoryItemResponse/DeleteOrderHistoryItemResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Orders/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php b/src/Endpoint/Orders/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php deleted file mode 100644 index 6e4ad75..0000000 --- a/src/Endpoint/Orders/DeleteOrderItemSurchargeParametersResponse/DeleteOrderItemSurchargeParametersResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php b/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php old mode 100644 new mode 100755 index 4a81018..c1f3545 --- a/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php +++ b/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderResponse\DeleteOrderResponse\Data; class DeleteOrderResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse/Data.php b/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse/Data.php new file mode 100755 index 0000000..fbb1e6f --- /dev/null +++ b/src/Endpoint/Orders/DeleteOrderResponse/DeleteOrderResponse/Data.php @@ -0,0 +1,9 @@ +changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Orders/GetListOfAllOrders.php b/src/Endpoint/Orders/GetListOfAllOrders.php index 19e14bc..49bccec 100644 --- a/src/Endpoint/Orders/GetListOfAllOrders.php +++ b/src/Endpoint/Orders/GetListOfAllOrders.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Orders; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\Order; +use Shoptet\Api\Sdk\Php\Component\Entity\OrderSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Get; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfAllOrdersResponse\GetListOfAllOrdersResponse; /** - * @see https://api.docs.shoptet.com/openapi/Orders/getlistofallorders + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistofallorders * * @method GetListOfAllOrders setBody(null $entity) * @method null getBody() @@ -20,6 +20,7 @@ class GetListOfAllOrders extends Get implements SnapshotEndpoint protected array $supportedQueryParams = [ 'language' => false, 'include' => false, + 'orderCodes' => false, 'statusId' => false, 'shippingGuid' => false, 'shippingCompanyCode' => false, @@ -54,6 +55,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return Order::class; + return OrderSnapshot::class; } } diff --git a/src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse.php b/src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse/Data.php b/src/Endpoint/Orders/GetListOfAllOrdersResponse/GetListOfAllOrdersResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderSources.php b/src/Endpoint/Orders/GetListOfOrderSources.php index 57ffe73..c7a26cd 100644 --- a/src/Endpoint/Orders/GetListOfOrderSources.php +++ b/src/Endpoint/Orders/GetListOfOrderSources.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderSourcesResponse\GetListOfOrderSourcesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Orders/getlistofordersources + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistofordersources * * @method GetListOfOrderSources setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse.php b/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data.php b/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources.php b/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources/Item.php b/src/Endpoint/Orders/GetListOfOrderSourcesResponse/GetListOfOrderSourcesResponse/Data/Sources/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatuses.php b/src/Endpoint/Orders/GetListOfOrderStatuses.php index a0a06fd..e4de22b 100644 --- a/src/Endpoint/Orders/GetListOfOrderStatuses.php +++ b/src/Endpoint/Orders/GetListOfOrderStatuses.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderStatusesResponse\GetListOfOrderStatusesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Orders/getlistoforderstatuses + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistoforderstatuses * * @method GetListOfOrderStatuses setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse.php b/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data.php b/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses.php b/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item.php b/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item/Documents.php b/src/Endpoint/Orders/GetListOfOrderStatusesResponse/GetListOfOrderStatusesResponse/Data/Statuses/Item/Documents.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrders.php b/src/Endpoint/Orders/GetListOfOrders.php index 2e97d17..91710a5 100644 --- a/src/Endpoint/Orders/GetListOfOrders.php +++ b/src/Endpoint/Orders/GetListOfOrders.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PageableGet; /** - * @see https://api.docs.shoptet.com/openapi/Orders/getlistoforders + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistoforders * * @method GetListOfOrders setBody(null $entity) * @method null getBody() @@ -34,6 +34,7 @@ class GetListOfOrders extends PageableGet 'changeTimeFrom' => false, 'changeTimeTo' => false, 'sourceId' => false, + 'orderCodes' => false, ]; public function getRequestEntityClass(): null diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php old mode 100644 new mode 100755 index 57ef451..e28712c --- a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php +++ b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php @@ -3,10 +3,11 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrdersResponse\GetListOfOrdersResponse\Data\Orders; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; +use Shoptet\Api\Sdk\Php\Component\Entity\OrderPreAuthorization; use Shoptet\Api\Sdk\Php\Component\Entity\PaymentMethod; use Shoptet\Api\Sdk\Php\Component\Entity\Price; use Shoptet\Api\Sdk\Php\Component\Entity\Shipping; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrdersResponse\GetListOfOrdersResponse\Data\Orders\Item\Source; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrdersResponse\GetListOfOrdersResponse\Data\Orders\Item\Status; @@ -15,8 +16,8 @@ class Item extends Entity { protected string $code; protected string $guid; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; protected ?string $fullName; protected ?string $company; protected ?string $email; @@ -27,10 +28,11 @@ class Item extends Entity protected string $adminUrl; protected ?Status $status; protected ?Source $source; - protected ?Shipping $shipping; + protected Shipping $shipping; protected ?PaymentMethod $paymentMethod; protected Price $price; protected ?bool $paid; + protected ?OrderPreAuthorization $preAuthorization; public function getCode(): string { @@ -54,23 +56,23 @@ public function setGuid(string $guid): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -186,12 +188,12 @@ public function setSource(?Source $source): static return $this; } - public function getShipping(): ?Shipping + public function getShipping(): Shipping { return $this->shipping; } - public function setShipping(?Shipping $shipping): static + public function setShipping(Shipping $shipping): static { $this->shipping = $shipping; return $this; @@ -229,4 +231,15 @@ public function setPaid(?bool $paid): static $this->paid = $paid; return $this; } + + public function getPreAuthorization(): ?OrderPreAuthorization + { + return $this->preAuthorization; + } + + public function setPreAuthorization(?OrderPreAuthorization $preAuthorization): static + { + $this->preAuthorization = $preAuthorization; + return $this; + } } diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Source.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Source.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Status.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item/Status.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetOrderClaims.php b/src/Endpoint/Orders/GetOrderClaims.php new file mode 100644 index 0000000..ce603ee --- /dev/null +++ b/src/Endpoint/Orders/GetOrderClaims.php @@ -0,0 +1,41 @@ + false, + 'page' => false, + 'itemsPerPage' => false, + 'includeClosedAndCancelledOrders' => false, + 'productCode' => false, + 'orderCode' => false, + ]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetOrderClaimsResponse::class; + } + + public function getEndpoint(): string + { + return '/api/orders/claims'; + } +} diff --git a/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse.php b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse.php new file mode 100755 index 0000000..ecc6112 --- /dev/null +++ b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data.php b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data.php new file mode 100755 index 0000000..9413d33 --- /dev/null +++ b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data.php @@ -0,0 +1,35 @@ +orders; + } + + public function setOrders(Orders $orders): static + { + $this->orders = $orders; + return $this; + } + + public function getPaginator(): Paginator + { + return $this->paginator; + } + + public function setPaginator(Paginator $paginator): static + { + $this->paginator = $paginator; + return $this; + } +} diff --git a/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders.php b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders.php new file mode 100755 index 0000000..af30108 --- /dev/null +++ b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Orders extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderClaimsResponse\GetOrderClaimsResponse\Data\Orders\Item'; + } +} diff --git a/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders/Item.php b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders/Item.php new file mode 100755 index 0000000..e90eb8f --- /dev/null +++ b/src/Endpoint/Orders/GetOrderClaimsResponse/GetOrderClaimsResponse/Data/Orders/Item.php @@ -0,0 +1,71 @@ +orderCode; + } + + public function setOrderCode(string $orderCode): static + { + $this->orderCode = $orderCode; + return $this; + } + + public function getStatusId(): float + { + return $this->statusId; + } + + public function setStatusId(float $statusId): static + { + $this->statusId = $statusId; + return $this; + } + + public function getProductCode(): string + { + return $this->productCode; + } + + public function setProductCode(string $productCode): static + { + $this->productCode = $productCode; + return $this; + } + + public function getAmount(): TypeAmountNullable + { + return $this->amount; + } + + public function setAmount(TypeAmountNullable $amount): static + { + $this->amount = $amount; + return $this; + } + + public function getAmountCompleted(): TypePositiveAmountNullable + { + return $this->amountCompleted; + } + + public function setAmountCompleted(TypePositiveAmountNullable $amountCompleted): static + { + $this->amountCompleted = $amountCompleted; + return $this; + } +} diff --git a/src/Endpoint/Orders/GetOrderDetail.php b/src/Endpoint/Orders/GetOrderDetail.php index 133e257..c43c3bb 100644 --- a/src/Endpoint/Orders/GetOrderDetail.php +++ b/src/Endpoint/Orders/GetOrderDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderDetailResponse\GetOrderDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Orders/getorderdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getorderdetail * * @method GetOrderDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse.php b/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse/Data.php b/src/Endpoint/Orders/GetOrderDetailResponse/GetOrderDetailResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderBatchInsertion.php b/src/Endpoint/Orders/OrderBatchInsertion.php index 9d44e0f..3e224a6 100644 --- a/src/Endpoint/Orders/OrderBatchInsertion.php +++ b/src/Endpoint/Orders/OrderBatchInsertion.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Orders/orderbatchinsertion + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/orderbatchinsertion * * @method OrderBatchInsertion setBody(null|array|OrderBatchInsertionRequest $entity) * @method null|OrderBatchInsertionRequest getBody() diff --git a/src/Endpoint/Orders/OrderBatchInsertionRequest/OrderBatchInsertionRequest.php b/src/Endpoint/Orders/OrderBatchInsertionRequest/OrderBatchInsertionRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse.php b/src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse/Data.php b/src/Endpoint/Orders/OrderBatchInsertionResponse/OrderBatchInsertionResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderCopy.php b/src/Endpoint/Orders/OrderCopy.php index dabf05a..0526a83 100644 --- a/src/Endpoint/Orders/OrderCopy.php +++ b/src/Endpoint/Orders/OrderCopy.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Orders/ordercopy + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/ordercopy * * @method OrderCopy setBody(null|array|OrderCopyRequest $entity) * @method null|OrderCopyRequest getBody() diff --git a/src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest.php b/src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest/Data.php b/src/Endpoint/Orders/OrderCopyRequest/OrderCopyRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse.php b/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse/Data.php b/src/Endpoint/Orders/OrderCopyResponse/OrderCopyResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHead.php b/src/Endpoint/Orders/UpdateOrderHead.php index 8482961..1498683 100644 --- a/src/Endpoint/Orders/UpdateOrderHead.php +++ b/src/Endpoint/Orders/UpdateOrderHead.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderhead + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateorderhead * * @method UpdateOrderHead setBody(null|array|UpdateOrderHeadRequest $entity) * @method null|UpdateOrderHeadRequest getBody() diff --git a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest.php b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data.php b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/DeliveryAddress.php b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/DeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse.php b/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse/Data.php b/src/Endpoint/Orders/UpdateOrderHeadResponse/UpdateOrderHeadResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderStatus.php b/src/Endpoint/Orders/UpdateOrderStatus.php index bf70fe2..19ff7b6 100644 --- a/src/Endpoint/Orders/UpdateOrderStatus.php +++ b/src/Endpoint/Orders/UpdateOrderStatus.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderstatus + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateorderstatus * * @method UpdateOrderStatus setBody(null|array|UpdateOrderStatusRequest $entity) * @method null|UpdateOrderStatusRequest getBody() diff --git a/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest.php b/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest/Data.php b/src/Endpoint/Orders/UpdateOrderStatusRequest/UpdateOrderStatusRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse.php b/src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse/Data.php b/src/Endpoint/Orders/UpdateOrderStatusResponse/UpdateOrderStatusResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrder.php b/src/Endpoint/Orders/UpdateRemarksForOrder.php index 3b782e8..364452b 100644 --- a/src/Endpoint/Orders/UpdateRemarksForOrder.php +++ b/src/Endpoint/Orders/UpdateRemarksForOrder.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Patch; /** - * @see https://api.docs.shoptet.com/openapi/Orders/updateremarksfororder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateremarksfororder * * @method UpdateRemarksForOrder setBody(null|array|UpdateRemarksForOrderRequest $entity) * @method null|UpdateRemarksForOrderRequest getBody() diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest.php b/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data.php b/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields.php b/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields/Item.php b/src/Endpoint/Orders/UpdateRemarksForOrderRequest/UpdateRemarksForOrderRequest/Data/AdditionalFields/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php b/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php old mode 100644 new mode 100755 index ced1e28..264b149 --- a/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php +++ b/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateRemarksForOrderResponse\UpdateRemarksForOrderResponse\Data; class UpdateRemarksForOrderResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse/Data.php b/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse/Data.php new file mode 100755 index 0000000..a8adf1a --- /dev/null +++ b/src/Endpoint/Orders/UpdateRemarksForOrderResponse/UpdateRemarksForOrderResponse/Data.php @@ -0,0 +1,9 @@ + false]; + + public function getRequestEntityClass(): string + { + return CreatePageRequest::class; + } + + public function getResponseEntityClass(): string + { + return CreatePageResponse::class; + } + + public function getEndpoint(): string + { + return '/api/pages'; + } +} diff --git a/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest.php b/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest.php new file mode 100755 index 0000000..71075be --- /dev/null +++ b/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest/Data.php b/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest/Data.php new file mode 100755 index 0000000..8bb2385 --- /dev/null +++ b/src/Endpoint/Pages/CreatePageRequest/CreatePageRequest/Data.php @@ -0,0 +1,130 @@ +title; + } + + public function setTitle(string $title): static + { + $this->title = $title; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getLinkText(): ?string + { + return $this->linkText; + } + + public function setLinkText(?string $linkText): static + { + $this->linkText = $linkText; + return $this; + } + + public function getMetaTitle(): ?string + { + return $this->metaTitle; + } + + public function setMetaTitle(?string $metaTitle): static + { + $this->metaTitle = $metaTitle; + return $this; + } + + public function getMetaDescription(): ?string + { + return $this->metaDescription; + } + + public function setMetaDescription(?string $metaDescription): static + { + $this->metaDescription = $metaDescription; + return $this; + } + + public function getCanonicalUrl(): ?string + { + return $this->canonicalUrl; + } + + public function setCanonicalUrl(?string $canonicalUrl): static + { + $this->canonicalUrl = $canonicalUrl; + return $this; + } + + public function getVisible(): ?bool + { + return $this->visible; + } + + public function setVisible(?bool $visible): static + { + $this->visible = $visible; + return $this; + } + + public function getAccess(): ?string + { + return $this->access; + } + + public function setAccess(?string $access): static + { + $this->access = $access; + return $this; + } + + public function getSourceOgImageName(): ?TypeFilenameNullable + { + return $this->sourceOgImageName; + } + + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static + { + $this->sourceOgImageName = $sourceOgImageName; + return $this; + } +} diff --git a/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse.php b/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse.php new file mode 100755 index 0000000..80a46e0 --- /dev/null +++ b/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse/Data.php b/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse/Data.php new file mode 100755 index 0000000..ac068f2 --- /dev/null +++ b/src/Endpoint/Pages/CreatePageResponse/CreatePageResponse/Data.php @@ -0,0 +1,22 @@ +page; + } + + public function setPage(Page $page): static + { + $this->page = $page; + return $this; + } +} diff --git a/src/Endpoint/Pages/DeletePage.php b/src/Endpoint/Pages/DeletePage.php new file mode 100644 index 0000000..1475c98 --- /dev/null +++ b/src/Endpoint/Pages/DeletePage.php @@ -0,0 +1,33 @@ + true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return DeletePageResponse::class; + } + + public function getEndpoint(): string + { + return '/api/pages/{pageId}'; + } +} diff --git a/src/Endpoint/Orders/DeleteOrderItemResponse/DeleteOrderItemResponse.php b/src/Endpoint/Pages/DeletePageResponse/DeletePageResponse.php old mode 100644 new mode 100755 similarity index 82% rename from src/Endpoint/Orders/DeleteOrderItemResponse/DeleteOrderItemResponse.php rename to src/Endpoint/Pages/DeletePageResponse/DeletePageResponse.php index 8c254b5..f84f808 --- a/src/Endpoint/Orders/DeleteOrderItemResponse/DeleteOrderItemResponse.php +++ b/src/Endpoint/Pages/DeletePageResponse/DeletePageResponse.php @@ -1,11 +1,11 @@ true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): string + { + return UpdatePageRequest::class; + } + + public function getResponseEntityClass(): string + { + return UpdatePageResponse::class; + } + + public function getEndpoint(): string + { + return '/api/pages/{pageId}'; + } +} diff --git a/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest.php b/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest.php new file mode 100755 index 0000000..e2ac872 --- /dev/null +++ b/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest/Data.php b/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest/Data.php new file mode 100755 index 0000000..b3b225d --- /dev/null +++ b/src/Endpoint/Pages/UpdatePageRequest/UpdatePageRequest/Data.php @@ -0,0 +1,130 @@ +title; + } + + public function setTitle(?string $title): static + { + $this->title = $title; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getLinkText(): ?string + { + return $this->linkText; + } + + public function setLinkText(?string $linkText): static + { + $this->linkText = $linkText; + return $this; + } + + public function getMetaTitle(): ?string + { + return $this->metaTitle; + } + + public function setMetaTitle(?string $metaTitle): static + { + $this->metaTitle = $metaTitle; + return $this; + } + + public function getMetaDescription(): ?string + { + return $this->metaDescription; + } + + public function setMetaDescription(?string $metaDescription): static + { + $this->metaDescription = $metaDescription; + return $this; + } + + public function getCanonicalUrl(): ?string + { + return $this->canonicalUrl; + } + + public function setCanonicalUrl(?string $canonicalUrl): static + { + $this->canonicalUrl = $canonicalUrl; + return $this; + } + + public function getVisible(): ?bool + { + return $this->visible; + } + + public function setVisible(?bool $visible): static + { + $this->visible = $visible; + return $this; + } + + public function getAccess(): ?string + { + return $this->access; + } + + public function setAccess(?string $access): static + { + $this->access = $access; + return $this; + } + + public function getSourceOgImageName(): ?TypeFilenameNullable + { + return $this->sourceOgImageName; + } + + public function setSourceOgImageName(?TypeFilenameNullable $sourceOgImageName): static + { + $this->sourceOgImageName = $sourceOgImageName; + return $this; + } +} diff --git a/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse.php b/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse.php new file mode 100755 index 0000000..4e0aa17 --- /dev/null +++ b/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse/Data.php b/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse/Data.php new file mode 100755 index 0000000..3d1ed60 --- /dev/null +++ b/src/Endpoint/Pages/UpdatePageResponse/UpdatePageResponse/Data.php @@ -0,0 +1,22 @@ +page; + } + + public function setPage(Page $page): static + { + $this->page = $page; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategory.php b/src/Endpoint/ParametricCategories/CreateParametricCategory.php new file mode 100644 index 0000000..0952585 --- /dev/null +++ b/src/Endpoint/ParametricCategories/CreateParametricCategory.php @@ -0,0 +1,34 @@ + false, 'include' => false]; + + public function getRequestEntityClass(): string + { + return CreateParametricCategoryRequest::class; + } + + public function getResponseEntityClass(): string + { + return CreateParametricCategoryResponse::class; + } + + public function getEndpoint(): string + { + return '/api/parametric-categories'; + } +} diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest.php b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest.php new file mode 100755 index 0000000..261104a --- /dev/null +++ b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data.php b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data.php new file mode 100755 index 0000000..a1c8bcd --- /dev/null +++ b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data.php @@ -0,0 +1,144 @@ +name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getOriginalCategoryGuid(): TypeGuid + { + return $this->originalCategoryGuid; + } + + public function setOriginalCategoryGuid(TypeGuid $originalCategoryGuid): static + { + $this->originalCategoryGuid = $originalCategoryGuid; + return $this; + } + + public function getParameters(): Parameters + { + return $this->parameters; + } + + public function setParameters(Parameters $parameters): static + { + $this->parameters = $parameters; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getSecondDescription(): ?string + { + return $this->secondDescription; + } + + public function setSecondDescription(?string $secondDescription): static + { + $this->secondDescription = $secondDescription; + return $this; + } + + public function getSourceImageName(): ?TypeFilenameNullable + { + return $this->sourceImageName; + } + + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static + { + $this->sourceImageName = $sourceImageName; + return $this; + } + + public function getTitle(): ?string + { + return $this->title; + } + + public function setTitle(?string $title): static + { + $this->title = $title; + return $this; + } + + public function getMetaTagDescription(): ?string + { + return $this->metaTagDescription; + } + + public function setMetaTagDescription(?string $metaTagDescription): static + { + $this->metaTagDescription = $metaTagDescription; + return $this; + } + + public function getShowInList(): ?bool + { + return $this->showInList; + } + + public function setShowInList(?bool $showInList): static + { + $this->showInList = $showInList; + return $this; + } + + public function getShowInDetail(): ?bool + { + return $this->showInDetail; + } + + public function setShowInDetail(?bool $showInDetail): static + { + $this->showInDetail = $showInDetail; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data/Parameters.php b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data/Parameters.php new file mode 100755 index 0000000..5bb96ca --- /dev/null +++ b/src/Endpoint/ParametricCategories/CreateParametricCategoryRequest/CreateParametricCategoryRequest/Data/Parameters.php @@ -0,0 +1,31 @@ + + * @property ParameterValueCombinationsCodes[] $data + * @method ParameterValueCombinationsCodes[] toArray() + * @method void set(int $key, ParameterValueCombinationsCodes $item) + * @method null|ParameterValueCombinationsCodes get(int $key) + * @method void add(ParameterValueCombinationsCodes $item) + * @method null|ParameterValueCombinationsCodes remove(int $key) + * @method bool removeItem(ParameterValueCombinationsCodes $item, bool $strict = true) + * @method bool contains(ParameterValueCombinationsCodes $item, bool $strict = true) + * @method null|ParameterValueCombinationsCodes offsetGet(int $offset) + * @method void offsetSet(int $offset, ParameterValueCombinationsCodes $value) + */ +class Parameters extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ParameterValueCombinationsCodes'; + } +} diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse.php b/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse.php new file mode 100755 index 0000000..6f75658 --- /dev/null +++ b/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php b/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data.php old mode 100644 new mode 100755 similarity index 61% rename from src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php rename to src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data.php index 5fc52ef..011ba2c --- a/src/Endpoint/Products/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data.php +++ b/src/Endpoint/ParametricCategories/CreateParametricCategoryResponse/CreateParametricCategoryResponse/Data.php @@ -1,9 +1,9 @@ true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return DeleteParametricCategoryResponse::class; + } + + public function getEndpoint(): string + { + return '/api/parametric-categories/{categoryGuid}'; + } +} diff --git a/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse.php b/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse.php new file mode 100755 index 0000000..21a97e8 --- /dev/null +++ b/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse/Data.php b/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse/Data.php new file mode 100755 index 0000000..a1f6ac3 --- /dev/null +++ b/src/Endpoint/ParametricCategories/DeleteParametricCategoryResponse/DeleteParametricCategoryResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class ParametricCategories extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfParametricCategoriesResponse\GetListOfParametricCategoriesResponse\Data\ParametricCategories\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\GetListOfParametricCategoriesResponse\GetListOfParametricCategoriesResponse\Data\ParametricCategories\Item'; } } diff --git a/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php b/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php old mode 100644 new mode 100755 similarity index 91% rename from src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php rename to src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php index ddf7e5e..f9b1d58 --- a/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php +++ b/src/Endpoint/ParametricCategories/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item.php @@ -1,9 +1,9 @@ + * @property ParameterValueCombinations[] $data + * @method ParameterValueCombinations[] toArray() + * @method void set(int $key, ParameterValueCombinations $item) + * @method null|ParameterValueCombinations get(int $key) + * @method void add(ParameterValueCombinations $item) + * @method null|ParameterValueCombinations remove(int $key) + * @method bool removeItem(ParameterValueCombinations $item, bool $strict = true) + * @method bool contains(ParameterValueCombinations $item, bool $strict = true) + * @method null|ParameterValueCombinations offsetGet(int $offset) + * @method void offsetSet(int $offset, ParameterValueCombinations $value) + */ +class Parameters extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ParameterValueCombinations'; + } +} diff --git a/src/Endpoint/Products/GetParametricCategoryDetail.php b/src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php similarity index 68% rename from src/Endpoint/Products/GetParametricCategoryDetail.php rename to src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php index 5d83b8c..a826a43 100644 --- a/src/Endpoint/Products/GetParametricCategoryDetail.php +++ b/src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php @@ -1,12 +1,12 @@ parametricCategory; + } + + public function setParametricCategory(ParametricCategory $parametricCategory): static + { + $this->parametricCategory = $parametricCategory; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php b/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php new file mode 100755 index 0000000..7a8a4c8 --- /dev/null +++ b/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory.php @@ -0,0 +1,166 @@ +guid; + } + + public function setGuid(string $guid): static + { + $this->guid = $guid; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): string + { + return $this->indexName; + } + + public function setIndexName(string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): static + { + $this->url = $url; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getSecondDescription(): ?string + { + return $this->secondDescription; + } + + public function setSecondDescription(?string $secondDescription): static + { + $this->secondDescription = $secondDescription; + return $this; + } + + public function getImage(): ?string + { + return $this->image; + } + + public function setImage(?string $image): static + { + $this->image = $image; + return $this; + } + + public function getTitle(): ?string + { + return $this->title; + } + + public function setTitle(?string $title): static + { + $this->title = $title; + return $this; + } + + public function getMetaTagDescription(): ?string + { + return $this->metaTagDescription; + } + + public function setMetaTagDescription(?string $metaTagDescription): static + { + $this->metaTagDescription = $metaTagDescription; + return $this; + } + + public function getOriginalCategoryGuid(): ?string + { + return $this->originalCategoryGuid; + } + + public function setOriginalCategoryGuid(?string $originalCategoryGuid): static + { + $this->originalCategoryGuid = $originalCategoryGuid; + return $this; + } + + public function isShowInList(): bool + { + return $this->showInList; + } + + public function setShowInList(bool $showInList): static + { + $this->showInList = $showInList; + return $this; + } + + public function isShowInDetail(): bool + { + return $this->showInDetail; + } + + public function setShowInDetail(bool $showInDetail): static + { + $this->showInDetail = $showInDetail; + return $this; + } + + public function getParameters(): ?Parameters + { + return $this->parameters; + } + + public function setParameters(?Parameters $parameters): static + { + $this->parameters = $parameters; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php b/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php new file mode 100755 index 0000000..eb53d5d --- /dev/null +++ b/src/Endpoint/ParametricCategories/GetParametricCategoryDetailResponse/GetParametricCategoryDetailResponse/Data/ParametricCategory/Parameters.php @@ -0,0 +1,31 @@ + + * @property ParameterValueCombinations[] $data + * @method ParameterValueCombinations[] toArray() + * @method void set(int $key, ParameterValueCombinations $item) + * @method null|ParameterValueCombinations get(int $key) + * @method void add(ParameterValueCombinations $item) + * @method null|ParameterValueCombinations remove(int $key) + * @method bool removeItem(ParameterValueCombinations $item, bool $strict = true) + * @method bool contains(ParameterValueCombinations $item, bool $strict = true) + * @method null|ParameterValueCombinations offsetGet(int $offset) + * @method void offsetSet(int $offset, ParameterValueCombinations $value) + */ +class Parameters extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ParameterValueCombinations'; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategory.php b/src/Endpoint/ParametricCategories/UpdateParametricCategory.php new file mode 100644 index 0000000..abee575 --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategory.php @@ -0,0 +1,34 @@ + true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): string + { + return UpdateParametricCategoryRequest::class; + } + + public function getResponseEntityClass(): string + { + return UpdateParametricCategoryResponse::class; + } + + public function getEndpoint(): string + { + return '/api/parametric-categories/{categoryGuid}'; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest.php new file mode 100755 index 0000000..b02e206 --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest/Data.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest/Data.php new file mode 100755 index 0000000..62efb20 --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryRequest/UpdateParametricCategoryRequest/Data.php @@ -0,0 +1,118 @@ +name; + } + + public function setName(?string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getSecondDescription(): ?string + { + return $this->secondDescription; + } + + public function setSecondDescription(?string $secondDescription): static + { + $this->secondDescription = $secondDescription; + return $this; + } + + public function getSourceImageName(): ?TypeFilenameNullable + { + return $this->sourceImageName; + } + + public function setSourceImageName(?TypeFilenameNullable $sourceImageName): static + { + $this->sourceImageName = $sourceImageName; + return $this; + } + + public function getTitle(): ?string + { + return $this->title; + } + + public function setTitle(?string $title): static + { + $this->title = $title; + return $this; + } + + public function getMetaTagDescription(): ?string + { + return $this->metaTagDescription; + } + + public function setMetaTagDescription(?string $metaTagDescription): static + { + $this->metaTagDescription = $metaTagDescription; + return $this; + } + + public function getShowInList(): ?bool + { + return $this->showInList; + } + + public function setShowInList(?bool $showInList): static + { + $this->showInList = $showInList; + return $this; + } + + public function getShowInDetail(): ?bool + { + return $this->showInDetail; + } + + public function setShowInDetail(?bool $showInDetail): static + { + $this->showInDetail = $showInDetail; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse.php new file mode 100755 index 0000000..1f74323 --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data.php new file mode 100755 index 0000000..901e5bb --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data.php @@ -0,0 +1,22 @@ +parametricCategory; + } + + public function setParametricCategory(ParametricCategory $parametricCategory): static + { + $this->parametricCategory = $parametricCategory; + return $this; + } +} diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory.php new file mode 100755 index 0000000..43b2e04 --- /dev/null +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory.php @@ -0,0 +1,166 @@ +guid; + } + + public function setGuid(string $guid): static + { + $this->guid = $guid; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): string + { + return $this->indexName; + } + + public function setIndexName(string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): static + { + $this->url = $url; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getSecondDescription(): ?string + { + return $this->secondDescription; + } + + public function setSecondDescription(?string $secondDescription): static + { + $this->secondDescription = $secondDescription; + return $this; + } + + public function getImage(): ?string + { + return $this->image; + } + + public function setImage(?string $image): static + { + $this->image = $image; + return $this; + } + + public function getTitle(): ?string + { + return $this->title; + } + + public function setTitle(?string $title): static + { + $this->title = $title; + return $this; + } + + public function getMetaTagDescription(): ?string + { + return $this->metaTagDescription; + } + + public function setMetaTagDescription(?string $metaTagDescription): static + { + $this->metaTagDescription = $metaTagDescription; + return $this; + } + + public function getOriginalCategoryGuid(): ?string + { + return $this->originalCategoryGuid; + } + + public function setOriginalCategoryGuid(?string $originalCategoryGuid): static + { + $this->originalCategoryGuid = $originalCategoryGuid; + return $this; + } + + public function isShowInList(): bool + { + return $this->showInList; + } + + public function setShowInList(bool $showInList): static + { + $this->showInList = $showInList; + return $this; + } + + public function isShowInDetail(): bool + { + return $this->showInDetail; + } + + public function setShowInDetail(bool $showInDetail): static + { + $this->showInDetail = $showInDetail; + return $this; + } + + public function getParameters(): ?Parameters + { + return $this->parameters; + } + + public function setParameters(?Parameters $parameters): static + { + $this->parameters = $parameters; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory/Parameters.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php rename to src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory/Parameters.php index 6c6d7a1..c2fdbaa --- a/src/Endpoint/Products/GetListOfParametricCategoriesResponse/GetListOfParametricCategoriesResponse/Data/ParametricCategories/Item/Parameters.php +++ b/src/Endpoint/ParametricCategories/UpdateParametricCategoryResponse/UpdateParametricCategoryResponse/Data/ParametricCategory/Parameters.php @@ -1,6 +1,6 @@ true]; - protected array $supportedQueryParams = ['language' => false]; + + protected array $supportedQueryParams = [ + 'language' => false, + 'suppressDocumentGeneration' => false, + 'suppressEmailSending' => false, + ]; public function getRequestEntityClass(): string { diff --git a/src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest.php b/src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest/Data.php b/src/Endpoint/PaymentGateways/UpdatePaymentStatusRequest/UpdatePaymentStatusRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse.php b/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse/Data.php b/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse/Data.php old mode 100644 new mode 100755 index 8db22d6..456a18d --- a/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse/Data.php +++ b/src/Endpoint/PaymentGateways/UpdatePaymentStatusResponse/UpdatePaymentStatusResponse/Data.php @@ -6,28 +6,4 @@ class Data extends Entity { - protected string $orderCode; - protected string $returnUrl; - - public function getOrderCode(): string - { - return $this->orderCode; - } - - public function setOrderCode(string $orderCode): static - { - $this->orderCode = $orderCode; - return $this; - } - - public function getReturnUrl(): string - { - return $this->returnUrl; - } - - public function setReturnUrl(string $returnUrl): static - { - $this->returnUrl = $returnUrl; - return $this; - } } diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethod.php b/src/Endpoint/PaymentMethods/CreatePaymentMethod.php index 863789b..d99a1a5 100644 --- a/src/Endpoint/PaymentMethods/CreatePaymentMethod.php +++ b/src/Endpoint/PaymentMethods/CreatePaymentMethod.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Post; /** - * @see https://api.docs.shoptet.com/openapi/Payment-methods/createpaymentmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-methods/createpaymentmethod * * @method CreatePaymentMethod setBody(null|array|CreatePaymentMethodRequest $entity) * @method null|CreatePaymentMethodRequest getBody() diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data/Logo.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodRequest/CreatePaymentMethodRequest/Data/Logo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data/PaymentType.php b/src/Endpoint/PaymentMethods/CreatePaymentMethodResponse/CreatePaymentMethodResponse/Data/PaymentType.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/DeletePaymentMethod.php b/src/Endpoint/PaymentMethods/DeletePaymentMethod.php index 6b132bd..cac3033 100644 --- a/src/Endpoint/PaymentMethods/DeletePaymentMethod.php +++ b/src/Endpoint/PaymentMethods/DeletePaymentMethod.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PaymentMethods\DeletePaymentMethodResponse\DeletePaymentMethodResponse; /** - * @see https://api.docs.shoptet.com/openapi/Payment-methods/deletepaymentmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-methods/deletepaymentmethod * * @method DeletePaymentMethod setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php b/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php old mode 100644 new mode 100755 index 2946b5d..7b41481 --- a/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php +++ b/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\PaymentMethods\DeletePaymentMethodResponse\DeletePaymentMethodResponse\Data; class DeletePaymentMethodResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse/Data.php b/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse/Data.php new file mode 100755 index 0000000..399c2c2 --- /dev/null +++ b/src/Endpoint/PaymentMethods/DeletePaymentMethodResponse/DeletePaymentMethodResponse/Data.php @@ -0,0 +1,9 @@ +wholesaleSplitActive; + } + + public function setWholesaleSplitActive(bool $wholesaleSplitActive): static + { + $this->wholesaleSplitActive = $wholesaleSplitActive; + return $this; + } + public function getDefaultRetailMethod(): ?string { return $this->defaultRetailMethod; diff --git a/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods.php b/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item.php b/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item/PaymentType.php b/src/Endpoint/PaymentMethods/GetListingOfPaymentMethodsResponse/GetListingOfPaymentMethodsResponse/Data/PaymentMethods/Item/PaymentType.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Post.php b/src/Endpoint/Post.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/CreatePricelist.php b/src/Endpoint/PriceLists/CreatePricelist.php index ceb0531..827b10f 100644 --- a/src/Endpoint/PriceLists/CreatePricelist.php +++ b/src/Endpoint/PriceLists/CreatePricelist.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\CreatePricelistResponse\CreatePricelistResponse; /** - * @see https://api.docs.shoptet.com/openapi/Price-lists/createpricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/createpricelist * * @method CreatePricelist setBody(null|array|CreatePricelistRequest $entity) * @method null|CreatePricelistRequest getBody() diff --git a/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest.php b/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest/Data.php b/src/Endpoint/PriceLists/CreatePricelistRequest/CreatePricelistRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php b/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php old mode 100644 new mode 100755 index c5ffd01..b3a84a9 --- a/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php +++ b/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse.php @@ -4,19 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; -use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\CreatePricelistResponse\CreatePricelistResponse\Data; +use Shoptet\Api\Sdk\Php\Component\Entity\Pricelist; class CreatePricelistResponse extends Entity { - protected ?Data $data; + protected ?Pricelist $data; protected ?Errors $errors; - public function getData(): ?Data + public function getData(): ?Pricelist { return $this->data; } - public function setData(?Data $data): static + public function setData(?Pricelist $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse/Data.php b/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse/Data.php deleted file mode 100644 index ab4c3d7..0000000 --- a/src/Endpoint/PriceLists/CreatePricelistResponse/CreatePricelistResponse/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -data; - } - - public function setData(?Pricelist $data): static - { - $this->data = $data; - return $this; - } -} diff --git a/src/Endpoint/PriceLists/DeletePricelist.php b/src/Endpoint/PriceLists/DeletePricelist.php index e2c18e6..f013223 100644 --- a/src/Endpoint/PriceLists/DeletePricelist.php +++ b/src/Endpoint/PriceLists/DeletePricelist.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\DeletePricelistResponse\DeletePricelistResponse; /** - * @see https://api.docs.shoptet.com/openapi/Price-lists/deletepricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/deletepricelist * * @method DeletePricelist setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php b/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php old mode 100644 new mode 100755 index d2ace43..43897c7 --- a/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php +++ b/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\DeletePricelistResponse\DeletePricelistResponse\Data; class DeletePricelistResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse/Data.php b/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse/Data.php new file mode 100755 index 0000000..6097461 --- /dev/null +++ b/src/Endpoint/PriceLists/DeletePricelistResponse/DeletePricelistResponse/Data.php @@ -0,0 +1,9 @@ +pricelist; } - public function setPricelist(PricelistDetail $pricelist): static + public function setPricelist(Pricelist $pricelist): static { $this->pricelist = $pricelist; return $this; diff --git a/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data/Pricelist.php b/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data/Pricelist.php new file mode 100755 index 0000000..88e18ec --- /dev/null +++ b/src/Endpoint/PriceLists/GetPricelistDetailResponse/GetPricelistDetailResponse/Data/Pricelist.php @@ -0,0 +1,31 @@ + + * @property PricelistDetail[] $data + * @method PricelistDetail[] toArray() + * @method void set(int $key, PricelistDetail $item) + * @method null|PricelistDetail get(int $key) + * @method void add(PricelistDetail $item) + * @method null|PricelistDetail remove(int $key) + * @method bool removeItem(PricelistDetail $item, bool $strict = true) + * @method bool contains(PricelistDetail $item, bool $strict = true) + * @method null|PricelistDetail offsetGet(int $offset) + * @method void offsetSet(int $offset, PricelistDetail $value) + */ +class Pricelist extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\PricelistDetail'; + } +} diff --git a/src/Endpoint/PriceLists/UpdatePricelist.php b/src/Endpoint/PriceLists/UpdatePricelist.php index a41da2e..3941831 100644 --- a/src/Endpoint/PriceLists/UpdatePricelist.php +++ b/src/Endpoint/PriceLists/UpdatePricelist.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistResponse\UpdatePricelistResponse; /** - * @see https://api.docs.shoptet.com/openapi/Price-lists/updatepricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/updatepricelist * * @method UpdatePricelist setBody(null|array|UpdatePricelistRequest $entity) * @method null|UpdatePricelistRequest getBody() diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item.php old mode 100644 new mode 100755 index e1785c9..9cfae72 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item.php @@ -3,24 +3,26 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\OrderableAmount; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\Price; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithVat; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithoutVat; +use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\Prices; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\Sales; class Item extends Entity { protected string $code; protected ?string $currencyCode; - protected ?TypePrice $vatRate; + protected ?TypePriceNullable $vatRate; protected ?bool $includingVat; protected ?OrderableAmount $orderableAmount; protected ?Sales $sales; protected ?Price $price; protected ?PriceWithVat $priceWithVat; protected ?PriceWithoutVat $priceWithoutVat; + protected ?Prices $prices; public function getCode(): string { @@ -44,12 +46,12 @@ public function setCurrencyCode(?string $currencyCode): static return $this; } - public function getVatRate(): ?TypePrice + public function getVatRate(): ?TypePriceNullable { return $this->vatRate; } - public function setVatRate(?TypePrice $vatRate): static + public function setVatRate(?TypePriceNullable $vatRate): static { $this->vatRate = $vatRate; return $this; @@ -120,4 +122,15 @@ public function setPriceWithoutVat(?PriceWithoutVat $priceWithoutVat): static $this->priceWithoutVat = $priceWithoutVat; return $this; } + + public function getPrices(): ?Prices + { + return $this->prices; + } + + public function setPrices(?Prices $prices): static + { + $this->prices = $prices; + return $this; + } } diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/OrderableAmount.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/OrderableAmount.php old mode 100644 new mode 100755 index b7a1d29..6a3ac84 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/OrderableAmount.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/OrderableAmount.php @@ -3,30 +3,30 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; class OrderableAmount extends Entity { - protected ?TypePositiveAmount $minimumAmount; - protected ?TypePositiveAmount $maximumAmount; + protected ?TypePositiveAmountNullable $minimumAmount; + protected ?TypePositiveAmountNullable $maximumAmount; - public function getMinimumAmount(): ?TypePositiveAmount + public function getMinimumAmount(): ?TypePositiveAmountNullable { return $this->minimumAmount; } - public function setMinimumAmount(?TypePositiveAmount $minimumAmount): static + public function setMinimumAmount(?TypePositiveAmountNullable $minimumAmount): static { $this->minimumAmount = $minimumAmount; return $this; } - public function getMaximumAmount(): ?TypePositiveAmount + public function getMaximumAmount(): ?TypePositiveAmountNullable { return $this->maximumAmount; } - public function setMaximumAmount(?TypePositiveAmount $maximumAmount): static + public function setMaximumAmount(?TypePositiveAmountNullable $maximumAmount): static { $this->maximumAmount = $maximumAmount; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price.php old mode 100644 new mode 100755 index 0f2ca3e..e84a332 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price.php @@ -3,46 +3,46 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\Price\ActionPrice; class Price extends Entity { - protected ?TypePrice $price; - protected ?TypePrice $commonPrice; - protected ?TypePrice $buyPrice; + protected ?TypePriceNullable $price; + protected ?TypePriceNullable $commonPrice; + protected ?TypePriceNullable $buyPrice; protected ?TypePriceRatio $priceRatio; protected ?ActionPrice $actionPrice; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getCommonPrice(): ?TypePrice + public function getCommonPrice(): ?TypePriceNullable { return $this->commonPrice; } - public function setCommonPrice(?TypePrice $commonPrice): static + public function setCommonPrice(?TypePriceNullable $commonPrice): static { $this->commonPrice = $commonPrice; return $this; } - public function getBuyPrice(): ?TypePrice + public function getBuyPrice(): ?TypePriceNullable { return $this->buyPrice; } - public function setBuyPrice(?TypePrice $buyPrice): static + public function setBuyPrice(?TypePriceNullable $buyPrice): static { $this->buyPrice = $buyPrice; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price/ActionPrice.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price/ActionPrice.php old mode 100644 new mode 100755 index aedf840..7ef0fd4 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price/ActionPrice.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Price/ActionPrice.php @@ -3,43 +3,43 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\Price; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ActionPrice extends Entity { - protected ?TypePrice $price; - protected ?TypeDate $fromDate; - protected ?TypeDate $toDate; + protected ?TypePriceNullable $price; + protected ?TypeDateNullable $fromDate; + protected ?TypeDateNullable $toDate; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getFromDate(): ?TypeDate + public function getFromDate(): ?TypeDateNullable { return $this->fromDate; } - public function setFromDate(?TypeDate $fromDate): static + public function setFromDate(?TypeDateNullable $fromDate): static { $this->fromDate = $fromDate; return $this; } - public function getToDate(): ?TypeDate + public function getToDate(): ?TypeDateNullable { return $this->toDate; } - public function setToDate(?TypeDate $toDate): static + public function setToDate(?TypeDateNullable $toDate): static { $this->toDate = $toDate; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat.php old mode 100644 new mode 100755 index 9f505de..a777f0f --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat.php @@ -3,46 +3,46 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithVat\ActionPrice; class PriceWithVat extends Entity { - protected ?TypePrice $price; - protected ?TypePrice $commonPrice; - protected ?TypePrice $buyPrice; + protected ?TypePriceNullable $price; + protected ?TypePriceNullable $commonPrice; + protected ?TypePriceNullable $buyPrice; protected ?TypePriceRatio $priceRatio; protected ?ActionPrice $actionPrice; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getCommonPrice(): ?TypePrice + public function getCommonPrice(): ?TypePriceNullable { return $this->commonPrice; } - public function setCommonPrice(?TypePrice $commonPrice): static + public function setCommonPrice(?TypePriceNullable $commonPrice): static { $this->commonPrice = $commonPrice; return $this; } - public function getBuyPrice(): ?TypePrice + public function getBuyPrice(): ?TypePriceNullable { return $this->buyPrice; } - public function setBuyPrice(?TypePrice $buyPrice): static + public function setBuyPrice(?TypePriceNullable $buyPrice): static { $this->buyPrice = $buyPrice; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php old mode 100644 new mode 100755 index d2deecb..603aa14 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithVat/ActionPrice.php @@ -3,43 +3,43 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithVat; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ActionPrice extends Entity { - protected ?TypePrice $price; - protected ?TypeDate $fromDate; - protected ?TypeDate $toDate; + protected ?TypePriceNullable $price; + protected ?TypeDateNullable $fromDate; + protected ?TypeDateNullable $toDate; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getFromDate(): ?TypeDate + public function getFromDate(): ?TypeDateNullable { return $this->fromDate; } - public function setFromDate(?TypeDate $fromDate): static + public function setFromDate(?TypeDateNullable $fromDate): static { $this->fromDate = $fromDate; return $this; } - public function getToDate(): ?TypeDate + public function getToDate(): ?TypeDateNullable { return $this->toDate; } - public function setToDate(?TypeDate $toDate): static + public function setToDate(?TypeDateNullable $toDate): static { $this->toDate = $toDate; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php old mode 100644 new mode 100755 index 4ffa180..cf78d06 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat.php @@ -3,46 +3,46 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithoutVat\ActionPrice; class PriceWithoutVat extends Entity { - protected ?TypePrice $price; - protected ?TypePrice $commonPrice; - protected ?TypePrice $buyPrice; + protected ?TypePriceNullable $price; + protected ?TypePriceNullable $commonPrice; + protected ?TypePriceNullable $buyPrice; protected ?TypePriceRatio $priceRatio; protected ?ActionPrice $actionPrice; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getCommonPrice(): ?TypePrice + public function getCommonPrice(): ?TypePriceNullable { return $this->commonPrice; } - public function setCommonPrice(?TypePrice $commonPrice): static + public function setCommonPrice(?TypePriceNullable $commonPrice): static { $this->commonPrice = $commonPrice; return $this; } - public function getBuyPrice(): ?TypePrice + public function getBuyPrice(): ?TypePriceNullable { return $this->buyPrice; } - public function setBuyPrice(?TypePrice $buyPrice): static + public function setBuyPrice(?TypePriceNullable $buyPrice): static { $this->buyPrice = $buyPrice; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php old mode 100644 new mode 100755 index 9b906c3..8aecfe1 --- a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/PriceWithoutVat/ActionPrice.php @@ -3,43 +3,43 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest\Data\Item\PriceWithoutVat; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class ActionPrice extends Entity { - protected ?TypePrice $price; - protected ?TypeDate $fromDate; - protected ?TypeDate $toDate; + protected ?TypePriceNullable $price; + protected ?TypeDateNullable $fromDate; + protected ?TypeDateNullable $toDate; - public function getPrice(): ?TypePrice + public function getPrice(): ?TypePriceNullable { return $this->price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; } - public function getFromDate(): ?TypeDate + public function getFromDate(): ?TypeDateNullable { return $this->fromDate; } - public function setFromDate(?TypeDate $fromDate): static + public function setFromDate(?TypeDateNullable $fromDate): static { $this->fromDate = $fromDate; return $this; } - public function getToDate(): ?TypeDate + public function getToDate(): ?TypeDateNullable { return $this->toDate; } - public function setToDate(?TypeDate $toDate): static + public function setToDate(?TypeDateNullable $toDate): static { $this->toDate = $toDate; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices.php new file mode 100755 index 0000000..7aacb73 --- /dev/null +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices.php @@ -0,0 +1,22 @@ +purchasePrice; + } + + public function setPurchasePrice(?PurchasePrice $purchasePrice): static + { + $this->purchasePrice = $purchasePrice; + return $this; + } +} diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices/PurchasePrice.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices/PurchasePrice.php new file mode 100755 index 0000000..fdf5fab --- /dev/null +++ b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Prices/PurchasePrice.php @@ -0,0 +1,46 @@ +price; + } + + public function setPrice(?TypePriceNullable $price): static + { + $this->price = $price; + return $this; + } + + public function getVatRate(): ?TypePriceNullable + { + return $this->vatRate; + } + + public function setVatRate(?TypePriceNullable $vatRate): static + { + $this->vatRate = $vatRate; + return $this; + } + + public function getIncludingVat(): ?bool + { + return $this->includingVat; + } + + public function setIncludingVat(?bool $includingVat): static + { + $this->includingVat = $includingVat; + return $this; + } +} diff --git a/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Sales.php b/src/Endpoint/PriceLists/UpdatePricelistRequest/UpdatePricelistRequest/Data/Item/Sales.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php b/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php old mode 100644 new mode 100755 index 0d5c572..43a01b6 --- a/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php +++ b/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistResponse\UpdatePricelistResponse\Data; class UpdatePricelistResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse/Data.php b/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse/Data.php new file mode 100755 index 0000000..d315e27 --- /dev/null +++ b/src/Endpoint/PriceLists/UpdatePricelistResponse/UpdatePricelistResponse/Data.php @@ -0,0 +1,9 @@ + false]; + + public function getRequestEntityClass(): string + { + return CreateProductAvailabilityRequest::class; + } + + public function getResponseEntityClass(): string + { + return CreateProductAvailabilityResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/availabilities'; + } +} diff --git a/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest.php new file mode 100755 index 0000000..1fde5e1 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest/Data.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest/Data.php new file mode 100755 index 0000000..ba8326f --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityRequest/CreateProductAvailabilityRequest/Data.php @@ -0,0 +1,94 @@ +name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getColor(): ?TypeColor + { + return $this->color; + } + + public function setColor(?TypeColor $color): static + { + $this->color = $color; + return $this; + } + + public function getOnStockInHours(): ?int + { + return $this->onStockInHours; + } + + public function setOnStockInHours(?int $onStockInHours): static + { + $this->onStockInHours = $onStockInHours; + return $this; + } + + public function getDeliveryInHours(): ?int + { + return $this->deliveryInHours; + } + + public function setDeliveryInHours(?int $deliveryInHours): static + { + $this->deliveryInHours = $deliveryInHours; + return $this; + } + + public function getGoogleAvailabilityId(): ?int + { + return $this->googleAvailabilityId; + } + + public function setGoogleAvailabilityId(?int $googleAvailabilityId): static + { + $this->googleAvailabilityId = $googleAvailabilityId; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse.php new file mode 100755 index 0000000..3af3629 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data.php new file mode 100755 index 0000000..089b065 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data.php @@ -0,0 +1,22 @@ +availability; + } + + public function setAvailability(Availability $availability): static + { + $this->availability = $availability; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability.php old mode 100644 new mode 100755 similarity index 78% rename from src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php rename to src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability.php index 02fba2a..1e2accc --- a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability.php @@ -1,14 +1,15 @@ indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + public function getDescription(): ?string { return $this->description; diff --git a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php old mode 100644 new mode 100755 similarity index 77% rename from src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php rename to src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php index c767c83..f2aa49c --- a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php +++ b/src/Endpoint/ProductAvailabilities/CreateProductAvailabilityResponse/CreateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php @@ -1,6 +1,6 @@ true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return DeleteProductAvailabilityResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/availabilities/{id}'; + } +} diff --git a/src/Endpoint/Orders/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php b/src/Endpoint/ProductAvailabilities/DeleteProductAvailabilityResponse/DeleteProductAvailabilityResponse.php old mode 100644 new mode 100755 similarity index 78% rename from src/Endpoint/Orders/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php rename to src/Endpoint/ProductAvailabilities/DeleteProductAvailabilityResponse/DeleteProductAvailabilityResponse.php index 89f5389..9446e64 --- a/src/Endpoint/Orders/CreateOrderRemarkResponse/CreateOrderRemarkResponse.php +++ b/src/Endpoint/ProductAvailabilities/DeleteProductAvailabilityResponse/DeleteProductAvailabilityResponse.php @@ -1,11 +1,11 @@ @@ -26,6 +26,6 @@ class Availabilities extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsAvailabilitiesResponse\GetListOfProductsAvailabilitiesResponse\Data\Availabilities\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\GetListOfProductsAvailabilitiesResponse\GetListOfProductsAvailabilitiesResponse\Data\Availabilities\Item'; } } diff --git a/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php new file mode 100755 index 0000000..c097592 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item.php @@ -0,0 +1,118 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getColor(): ?string + { + return $this->color; + } + + public function setColor(?string $color): static + { + $this->color = $color; + return $this; + } + + public function isSystem(): bool + { + return $this->system; + } + + public function setSystem(bool $system): static + { + $this->system = $system; + return $this; + } + + public function getOnStockInHours(): ?int + { + return $this->onStockInHours; + } + + public function setOnStockInHours(?int $onStockInHours): static + { + $this->onStockInHours = $onStockInHours; + return $this; + } + + public function getDeliveryInHours(): ?int + { + return $this->deliveryInHours; + } + + public function setDeliveryInHours(?int $deliveryInHours): static + { + $this->deliveryInHours = $deliveryInHours; + return $this; + } + + public function getGoogleAvailability(): ?GoogleAvailability + { + return $this->googleAvailability; + } + + public function setGoogleAvailability(?GoogleAvailability $googleAvailability): static + { + $this->googleAvailability = $googleAvailability; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php new file mode 100755 index 0000000..70ab1ae --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/Availabilities/Item/GoogleAvailability.php @@ -0,0 +1,33 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php old mode 100644 new mode 100755 similarity index 88% rename from src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php rename to src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php index 2c46187..21af1dd --- a/src/Endpoint/Products/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php +++ b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilitiesResponse/GetListOfProductsAvailabilitiesResponse/Data/DefaultAvailabilities.php @@ -1,6 +1,6 @@ true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): string + { + return UpdateProductAvailabilityRequest::class; + } + + public function getResponseEntityClass(): string + { + return UpdateProductAvailabilityResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/availabilities/{id}'; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest.php new file mode 100755 index 0000000..6ad4339 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest/Data.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest/Data.php new file mode 100755 index 0000000..1348236 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityRequest/UpdateProductAvailabilityRequest/Data.php @@ -0,0 +1,94 @@ +name; + } + + public function setName(?string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getColor(): ?TypeColor + { + return $this->color; + } + + public function setColor(?TypeColor $color): static + { + $this->color = $color; + return $this; + } + + public function getOnStockInHours(): ?int + { + return $this->onStockInHours; + } + + public function setOnStockInHours(?int $onStockInHours): static + { + $this->onStockInHours = $onStockInHours; + return $this; + } + + public function getDeliveryInHours(): ?int + { + return $this->deliveryInHours; + } + + public function setDeliveryInHours(?int $deliveryInHours): static + { + $this->deliveryInHours = $deliveryInHours; + return $this; + } + + public function getGoogleAvailabilityId(): ?int + { + return $this->googleAvailabilityId; + } + + public function setGoogleAvailabilityId(?int $googleAvailabilityId): static + { + $this->googleAvailabilityId = $googleAvailabilityId; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse.php new file mode 100755 index 0000000..c049d74 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data.php new file mode 100755 index 0000000..667c252 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data.php @@ -0,0 +1,22 @@ +availability; + } + + public function setAvailability(Availability $availability): static + { + $this->availability = $availability; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability.php new file mode 100755 index 0000000..0b297e3 --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability.php @@ -0,0 +1,118 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getIndexName(): ?string + { + return $this->indexName; + } + + public function setIndexName(?string $indexName): static + { + $this->indexName = $indexName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getColor(): ?string + { + return $this->color; + } + + public function setColor(?string $color): static + { + $this->color = $color; + return $this; + } + + public function isSystem(): bool + { + return $this->system; + } + + public function setSystem(bool $system): static + { + $this->system = $system; + return $this; + } + + public function getOnStockInHours(): ?int + { + return $this->onStockInHours; + } + + public function setOnStockInHours(?int $onStockInHours): static + { + $this->onStockInHours = $onStockInHours; + return $this; + } + + public function getDeliveryInHours(): ?int + { + return $this->deliveryInHours; + } + + public function setDeliveryInHours(?int $deliveryInHours): static + { + $this->deliveryInHours = $deliveryInHours; + return $this; + } + + public function getGoogleAvailability(): ?GoogleAvailability + { + return $this->googleAvailability; + } + + public function setGoogleAvailability(?GoogleAvailability $googleAvailability): static + { + $this->googleAvailability = $googleAvailability; + return $this; + } +} diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php new file mode 100755 index 0000000..e718fce --- /dev/null +++ b/src/Endpoint/ProductAvailabilities/UpdateProductAvailabilityResponse/UpdateProductAvailabilityResponse/Data/Availability/GoogleAvailability.php @@ -0,0 +1,33 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } +} diff --git a/src/Endpoint/Products/CreateProductGift.php b/src/Endpoint/ProductGifts/CreateProductGift.php similarity index 67% rename from src/Endpoint/Products/CreateProductGift.php rename to src/Endpoint/ProductGifts/CreateProductGift.php index 0cdd4dc..9f65417 100644 --- a/src/Endpoint/Products/CreateProductGift.php +++ b/src/Endpoint/ProductGifts/CreateProductGift.php @@ -1,13 +1,13 @@ @@ -26,6 +26,6 @@ class GiftCodes extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\SteGiftsToProductRequest\SteGiftsToProductRequest\Data\GiftCodes\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\SteGiftsToProductRequest\SteGiftsToProductRequest\Data\GiftCodes\Item'; } } diff --git a/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php b/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php old mode 100644 new mode 100755 similarity index 72% rename from src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php rename to src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php index 8a63042..125f145 --- a/src/Endpoint/Products/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php +++ b/src/Endpoint/ProductGifts/SteGiftsToProductRequest/SteGiftsToProductRequest/Data/GiftCodes/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class Images extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductImagesRequest\CreateProductImagesRequest\Data\Images\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\CreateProductImagesRequest\CreateProductImagesRequest\Data\Images\Item'; } } diff --git a/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php b/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php rename to src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php index 7a87729..5a20549 --- a/src/Endpoint/Products/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php +++ b/src/Endpoint/ProductImages/CreateProductImagesRequest/CreateProductImagesRequest/Data/Images/Item.php @@ -1,6 +1,6 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse/Data.php b/src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse/Data.php new file mode 100755 index 0000000..4558085 --- /dev/null +++ b/src/Endpoint/ProductImages/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse/Data.php b/src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse/Data.php new file mode 100755 index 0000000..45da4f7 --- /dev/null +++ b/src/Endpoint/ProductImages/DeleteOneProductImageResponse/DeleteOneProductImageResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class Images extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductImagesResponse\GetListOfProductImagesResponse\Data\Images\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImagesResponse\GetListOfProductImagesResponse\Data\Images\Item'; } } diff --git a/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php b/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php old mode 100644 new mode 100755 similarity index 81% rename from src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php rename to src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php index 516b93c..f814a38 --- a/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php +++ b/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php @@ -1,16 +1,16 @@ changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Products/GetProductImagesUpdate.php b/src/Endpoint/ProductImages/GetProductImagesUpdate.php similarity index 67% rename from src/Endpoint/Products/GetProductImagesUpdate.php rename to src/Endpoint/ProductImages/GetProductImagesUpdate.php index ed7f9a0..791a719 100644 --- a/src/Endpoint/Products/GetProductImagesUpdate.php +++ b/src/Endpoint/ProductImages/GetProductImagesUpdate.php @@ -1,13 +1,13 @@ @@ -18,7 +18,7 @@ * @method null|Item offsetGet(int $offset) * @method void offsetSet(int $offset, Item $value) */ -class StocksLocations extends EntityCollection +class Images extends EntityCollection { /** * @param array $data @@ -26,6 +26,6 @@ class StocksLocations extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\Variants\Item\StocksLocations\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateRequest\GetProductImagesUpdateRequest\Data\Images\Item'; } } diff --git a/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php b/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php old mode 100644 new mode 100755 similarity index 86% rename from src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php rename to src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php index 962baa4..717d980 --- a/src/Endpoint/Products/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php +++ b/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data/Images/Item.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class Images extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductImagesUpdateRequest\GetProductImagesUpdateRequest\Data\Images\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateResponse\GetProductImagesUpdateResponse\Data\Images\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php b/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php old mode 100644 new mode 100755 similarity index 81% rename from src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php rename to src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php index d43e7c1..1f73266 --- a/src/Endpoint/Products/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php +++ b/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php @@ -1,16 +1,16 @@ changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Products/UpdateProductImagesSource.php b/src/Endpoint/ProductImages/UpdateProductImagesSource.php similarity index 68% rename from src/Endpoint/Products/UpdateProductImagesSource.php rename to src/Endpoint/ProductImages/UpdateProductImagesSource.php index 3a1b3fa..9978c47 100644 --- a/src/Endpoint/Products/UpdateProductImagesSource.php +++ b/src/Endpoint/ProductImages/UpdateProductImagesSource.php @@ -1,14 +1,14 @@ images; + } + + public function setImages(Images $images): static + { + $this->images = $images; + return $this; + } +} diff --git a/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php b/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php old mode 100644 new mode 100755 similarity index 64% rename from src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php rename to src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php index 1adf4f5..260e5e8 --- a/src/Endpoint/Products/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php +++ b/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class Images extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductImagesUpdateResponse\GetProductImagesUpdateResponse\Data\Images\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\UpdateProductImagesSourceRequest\UpdateProductImagesSourceRequest\Data\Images\Item'; } } diff --git a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php b/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php old mode 100644 new mode 100755 similarity index 89% rename from src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php rename to src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php index 88c05e6..232f5f8 --- a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php +++ b/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images/Item.php @@ -1,6 +1,6 @@ jobId; + } + + public function setJobId(string $jobId): static + { + $this->jobId = $jobId; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php new file mode 100644 index 0000000..d1540bf --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php @@ -0,0 +1,34 @@ + true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): string + { + return CreateRelatedFileLinkRequest::class; + } + + public function getResponseEntityClass(): string + { + return CreateRelatedFileLinkResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/{guid}/related-files'; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest.php new file mode 100755 index 0000000..bef4ccf --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest.php @@ -0,0 +1,22 @@ +data; + } + + public function setData(Data $data): static + { + $this->data = $data; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest/Data.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest/Data.php new file mode 100755 index 0000000..905cb2c --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkRequest/CreateRelatedFileLinkRequest/Data.php @@ -0,0 +1,33 @@ +sourceFileName; + } + + public function setSourceFileName(string $sourceFileName): static + { + $this->sourceFileName = $sourceFileName; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse.php new file mode 100755 index 0000000..7bc18d4 --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data.php new file mode 100755 index 0000000..6570196 --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data.php @@ -0,0 +1,22 @@ +relatedFiles; + } + + public function setRelatedFiles(RelatedFiles $relatedFiles): static + { + $this->relatedFiles = $relatedFiles; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles.php new file mode 100755 index 0000000..afd6a57 --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class RelatedFiles extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\CreateRelatedFileLinkResponse\CreateRelatedFileLinkResponse\Data\RelatedFiles\Item'; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles/Item.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles/Item.php new file mode 100755 index 0000000..3117b66 --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLinkResponse/CreateRelatedFileLinkResponse/Data/RelatedFiles/Item.php @@ -0,0 +1,57 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): ?string + { + return $this->name; + } + + public function setName(?string $name): static + { + $this->name = $name; + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): static + { + $this->url = $url; + return $this; + } + + public function getSize(): ?int + { + return $this->size; + } + + public function setSize(?int $size): static + { + $this->size = $size; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php new file mode 100644 index 0000000..52d8b1e --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php @@ -0,0 +1,33 @@ + true, 'id' => true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return DeleteOneProductRelatedFileResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/{guid}/related-files/{id}'; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse.php b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse.php new file mode 100755 index 0000000..ac8a38c --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse/Data.php b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse/Data.php new file mode 100755 index 0000000..19922b8 --- /dev/null +++ b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFileResponse/DeleteOneProductRelatedFileResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class SetItems extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetProductSetItemsRequest\SetProductSetItemsRequest\Data\SetItems\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\ProductSets\SetProductSetItemsRequest\SetProductSetItemsRequest\Data\SetItems\Item'; } } diff --git a/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php b/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php old mode 100644 new mode 100755 similarity index 84% rename from src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php rename to src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php index 2dd547e..7640a35 --- a/src/Endpoint/Products/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php +++ b/src/Endpoint/ProductSets/SetProductSetItemsRequest/SetProductSetItemsRequest/Data/SetItems/Item.php @@ -1,6 +1,6 @@ additionalName; + } + + public function setAdditionalName(?string $additionalName): static + { + $this->additionalName = $additionalName; + return $this; + } + public function getMetaTitle(): ?string { return $this->metaTitle; @@ -193,6 +206,17 @@ public function setInternalNote(?string $internalNote): static return $this; } + public function getPreauthorizationRequired(): ?bool + { + return $this->preauthorizationRequired; + } + + public function setPreauthorizationRequired(?bool $preauthorizationRequired): static + { + $this->preauthorizationRequired = $preauthorizationRequired; + return $this; + } + public function getSupplierGuid(): ?TypeGuid { return $this->supplierGuid; diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/CategoryGuids.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/DescriptiveParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item/Values.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/FilteringParameters/Item/Values.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags/Item.php old mode 100644 new mode 100755 index cd560c7..bf6165b --- a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags/Item.php +++ b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Flags/Item.php @@ -3,13 +3,13 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Flags; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; class Item extends Entity { protected string $code; - protected ?TypeDate $dateFrom; - protected ?TypeDate $dateTo; + protected ?TypeDateNullable $dateFrom; + protected ?TypeDateNullable $dateTo; public function getCode(): string { @@ -22,23 +22,23 @@ public function setCode(string $code): static return $this; } - public function getDateFrom(): ?TypeDate + public function getDateFrom(): ?TypeDateNullable { return $this->dateFrom; } - public function setDateFrom(?TypeDate $dateFrom): static + public function setDateFrom(?TypeDateNullable $dateFrom): static { $this->dateFrom = $dateFrom; return $this; } - public function getDateTo(): ?TypeDate + public function getDateTo(): ?TypeDateNullable { return $this->dateTo; } - public function setDateTo(?TypeDate $dateTo): static + public function setDateTo(?TypeDateNullable $dateTo): static { $this->dateTo = $dateTo; return $this; diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/RelatedVideos/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/SurchargeParameters.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/SurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php old mode 100644 new mode 100755 index 7928149..bede0cb --- a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php +++ b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item.php @@ -6,15 +6,17 @@ use Shoptet\Api\Sdk\Php\Component\Entity\MeasureUnit; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDimension; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeVariantCodeRequest; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeightRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Variants\Item\OssVatLevels; use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Variants\Item\Parameters; use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Variants\Item\StocksLocations; class Item extends Entity { - protected ?string $code; + protected ?TypeVariantCodeRequest $code; protected ?string $ean; protected ?int $unitId; protected ?TypeWeightRequest $weight; @@ -32,7 +34,7 @@ class Item extends Entity protected ?float $availabilityId; protected ?float $availabilityWhenSoldOutId; protected ?Parameters $parameters; - protected ?TypePositiveAmount $minStockSupply; + protected ?TypePositiveAmountNullable $minStockSupply; protected ?StocksLocations $stocksLocations; protected ?bool $negativeStockAllowed; protected ?MeasureUnit $measureUnit; @@ -41,13 +43,14 @@ class Item extends Entity protected ?int $amountDecimalPlaces; protected ?bool $atypicalBilling; protected ?bool $atypicalShipping; + protected ?OssVatLevels $ossVatLevels; - public function getCode(): ?string + public function getCode(): ?TypeVariantCodeRequest { return $this->code; } - public function setCode(?string $code): static + public function setCode(?TypeVariantCodeRequest $code): static { $this->code = $code; return $this; @@ -240,12 +243,12 @@ public function setParameters(?Parameters $parameters): static return $this; } - public function getMinStockSupply(): ?TypePositiveAmount + public function getMinStockSupply(): ?TypePositiveAmountNullable { return $this->minStockSupply; } - public function setMinStockSupply(?TypePositiveAmount $minStockSupply): static + public function setMinStockSupply(?TypePositiveAmountNullable $minStockSupply): static { $this->minStockSupply = $minStockSupply; return $this; @@ -338,4 +341,15 @@ public function setAtypicalShipping(?bool $atypicalShipping): static $this->atypicalShipping = $atypicalShipping; return $this; } + + public function getOssVatLevels(): ?OssVatLevels + { + return $this->ossVatLevels; + } + + public function setOssVatLevels(?OssVatLevels $ossVatLevels): static + { + $this->ossVatLevels = $ossVatLevels; + return $this; + } } diff --git a/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels.php old mode 100644 new mode 100755 similarity index 68% rename from src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php rename to src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels.php index 7334b59..89ba6e5 --- a/src/Endpoint/Products/CreateProductFlagResponse/CreateProductFlagResponse/Data/Flags.php +++ b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels.php @@ -1,9 +1,9 @@ @@ -18,7 +18,7 @@ * @method null|Item offsetGet(int $offset) * @method void offsetSet(int $offset, Item $value) */ -class Flags extends EntityCollection +class OssVatLevels extends EntityCollection { /** * @param array $data @@ -26,6 +26,6 @@ class Flags extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductFlagResponse\CreateProductFlagResponse\Data\Flags\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Variants\Item\OssVatLevels\Item'; } } diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels/Item.php new file mode 100755 index 0000000..305a1f0 --- /dev/null +++ b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/OssVatLevels/Item.php @@ -0,0 +1,33 @@ +countryCode; + } + + public function setCountryCode(string $countryCode): static + { + $this->countryCode = $countryCode; + return $this; + } + + public function getTaxLevel(): string + { + return $this->taxLevel; + } + + public function setTaxLevel(string $taxLevel): static + { + $this->taxLevel = $taxLevel; + return $this; + } +} diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/Parameters/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php old mode 100644 new mode 100755 index 277a08d..7693143 --- a/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php +++ b/src/Endpoint/Products/CreateProductRequest/CreateProductRequest/Data/Variants/Item/StocksLocations/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest\Data\Variants\Item\StocksLocations; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; class Item extends Entity { protected int $stockId; - protected ?TypeAmount $amount; + protected ?TypeAmountNullable $amount; protected ?string $location; public function getStockId(): int @@ -22,12 +22,12 @@ public function setStockId(int $stockId): static return $this; } - public function getAmount(): ?TypeAmount + public function getAmount(): ?TypeAmountNullable { return $this->amount; } - public function setAmount(?TypeAmount $amount): static + public function setAmount(?TypeAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Endpoint/Products/CreateProductResponse/CreateProductResponse.php b/src/Endpoint/Products/CreateProductResponse/CreateProductResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProductResponse/CreateProductResponse/Data.php b/src/Endpoint/Products/CreateProductResponse/CreateProductResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php b/src/Endpoint/Products/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php deleted file mode 100644 index 19821a9..0000000 --- a/src/Endpoint/Products/DeleteAllProductImagesInGalleryResponse/DeleteAllProductImagesInGalleryResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php b/src/Endpoint/Products/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php deleted file mode 100644 index 090de9c..0000000 --- a/src/Endpoint/Products/DeleteConsumptionTaxResponse/DeleteConsumptionTaxResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php b/src/Endpoint/Products/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php deleted file mode 100644 index 12c85db..0000000 --- a/src/Endpoint/Products/DeleteFilteringParameterResponse/DeleteFilteringParameterResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php b/src/Endpoint/Products/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php deleted file mode 100644 index c602355..0000000 --- a/src/Endpoint/Products/DeleteFilteringParameterValueResponse/DeleteFilteringParameterValueResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php b/src/Endpoint/Products/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php deleted file mode 100644 index 6fd30cc..0000000 --- a/src/Endpoint/Products/DeleteOneProductImageResponse/DeleteOneProductImageResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteProduct.php b/src/Endpoint/Products/DeleteProduct.php index 8bd68d9..79b5170 100644 --- a/src/Endpoint/Products/DeleteProduct.php +++ b/src/Endpoint/Products/DeleteProduct.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductResponse\DeleteProductResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/deleteproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/deleteproduct * * @method DeleteProduct setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Products/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php b/src/Endpoint/Products/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php deleted file mode 100644 index ba1ccc7..0000000 --- a/src/Endpoint/Products/DeleteProductCategoryResponse/DeleteProductCategoryResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteProductFlagResponse/DeleteProductFlagResponse.php b/src/Endpoint/Products/DeleteProductFlagResponse/DeleteProductFlagResponse.php deleted file mode 100644 index 21b1547..0000000 --- a/src/Endpoint/Products/DeleteProductFlagResponse/DeleteProductFlagResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php b/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php old mode 100644 new mode 100755 index 1ae0331..8fab529 --- a/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php +++ b/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductResponse\DeleteProductResponse\Data; class DeleteProductResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse/Data.php b/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse/Data.php new file mode 100755 index 0000000..1d14915 --- /dev/null +++ b/src/Endpoint/Products/DeleteProductResponse/DeleteProductResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse/Data.php b/src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse/Data.php new file mode 100755 index 0000000..2bffe43 --- /dev/null +++ b/src/Endpoint/Products/DeleteProductVariantResponse/DeleteProductVariantResponse/Data.php @@ -0,0 +1,9 @@ +data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php b/src/Endpoint/Products/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php deleted file mode 100644 index e04f45b..0000000 --- a/src/Endpoint/Products/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php b/src/Endpoint/Products/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php deleted file mode 100644 index 10c02da..0000000 --- a/src/Endpoint/Products/DeleteVariantParameterResponse/DeleteVariantParameterResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php b/src/Endpoint/Products/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php deleted file mode 100644 index 682e0de..0000000 --- a/src/Endpoint/Products/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/GetLastProductChanges.php b/src/Endpoint/Products/GetLastProductChanges.php index d733c0f..52e44ce 100644 --- a/src/Endpoint/Products/GetLastProductChanges.php +++ b/src/Endpoint/Products/GetLastProductChanges.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\GetLastProductChangesResponse\GetLastProductChangesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/getlastproductchanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlastproductchanges * * @method GetLastProductChanges setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse.php b/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data.php b/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes.php b/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php b/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php old mode 100644 new mode 100755 index a04b36f..91e9483 --- a/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php +++ b/src/Endpoint/Products/GetLastProductChangesResponse/GetLastProductChangesResponse/Data/Changes/Item.php @@ -3,13 +3,13 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\GetLastProductChangesResponse\GetLastProductChangesResponse\Data\Changes; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; class Item extends Entity { protected TypeGuidUnlimited $guid; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected string $changeType; public function getGuid(): TypeGuidUnlimited @@ -23,12 +23,12 @@ public function setGuid(TypeGuidUnlimited $guid): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Products/GetListOfAllProducts.php b/src/Endpoint/Products/GetListOfAllProducts.php index 87cec89..7a9bea9 100644 --- a/src/Endpoint/Products/GetListOfAllProducts.php +++ b/src/Endpoint/Products/GetListOfAllProducts.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\Product; +use Shoptet\Api\Sdk\Php\Component\Entity\ProductSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Get; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfAllProductsResponse\GetListOfAllProductsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/getlistofallproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlistofallproducts * * @method GetListOfAllProducts setBody(null $entity) * @method null getBody() @@ -20,6 +20,10 @@ class GetListOfAllProducts extends Get implements SnapshotEndpoint protected array $supportedQueryParams = [ 'language' => false, 'include' => false, + 'productCodes' => false, + 'productGuids' => false, + 'availabilityId' => false, + 'availabilityWhenSoldOutId' => false, 'creationTimeFrom' => false, 'creationTimeTo' => false, 'visibility' => false, @@ -51,6 +55,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return Product::class; + return ProductSnapshot::class; } } diff --git a/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php new file mode 100644 index 0000000..e782b7e --- /dev/null +++ b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php @@ -0,0 +1,40 @@ + false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetListOfAllProductsAndPricelistPricesResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/snapshot/pricelists'; + } + + public function getSnapshotResultEntityClass(): string + { + return ProductPricelistSnapshot::class; + } +} diff --git a/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse.php b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse.php new file mode 100755 index 0000000..1b1dd44 --- /dev/null +++ b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse/Data.php b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse/Data.php new file mode 100755 index 0000000..f489ef9 --- /dev/null +++ b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPricesResponse/GetListOfAllProductsAndPricelistPricesResponse/Data.php @@ -0,0 +1,21 @@ +jobId; + } + + public function setJobId(string $jobId): static + { + $this->jobId = $jobId; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse.php b/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse/Data.php b/src/Endpoint/Products/GetListOfAllProductsResponse/GetListOfAllProductsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php b/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php deleted file mode 100644 index 73d2c73..0000000 --- a/src/Endpoint/Products/GetListOfProductAlternativeProductsResponse/GetListOfProductAlternativeProductsResponse/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -items; - } - - public function setItems(Items $items): static - { - $this->items = $items; - return $this; - } -} diff --git a/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php b/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php deleted file mode 100644 index 1421019..0000000 --- a/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -items; - } - - public function setItems(Items $items): static - { - $this->items = $items; - return $this; - } -} diff --git a/src/Endpoint/Products/GetListOfProducts.php b/src/Endpoint/Products/GetListOfProducts.php index 7790683..9abcca5 100644 --- a/src/Endpoint/Products/GetListOfProducts.php +++ b/src/Endpoint/Products/GetListOfProducts.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlistofproducts * * @method GetListOfProducts setBody(null $entity) * @method null getBody() @@ -19,6 +19,8 @@ class GetListOfProducts extends PageableGet 'language' => false, 'page' => false, 'itemsPerPage' => false, + 'availabilityId' => false, + 'availabilityWhenSoldOutId' => false, 'creationTimeFrom' => false, 'creationTimeTo' => false, 'visibility' => false, @@ -29,6 +31,8 @@ class GetListOfProducts extends PageableGet 'categoryGuid' => false, 'flag' => false, 'include' => false, + 'productCodes' => false, + 'productGuids' => false, 'supplierGuid' => false, 'changeTimeFrom' => false, 'changeTimeTo' => false, diff --git a/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php b/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php deleted file mode 100644 index 5ac0bf5..0000000 --- a/src/Endpoint/Products/GetListOfProductsFlagsResponse/GetListOfProductsFlagsResponse/Data/Flags.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class Flags extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsFlagsResponse\GetListOfProductsFlagsResponse\Data\Flags\Item'; - } -} diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php old mode 100644 new mode 100755 index 064dcb0..e3451aa --- a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php +++ b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php @@ -5,8 +5,8 @@ use Shoptet\Api\Sdk\Php\Component\Entity\BrandNamed; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Supplier; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item\DefaultCategory; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item\MainImage; @@ -18,14 +18,15 @@ class Item extends Entity protected string $type; protected ?string $url; protected string $visibility; - protected TypeDateTime $creationTime; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $creationTime; + protected TypeDateTimeNullable $changeTime; protected ?BrandNamed $brand; protected ?Supplier $supplier; protected DefaultCategory $defaultCategory; protected ?MainImage $mainImage; - protected ?TypeAmount $voteAverageScore; + protected ?TypeAmountNullable $voteAverageScore; protected ?int $voteCount; + protected ?bool $preauthorizationRequired; public function getGuid(): TypeGuidUnlimited { @@ -82,23 +83,23 @@ public function setVisibility(string $visibility): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -148,12 +149,12 @@ public function setMainImage(?MainImage $mainImage): static return $this; } - public function getVoteAverageScore(): ?TypeAmount + public function getVoteAverageScore(): ?TypeAmountNullable { return $this->voteAverageScore; } - public function setVoteAverageScore(?TypeAmount $voteAverageScore): static + public function setVoteAverageScore(?TypeAmountNullable $voteAverageScore): static { $this->voteAverageScore = $voteAverageScore; return $this; @@ -169,4 +170,15 @@ public function setVoteCount(?int $voteCount): static $this->voteCount = $voteCount; return $this; } + + public function getPreauthorizationRequired(): ?bool + { + return $this->preauthorizationRequired; + } + + public function setPreauthorizationRequired(?bool $preauthorizationRequired): static + { + $this->preauthorizationRequired = $preauthorizationRequired; + return $this; + } } diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php old mode 100644 new mode 100755 index 16cc393..4968a33 --- a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php +++ b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php @@ -3,20 +3,20 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidNullable; class DefaultCategory extends Entity { - protected ?TypeGuid $guid; + protected TypeGuidNullable $guid; protected ?string $name; protected ?bool $visible; - public function getGuid(): ?TypeGuid + public function getGuid(): TypeGuidNullable { return $this->guid; } - public function setGuid(?TypeGuid $guid): static + public function setGuid(TypeGuidNullable $guid): static { $this->guid = $guid; return $this; diff --git a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php old mode 100644 new mode 100755 index aec8a23..a25f8c9 --- a/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php +++ b/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class MainImage extends Entity { @@ -12,7 +12,7 @@ class MainImage extends Entity protected string $cdnName; protected float $priority; protected ?string $description; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; public function getName(): string { @@ -69,12 +69,12 @@ public function setDescription(?string $description): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Products/GetProductDetail.php b/src/Endpoint/Products/GetProductDetail.php index 9bbda11..352606f 100644 --- a/src/Endpoint/Products/GetProductDetail.php +++ b/src/Endpoint/Products/GetProductDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetailResponse\GetProductDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/getproductdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getproductdetail * * @method GetProductDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Products/GetProductDetailByCode.php b/src/Endpoint/Products/GetProductDetailByCode.php index e2dea9f..469e158 100644 --- a/src/Endpoint/Products/GetProductDetailByCode.php +++ b/src/Endpoint/Products/GetProductDetailByCode.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetailByCodeResponse\GetProductDetailByCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/getproductdetailbycode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getproductdetailbycode * * @method GetProductDetailByCode setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Products/GetProductDetailByCodeResponse/GetProductDetailByCodeResponse.php b/src/Endpoint/Products/GetProductDetailByCodeResponse/GetProductDetailByCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetProductDetailResponse/GetProductDetailResponse.php b/src/Endpoint/Products/GetProductDetailResponse/GetProductDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductBatchUpdate.php b/src/Endpoint/Products/ProductBatchUpdate.php index 8f0916e..77796fa 100644 --- a/src/Endpoint/Products/ProductBatchUpdate.php +++ b/src/Endpoint/Products/ProductBatchUpdate.php @@ -8,7 +8,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductBatchUpdateResponse\ProductBatchUpdateResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/productbatchupdate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/productbatchupdate * * @method ProductBatchUpdate setBody(null|array|ProductBatchUpdateRequest $entity) * @method null|ProductBatchUpdateRequest getBody() diff --git a/src/Endpoint/Products/ProductBatchUpdateRequest/ProductBatchUpdateRequest.php b/src/Endpoint/Products/ProductBatchUpdateRequest/ProductBatchUpdateRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse.php b/src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse/Data.php b/src/Endpoint/Products/ProductBatchUpdateResponse/ProductBatchUpdateResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductCopy.php b/src/Endpoint/Products/ProductCopy.php index 4fde4f6..5b40483 100644 --- a/src/Endpoint/Products/ProductCopy.php +++ b/src/Endpoint/Products/ProductCopy.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductCopyResponse\ProductCopyResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/productcopy + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/productcopy * * @method ProductCopy setBody(null|array|ProductCopyRequest $entity) * @method null|ProductCopyRequest getBody() diff --git a/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest.php b/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data.php b/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data/CopyProperties.php b/src/Endpoint/Products/ProductCopyRequest/ProductCopyRequest/Data/CopyProperties.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductCopyResponse/ProductCopyResponse.php b/src/Endpoint/Products/ProductCopyResponse/ProductCopyResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php b/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php deleted file mode 100644 index 3ca1fdc..0000000 --- a/src/Endpoint/Products/SetAlternativeProductsResponse/SetAlternativeProductsResponse/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -items; - } - - public function setItems(Items $items): static - { - $this->items = $items; - return $this; - } -} diff --git a/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php b/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php new file mode 100644 index 0000000..6670180 --- /dev/null +++ b/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php @@ -0,0 +1,33 @@ + true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return UnlinkAllProductRelatedFilesResponse::class; + } + + public function getEndpoint(): string + { + return '/api/products/{guid}/related-files'; + } +} diff --git a/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse.php b/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse.php new file mode 100755 index 0000000..12cc270 --- /dev/null +++ b/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse/Data.php b/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse/Data.php new file mode 100755 index 0000000..b83fdc4 --- /dev/null +++ b/src/Endpoint/Products/UnlinkAllProductRelatedFilesResponse/UnlinkAllProductRelatedFilesResponse/Data.php @@ -0,0 +1,9 @@ +id; - } - - public function setId(int $id): static - { - $this->id = $id; - return $this; - } - - public function getCode(): string - { - return $this->code; - } - - public function setCode(string $code): static - { - $this->code = $code; - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): static - { - $this->name = $name; - return $this; - } - - public function getDisplayName(): ?string - { - return $this->displayName; - } - - public function setDisplayName(?string $displayName): static - { - $this->displayName = $displayName; - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): static - { - $this->description = $description; - return $this; - } - - public function getPriority(): ?int - { - return $this->priority; - } - - public function setPriority(?int $priority): static - { - $this->priority = $priority; - return $this; - } - - public function getGoogleMapping(): GoogleMappingType - { - return $this->googleMapping; - } - - public function setGoogleMapping(GoogleMappingType $googleMapping): static - { - $this->googleMapping = $googleMapping; - return $this; - } - - public function getValues(): ?Values - { - return $this->values; - } - - public function setValues(?Values $values): static - { - $this->values = $values; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php b/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php deleted file mode 100644 index 4102e78..0000000 --- a/src/Endpoint/Products/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data/Values.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property ProductFilteringParameterValue[] $data - * @method ProductFilteringParameterValue[] toArray() - * @method void set(int $key, ProductFilteringParameterValue $item) - * @method null|ProductFilteringParameterValue get(int $key) - * @method void add(ProductFilteringParameterValue $item) - * @method null|ProductFilteringParameterValue remove(int $key) - * @method bool removeItem(ProductFilteringParameterValue $item, bool $strict = true) - * @method bool contains(ProductFilteringParameterValue $item, bool $strict = true) - * @method null|ProductFilteringParameterValue offsetGet(int $offset) - * @method void offsetSet(int $offset, ProductFilteringParameterValue $value) - */ -class Values extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductFilteringParameterValue'; - } -} diff --git a/src/Endpoint/Products/UpdateProduct.php b/src/Endpoint/Products/UpdateProduct.php index e3fbdb5..86fa33c 100644 --- a/src/Endpoint/Products/UpdateProduct.php +++ b/src/Endpoint/Products/UpdateProduct.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductResponse\UpdateProductResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/updateproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/updateproduct * * @method UpdateProduct setBody(null|array|UpdateProductRequest $entity) * @method null|UpdateProductRequest getBody() diff --git a/src/Endpoint/Products/UpdateProductByCode.php b/src/Endpoint/Products/UpdateProductByCode.php index 757c97a..0900348 100644 --- a/src/Endpoint/Products/UpdateProductByCode.php +++ b/src/Endpoint/Products/UpdateProductByCode.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeResponse\UpdateProductByCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Products/updateproductbycode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/updateproductbycode * * @method UpdateProductByCode setBody(null|array|UpdateProductByCodeRequest $entity) * @method null|UpdateProductByCodeRequest getBody() diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php old mode 100644 new mode 100755 index 09e1d43..2a326a2 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php +++ b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest.php @@ -3,18 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data; +use Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate; class UpdateProductByCodeRequest extends Entity { - protected Data $data; + protected ProductUpdate $data; - public function getData(): Data + public function getData(): ProductUpdate { return $this->data; } - public function setData(Data $data): static + public function setData(ProductUpdate $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data.php deleted file mode 100644 index efe1c11..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data.php +++ /dev/null @@ -1,305 +0,0 @@ -guid; - } - - public function setGuid(?TypeGuid $guid): static - { - $this->guid = $guid; - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): static - { - $this->type = $type; - return $this; - } - - public function getVisibility(): ?string - { - return $this->visibility; - } - - public function setVisibility(?string $visibility): static - { - $this->visibility = $visibility; - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): static - { - $this->name = $name; - return $this; - } - - public function getAdult(): ?bool - { - return $this->adult; - } - - public function setAdult(?bool $adult): static - { - $this->adult = $adult; - return $this; - } - - public function getShortDescription(): ?string - { - return $this->shortDescription; - } - - public function setShortDescription(?string $shortDescription): static - { - $this->shortDescription = $shortDescription; - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): static - { - $this->description = $description; - return $this; - } - - public function getMetaTitle(): ?string - { - return $this->metaTitle; - } - - public function setMetaTitle(?string $metaTitle): static - { - $this->metaTitle = $metaTitle; - return $this; - } - - public function getMetaDescription(): ?string - { - return $this->metaDescription; - } - - public function setMetaDescription(?string $metaDescription): static - { - $this->metaDescription = $metaDescription; - return $this; - } - - public function getConditionGrade(): ?string - { - return $this->conditionGrade; - } - - public function setConditionGrade(?string $conditionGrade): static - { - $this->conditionGrade = $conditionGrade; - return $this; - } - - public function getConditionDescription(): ?string - { - return $this->conditionDescription; - } - - public function setConditionDescription(?string $conditionDescription): static - { - $this->conditionDescription = $conditionDescription; - return $this; - } - - public function getDefaultCategoryGuid(): ?TypeGuid - { - return $this->defaultCategoryGuid; - } - - public function setDefaultCategoryGuid(?TypeGuid $defaultCategoryGuid): static - { - $this->defaultCategoryGuid = $defaultCategoryGuid; - return $this; - } - - public function getBrandCode(): ?string - { - return $this->brandCode; - } - - public function setBrandCode(?string $brandCode): static - { - $this->brandCode = $brandCode; - return $this; - } - - public function getInternalNote(): ?string - { - return $this->internalNote; - } - - public function setInternalNote(?string $internalNote): static - { - $this->internalNote = $internalNote; - return $this; - } - - public function getSupplierGuid(): ?TypeGuid - { - return $this->supplierGuid; - } - - public function setSupplierGuid(?TypeGuid $supplierGuid): static - { - $this->supplierGuid = $supplierGuid; - return $this; - } - - public function getCategoryGuids(): ?CategoryGuids - { - return $this->categoryGuids; - } - - public function setCategoryGuids(?CategoryGuids $categoryGuids): static - { - $this->categoryGuids = $categoryGuids; - return $this; - } - - public function getWarrantyId(): ?int - { - return $this->warrantyId; - } - - public function setWarrantyId(?int $warrantyId): static - { - $this->warrantyId = $warrantyId; - return $this; - } - - public function getFlags(): ?Flags - { - return $this->flags; - } - - public function setFlags(?Flags $flags): static - { - $this->flags = $flags; - return $this; - } - - public function getDescriptiveParameters(): ?DescriptiveParameters - { - return $this->descriptiveParameters; - } - - public function setDescriptiveParameters(?DescriptiveParameters $descriptiveParameters): static - { - $this->descriptiveParameters = $descriptiveParameters; - return $this; - } - - public function getFilteringParameters(): ?FilteringParameters - { - return $this->filteringParameters; - } - - public function setFilteringParameters(?FilteringParameters $filteringParameters): static - { - $this->filteringParameters = $filteringParameters; - return $this; - } - - public function getSurchargeParameters(): ?SurchargeParameters - { - return $this->surchargeParameters; - } - - public function setSurchargeParameters(?SurchargeParameters $surchargeParameters): static - { - $this->surchargeParameters = $surchargeParameters; - return $this; - } - - public function getVariants(): ?Variants - { - return $this->variants; - } - - public function setVariants(?Variants $variants): static - { - $this->variants = $variants; - return $this; - } - - public function getIndexName(): ?string - { - return $this->indexName; - } - - public function setIndexName(?string $indexName): static - { - $this->indexName = $indexName; - return $this; - } - - public function getRelatedVideos(): ?RelatedVideos - { - return $this->relatedVideos; - } - - public function setRelatedVideos(?RelatedVideos $relatedVideos): static - { - $this->relatedVideos = $relatedVideos; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/CategoryGuids.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/CategoryGuids.php deleted file mode 100644 index b901b5a..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/CategoryGuids.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property TypeGuid[] $data - * @method TypeGuid[] toArray() - * @method void set(int $key, TypeGuid $item) - * @method null|TypeGuid get(int $key) - * @method void add(TypeGuid $item) - * @method null|TypeGuid remove(int $key) - * @method bool removeItem(TypeGuid $item, bool $strict = true) - * @method bool contains(TypeGuid $item, bool $strict = true) - * @method null|TypeGuid offsetGet(int $offset) - * @method void offsetSet(int $offset, TypeGuid $value) - */ -class CategoryGuids extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuid'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters.php deleted file mode 100644 index 0b90d28..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class DescriptiveParameters extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\DescriptiveParameters\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters/Item.php deleted file mode 100644 index 839ac25..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/DescriptiveParameters/Item.php +++ /dev/null @@ -1,57 +0,0 @@ -name; - } - - public function setName(string $name): static - { - $this->name = $name; - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): static - { - $this->value = $value; - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): static - { - $this->description = $description; - return $this; - } - - public function getPriority(): ?int - { - return $this->priority; - } - - public function setPriority(?int $priority): static - { - $this->priority = $priority; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters.php deleted file mode 100644 index ebdcd0f..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class FilteringParameters extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\FilteringParameters\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item.php deleted file mode 100644 index 2aed659..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/FilteringParameters/Item.php +++ /dev/null @@ -1,34 +0,0 @@ -code; - } - - public function setCode(string $code): static - { - $this->code = $code; - return $this; - } - - public function getValues(): Values - { - return $this->values; - } - - public function setValues(Values $values): static - { - $this->values = $values; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags/Item.php deleted file mode 100644 index d86bb8d..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Flags/Item.php +++ /dev/null @@ -1,46 +0,0 @@ -code; - } - - public function setCode(string $code): static - { - $this->code = $code; - return $this; - } - - public function getDateFrom(): ?TypeDate - { - return $this->dateFrom; - } - - public function setDateFrom(?TypeDate $dateFrom): static - { - $this->dateFrom = $dateFrom; - return $this; - } - - public function getDateTo(): ?TypeDate - { - return $this->dateTo; - } - - public function setDateTo(?TypeDate $dateTo): static - { - $this->dateTo = $dateTo; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos.php deleted file mode 100644 index 03b470c..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class RelatedVideos extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\RelatedVideos\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos/Item.php deleted file mode 100644 index e545274..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/RelatedVideos/Item.php +++ /dev/null @@ -1,45 +0,0 @@ -code; - } - - public function setCode(string $code): static - { - $this->code = $code; - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): static - { - $this->title = $title; - return $this; - } - - public function getType(): string - { - return $this->type; - } - - public function setType(string $type): static - { - $this->type = $type; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/SurchargeParameters.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/SurchargeParameters.php deleted file mode 100644 index b104cfc..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/SurchargeParameters.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property ProductRequestSurchargeParameter[] $data - * @method ProductRequestSurchargeParameter[] toArray() - * @method void set(int $key, ProductRequestSurchargeParameter $item) - * @method null|ProductRequestSurchargeParameter get(int $key) - * @method void add(ProductRequestSurchargeParameter $item) - * @method null|ProductRequestSurchargeParameter remove(int $key) - * @method bool removeItem(ProductRequestSurchargeParameter $item, bool $strict = true) - * @method bool contains(ProductRequestSurchargeParameter $item, bool $strict = true) - * @method null|ProductRequestSurchargeParameter offsetGet(int $offset) - * @method void offsetSet(int $offset, ProductRequestSurchargeParameter $value) - */ -class SurchargeParameters extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductRequestSurchargeParameter'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants.php deleted file mode 100644 index 738e85e..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class Variants extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\Variants\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item.php deleted file mode 100644 index e67cd78..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item.php +++ /dev/null @@ -1,339 +0,0 @@ -code; - } - - public function setCode(?string $code): static - { - $this->code = $code; - return $this; - } - - public function getNewCode(): ?string - { - return $this->newCode; - } - - public function setNewCode(?string $newCode): static - { - $this->newCode = $newCode; - return $this; - } - - public function getEan(): ?string - { - return $this->ean; - } - - public function setEan(?string $ean): static - { - $this->ean = $ean; - return $this; - } - - public function getUnitId(): ?int - { - return $this->unitId; - } - - public function setUnitId(?int $unitId): static - { - $this->unitId = $unitId; - return $this; - } - - public function getWeight(): ?TypeWeightRequest - { - return $this->weight; - } - - public function setWeight(?TypeWeightRequest $weight): static - { - $this->weight = $weight; - return $this; - } - - public function getWidth(): ?TypeDimension - { - return $this->width; - } - - public function setWidth(?TypeDimension $width): static - { - $this->width = $width; - return $this; - } - - public function getHeight(): ?TypeDimension - { - return $this->height; - } - - public function setHeight(?TypeDimension $height): static - { - $this->height = $height; - return $this; - } - - public function getDepth(): ?TypeDimension - { - return $this->depth; - } - - public function setDepth(?TypeDimension $depth): static - { - $this->depth = $depth; - return $this; - } - - public function getVisible(): ?bool - { - return $this->visible; - } - - public function setVisible(?bool $visible): static - { - $this->visible = $visible; - return $this; - } - - public function getManufacturerCode(): ?string - { - return $this->manufacturerCode; - } - - public function setManufacturerCode(?string $manufacturerCode): static - { - $this->manufacturerCode = $manufacturerCode; - return $this; - } - - public function getPluCode(): ?string - { - return $this->pluCode; - } - - public function setPluCode(?string $pluCode): static - { - $this->pluCode = $pluCode; - return $this; - } - - public function getIsbn(): ?string - { - return $this->isbn; - } - - public function setIsbn(?string $isbn): static - { - $this->isbn = $isbn; - return $this; - } - - public function getSerialNo(): ?string - { - return $this->serialNo; - } - - public function setSerialNo(?string $serialNo): static - { - $this->serialNo = $serialNo; - return $this; - } - - public function getMpn(): ?string - { - return $this->mpn; - } - - public function setMpn(?string $mpn): static - { - $this->mpn = $mpn; - return $this; - } - - public function getAvailabilityId(): ?float - { - return $this->availabilityId; - } - - public function setAvailabilityId(?float $availabilityId): static - { - $this->availabilityId = $availabilityId; - return $this; - } - - public function getAvailabilityWhenSoldOutId(): ?float - { - return $this->availabilityWhenSoldOutId; - } - - public function setAvailabilityWhenSoldOutId(?float $availabilityWhenSoldOutId): static - { - $this->availabilityWhenSoldOutId = $availabilityWhenSoldOutId; - return $this; - } - - public function getImage(): ?string - { - return $this->image; - } - - public function setImage(?string $image): static - { - $this->image = $image; - return $this; - } - - public function getParameters(): ?Parameters - { - return $this->parameters; - } - - public function setParameters(?Parameters $parameters): static - { - $this->parameters = $parameters; - return $this; - } - - public function getMinStockSupply(): ?TypePositiveAmount - { - return $this->minStockSupply; - } - - public function setMinStockSupply(?TypePositiveAmount $minStockSupply): static - { - $this->minStockSupply = $minStockSupply; - return $this; - } - - public function getStocksLocations(): ?StocksLocations - { - return $this->stocksLocations; - } - - public function setStocksLocations(?StocksLocations $stocksLocations): static - { - $this->stocksLocations = $stocksLocations; - return $this; - } - - public function getNegativeStockAllowed(): ?bool - { - return $this->negativeStockAllowed; - } - - public function setNegativeStockAllowed(?bool $negativeStockAllowed): static - { - $this->negativeStockAllowed = $negativeStockAllowed; - return $this; - } - - public function getMeasureUnit(): ?MeasureUnit - { - return $this->measureUnit; - } - - public function setMeasureUnit(?MeasureUnit $measureUnit): static - { - $this->measureUnit = $measureUnit; - return $this; - } - - public function getRecyclingFeeId(): ?int - { - return $this->recyclingFeeId; - } - - public function setRecyclingFeeId(?int $recyclingFeeId): static - { - $this->recyclingFeeId = $recyclingFeeId; - return $this; - } - - public function getConsumptionTaxId(): ?int - { - return $this->consumptionTaxId; - } - - public function setConsumptionTaxId(?int $consumptionTaxId): static - { - $this->consumptionTaxId = $consumptionTaxId; - return $this; - } - - public function getAmountDecimalPlaces(): ?int - { - return $this->amountDecimalPlaces; - } - - public function setAmountDecimalPlaces(?int $amountDecimalPlaces): static - { - $this->amountDecimalPlaces = $amountDecimalPlaces; - return $this; - } - - public function getAtypicalBilling(): ?bool - { - return $this->atypicalBilling; - } - - public function setAtypicalBilling(?bool $atypicalBilling): static - { - $this->atypicalBilling = $atypicalBilling; - return $this; - } - - public function getAtypicalShipping(): ?bool - { - return $this->atypicalShipping; - } - - public function setAtypicalShipping(?bool $atypicalShipping): static - { - $this->atypicalShipping = $atypicalShipping; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters.php deleted file mode 100644 index 6225173..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class Parameters extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest\Data\Variants\Item\Parameters\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters/Item.php deleted file mode 100644 index 680a15b..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/Parameters/Item.php +++ /dev/null @@ -1,33 +0,0 @@ -nameIndex; - } - - public function setNameIndex(string $nameIndex): static - { - $this->nameIndex = $nameIndex; - return $this; - } - - public function getValueIndex(): string - { - return $this->valueIndex; - } - - public function setValueIndex(string $valueIndex): static - { - $this->valueIndex = $valueIndex; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations/Item.php b/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations/Item.php deleted file mode 100644 index 0250e2a..0000000 --- a/src/Endpoint/Products/UpdateProductByCodeRequest/UpdateProductByCodeRequest/Data/Variants/Item/StocksLocations/Item.php +++ /dev/null @@ -1,33 +0,0 @@ -stockId; - } - - public function setStockId(int $stockId): static - { - $this->stockId = $stockId; - return $this; - } - - public function getLocation(): ?string - { - return $this->location; - } - - public function setLocation(?string $location): static - { - $this->location = $location; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductByCodeResponse/UpdateProductByCodeResponse.php b/src/Endpoint/Products/UpdateProductByCodeResponse/UpdateProductByCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php b/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php deleted file mode 100644 index 43fffba..0000000 --- a/src/Endpoint/Products/UpdateProductCategoryRequest/UpdateProductCategoryRequest.php +++ /dev/null @@ -1,22 +0,0 @@ -data; - } - - public function setData(Data $data): static - { - $this->data = $data; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php b/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php deleted file mode 100644 index 990e090..0000000 --- a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -images; - } - - public function setImages(Images $images): static - { - $this->images = $images; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php b/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php deleted file mode 100644 index 9feef2b..0000000 --- a/src/Endpoint/Products/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data/Images.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property Item[] $data - * @method Item[] toArray() - * @method void set(int $key, Item $item) - * @method null|Item get(int $key) - * @method void add(Item $item) - * @method null|Item remove(int $key) - * @method bool removeItem(Item $item, bool $strict = true) - * @method bool contains(Item $item, bool $strict = true) - * @method null|Item offsetGet(int $offset) - * @method void offsetSet(int $offset, Item $value) - */ -class Images extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductImagesSourceRequest\UpdateProductImagesSourceRequest\Data\Images\Item'; - } -} diff --git a/src/Endpoint/Products/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php b/src/Endpoint/Products/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php deleted file mode 100644 index da6c7f2..0000000 --- a/src/Endpoint/Products/UpdateProductOrderInCategoryResponse/UpdateProductOrderInCategoryResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -data; - } - - public function setData(null $data): static - { - $this->data = $data; - return $this; - } - - public function getErrors(): ?Errors - { - return $this->errors; - } - - public function setErrors(?Errors $errors): static - { - $this->errors = $errors; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php b/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php old mode 100644 new mode 100755 index 1d2d3fc..ae67d69 --- a/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php +++ b/src/Endpoint/Products/UpdateProductRequest/UpdateProductRequest.php @@ -3,18 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest\Data; +use Shoptet\Api\Sdk\Php\Component\Entity\ProductUpdate; class UpdateProductRequest extends Entity { - protected Data $data; + protected ProductUpdate $data; - public function getData(): Data + public function getData(): ProductUpdate { return $this->data; } - public function setData(Data $data): static + public function setData(ProductUpdate $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Products/UpdateProductResponse/UpdateProductResponse.php b/src/Endpoint/Products/UpdateProductResponse/UpdateProductResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php b/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php deleted file mode 100644 index e6e2e42..0000000 --- a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data.php +++ /dev/null @@ -1,22 +0,0 @@ -surchargeParameter; - } - - public function setSurchargeParameter(SurchargeParameter $surchargeParameter): static - { - $this->surchargeParameter = $surchargeParameter; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php b/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php deleted file mode 100644 index 8ccbad4..0000000 --- a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter/Values.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property SurchargeParameterValue[] $data - * @method SurchargeParameterValue[] toArray() - * @method void set(int $key, SurchargeParameterValue $item) - * @method null|SurchargeParameterValue get(int $key) - * @method void add(SurchargeParameterValue $item) - * @method null|SurchargeParameterValue remove(int $key) - * @method bool removeItem(SurchargeParameterValue $item, bool $strict = true) - * @method bool contains(SurchargeParameterValue $item, bool $strict = true) - * @method null|SurchargeParameterValue offsetGet(int $offset) - * @method void offsetSet(int $offset, SurchargeParameterValue $value) - */ -class Values extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Component\Entity\SurchargeParameterValue'; - } -} diff --git a/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php b/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php deleted file mode 100644 index e88235f..0000000 --- a/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data.php +++ /dev/null @@ -1,82 +0,0 @@ -id; - } - - public function setId(int $id): static - { - $this->id = $id; - return $this; - } - - public function getParamName(): ?string - { - return $this->paramName; - } - - public function setParamName(?string $paramName): static - { - $this->paramName = $paramName; - return $this; - } - - public function getParamIndex(): string - { - return $this->paramIndex; - } - - public function setParamIndex(string $paramIndex): static - { - $this->paramIndex = $paramIndex; - return $this; - } - - public function getDisplayName(): ?string - { - return $this->displayName; - } - - public function setDisplayName(?string $displayName): static - { - $this->displayName = $displayName; - return $this; - } - - public function getPriority(): ?int - { - return $this->priority; - } - - public function setPriority(?int $priority): static - { - $this->priority = $priority; - return $this; - } - - public function getValues(): ?Values - { - return $this->values; - } - - public function setValues(?Values $values): static - { - $this->values = $values; - return $this; - } -} diff --git a/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php b/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php deleted file mode 100644 index 4948b3a..0000000 --- a/src/Endpoint/Products/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @property ProductVariantParameterValue[] $data - * @method ProductVariantParameterValue[] toArray() - * @method void set(int $key, ProductVariantParameterValue $item) - * @method null|ProductVariantParameterValue get(int $key) - * @method void add(ProductVariantParameterValue $item) - * @method null|ProductVariantParameterValue remove(int $key) - * @method bool removeItem(ProductVariantParameterValue $item, bool $strict = true) - * @method bool contains(ProductVariantParameterValue $item, bool $strict = true) - * @method null|ProductVariantParameterValue offsetGet(int $offset) - * @method void offsetSet(int $offset, ProductVariantParameterValue $value) - */ -class Values extends EntityCollection -{ - /** - * @param array $data - * @return class-string - */ - public function getItemType(array $data): string - { - return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductVariantParameterValue'; - } -} diff --git a/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php b/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php index c2663b7..8aa3190 100644 --- a/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php +++ b/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Get; /** - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/downloadproformainvoicepdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/downloadproformainvoicepdf * * @method DownloadProformaInvoicePdf setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php index a9f3c4e..205a4e1 100644 --- a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php +++ b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetLastProformaInvoiceChangesResponse\GetLastProformaInvoiceChangesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlastproformainvoicechanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlastproformainvoicechanges * * @method GetLastProformaInvoiceChanges setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes/Item.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes/Item.php old mode 100644 new mode 100755 index 1e4ebf1..0ef39f6 --- a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes/Item.php +++ b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChangesResponse/GetLastProformaInvoiceChangesResponse/Data/Changes/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetLastProformaInvoiceChangesResponse\GetLastProformaInvoiceChangesResponse\Data\Changes; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $code; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected string $changeType; public function getCode(): string @@ -22,12 +22,12 @@ public function setCode(string $code): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php b/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php index 9b4f4a9..d9cf6f6 100644 --- a/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php +++ b/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\ProformaInvoice; +use Shoptet\Api\Sdk\Php\Component\Entity\ProformaInvoiceSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Get; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetListOfAllProformaInvoicesResponse\GetListOfAllProformaInvoicesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlistofallproformainvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlistofallproformainvoices * * @method GetListOfAllProformaInvoices setBody(null $entity) * @method null getBody() @@ -50,6 +50,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return ProformaInvoice::class; + return ProformaInvoiceSnapshot::class; } } diff --git a/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse.php b/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse/Data.php b/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoicesResponse/GetListOfAllProformaInvoicesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php index 35ba6ea..1cd1cb6 100644 --- a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php +++ b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetListOfProformaInvoicesResponse\GetListOfProformaInvoicesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlistofproformainvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlistofproformainvoices * * @method GetListOfProformaInvoices setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices/Item.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices/Item.php old mode 100644 new mode 100755 index d6d5ad6..3e9a95a --- a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices/Item.php +++ b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoicesResponse/GetListOfProformaInvoicesResponse/Data/ProformaInvoices/Item.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Price; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { @@ -12,11 +12,11 @@ class Item extends Entity protected ?float $varSymbol; protected bool $isValid; protected ?string $orderCode; - protected TypeDateTime $creationTime; + protected TypeDateTimeNullable $creationTime; protected ?string $billCompany; protected ?string $billFullName; protected Price $price; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; public function getCode(): string { @@ -62,12 +62,12 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getCreationTime(): TypeDateTime + public function getCreationTime(): TypeDateTimeNullable { return $this->creationTime; } - public function setCreationTime(TypeDateTime $creationTime): static + public function setCreationTime(TypeDateTimeNullable $creationTime): static { $this->creationTime = $creationTime; return $this; @@ -106,12 +106,12 @@ public function setPrice(Price $price): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php b/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php index c9d747e..40b20e1 100644 --- a/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php +++ b/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetProformaInvoiceDetailResponse\GetProformaInvoiceDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getproformainvoicedetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getproformainvoicedetail * * @method GetProformaInvoiceDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse.php b/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse/Data.php b/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetailResponse/GetProformaInvoiceDetailResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Project/GetProjectDomainList.php b/src/Endpoint/Project/GetProjectDomainList.php new file mode 100644 index 0000000..5e5e754 --- /dev/null +++ b/src/Endpoint/Project/GetProjectDomainList.php @@ -0,0 +1,33 @@ + false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetProjectDomainListResponse::class; + } + + public function getEndpoint(): string + { + return '/api/project/domain'; + } +} diff --git a/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse.php b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse.php new file mode 100755 index 0000000..375e55b --- /dev/null +++ b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data.php b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data.php new file mode 100755 index 0000000..7eb642b --- /dev/null +++ b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data.php @@ -0,0 +1,22 @@ +domains; + } + + public function setDomains(Domains $domains): static + { + $this->domains = $domains; + return $this; + } +} diff --git a/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains.php b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains.php new file mode 100755 index 0000000..e0bb3e9 --- /dev/null +++ b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Domains extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectDomainListResponse\GetProjectDomainListResponse\Data\Domains\Item'; + } +} diff --git a/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains/Item.php b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains/Item.php new file mode 100755 index 0000000..e61d829 --- /dev/null +++ b/src/Endpoint/Project/GetProjectDomainListResponse/GetProjectDomainListResponse/Data/Domains/Item.php @@ -0,0 +1,69 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): static + { + $this->status = $status; + return $this; + } + + public function getDomain(): string + { + return $this->domain; + } + + public function setDomain(string $domain): static + { + $this->domain = $domain; + return $this; + } + + public function getIsPrimary(): ?bool + { + return $this->isPrimary; + } + + public function setIsPrimary(?bool $isPrimary): static + { + $this->isPrimary = $isPrimary; + return $this; + } +} diff --git a/src/Endpoint/Project/GetProjectSalesChannels.php b/src/Endpoint/Project/GetProjectSalesChannels.php new file mode 100644 index 0000000..507859b --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannels.php @@ -0,0 +1,33 @@ + false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetProjectSalesChannelsResponse::class; + } + + public function getEndpoint(): string + { + return '/api/project/sales-channels'; + } +} diff --git a/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse.php new file mode 100755 index 0000000..52b2aab --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data.php new file mode 100755 index 0000000..ebeb939 --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data.php @@ -0,0 +1,22 @@ +salesChannels; + } + + public function setSalesChannels(SalesChannels $salesChannels): static + { + $this->salesChannels = $salesChannels; + return $this; + } +} diff --git a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels.php old mode 100644 new mode 100755 similarity index 61% rename from src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php rename to src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels.php index 6956594..66502dd --- a/src/Endpoint/Orders/GetListOfRemarksForOrderResponse/GetListOfRemarksForOrderResponse/Data/OrderHistory.php +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels.php @@ -1,9 +1,9 @@ @@ -18,7 +18,7 @@ * @method null|Item offsetGet(int $offset) * @method void offsetSet(int $offset, Item $value) */ -class OrderHistory extends EntityCollection +class SalesChannels extends EntityCollection { /** * @param array $data @@ -26,6 +26,6 @@ class OrderHistory extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfRemarksForOrderResponse\GetListOfRemarksForOrderResponse\Data\OrderHistory\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectSalesChannelsResponse\GetProjectSalesChannelsResponse\Data\SalesChannels\Item'; } } diff --git a/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item.php new file mode 100755 index 0000000..2a7550f --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item.php @@ -0,0 +1,98 @@ +guid; + } + + public function setGuid(TypeGuid $guid): static + { + $this->guid = $guid; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): static + { + $this->type = $type; + return $this; + } + + public function getCurrencies(): Currencies + { + return $this->currencies; + } + + public function setCurrencies(Currencies $currencies): static + { + $this->currencies = $currencies; + return $this; + } + + public function getLanguages(): Languages + { + return $this->languages; + } + + public function setLanguages(Languages $languages): static + { + $this->languages = $languages; + return $this; + } + + public function getCreatedAt(): TypeDateTime + { + return $this->createdAt; + } + + public function setCreatedAt(TypeDateTime $createdAt): static + { + $this->createdAt = $createdAt; + return $this; + } + + public function getUpdatedAt(): TypeDateTimeNullable + { + return $this->updatedAt; + } + + public function setUpdatedAt(TypeDateTimeNullable $updatedAt): static + { + $this->updatedAt = $updatedAt; + return $this; + } +} diff --git a/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Currencies.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Currencies.php new file mode 100755 index 0000000..7904211 --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Currencies.php @@ -0,0 +1,31 @@ + + * @property TypeCurrency[] $data + * @method TypeCurrency[] toArray() + * @method void set(int $key, TypeCurrency $item) + * @method null|TypeCurrency get(int $key) + * @method void add(TypeCurrency $item) + * @method null|TypeCurrency remove(int $key) + * @method bool removeItem(TypeCurrency $item, bool $strict = true) + * @method bool contains(TypeCurrency $item, bool $strict = true) + * @method null|TypeCurrency offsetGet(int $offset) + * @method void offsetSet(int $offset, TypeCurrency $value) + */ +class Currencies extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\TypeCurrency'; + } +} diff --git a/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Languages.php b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Languages.php new file mode 100755 index 0000000..daad73a --- /dev/null +++ b/src/Endpoint/Project/GetProjectSalesChannelsResponse/GetProjectSalesChannelsResponse/Data/SalesChannels/Item/Languages.php @@ -0,0 +1,31 @@ + + * @property TypeLanguage[] $data + * @method TypeLanguage[] toArray() + * @method void set(int $key, TypeLanguage $item) + * @method null|TypeLanguage get(int $key) + * @method void add(TypeLanguage $item) + * @method null|TypeLanguage remove(int $key) + * @method bool removeItem(TypeLanguage $item, bool $strict = true) + * @method bool contains(TypeLanguage $item, bool $strict = true) + * @method null|TypeLanguage offsetGet(int $offset) + * @method void offsetSet(int $offset, TypeLanguage $value) + */ +class Languages extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\TypeLanguage'; + } +} diff --git a/src/Endpoint/ProofPayments/CreateProofPayment.php b/src/Endpoint/ProofPayments/CreateProofPayment.php index 70e284a..9b1e143 100644 --- a/src/Endpoint/ProofPayments/CreateProofPayment.php +++ b/src/Endpoint/ProofPayments/CreateProofPayment.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentResponse\CreateProofPaymentResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpayment * * @method CreateProofPayment setBody(null|array|CreateProofPaymentRequest $entity) * @method null|CreateProofPaymentRequest getBody() diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php b/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php index 0c7e953..56c8bfc 100644 --- a/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php +++ b/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByOrderCodeResponse\CreateProofPaymentByOrderCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpaymentbyordercode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpaymentbyordercode * * @method CreateProofPaymentByOrderCode setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse.php b/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse/Data.php b/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCodeResponse/CreateProofPaymentByOrderCodeResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php b/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php index 08daebb..65b28b6 100644 --- a/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php +++ b/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByProformaInvoiceCodeResponse\CreateProofPaymentByProformaInvoiceCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpaymentbyproformainvoicecode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpaymentbyproformainvoicecode * * @method CreateProofPaymentByProformaInvoiceCode setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse.php b/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse/Data.php b/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCodeResponse/CreateProofPaymentByProformaInvoiceCodeResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest.php b/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest/Data.php b/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest/Data.php old mode 100644 new mode 100755 index 3107873..081ba52 --- a/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest/Data.php +++ b/src/Endpoint/ProofPayments/CreateProofPaymentRequest/CreateProofPaymentRequest/Data.php @@ -4,19 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeRequest; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; class Data extends Entity { protected ?string $proformaInvoiceCode; protected ?string $orderCode; - protected TypePrice $payment; + protected TypePriceNullable $payment; protected TypeCurrencyCode $currencyCode; protected float $varSymbol; protected ?TypeDateTimeRequest $issueDate; - protected ?TypeDate $taxDate; + protected ?TypeDateNullable $taxDate; protected ?string $constSymbol; protected ?float $specSymbol; protected ?int $invoiceBillingMethodId; @@ -47,12 +47,12 @@ public function setOrderCode(?string $orderCode): static return $this; } - public function getPayment(): TypePrice + public function getPayment(): TypePriceNullable { return $this->payment; } - public function setPayment(TypePrice $payment): static + public function setPayment(TypePriceNullable $payment): static { $this->payment = $payment; return $this; @@ -91,12 +91,12 @@ public function setIssueDate(?TypeDateTimeRequest $issueDate): static return $this; } - public function getTaxDate(): ?TypeDate + public function getTaxDate(): ?TypeDateNullable { return $this->taxDate; } - public function setTaxDate(?TypeDate $taxDate): static + public function setTaxDate(?TypeDateNullable $taxDate): static { $this->taxDate = $taxDate; return $this; diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse.php b/src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse/Data.php b/src/Endpoint/ProofPayments/CreateProofPaymentResponse/CreateProofPaymentResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/DeleteProofPayment.php b/src/Endpoint/ProofPayments/DeleteProofPayment.php index 9c731c8..3fc5682 100644 --- a/src/Endpoint/ProofPayments/DeleteProofPayment.php +++ b/src/Endpoint/ProofPayments/DeleteProofPayment.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DeleteProofPaymentResponse\DeleteProofPaymentResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/deleteproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/deleteproofpayment * * @method DeleteProofPayment setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php b/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php old mode 100644 new mode 100755 index b6607a2..1ed90ef --- a/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php +++ b/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DeleteProofPaymentResponse\DeleteProofPaymentResponse\Data; class DeleteProofPaymentResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse/Data.php b/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse/Data.php new file mode 100755 index 0000000..0d5ba86 --- /dev/null +++ b/src/Endpoint/ProofPayments/DeleteProofPaymentResponse/DeleteProofPaymentResponse/Data.php @@ -0,0 +1,9 @@ + true]; + protected array $supportedQueryParams = ['language' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): null + { + return null; + } + + public function getEndpoint(): string + { + return '/api/proof-payments/{code}/isdoc'; + } +} diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php index 5549bed..706d0da 100644 --- a/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php +++ b/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetLastProofPaymentsChangesResponse\GetLastProofPaymentsChangesResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlastproofpaymentschanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlastproofpaymentschanges * * @method GetLastProofPaymentsChanges setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes/Item.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Changes/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Paginator.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChangesResponse/GetLastProofPaymentsChangesResponse/Data/Paginator.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php b/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php index e7035e4..f86da34 100644 --- a/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php +++ b/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ProofPayments; use Shoptet\Api\Sdk\Php\Async\SnapshotEndpoint; -use Shoptet\Api\Sdk\Php\Component\Entity\ProofPaymentDetail; +use Shoptet\Api\Sdk\Php\Component\Entity\ProofPaymentSnapshot; use Shoptet\Api\Sdk\Php\Endpoint\Get; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetListOfAllProofPaymentsResponse\GetListOfAllProofPaymentsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlistofallproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlistofallproofpayments * * @method GetListOfAllProofPayments setBody(null $entity) * @method null getBody() @@ -47,6 +47,6 @@ public function getEndpoint(): string public function getSnapshotResultEntityClass(): string { - return ProofPaymentDetail::class; + return ProofPaymentSnapshot::class; } } diff --git a/src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse.php b/src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse/Data.php b/src/Endpoint/ProofPayments/GetListOfAllProofPaymentsResponse/GetListOfAllProofPaymentsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfProofPayments.php b/src/Endpoint/ProofPayments/GetListOfProofPayments.php index 4b261fc..fa5fd78 100644 --- a/src/Endpoint/ProofPayments/GetListOfProofPayments.php +++ b/src/Endpoint/ProofPayments/GetListOfProofPayments.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetListOfProofPaymentsResponse\GetListOfProofPaymentsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlistofproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlistofproofpayments * * @method GetListOfProofPayments setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse.php b/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data.php b/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data/Items.php b/src/Endpoint/ProofPayments/GetListOfProofPaymentsResponse/GetListOfProofPaymentsResponse/Data/Items.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetail.php b/src/Endpoint/ProofPayments/GetProofPaymentDetail.php index d0028b4..aa6ad47 100644 --- a/src/Endpoint/ProofPayments/GetProofPaymentDetail.php +++ b/src/Endpoint/ProofPayments/GetProofPaymentDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetProofPaymentDetailResponse\GetProofPaymentDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetail * * @method GetProofPaymentDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php index 66e19fd..1dfbd07 100644 --- a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php +++ b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetProofPaymentDetailByOrderCodeResponse\GetProofPaymentDetailByOrderCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetailbyordercode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetailbyordercode * * @method GetProofPaymentDetailByOrderCode setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data/ProofPayments.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCodeResponse/GetProofPaymentDetailByOrderCodeResponse/Data/ProofPayments.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php index ace22b4..de951ff 100644 --- a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php +++ b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetProofPaymentDetailByProformaInvoiceCodeResponse\GetProofPaymentDetailByProformaInvoiceCodeResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetailbyproformainvoicecode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetailbyproformainvoicecode * * @method GetProofPaymentDetailByProformaInvoiceCode setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data/ProofPayments.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCodeResponse/GetProofPaymentDetailByProformaInvoiceCodeResponse/Data/ProofPayments.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse/Data.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailResponse/GetProofPaymentDetailResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php index 0fc4814..1407539 100644 --- a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php +++ b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\ProofPaymentDocumentSettingsResponse\ProofPaymentDocumentSettingsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/proofpaymentdocumentsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/proofpaymentdocumentsettings * * @method ProofPaymentDocumentSettings setBody(null|array|ProofPaymentDocumentSettingsRequest $entity) * @method null|ProofPaymentDocumentSettingsRequest getBody() diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest/Data.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsRequest/ProofPaymentDocumentSettingsRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse/Data.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettingsResponse/ProofPaymentDocumentSettingsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/UpdateProofPayment.php b/src/Endpoint/ProofPayments/UpdateProofPayment.php index 564335b..e543ab0 100644 --- a/src/Endpoint/ProofPayments/UpdateProofPayment.php +++ b/src/Endpoint/ProofPayments/UpdateProofPayment.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\UpdateProofPaymentResponse\UpdateProofPaymentResponse; /** - * @see https://api.docs.shoptet.com/openapi/Proof-payments/updateproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/updateproofpayment * * @method UpdateProofPayment setBody(null|array|UpdateProofPaymentRequest $entity) * @method null|UpdateProofPaymentRequest getBody() diff --git a/src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest.php b/src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest/Data.php b/src/Endpoint/ProofPayments/UpdateProofPaymentRequest/UpdateProofPaymentRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse.php b/src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse/Data.php b/src/Endpoint/ProofPayments/UpdateProofPaymentResponse/UpdateProofPaymentResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Put.php b/src/Endpoint/Put.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php index 98093ec..a798519 100644 --- a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php +++ b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\CreateQuantityDiscountResponse\CreateQuantityDiscountResponse; /** - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/createquantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/createquantitydiscount * * @method CreateQuantityDiscount setBody(null|array|CreateQuantityDiscountRequest $entity) * @method null|CreateQuantityDiscountRequest getBody() diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data.php old mode 100644 new mode 100755 index 285436d..8e40efb --- a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data.php +++ b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeColor; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\CreateQuantityDiscountRequest\CreateQuantityDiscountRequest\Data\CustomerGroupCodes; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\CreateQuantityDiscountRequest\CreateQuantityDiscountRequest\Data\Settings; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\CreateQuantityDiscountRequest\CreateQuantityDiscountRequest\Data\Targeting; @@ -13,8 +13,8 @@ class Data extends Entity { protected string $title; protected ?bool $isActive; - protected ?TypeDate $validFrom; - protected ?TypeDate $validTo; + protected ?TypeDateNullable $validFrom; + protected ?TypeDateNullable $validTo; protected ?bool $displayFlag; protected ?TypeColor $flagColor; protected ?CustomerGroupCodes $customerGroupCodes; @@ -47,23 +47,23 @@ public function setIsActive(?bool $isActive): static return $this; } - public function getValidFrom(): ?TypeDate + public function getValidFrom(): ?TypeDateNullable { return $this->validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/CustomerGroupCodes.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/CustomerGroupCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/BrandCodes.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/BrandCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/ProductGuids.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountRequest/CreateQuantityDiscountRequest/Data/Targeting/ProductGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse/Data.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscountResponse/CreateQuantityDiscountResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php index 60fcaba..cc4f1d4 100644 --- a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php +++ b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\DeleteQuantityDiscountResponse\DeleteQuantityDiscountResponse; /** - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/deletequantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/deletequantitydiscount * * @method DeleteQuantityDiscount setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php old mode 100644 new mode 100755 index 2c1492a..cd08e7a --- a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php +++ b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\DeleteQuantityDiscountResponse\DeleteQuantityDiscountResponse\Data; class DeleteQuantityDiscountResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse/Data.php b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse/Data.php new file mode 100755 index 0000000..b16d076 --- /dev/null +++ b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscountResponse/DeleteQuantityDiscountResponse/Data.php @@ -0,0 +1,9 @@ +validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups.php b/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php b/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscountsResponse/GetListOfQuantityDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php index 1e23356..f5f1065 100644 --- a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php +++ b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscountResponse\UpdateQuantityDiscountResponse; /** - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/updatequantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/updatequantitydiscount * * @method UpdateQuantityDiscount setBody(null|array|UpdateQuantityDiscountRequest $entity) * @method null|UpdateQuantityDiscountRequest getBody() diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data.php old mode 100644 new mode 100755 index aae3f20..28bf8de --- a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data.php +++ b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data.php @@ -4,7 +4,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeColor; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscountRequest\UpdateQuantityDiscountRequest\Data\CustomerGroupCodes; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscountRequest\UpdateQuantityDiscountRequest\Data\Settings; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscountRequest\UpdateQuantityDiscountRequest\Data\Targeting; @@ -13,8 +13,8 @@ class Data extends Entity { protected ?string $title; protected ?bool $isActive; - protected ?TypeDate $validFrom; - protected ?TypeDate $validTo; + protected ?TypeDateNullable $validFrom; + protected ?TypeDateNullable $validTo; protected ?bool $displayFlag; protected ?TypeColor $flagColor; protected ?CustomerGroupCodes $customerGroupCodes; @@ -47,23 +47,23 @@ public function setIsActive(?bool $isActive): static return $this; } - public function getValidFrom(): ?TypeDate + public function getValidFrom(): ?TypeDateNullable { return $this->validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/CustomerGroupCodes.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/CustomerGroupCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Settings/Item/DiscountValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/BrandCodes.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/BrandCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/CategoryGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/ProductGuids.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountRequest/UpdateQuantityDiscountRequest/Data/Targeting/ProductGuids.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse/Data.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscountResponse/UpdateQuantityDiscountResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfRecyclingFeeCategories.php b/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php similarity index 69% rename from src/Endpoint/Products/GetListOfRecyclingFeeCategories.php rename to src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php index 40e9570..712988b 100644 --- a/src/Endpoint/Products/GetListOfRecyclingFeeCategories.php +++ b/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php @@ -1,12 +1,12 @@ items; + } + + public function setItems(Items $items): static + { + $this->items = $items; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php b/src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php old mode 100644 new mode 100755 similarity index 87% rename from src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php rename to src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php index 6020268..4ca6dba --- a/src/Endpoint/Products/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php +++ b/src/Endpoint/RelatedProducts/GetListOfProductRelatedProductsResponse/GetListOfProductRelatedProductsResponse/Data/Items.php @@ -1,6 +1,6 @@ @@ -26,6 +26,6 @@ class RelatedProducts extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\SetRelatedProductsRequest\SetRelatedProductsRequest\Data\RelatedProducts\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\SetRelatedProductsRequest\SetRelatedProductsRequest\Data\RelatedProducts\Item'; } } diff --git a/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php b/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php old mode 100644 new mode 100755 similarity index 75% rename from src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php rename to src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php index c0693c3..706f620 --- a/src/Endpoint/Products/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php +++ b/src/Endpoint/RelatedProducts/SetRelatedProductsRequest/SetRelatedProductsRequest/Data/RelatedProducts/Item.php @@ -1,6 +1,6 @@ false, 'page' => false, 'itemsPerPage' => false]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetListOfEshopReviewsResponse::class; + } + + public function getEndpoint(): string + { + return '/api/eshop/reviews'; + } +} diff --git a/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse.php b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse.php new file mode 100755 index 0000000..e03d692 --- /dev/null +++ b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data.php old mode 100644 new mode 100755 similarity index 73% rename from src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php rename to src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data.php index 019ee34..8db8532 --- a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data.php +++ b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data.php @@ -1,10 +1,10 @@ @@ -26,6 +26,6 @@ class Reviews extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsReviewsResponse\GetListOfProductsReviewsResponse\Data\Reviews\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfEshopReviewsResponse\GetListOfEshopReviewsResponse\Data\Reviews\Item'; } } diff --git a/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item.php b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item.php new file mode 100755 index 0000000..2cc3219 --- /dev/null +++ b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item.php @@ -0,0 +1,119 @@ +date; + } + + public function setDate(TypeDateTimeNullable $date): static + { + $this->date = $date; + return $this; + } + + public function getOrderCode(): ?string + { + return $this->orderCode; + } + + public function setOrderCode(?string $orderCode): static + { + $this->orderCode = $orderCode; + return $this; + } + + public function getRating(): float + { + return $this->rating; + } + + public function setRating(float $rating): static + { + $this->rating = $rating; + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): static + { + $this->description = $description; + return $this; + } + + public function getFullName(): ?string + { + return $this->fullName; + } + + public function setFullName(?string $fullName): static + { + $this->fullName = $fullName; + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): static + { + $this->email = $email; + return $this; + } + + public function getCustomerGuid(): ?string + { + return $this->customerGuid; + } + + public function setCustomerGuid(?string $customerGuid): static + { + $this->customerGuid = $customerGuid; + return $this; + } + + public function isVisible(): bool + { + return $this->visible; + } + + public function setVisible(bool $visible): static + { + $this->visible = $visible; + return $this; + } + + public function getReaction(): Reaction + { + return $this->reaction; + } + + public function setReaction(Reaction $reaction): static + { + $this->reaction = $reaction; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item/Reaction.php old mode 100644 new mode 100755 similarity index 73% rename from src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php rename to src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item/Reaction.php index d747f4f..7ab4095 --- a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php +++ b/src/Endpoint/Reviews/GetListOfEshopReviewsResponse/GetListOfEshopReviewsResponse/Data/Reviews/Item/Reaction.php @@ -1,23 +1,23 @@ reactionCreated; } - public function setReactionCreated(TypeDateTime $reactionCreated): static + public function setReactionCreated(TypeDateTimeNullable $reactionCreated): static { $this->reactionCreated = $reactionCreated; return $this; diff --git a/src/Endpoint/Products/GetListOfProductsReviews.php b/src/Endpoint/Reviews/GetListOfProductsReviews.php similarity index 77% rename from src/Endpoint/Products/GetListOfProductsReviews.php rename to src/Endpoint/Reviews/GetListOfProductsReviews.php index f1eed08..f524951 100644 --- a/src/Endpoint/Products/GetListOfProductsReviews.php +++ b/src/Endpoint/Reviews/GetListOfProductsReviews.php @@ -1,12 +1,12 @@ reviews; + } + + public function setReviews(Reviews $reviews): static + { + $this->reviews = $reviews; + return $this; + } + + public function getPaginator(): Paginator + { + return $this->paginator; + } + + public function setPaginator(Paginator $paginator): static + { + $this->paginator = $paginator; + return $this; + } +} diff --git a/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php new file mode 100755 index 0000000..fe1b10a --- /dev/null +++ b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Reviews extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfProductsReviewsResponse\GetListOfProductsReviewsResponse\Data\Reviews\Item'; + } +} diff --git a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php old mode 100644 new mode 100755 similarity index 78% rename from src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php rename to src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php index 4c0e59e..7f091b7 --- a/src/Endpoint/Products/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php +++ b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item.php @@ -1,20 +1,21 @@ date; } - public function setDate(TypeDateTime $date): static + public function setDate(TypeDateTimeNullable $date): static { $this->date = $date; return $this; @@ -79,12 +80,12 @@ public function setProductName(string $productName): static return $this; } - public function getProductGuid(): ?TypeGuid + public function getProductGuid(): ?TypeGuidUnlimited { return $this->productGuid; } - public function setProductGuid(?TypeGuid $productGuid): static + public function setProductGuid(?TypeGuidUnlimited $productGuid): static { $this->productGuid = $productGuid; return $this; @@ -167,12 +168,12 @@ public function setReaction(Reaction $reaction): static return $this; } - public function getUpdated(): TypeDateTime + public function getUpdated(): TypeDateTimeNullable { return $this->updated; } - public function setUpdated(TypeDateTime $updated): static + public function setUpdated(TypeDateTimeNullable $updated): static { $this->updated = $updated; return $this; diff --git a/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php new file mode 100755 index 0000000..b899594 --- /dev/null +++ b/src/Endpoint/Reviews/GetListOfProductsReviewsResponse/GetListOfProductsReviewsResponse/Data/Reviews/Item/Reaction.php @@ -0,0 +1,58 @@ +reactionCreated; + } + + public function setReactionCreated(TypeDateTimeNullable $reactionCreated): static + { + $this->reactionCreated = $reactionCreated; + return $this; + } + + public function getReactionFullName(): ?string + { + return $this->reactionFullName; + } + + public function setReactionFullName(?string $reactionFullName): static + { + $this->reactionFullName = $reactionFullName; + return $this; + } + + public function getReactionEmail(): ?string + { + return $this->reactionEmail; + } + + public function setReactionEmail(?string $reactionEmail): static + { + $this->reactionEmail = $reactionEmail; + return $this; + } + + public function getReactionText(): ?string + { + return $this->reactionText; + } + + public function setReactionText(?string $reactionText): static + { + $this->reactionText = $reactionText; + return $this; + } +} diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethod.php b/src/Endpoint/ShippingMethods/CreateShippingMethod.php index ffed3ee..8968da8 100644 --- a/src/Endpoint/ShippingMethods/CreateShippingMethod.php +++ b/src/Endpoint/ShippingMethods/CreateShippingMethod.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodResponse\CreateShippingMethodResponse; /** - * @see https://api.docs.shoptet.com/openapi/Shipping-methods/createshippingmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-methods/createshippingmethod * * @method CreateShippingMethod setBody(null|array|CreateShippingMethodRequest $entity) * @method null|CreateShippingMethodRequest getBody() diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest.php b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php old mode 100644 new mode 100755 index 301e39c..e4f527d --- a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php +++ b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodRequest\CreateShippingMethodRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodRequest\CreateShippingMethodRequest\Data1\Logo; class Data1 extends Entity @@ -17,7 +17,7 @@ class Data1 extends Entity protected ?bool $visibility; protected ?bool $wholesale; protected ?Logo $logo; - protected ?TypePrice $minimalShippingPrice; + protected ?TypePriceNullable $minimalShippingPrice; public function getName(): string { @@ -102,12 +102,12 @@ public function setLogo(?Logo $logo): static return $this; } - public function getMinimalShippingPrice(): ?TypePrice + public function getMinimalShippingPrice(): ?TypePriceNullable { return $this->minimalShippingPrice; } - public function setMinimalShippingPrice(?TypePrice $minimalShippingPrice): static + public function setMinimalShippingPrice(?TypePriceNullable $minimalShippingPrice): static { $this->minimalShippingPrice = $minimalShippingPrice; return $this; diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1/Logo.php b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data1/Logo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2.php b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2.php old mode 100644 new mode 100755 index 7bd691e..a7567dd --- a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2.php +++ b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodRequest\CreateShippingMethodRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePrice; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceNullable; use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodRequest\CreateShippingMethodRequest\Data2\Logo; class Data2 extends Entity @@ -17,7 +17,7 @@ class Data2 extends Entity protected ?bool $visibility; protected ?bool $wholesale; protected ?Logo $logo; - protected ?TypePrice $minimalShippingPrice; + protected ?TypePriceNullable $minimalShippingPrice; public function getName(): string { @@ -102,12 +102,12 @@ public function setLogo(?Logo $logo): static return $this; } - public function getMinimalShippingPrice(): ?TypePrice + public function getMinimalShippingPrice(): ?TypePriceNullable { return $this->minimalShippingPrice; } - public function setMinimalShippingPrice(?TypePrice $minimalShippingPrice): static + public function setMinimalShippingPrice(?TypePriceNullable $minimalShippingPrice): static { $this->minimalShippingPrice = $minimalShippingPrice; return $this; diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2/Logo.php b/src/Endpoint/ShippingMethods/CreateShippingMethodRequest/CreateShippingMethodRequest/Data2/Logo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse.php b/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data.php b/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data/ShippingCompany.php b/src/Endpoint/ShippingMethods/CreateShippingMethodResponse/CreateShippingMethodResponse/Data/ShippingCompany.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php index 8220f6d..d4240b2 100644 --- a/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php +++ b/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\GetListOfShippingMethodsResponse\GetListOfShippingMethodsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Shipping-methods/getlistofshippingmethods + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-methods/getlistofshippingmethods * * @method GetListOfShippingMethods setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data.php old mode 100644 new mode 100755 index 49e4058..eb918bc --- a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data.php +++ b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data.php @@ -9,6 +9,7 @@ class Data extends Entity { protected ShippingMethods $shippingMethods; protected bool $wholesaleActive; + protected bool $wholesaleSplitActive; protected ?string $defaultRetailMethod; protected ?string $defaultWholesaleMethod; @@ -34,6 +35,17 @@ public function setWholesaleActive(bool $wholesaleActive): static return $this; } + public function isWholesaleSplitActive(): bool + { + return $this->wholesaleSplitActive; + } + + public function setWholesaleSplitActive(bool $wholesaleSplitActive): static + { + $this->wholesaleSplitActive = $wholesaleSplitActive; + return $this; + } + public function getDefaultRetailMethod(): ?string { return $this->defaultRetailMethod; diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item.php old mode 100644 new mode 100755 index 83edbc7..c300aaa --- a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item.php +++ b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item.php @@ -14,7 +14,7 @@ class Item extends Entity protected ?ShippingCompany $shippingCompany; protected ?string $trackingUrl; protected bool $visible; - protected int $priority; + protected ?int $priority; protected bool $wholesale; protected ?string $logoUrl; @@ -84,12 +84,12 @@ public function setVisible(bool $visible): static return $this; } - public function getPriority(): int + public function getPriority(): ?int { return $this->priority; } - public function setPriority(int $priority): static + public function setPriority(?int $priority): static { $this->priority = $priority; return $this; diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item/ShippingCompany.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethodsResponse/GetListOfShippingMethodsResponse/Data/ShippingMethods/Item/ShippingCompany.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php index 093d249..ba3e225 100644 --- a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php +++ b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\GetShippingRequestForCartDetailsResponse\GetShippingRequestForCartDetailsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/getshippingrequestforcartdetails + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/getshippingrequestforcartdetails * * @method GetShippingRequestForCartDetails setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Cart.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Cart.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Eshop.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Eshop.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items/Item.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items/Item.php old mode 100644 new mode 100755 index 1cf76a9..87b43bb --- a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items/Item.php +++ b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetailsResponse/GetShippingRequestForCartDetailsResponse/Data/Items/Item.php @@ -5,7 +5,7 @@ use Shoptet\Api\Sdk\Php\Component\Entity\BrandNamed; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmountNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeWeight; class Item extends Entity @@ -17,7 +17,7 @@ class Item extends Entity protected string $variantName; protected ?BrandNamed $brand; protected TypeWeight $weight; - protected TypePositiveAmount $amount; + protected TypePositiveAmountNullable $amount; protected ?string $amountUnit; public function getProductGuid(): TypeGuidUnlimited @@ -97,12 +97,12 @@ public function setWeight(TypeWeight $weight): static return $this; } - public function getAmount(): TypePositiveAmount + public function getAmount(): TypePositiveAmountNullable { return $this->amount; } - public function setAmount(TypePositiveAmount $amount): static + public function setAmount(TypePositiveAmountNullable $amount): static { $this->amount = $amount; return $this; diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php b/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php index 9624f8e..1579bd3 100644 --- a/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php +++ b/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\GetShippingRequestForGettingOrderStatusResponse\GetShippingRequestForGettingOrderStatusResponse; /** - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/getshippingrequestforgettingorderstatus + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/getshippingrequestforgettingorderstatus * * @method GetShippingRequestForGettingOrderStatus setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse.php b/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse/Data.php b/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatusResponse/GetShippingRequestForGettingOrderStatusResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingData.php b/src/Endpoint/ShippingRequests/UpdateShippingData.php index 5299ab1..c82c3ad 100644 --- a/src/Endpoint/ShippingRequests/UpdateShippingData.php +++ b/src/Endpoint/ShippingRequests/UpdateShippingData.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\UpdateShippingDataResponse\UpdateShippingDataResponse; /** - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/updateshippingdata + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/updateshippingdata * * @method UpdateShippingData setBody(null|array|UpdateShippingDataRequest $entity) * @method null|UpdateShippingDataRequest getBody() diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest.php b/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data.php b/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data.php old mode 100644 new mode 100755 index 45ba285..38958a9 --- a/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data.php +++ b/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data.php @@ -3,7 +3,7 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\UpdateShippingDataRequest\UpdateShippingDataRequest; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCode; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeCurrencyCodeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeRequest; use Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\UpdateShippingDataRequest\UpdateShippingDataRequest\Data\DeliveryAddress; use Shoptet\Api\Sdk\Php\Endpoint\ShippingRequests\UpdateShippingDataRequest\UpdateShippingDataRequest\Data\Price; @@ -13,7 +13,7 @@ class Data extends Entity protected ?string $description; protected ?string $additionalText; protected ?Price $price; - protected ?TypeCurrencyCode $currency; + protected ?TypeCurrencyCodeNullable $currency; protected TypeDateTimeRequest $expires; protected ?DeliveryAddress $deliveryAddress; protected string $trackingNumber; @@ -53,12 +53,12 @@ public function setPrice(?Price $price): static return $this; } - public function getCurrency(): ?TypeCurrencyCode + public function getCurrency(): ?TypeCurrencyCodeNullable { return $this->currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(?TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/DeliveryAddress.php b/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/DeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/Price.php b/src/Endpoint/ShippingRequests/UpdateShippingDataRequest/UpdateShippingDataRequest/Data/Price.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse.php b/src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse/Data.php b/src/Endpoint/ShippingRequests/UpdateShippingDataResponse/UpdateShippingDataResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetListOfStocks.php b/src/Endpoint/Stocks/GetListOfStocks.php index 08bb89b..3e7efc6 100644 --- a/src/Endpoint/Stocks/GetListOfStocks.php +++ b/src/Endpoint/Stocks/GetListOfStocks.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetListOfStocksResponse\GetListOfStocksResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/getlistofstocks + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getlistofstocks * * @method GetListOfStocks setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse.php b/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data.php b/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data/Stocks.php b/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data/Stocks.php old mode 100644 new mode 100755 index 01c68f9..2a63d6f --- a/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data/Stocks.php +++ b/src/Endpoint/Stocks/GetListOfStocksResponse/GetListOfStocksResponse/Data/Stocks.php @@ -3,29 +3,29 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetListOfStocksResponse\GetListOfStocksResponse\Data; use Shoptet\Api\Sdk\Php\Component\Entity\EntityCollection; -use Shoptet\Api\Sdk\Php\Component\Entity\Stock; +use Shoptet\Api\Sdk\Php\Component\Entity\StockList; /** - * @extends EntityCollection - * @property Stock[] $data - * @method Stock[] toArray() - * @method void set(int $key, Stock $item) - * @method null|Stock get(int $key) - * @method void add(Stock $item) - * @method null|Stock remove(int $key) - * @method bool removeItem(Stock $item, bool $strict = true) - * @method bool contains(Stock $item, bool $strict = true) - * @method null|Stock offsetGet(int $offset) - * @method void offsetSet(int $offset, Stock $value) + * @extends EntityCollection + * @property StockList[] $data + * @method StockList[] toArray() + * @method void set(int $key, StockList $item) + * @method null|StockList get(int $key) + * @method void add(StockList $item) + * @method null|StockList remove(int $key) + * @method bool removeItem(StockList $item, bool $strict = true) + * @method bool contains(StockList $item, bool $strict = true) + * @method null|StockList offsetGet(int $offset) + * @method void offsetSet(int $offset, StockList $value) */ class Stocks extends EntityCollection { /** * @param array $data - * @return class-string + * @return class-string */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Component\Entity\Stock'; + return 'Shoptet\Api\Sdk\Php\Component\Entity\StockList'; } } diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStock.php b/src/Endpoint/Stocks/GetProductSuppliesInStock.php index 0ad2246..f0bd1fd 100644 --- a/src/Endpoint/Stocks/GetProductSuppliesInStock.php +++ b/src/Endpoint/Stocks/GetProductSuppliesInStock.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetProductSuppliesInStockResponse\GetProductSuppliesInStockResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/getproductsuppliesinstock + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getproductsuppliesinstock * * @method GetProductSuppliesInStock setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse.php b/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data.php b/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies.php b/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies/Item.php b/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies/Item.php old mode 100644 new mode 100755 index ff26161..132d2bb --- a/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies/Item.php +++ b/src/Endpoint/Stocks/GetProductSuppliesInStockResponse/GetProductSuppliesInStockResponse/Data/Supplies/Item.php @@ -3,18 +3,18 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetProductSuppliesInStockResponse\GetProductSuppliesInStockResponse\Data\Supplies; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; class Item extends Entity { protected TypeGuidUnlimited $productGuid; protected string $code; - protected TypeAmount $amount; - protected TypeAmount $claim; + protected TypeAmountNullable $amount; + protected TypeAmountNullable $claim; protected ?string $location; - protected ?TypeDateTime $changeTime; + protected ?TypeDateTimeNullable $changeTime; public function getProductGuid(): TypeGuidUnlimited { @@ -38,23 +38,23 @@ public function setCode(string $code): static return $this; } - public function getAmount(): TypeAmount + public function getAmount(): TypeAmountNullable { return $this->amount; } - public function setAmount(TypeAmount $amount): static + public function setAmount(TypeAmountNullable $amount): static { $this->amount = $amount; return $this; } - public function getClaim(): TypeAmount + public function getClaim(): TypeAmountNullable { return $this->claim; } - public function setClaim(TypeAmount $claim): static + public function setClaim(TypeAmountNullable $claim): static { $this->claim = $claim; return $this; @@ -71,12 +71,12 @@ public function setLocation(?string $location): static return $this; } - public function getChangeTime(): ?TypeDateTime + public function getChangeTime(): ?TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(?TypeDateTime $changeTime): static + public function setChangeTime(?TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; diff --git a/src/Endpoint/Stocks/GetStockDetail.php b/src/Endpoint/Stocks/GetStockDetail.php index 1e1a5bb..6b126b6 100644 --- a/src/Endpoint/Stocks/GetStockDetail.php +++ b/src/Endpoint/Stocks/GetStockDetail.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockDetailResponse\GetStockDetailResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockdetail * * @method GetStockDetail setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse.php b/src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse/Data.php b/src/Endpoint/Stocks/GetStockDetailResponse/GetStockDetailResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovements.php b/src/Endpoint/Stocks/GetStockMovements.php index 6187d23..8643d7d 100644 --- a/src/Endpoint/Stocks/GetStockMovements.php +++ b/src/Endpoint/Stocks/GetStockMovements.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockMovementsResponse\GetStockMovementsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockmovements + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockmovements * * @method GetStockMovements setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Stocks/GetStockMovementsLastMove.php b/src/Endpoint/Stocks/GetStockMovementsLastMove.php index 7acd8b3..4881ce8 100644 --- a/src/Endpoint/Stocks/GetStockMovementsLastMove.php +++ b/src/Endpoint/Stocks/GetStockMovementsLastMove.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockMovementsLastMoveResponse\GetStockMovementsLastMoveResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockmovementslastmove + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockmovementslastmove * * @method GetStockMovementsLastMove setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse.php b/src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse/Data.php b/src/Endpoint/Stocks/GetStockMovementsLastMoveResponse/GetStockMovementsLastMoveResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse.php b/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data.php b/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements.php b/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements/Item.php b/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements/Item.php old mode 100644 new mode 100755 index 1dd7cff..8c8ca6d --- a/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements/Item.php +++ b/src/Endpoint/Stocks/GetStockMovementsResponse/GetStockMovementsResponse/Data/Movements/Item.php @@ -3,21 +3,21 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\Stocks\GetStockMovementsResponse\GetStockMovementsResponse\Data\Movements; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmount; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeAmountNullable; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeGuidUnlimited; class Item extends Entity { protected int $id; protected string $productCode; - protected TypeAmount $actualAmount; - protected TypeAmount $amountChange; + protected TypeAmountNullable $actualAmount; + protected TypeAmountNullable $amountChange; protected ?string $changedBy; - protected TypeDateTime $changeTime; + protected TypeDateTimeNullable $changeTime; protected ?string $orderCode; protected ?TypeGuidUnlimited $productGuid; - protected ?TypeAmount $sumAmount; + protected ?TypeAmountNullable $sumAmount; public function getId(): int { @@ -41,23 +41,23 @@ public function setProductCode(string $productCode): static return $this; } - public function getActualAmount(): TypeAmount + public function getActualAmount(): TypeAmountNullable { return $this->actualAmount; } - public function setActualAmount(TypeAmount $actualAmount): static + public function setActualAmount(TypeAmountNullable $actualAmount): static { $this->actualAmount = $actualAmount; return $this; } - public function getAmountChange(): TypeAmount + public function getAmountChange(): TypeAmountNullable { return $this->amountChange; } - public function setAmountChange(TypeAmount $amountChange): static + public function setAmountChange(TypeAmountNullable $amountChange): static { $this->amountChange = $amountChange; return $this; @@ -74,12 +74,12 @@ public function setChangedBy(?string $changedBy): static return $this; } - public function getChangeTime(): TypeDateTime + public function getChangeTime(): TypeDateTimeNullable { return $this->changeTime; } - public function setChangeTime(TypeDateTime $changeTime): static + public function setChangeTime(TypeDateTimeNullable $changeTime): static { $this->changeTime = $changeTime; return $this; @@ -107,12 +107,12 @@ public function setProductGuid(?TypeGuidUnlimited $productGuid): static return $this; } - public function getSumAmount(): ?TypeAmount + public function getSumAmount(): ?TypeAmountNullable { return $this->sumAmount; } - public function setSumAmount(?TypeAmount $sumAmount): static + public function setSumAmount(?TypeAmountNullable $sumAmount): static { $this->sumAmount = $sumAmount; return $this; diff --git a/src/Endpoint/Stocks/UpdateQuantityInStock.php b/src/Endpoint/Stocks/UpdateQuantityInStock.php index 4e5b6ad..9c7f2e1 100644 --- a/src/Endpoint/Stocks/UpdateQuantityInStock.php +++ b/src/Endpoint/Stocks/UpdateQuantityInStock.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\UpdateQuantityInStockResponse\UpdateQuantityInStockResponse; /** - * @see https://api.docs.shoptet.com/openapi/Stocks/updatequantityinstock + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/updatequantityinstock * * @method UpdateQuantityInStock setBody(null|array|UpdateQuantityInStockRequest $entity) * @method null|UpdateQuantityInStockRequest getBody() diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data.php old mode 100644 new mode 100755 index 58d4f29..d02d040 --- a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data.php +++ b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data.php @@ -13,12 +13,12 @@ * @property ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock[] $data * @method ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock[] toArray() * @method void set(int $key, ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock $item) - * @method null|ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock get(int $key) + * @method ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock|null get(int $key) * @method void add(ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock $item) - * @method null|ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock remove(int $key) + * @method ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock|null remove(int $key) * @method bool removeItem(ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock $item, bool $strict = true) * @method bool contains(ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock $item, bool $strict = true) - * @method null|ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock offsetGet(int $offset) + * @method ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock|null offsetGet(int $offset) * @method void offsetSet(int $offset, ItemWithAmountChange|ItemWithQuantity|ItemWithRealStock $value) */ class Data extends EntityCollection diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item1.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item1.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item2.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item2.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item3.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/Item3.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithAmountChange.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithAmountChange.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithQuantity.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithQuantity.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithRealStock.php b/src/Endpoint/Stocks/UpdateQuantityInStockRequest/UpdateQuantityInStockRequest/Data/ItemWithRealStock.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php b/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php old mode 100644 new mode 100755 index fdc1a1f..719e427 --- a/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php +++ b/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\Stocks\UpdateQuantityInStockResponse\UpdateQuantityInStockResponse\Data; class UpdateQuantityInStockResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse/Data.php b/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse/Data.php new file mode 100755 index 0000000..cd2d2e5 --- /dev/null +++ b/src/Endpoint/Stocks/UpdateQuantityInStockResponse/UpdateQuantityInStockResponse/Data.php @@ -0,0 +1,9 @@ +currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(?TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; diff --git a/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php old mode 100644 new mode 100755 similarity index 63% rename from src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php rename to src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php index a7b71c2..479416a --- a/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values.php @@ -1,9 +1,9 @@ @@ -26,6 +26,6 @@ class Values extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterRequest\CreateSurchargeParameterRequest\Data\Values\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterRequest\CreateSurchargeParameterRequest\Data\Values\Item'; } } diff --git a/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php old mode 100644 new mode 100755 similarity index 72% rename from src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php rename to src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php index 602df54..1f03433 --- a/src/Endpoint/Products/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php @@ -1,14 +1,14 @@ price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php old mode 100644 new mode 100755 similarity index 74% rename from src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php rename to src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php index d461606..e7bcb52 --- a/src/Endpoint/Products/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse.php @@ -1,10 +1,10 @@ @@ -26,6 +26,6 @@ class ParamValues extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterValueRequest\CreateSurchargeParameterValueRequest\Data\ParamValues\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterValueRequest\CreateSurchargeParameterValueRequest\Data\ParamValues\Item'; } } diff --git a/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php old mode 100644 new mode 100755 similarity index 71% rename from src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php rename to src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php index 12c8b56..7140f5c --- a/src/Endpoint/Products/CreateSurchargeParameterRequest/CreateSurchargeParameterRequest/Data/Values/Item.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueRequest/CreateSurchargeParameterValueRequest/Data/ParamValues/Item.php @@ -1,14 +1,14 @@ price; } - public function setPrice(TypePrice $price): static + public function setPrice(TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php old mode 100644 new mode 100755 similarity index 72% rename from src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php rename to src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php index 200c4cc..579d494 --- a/src/Endpoint/Products/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse.php @@ -1,10 +1,10 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse/Data.php b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse/Data.php new file mode 100755 index 0000000..96df682 --- /dev/null +++ b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndexResponse/DeleteSurchargeParameterByIndexResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse/Data.php b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse/Data.php new file mode 100755 index 0000000..c7607f8 --- /dev/null +++ b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValueResponse/DeleteSurchargeParameterValueResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class SurchargeParameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfSurchargeParametersResponse\GetListOfSurchargeParametersResponse\Data\SurchargeParameters\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\GetListOfSurchargeParametersResponse\GetListOfSurchargeParametersResponse\Data\SurchargeParameters\Item'; } } diff --git a/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php b/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php old mode 100644 new mode 100755 similarity index 89% rename from src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php rename to src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php index 690e933..0c57595 --- a/src/Endpoint/Products/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php +++ b/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php @@ -1,10 +1,10 @@ + * @property SurchargeParameterValue[] $data + * @method SurchargeParameterValue[] toArray() + * @method void set(int $key, SurchargeParameterValue $item) + * @method null|SurchargeParameterValue get(int $key) + * @method void add(SurchargeParameterValue $item) + * @method null|SurchargeParameterValue remove(int $key) + * @method bool removeItem(SurchargeParameterValue $item, bool $strict = true) + * @method bool contains(SurchargeParameterValue $item, bool $strict = true) + * @method null|SurchargeParameterValue offsetGet(int $offset) + * @method void offsetSet(int $offset, SurchargeParameterValue $value) + */ +class Values extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\SurchargeParameterValue'; + } +} diff --git a/src/Endpoint/Products/UpdateSurchargeParameter.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php similarity index 65% rename from src/Endpoint/Products/UpdateSurchargeParameter.php rename to src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php index 47b9b23..e665083 100644 --- a/src/Endpoint/Products/UpdateSurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php @@ -1,13 +1,13 @@ currency; } - public function setCurrency(?TypeCurrencyCode $currency): static + public function setCurrency(?TypeCurrencyCodeNullable $currency): static { $this->currency = $currency; return $this; diff --git a/src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php old mode 100644 new mode 100755 similarity index 74% rename from src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php rename to src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php index 935def8..6d6a615 --- a/src/Endpoint/Products/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse.php @@ -1,10 +1,10 @@ price; } - public function setPrice(?TypePrice $price): static + public function setPrice(?TypePriceNullable $price): static { $this->price = $price; return $this; diff --git a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php old mode 100644 new mode 100755 similarity index 72% rename from src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php rename to src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php index 4b94cf5..30c5941 --- a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse.php @@ -1,10 +1,10 @@ surchargeParameter; + } + + public function setSurchargeParameter(SurchargeParameter $surchargeParameter): static + { + $this->surchargeParameter = $surchargeParameter; + return $this; + } +} diff --git a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php old mode 100644 new mode 100755 similarity index 90% rename from src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php rename to src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php index 5ca251b..10751ef --- a/src/Endpoint/Products/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php @@ -1,10 +1,10 @@ data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse/Data.php b/src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse/Data.php new file mode 100755 index 0000000..38327dd --- /dev/null +++ b/src/Endpoint/Templates/DeleteHtmlCodeResponse/DeleteHtmlCodeResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class Units extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductUnitsResponse\GetListOfProductUnitsResponse\Data\Units\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Units\GetListOfProductUnitsResponse\GetListOfProductUnitsResponse\Data\Units\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php b/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php old mode 100644 new mode 100755 similarity index 85% rename from src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php rename to src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php index a521ef0..e29ef72 --- a/src/Endpoint/Products/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php +++ b/src/Endpoint/Units/GetListOfProductUnitsResponse/GetListOfProductUnitsResponse/Data/Units/Item.php @@ -1,6 +1,6 @@ unsubscribedAt; } - public function setUnsubscribedAt(TypeDateTime $unsubscribedAt): static + public function setUnsubscribedAt(TypeDateTimeNullable $unsubscribedAt): static { $this->unsubscribedAt = $unsubscribedAt; return $this; diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php index 6215c89..533b455 100644 --- a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php +++ b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\UnsubscribedEmails\GetListingOfUnsubscribedEmailsResponse\GetListingOfUnsubscribedEmailsResponse; /** - * @see https://api.docs.shoptet.com/openapi/Unsubscribed-emails/getlistingofunsubscribedemails + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Unsubscribed-emails/getlistingofunsubscribedemails * * @method GetListingOfUnsubscribedEmails setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php old mode 100644 new mode 100755 index 985f5d4..5cb8f1d --- a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php +++ b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmailsResponse/GetListingOfUnsubscribedEmailsResponse/Data/UnsubscribedEmails/Item.php @@ -3,12 +3,12 @@ namespace Shoptet\Api\Sdk\Php\Endpoint\UnsubscribedEmails\GetListingOfUnsubscribedEmailsResponse\GetListingOfUnsubscribedEmailsResponse\Data\UnsubscribedEmails; use Shoptet\Api\Sdk\Php\Component\Entity\Entity; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTime; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable; class Item extends Entity { protected string $email; - protected TypeDateTime $unsubscribedAt; + protected TypeDateTimeNullable $unsubscribedAt; public function getEmail(): string { @@ -21,12 +21,12 @@ public function setEmail(string $email): static return $this; } - public function getUnsubscribedAt(): TypeDateTime + public function getUnsubscribedAt(): TypeDateTimeNullable { return $this->unsubscribedAt; } - public function setUnsubscribedAt(TypeDateTime $unsubscribedAt): static + public function setUnsubscribedAt(TypeDateTimeNullable $unsubscribedAt): static { $this->unsubscribedAt = $unsubscribedAt; return $this; diff --git a/src/Endpoint/Products/CreateVariantParameter.php b/src/Endpoint/VariantParameters/CreateVariantParameter.php similarity index 64% rename from src/Endpoint/Products/CreateVariantParameter.php rename to src/Endpoint/VariantParameters/CreateVariantParameter.php index 82723f0..384014c 100644 --- a/src/Endpoint/Products/CreateVariantParameter.php +++ b/src/Endpoint/VariantParameters/CreateVariantParameter.php @@ -1,13 +1,13 @@ data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse/Data.php b/src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse/Data.php new file mode 100755 index 0000000..4897675 --- /dev/null +++ b/src/Endpoint/VariantParameters/DeleteVariantParameterResponse/DeleteVariantParameterResponse/Data.php @@ -0,0 +1,9 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse/Data.php b/src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse/Data.php new file mode 100755 index 0000000..0d6d36c --- /dev/null +++ b/src/Endpoint/VariantParameters/DeleteVariantParameterValueResponse/DeleteVariantParameterValueResponse/Data.php @@ -0,0 +1,9 @@ + @@ -26,6 +26,6 @@ class Parameters extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfVariantParametersResponse\GetListOfVariantParametersResponse\Data\Parameters\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\GetListOfVariantParametersResponse\GetListOfVariantParametersResponse\Data\Parameters\Item'; } } diff --git a/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php b/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php old mode 100644 new mode 100755 similarity index 84% rename from src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php rename to src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php index 4f7e225..907413c --- a/src/Endpoint/Products/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php +++ b/src/Endpoint/VariantParameters/GetListOfVariantParametersResponse/GetListOfVariantParametersResponse/Data/Parameters/Item.php @@ -1,9 +1,9 @@ id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getParamName(): ?string + { + return $this->paramName; + } + + public function setParamName(?string $paramName): static + { + $this->paramName = $paramName; + return $this; + } + + public function getParamIndex(): string + { + return $this->paramIndex; + } + + public function setParamIndex(string $paramIndex): static + { + $this->paramIndex = $paramIndex; + return $this; + } + + public function getDisplayName(): ?string + { + return $this->displayName; + } + + public function setDisplayName(?string $displayName): static + { + $this->displayName = $displayName; + return $this; + } + + public function getPriority(): ?int + { + return $this->priority; + } + + public function setPriority(?int $priority): static + { + $this->priority = $priority; + return $this; + } + + public function getValues(): ?Values + { + return $this->values; + } + + public function setValues(?Values $values): static + { + $this->values = $values; + return $this; + } +} diff --git a/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php b/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php new file mode 100755 index 0000000..9b133c1 --- /dev/null +++ b/src/Endpoint/VariantParameters/UpdateVariantParameterValueResponse/UpdateVariantParameterValueResponse/Data/Values.php @@ -0,0 +1,31 @@ + + * @property ProductVariantParameterValue[] $data + * @method ProductVariantParameterValue[] toArray() + * @method void set(int $key, ProductVariantParameterValue $item) + * @method null|ProductVariantParameterValue get(int $key) + * @method void add(ProductVariantParameterValue $item) + * @method null|ProductVariantParameterValue remove(int $key) + * @method bool removeItem(ProductVariantParameterValue $item, bool $strict = true) + * @method bool contains(ProductVariantParameterValue $item, bool $strict = true) + * @method null|ProductVariantParameterValue offsetGet(int $offset) + * @method void offsetSet(int $offset, ProductVariantParameterValue $value) + */ +class Values extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Component\Entity\ProductVariantParameterValue'; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php new file mode 100644 index 0000000..55cd9bc --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php @@ -0,0 +1,39 @@ + false, + 'page' => false, + 'itemsPerPage' => false, + 'customerGroupCode' => false, + ]; + + public function getRequestEntityClass(): null + { + return null; + } + + public function getResponseEntityClass(): string + { + return GetListOfVolumeDiscountsResponse::class; + } + + public function getEndpoint(): string + { + return '/api/volume-discounts'; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse.php new file mode 100755 index 0000000..78e8c3b --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse.php @@ -0,0 +1,35 @@ +data; + } + + public function setData(?Data $data): static + { + $this->data = $data; + return $this; + } + + public function getErrors(): ?Errors + { + return $this->errors; + } + + public function setErrors(?Errors $errors): static + { + $this->errors = $errors; + return $this; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data.php new file mode 100755 index 0000000..1d33b91 --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data.php @@ -0,0 +1,35 @@ +discounts; + } + + public function setDiscounts(Discounts $discounts): static + { + $this->discounts = $discounts; + return $this; + } + + public function getPaginator(): Paginator + { + return $this->paginator; + } + + public function setPaginator(Paginator $paginator): static + { + $this->paginator = $paginator; + return $this; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts.php new file mode 100755 index 0000000..1569ed6 --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class Discounts extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\VolumeDiscounts\GetListOfVolumeDiscountsResponse\GetListOfVolumeDiscountsResponse\Data\Discounts\Item'; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item.php new file mode 100755 index 0000000..18d856e --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item.php @@ -0,0 +1,73 @@ +id; + } + + public function setId(int $id): static + { + $this->id = $id; + return $this; + } + + public function getAmount(): TypeAmount + { + return $this->amount; + } + + public function setAmount(TypeAmount $amount): static + { + $this->amount = $amount; + return $this; + } + + public function getPriceRatio(): ?TypePriceRatio + { + return $this->priceRatio; + } + + public function setPriceRatio(?TypePriceRatio $priceRatio): static + { + $this->priceRatio = $priceRatio; + return $this; + } + + public function getCurrency(): TypeCurrencyCodeNullable + { + return $this->currency; + } + + public function setCurrency(TypeCurrencyCodeNullable $currency): static + { + $this->currency = $currency; + return $this; + } + + public function getCustomerGroups(): ?CustomerGroups + { + return $this->customerGroups; + } + + public function setCustomerGroups(?CustomerGroups $customerGroups): static + { + $this->customerGroups = $customerGroups; + return $this; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups.php new file mode 100755 index 0000000..93d5713 --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups.php @@ -0,0 +1,31 @@ + + * @property Item[] $data + * @method Item[] toArray() + * @method void set(int $key, Item $item) + * @method null|Item get(int $key) + * @method void add(Item $item) + * @method null|Item remove(int $key) + * @method bool removeItem(Item $item, bool $strict = true) + * @method bool contains(Item $item, bool $strict = true) + * @method null|Item offsetGet(int $offset) + * @method void offsetSet(int $offset, Item $value) + */ +class CustomerGroups extends EntityCollection +{ + /** + * @param array $data + * @return class-string + */ + public function getItemType(array $data): string + { + return 'Shoptet\Api\Sdk\Php\Endpoint\VolumeDiscounts\GetListOfVolumeDiscountsResponse\GetListOfVolumeDiscountsResponse\Data\Discounts\Item\CustomerGroups\Item'; + } +} diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php new file mode 100755 index 0000000..c68dd44 --- /dev/null +++ b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscountsResponse/GetListOfVolumeDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php @@ -0,0 +1,33 @@ +code; + } + + public function setCode(string $code): static + { + $this->code = $code; + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): static + { + $this->name = $name; + return $this; + } +} diff --git a/src/Endpoint/Products/GetListOfProductWarranties.php b/src/Endpoint/Warranties/GetListOfProductWarranties.php similarity index 70% rename from src/Endpoint/Products/GetListOfProductWarranties.php rename to src/Endpoint/Warranties/GetListOfProductWarranties.php index c4fc3cf..f2bf65f 100644 --- a/src/Endpoint/Products/GetListOfProductWarranties.php +++ b/src/Endpoint/Warranties/GetListOfProductWarranties.php @@ -1,12 +1,12 @@ @@ -26,6 +26,6 @@ class Warranties extends EntityCollection */ public function getItemType(array $data): string { - return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductWarrantiesResponse\GetListOfProductWarrantiesResponse\Data\Warranties\Item'; + return 'Shoptet\Api\Sdk\Php\Endpoint\Warranties\GetListOfProductWarrantiesResponse\GetListOfProductWarrantiesResponse\Data\Warranties\Item'; } } diff --git a/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php b/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php old mode 100644 new mode 100755 similarity index 88% rename from src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php rename to src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php index aa62f16..437575b --- a/src/Endpoint/Products/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php +++ b/src/Endpoint/Warranties/GetListOfProductWarrantiesResponse/GetListOfProductWarrantiesResponse/Data/Warranties/Item.php @@ -1,6 +1,6 @@ data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse/Data.php b/src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse/Data.php new file mode 100755 index 0000000..eb9a5ef --- /dev/null +++ b/src/Endpoint/Webhooks/DeleteRegisteredWebhookResponse/DeleteRegisteredWebhookResponse/Data.php @@ -0,0 +1,9 @@ +data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse/Data.php b/src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse/Data.php new file mode 100755 index 0000000..31938a0 --- /dev/null +++ b/src/Endpoint/Webhooks/UpdateExistingWebhookResponse/UpdateExistingWebhookResponse/Data.php @@ -0,0 +1,9 @@ +validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest/Data/CustomerGroupCodes.php b/src/Endpoint/XYDiscounts/CreateXYDiscountRequest/CreateXYDiscountRequest/Data/CustomerGroupCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse.php b/src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse/Data.php b/src/Endpoint/XYDiscounts/CreateXYDiscountResponse/CreateXYDiscountResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/DeleteXYDiscount.php b/src/Endpoint/XYDiscounts/DeleteXYDiscount.php index 2532984..f406e7b 100644 --- a/src/Endpoint/XYDiscounts/DeleteXYDiscount.php +++ b/src/Endpoint/XYDiscounts/DeleteXYDiscount.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\DeleteXYDiscountResponse\DeleteXYDiscountResponse; /** - * @see https://api.docs.shoptet.com/openapi/XY-discounts/deletexydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/deletexydiscount * * @method DeleteXYDiscount setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php b/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php old mode 100644 new mode 100755 index bb92d6b..ff789c1 --- a/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php +++ b/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse.php @@ -4,18 +4,19 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\Errors; +use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\DeleteXYDiscountResponse\DeleteXYDiscountResponse\Data; class DeleteXYDiscountResponse extends Entity { - protected null $data; + protected ?Data $data; protected ?Errors $errors; - public function getData(): null + public function getData(): ?Data { return $this->data; } - public function setData(null $data): static + public function setData(?Data $data): static { $this->data = $data; return $this; diff --git a/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse/Data.php b/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse/Data.php new file mode 100755 index 0000000..ccf9868 --- /dev/null +++ b/src/Endpoint/XYDiscounts/DeleteXYDiscountResponse/DeleteXYDiscountResponse/Data.php @@ -0,0 +1,9 @@ +validFrom; } - public function setValidFrom(TypeDate $validFrom): static + public function setValidFrom(TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): TypeDate + public function getValidTo(): TypeDateNullable { return $this->validTo; } - public function setValidTo(TypeDate $validTo): static + public function setValidTo(TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups.php b/src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php b/src/Endpoint/XYDiscounts/GetListOfXYDiscountsResponse/GetListOfXYDiscountsResponse/Data/Discounts/Item/CustomerGroups/Item.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php b/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php index de6cdaf..9e92c5a 100644 --- a/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php +++ b/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php @@ -6,7 +6,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\GetXYDiscountsSettingsResponse\GetXYDiscountsSettingsResponse; /** - * @see https://api.docs.shoptet.com/openapi/XY-discounts/getxydiscountssettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/getxydiscountssettings * * @method GetXYDiscountsSettings setBody(null $entity) * @method null getBody() diff --git a/src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse.php b/src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse/Data.php b/src/Endpoint/XYDiscounts/GetXYDiscountsSettingsResponse/GetXYDiscountsSettingsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscount.php b/src/Endpoint/XYDiscounts/UpdateXYDiscount.php index 956aec4..71f8906 100644 --- a/src/Endpoint/XYDiscounts/UpdateXYDiscount.php +++ b/src/Endpoint/XYDiscounts/UpdateXYDiscount.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\UpdateXYDiscountResponse\UpdateXYDiscountResponse; /** - * @see https://api.docs.shoptet.com/openapi/XY-discounts/updatexydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/updatexydiscount * * @method UpdateXYDiscount setBody(null|array|UpdateXYDiscountRequest $entity) * @method null|UpdateXYDiscountRequest getBody() diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data.php old mode 100644 new mode 100755 index c937671..0ee7d3a --- a/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data.php +++ b/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data.php @@ -5,15 +5,15 @@ use Shoptet\Api\Sdk\Php\Component\Entity\Entity; use Shoptet\Api\Sdk\Php\Component\Entity\XyDiscountTargetingPostRequest; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeColor; -use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDate; +use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateNullable; use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePositiveAmount; use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\UpdateXYDiscountRequest\UpdateXYDiscountRequest\Data\CustomerGroupCodes; class Data extends Entity { protected ?string $title; - protected ?TypeDate $validFrom; - protected ?TypeDate $validTo; + protected ?TypeDateNullable $validFrom; + protected ?TypeDateNullable $validTo; protected ?CustomerGroupCodes $customerGroupCodes; protected ?bool $includeUnregisteredCustomers; protected ?TypePositiveAmount $xAmount; @@ -41,23 +41,23 @@ public function setTitle(?string $title): static return $this; } - public function getValidFrom(): ?TypeDate + public function getValidFrom(): ?TypeDateNullable { return $this->validFrom; } - public function setValidFrom(?TypeDate $validFrom): static + public function setValidFrom(?TypeDateNullable $validFrom): static { $this->validFrom = $validFrom; return $this; } - public function getValidTo(): ?TypeDate + public function getValidTo(): ?TypeDateNullable { return $this->validTo; } - public function setValidTo(?TypeDate $validTo): static + public function setValidTo(?TypeDateNullable $validTo): static { $this->validTo = $validTo; return $this; diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data/CustomerGroupCodes.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountRequest/UpdateXYDiscountRequest/Data/CustomerGroupCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse/Data.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountResponse/UpdateXYDiscountResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php index bd44837..918c0c0 100644 --- a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php +++ b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php @@ -7,7 +7,7 @@ use Shoptet\Api\Sdk\Php\Endpoint\XYDiscounts\UpdateXYDiscountSettingsResponse\UpdateXYDiscountSettingsResponse; /** - * @see https://api.docs.shoptet.com/openapi/XY-discounts/updatexydiscountsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/updatexydiscountsettings * * @method UpdateXYDiscountSettings setBody(null|array|UpdateXYDiscountSettingsRequest $entity) * @method null|UpdateXYDiscountSettingsRequest getBody() diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest/Data.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsRequest/UpdateXYDiscountSettingsRequest/Data.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse/Data.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettingsResponse/UpdateXYDiscountSettingsResponse/Data.php old mode 100644 new mode 100755 diff --git a/src/Exception/BadMethodCallException.php b/src/Exception/BadMethodCallException.php old mode 100644 new mode 100755 diff --git a/src/Exception/EndpointValidationException.php b/src/Exception/EndpointValidationException.php old mode 100644 new mode 100755 diff --git a/src/Exception/Exception.php b/src/Exception/Exception.php old mode 100644 new mode 100755 diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php old mode 100644 new mode 100755 diff --git a/src/Exception/LogicException.php b/src/Exception/LogicException.php old mode 100644 new mode 100755 diff --git a/src/Exception/NetworkException.php b/src/Exception/NetworkException.php old mode 100644 new mode 100755 diff --git a/src/Exception/OutOfRangeException.php b/src/Exception/OutOfRangeException.php old mode 100644 new mode 100755 diff --git a/src/Exception/RateLimitExceededException.php b/src/Exception/RateLimitExceededException.php old mode 100644 new mode 100755 diff --git a/src/Exception/ReflectionException.php b/src/Exception/ReflectionException.php old mode 100644 new mode 100755 diff --git a/src/Exception/RequestException.php b/src/Exception/RequestException.php old mode 100644 new mode 100755 diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php old mode 100644 new mode 100755 diff --git a/src/Factory/Endpoint/EndpointFactory.php b/src/Factory/Endpoint/EndpointFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Entity/EntityCollectionFactory.php b/src/Factory/Entity/EntityCollectionFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Entity/EntityFactory.php b/src/Factory/Entity/EntityFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Response/ArrayResponseFactory.php b/src/Factory/Response/ArrayResponseFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Response/EntityResponseFactory.php b/src/Factory/Response/EntityResponseFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Response/RawResponseFactory.php b/src/Factory/Response/RawResponseFactory.php old mode 100644 new mode 100755 diff --git a/src/Factory/Response/ResponseFactoryInterface.php b/src/Factory/Response/ResponseFactoryInterface.php old mode 100644 new mode 100755 diff --git a/src/Factory/ValueObject/DateFactory.php b/src/Factory/ValueObject/DateFactory.php old mode 100644 new mode 100755 diff --git a/src/Helper/StringConverter.php b/src/Helper/StringConverter.php old mode 100644 new mode 100755 diff --git a/src/HttpClient/ClientInterface.php b/src/HttpClient/ClientInterface.php old mode 100644 new mode 100755 diff --git a/src/HttpClient/CurlClient.php b/src/HttpClient/CurlClient.php old mode 100644 new mode 100755 index c1507f2..6ac9cec --- a/src/HttpClient/CurlClient.php +++ b/src/HttpClient/CurlClient.php @@ -94,7 +94,7 @@ public function request(Endpoint $endpoint): ResponseInterface 'body' => $endpoint->getBody(), ] ); - /** @var false|string $rBody */ + /** @var string|false $rBody */ $rBody = curl_exec($this->handle); $errno = curl_errno($this->handle); diff --git a/src/Response/AbstractResponse.php b/src/Response/AbstractResponse.php old mode 100644 new mode 100755 diff --git a/src/Response/ArrayResponse.php b/src/Response/ArrayResponse.php old mode 100644 new mode 100755 index d4a20ff..9a08889 --- a/src/Response/ArrayResponse.php +++ b/src/Response/ArrayResponse.php @@ -23,7 +23,7 @@ public function getBody(): ?array return null; } if (!isset($this->body)) { - /** @var null|array $body */ + /** @var array|null $body */ $body = json_decode($this->rawBody, true); $this->body = $body; } diff --git a/src/Response/EntityResponse.php b/src/Response/EntityResponse.php old mode 100644 new mode 100755 index 7b660df..7ca8b16 --- a/src/Response/EntityResponse.php +++ b/src/Response/EntityResponse.php @@ -37,7 +37,7 @@ protected function castBodyToEntity(): ?Entity return null; } - /** @var null|array $arrBody */ + /** @var array|null $arrBody */ $arrBody = json_decode($this->rawBody, true); if ($arrBody === null) { //cannot be processed - why? diff --git a/src/Response/RawResponse.php b/src/Response/RawResponse.php old mode 100644 new mode 100755 diff --git a/src/Response/ResponseInterface.php b/src/Response/ResponseInterface.php old mode 100644 new mode 100755 diff --git a/src/Sdk.php b/src/Sdk.php index 4ee4f8c..a9b0ac6 100644 --- a/src/Sdk.php +++ b/src/Sdk.php @@ -11,6 +11,11 @@ use Shoptet\Api\Sdk\Php\Authorization\OAuth; use Shoptet\Api\Sdk\Php\Authorization\Token\FileTokenStorage; use Shoptet\Api\Sdk\Php\Authorization\Token\TokenStorage; +use Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\AddAlternativeProduct; +use Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\AddAlternativeProductRequest\AddAlternativeProductRequest; +use Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\GetListOfProductAlternativeProducts; +use Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\SetAlternativeProducts; +use Shoptet\Api\Sdk\Php\Endpoint\AlternativeProducts\SetAlternativeProductsRequest\SetAlternativeProductsRequest; use Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticle; use Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticleRequest\CreateArticleRequest; use Shoptet\Api\Sdk\Php\Endpoint\Articles\CreateArticleSection; @@ -35,6 +40,24 @@ use Shoptet\Api\Sdk\Php\Endpoint\Brands\GetListofBrands; use Shoptet\Api\Sdk\Php\Endpoint\Brands\UpdateBrand; use Shoptet\Api\Sdk\Php\Endpoint\Brands\UpdateBrandRequest\UpdateBrandRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\CreateProductCategory; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\CreateProductCategoryRequest\CreateProductCategoryRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\DeleteProductCategory; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\GetListOfProductCategories; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\GetListOfProductsOrderInCategory; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\GetProductCategoryDetail; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategory; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategoryBatch; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategoryBatchRequest\UpdateProductCategoryBatchRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductCategoryRequest\UpdateProductCategoryRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductOrderInCategory; +use Shoptet\Api\Sdk\Php\Endpoint\Categories\UpdateProductOrderInCategoryRequest\UpdateProductOrderInCategoryRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\CreateConsumptionTax; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\CreateConsumptionTaxRequest\CreateConsumptionTaxRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\DeleteConsumptionTax; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\GetListOfConsumptionTaxes; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\UpdateConsumptionTax; +use Shoptet\Api\Sdk\Php\Endpoint\ConsumptionTaxes\UpdateConsumptionTaxRequest\UpdateConsumptionTaxRequest; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\CreateCreditNoteFromInvoice; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\CreateCreditNoteFromInvoiceRequest\CreateCreditNoteFromInvoiceRequest; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\CreateCreditNoteFromProofOfPayment; @@ -54,37 +77,37 @@ use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNoteItem; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNoteItemRequest\UpdateCreditNoteItemRequest; use Shoptet\Api\Sdk\Php\Endpoint\CreditNotes\UpdateCreditNoteRequest\UpdateCreditNoteRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\CreateCustomerAccount; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\CreateCustomerAccountRequest\CreateCustomerAccountRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\DeleteCustomerAccount; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\GetDetailOfCustomerAccount; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\GetListOfCustomerAccounts; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\UpdateCustomerAccount; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerAccounts\UpdateCustomerAccountRequest\UpdateCustomerAccountRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\CreateDeliveryAddress; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\CreateDeliveryAddressRequest\CreateDeliveryAddressRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\DeleteCustomerDeliveryAddress; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\GeListOfCustomerDeliveryAddresses; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\GetDetailOfCustomerDeliveryAddress; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\UpdateCustomerDeliveryAddress; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerDeliveryAddresses\UpdateCustomerDeliveryAddressRequest\UpdateCustomerDeliveryAddressRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\CreateCustomerRemark; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\CreateCustomerRemarkRequest\CreateCustomerRemarkRequest; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\DeleteCustomerRemark; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\GetDetailOfCustomerRemark; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\GetListOfCustomerRemarks; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\UpdateCustomerRemark; +use Shoptet\Api\Sdk\Php\Endpoint\CustomerRemarks\UpdateCustomerRemarkRequest\UpdateCustomerRemarkRequest; use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomer; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerAccount; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerAccountRequest\CreateCustomerAccountRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerRemark; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerRemarkRequest\CreateCustomerRemarkRequest; use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerRequest\CreateCustomerRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateDeliveryAddress; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateDeliveryAddressRequest\CreateDeliveryAddressRequest; use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomer; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerAccount; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerDeliveryAddress; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerRemark; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GeListOfCustomerDeliveryAddresses; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetCustomerDetail; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerAccount; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerDeliveryAddress; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetDetailOfCustomerRemark; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetLastCustomerChanges; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfAllCustomers; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerAccounts; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroups; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerRegions; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerRemarks; use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomers; use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomer; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerAccount; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerAccountRequest\UpdateCustomerAccountRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerDeliveryAddress; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerDeliveryAddressRequest\UpdateCustomerDeliveryAddressRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerRemark; -use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerRemarkRequest\UpdateCustomerRemarkRequest; use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerRequest\UpdateCustomerRequest; use Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\DownloadDeliveryNoteAsPdf; use Shoptet\Api\Sdk\Php\Endpoint\DeliveryNotes\GetDetailOfDeliveryNote; @@ -107,7 +130,6 @@ use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\UpdateDiscountCouponsUsage; use Shoptet\Api\Sdk\Php\Endpoint\DiscountCoupons\UpdateDiscountCouponsUsageRequest\UpdateDiscountCouponsUsageRequest; use Shoptet\Api\Sdk\Php\Endpoint\Discussions\GetListOfDiscussionPosts; -use Shoptet\Api\Sdk\Php\Endpoint\DocumentExport\GeneralDocumentDownload; use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\CreateEmailDistributionList; use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\CreateEmailDistributionListRequest\CreateEmailDistributionListRequest; use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\CreateEmailsDistributionList; @@ -115,76 +137,116 @@ use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\GetDetailOfEmailDistributionList; use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\GetLastChangesInDistributionList; use Shoptet\Api\Sdk\Php\Endpoint\EmailDistributionLists\GetListingOfEmailDistributionLists; +use Shoptet\Api\Sdk\Php\Endpoint\Endpoints\GetListOfAvailableEndpoints; use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopDesign; +use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopDocumentSettings; use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopInfo; use Shoptet\Api\Sdk\Php\Endpoint\Eshop\GetEshopMandatoryFields; +use Shoptet\Api\Sdk\Php\Endpoint\Exports\GeneralDocumentDownload; use Shoptet\Api\Sdk\Php\Endpoint\Files\GetListOfUploadedFiles; use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFile; use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFileRequest\UploadFileRequest; use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFiles; use Shoptet\Api\Sdk\Php\Endpoint\Files\UploadFilesRequest\UploadFilesRequest; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameter; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameterRequest\CreateFilteringParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\CreateFilteringParameterValueRequest\CreateFilteringParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\DeleteFilteringParameter; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\DeleteFilteringParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\GetDetailOfFilteringParameter; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\GetListOfFilteringParameters; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameter; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameterRequest\UpdateFilteringParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\FilteringParameters\UpdateFilteringParameterValueRequest\UpdateFilteringParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\CreateProductFlag; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\CreateProductFlagRequest\CreateProductFlagRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\DeleteProductFlag; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\GetListOfProductsFlags; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\UpdateProductFlag; +use Shoptet\Api\Sdk\Php\Endpoint\Flags\UpdateProductFlagRequest\UpdateProductFlagRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Gifts\GetOrderGiftSettings; +use Shoptet\Api\Sdk\Php\Endpoint\Gifts\UpdateOrderGiftSettings; +use Shoptet\Api\Sdk\Php\Endpoint\Gifts\UpdateOrderGiftSettingsRequest\UpdateOrderGiftSettingsRequest; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromOrder; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromOrderRequest\CreateInvoiceFromOrderRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromProformaInvoice; +use Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromProformaInvoiceRequest\CreateInvoiceFromProformaInvoiceRequest; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\DownloadInvoiceAsIsdoc; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\DownloadInvoiceAsPdf; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetInvoiceDetail; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetLastInvoiceChanges; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetListOfAllInvoices; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\GetListOfInvoices; +use Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProformaInvoices; +use Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProformaInvoicesRequest\InvoiceLinkProformaInvoicesRequest; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProofPayments; use Shoptet\Api\Sdk\Php\Endpoint\Invoices\InvoiceLinkProofPaymentsRequest\InvoiceLinkProofPaymentsRequest; -use Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetJobDetail; -use Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetJobDetailResponse\GetJobDetailResponse; -use Shoptet\Api\Sdk\Php\Endpoint\JobEndpoints\GetListOfJobs; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderGift; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderGiftRequest\AddOrderGiftRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderShipping; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\AddOrderShippingRequest\AddOrderShippingRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetJobDetail; +use Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetJobDetailResponse\GetJobDetailResponse; +use Shoptet\Api\Sdk\Php\Endpoint\Jobs\GetListOfJobs; +use Shoptet\Api\Sdk\Php\Endpoint\MeasureUnits\GetListOfProductsMeasureUnits; +use Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\AddOrderGift; +use Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\AddOrderGiftRequest\AddOrderGiftRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\DeleteOrderGift; +use Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\GetOrderGiftsList; +use Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\CreateOrderRemark; +use Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\CreateOrderRemarkRequest\CreateOrderRemarkRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\DeleteOrderHistoryItem; +use Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\GetListOfAllRemarks; +use Shoptet\Api\Sdk\Php\Endpoint\OrderHistory\GetListOfRemarksForOrder; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItem; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItemRequest\CreateOrderItemRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItemSurchargeParameters; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\CreateOrderItemSurchargeParametersRequest\CreateOrderItemSurchargeParametersRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\DeleteOrderItem; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\DeleteOrderItemSurchargeParameters; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\UpdateOrderItem; +use Shoptet\Api\Sdk\Php\Endpoint\OrderItems\UpdateOrderItemRequest\UpdateOrderItemRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\CreateOrderPayment; +use Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\CreateOrderPaymentRequest\CreateOrderPaymentRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\UpdateOrderPayment; +use Shoptet\Api\Sdk\Php\Endpoint\OrderPayment\UpdateOrderPaymentRequest\UpdateOrderPaymentRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\AddOrderShipping; +use Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\AddOrderShippingRequest\AddOrderShippingRequest; +use Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\UpdateOrderShipping; +use Shoptet\Api\Sdk\Php\Endpoint\OrderShipping\UpdateOrderShippingRequest\UpdateOrderShippingRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrder; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItem; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItemRequest\CreateOrderItemRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItemSurchargeParameters; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderItemSurchargeParametersRequest\CreateOrderItemSurchargeParametersRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderPayment; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderPaymentRequest\CreateOrderPaymentRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRemark; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRemarkRequest\CreateOrderRemarkRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\CreateOrderRequest\CreateOrderRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrder; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderGift; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderHistoryItem; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderItem; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\DeleteOrderItemSurchargeParameters; use Shoptet\Api\Sdk\Php\Endpoint\Orders\DownloadOrderAsPdf; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetLastOrderChanges; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfAllOrders; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderSources; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrderStatuses; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfOrders; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetListOfRemarksForOrder; +use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderClaims; use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderDetail; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderGiftSettings; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\GetOrderGiftsList; use Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderBatchInsertion; use Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderBatchInsertionRequest\OrderBatchInsertionRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderCopy; use Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderCopyRequest\OrderCopyRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderGiftSettings; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderGiftSettingsRequest\UpdateOrderGiftSettingsRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderHead; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderHeadRequest\UpdateOrderHeadRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderItem; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderItemRequest\UpdateOrderItemRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderPayment; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderPaymentRequest\UpdateOrderPaymentRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderShipping; -use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderShippingRequest\UpdateOrderShippingRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderStatus; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateOrderStatusRequest\UpdateOrderStatusRequest; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateRemarksForOrder; use Shoptet\Api\Sdk\Php\Endpoint\Orders\UpdateRemarksForOrderRequest\UpdateRemarksForOrderRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Pages\CreatePage; +use Shoptet\Api\Sdk\Php\Endpoint\Pages\CreatePageRequest\CreatePageRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Pages\DeletePage; use Shoptet\Api\Sdk\Php\Endpoint\Pages\GetDetailOfPage; use Shoptet\Api\Sdk\Php\Endpoint\Pages\GetListOfPages; +use Shoptet\Api\Sdk\Php\Endpoint\Pages\UpdatePage; +use Shoptet\Api\Sdk\Php\Endpoint\Pages\UpdatePageRequest\UpdatePageRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\CreateParametricCategory; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\CreateParametricCategoryRequest\CreateParametricCategoryRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\DeleteParametricCategory; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\GetListOfParametricCategories; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\GetParametricCategoryDetail; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\UpdateParametricCategory; +use Shoptet\Api\Sdk\Php\Endpoint\ParametricCategories\UpdateParametricCategoryRequest\UpdateParametricCategoryRequest; use Shoptet\Api\Sdk\Php\Endpoint\PaymentGateways\GetInformationAboutPayment; use Shoptet\Api\Sdk\Php\Endpoint\PaymentGateways\UpdatePaymentStatus; use Shoptet\Api\Sdk\Php\Endpoint\PaymentGateways\UpdatePaymentStatusRequest\UpdatePaymentStatusRequest; @@ -200,130 +262,66 @@ use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\GetPricelistDetail; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelist; use Shoptet\Api\Sdk\Php\Endpoint\PriceLists\UpdatePricelistRequest\UpdatePricelistRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddAlternativeProduct; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddAlternativeProductRequest\AddAlternativeProductRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddItemToProductSet; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddItemToProductSetRequest\AddItemToProductSetRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddRelatedProduct; -use Shoptet\Api\Sdk\Php\Endpoint\Products\AddRelatedProductRequest\AddRelatedProductRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateConsumptionTax; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateConsumptionTaxRequest\CreateConsumptionTaxRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameterRequest\CreateFilteringParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateFilteringParameterValueRequest\CreateFilteringParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\CreateProductAvailability; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\CreateProductAvailabilityRequest\CreateProductAvailabilityRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\DeleteProductAvailability; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\GetListOfProductsAvailabilities; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\UpdateProductAvailability; +use Shoptet\Api\Sdk\Php\Endpoint\ProductAvailabilities\UpdateProductAvailabilityRequest\UpdateProductAvailabilityRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\CreateProductGift; +use Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\CreateProductGiftRequest\CreateProductGiftRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\GetListOfProductGifts; +use Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\SteGiftsToProduct; +use Shoptet\Api\Sdk\Php\Endpoint\ProductGifts\SteGiftsToProductRequest\SteGiftsToProductRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\CreateProductImages; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\CreateProductImagesRequest\CreateProductImagesRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\DeleteAllProductImagesInGallery; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\DeleteOneProductImage; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImages; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdate; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateRequest\GetProductImagesUpdateRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\UpdateProductImagesSource; +use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\UpdateProductImagesSourceRequest\UpdateProductImagesSourceRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\CreateRelatedFileLink; +use Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\CreateRelatedFileLinkRequest\CreateRelatedFileLinkRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductRelatedFiles\DeleteOneProductRelatedFile; +use Shoptet\Api\Sdk\Php\Endpoint\ProductSets\AddItemToProductSet; +use Shoptet\Api\Sdk\Php\Endpoint\ProductSets\AddItemToProductSetRequest\AddItemToProductSetRequest; +use Shoptet\Api\Sdk\Php\Endpoint\ProductSets\SetProductSetItems; +use Shoptet\Api\Sdk\Php\Endpoint\ProductSets\SetProductSetItemsRequest\SetProductSetItemsRequest; use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProduct; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductCategory; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductCategoryRequest\CreateProductCategoryRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductFlag; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductFlagRequest\CreateProductFlagRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductGift; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductGiftRequest\CreateProductGiftRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductImages; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductImagesRequest\CreateProductImagesRequest; use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateProductRequest\CreateProductRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterRequest\CreateSurchargeParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateSurchargeParameterValueRequest\CreateSurchargeParameterValueRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameterRequest\CreateVariantParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\CreateVariantParameterValueRequest\CreateVariantParameterValueRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteAllProductImagesInGallery; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteConsumptionTax; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteFilteringParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteFilteringParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteOneProductImage; use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProduct; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductCategory; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductFlag; use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteProductVariant; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteSurchargeParameterByIndex; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteSurchargeParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteVariantParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\DeleteVariantParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfFilteringParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfSurchargeParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetDetailOfVariantParameter; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetLastProductChanges; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfAllProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfConsumptionTaxes; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfFilteringParameters; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfParametricCategories; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductAlternativeProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductCategories; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductGifts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductImages; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductRelatedProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductUnits; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductWarranties; +use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfAllProductsAndPricelistPrices; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsAvailabilities; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsFlags; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsMeasureUnits; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsOrderInCategory; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsReviews; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfRecyclingFeeCategories; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfSurchargeParameters; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfVariantParameters; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetParametricCategoryDetail; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductCategoryDetail; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetail; use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductDetailByCode; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductImagesUpdate; -use Shoptet\Api\Sdk\Php\Endpoint\Products\GetProductImagesUpdateRequest\GetProductImagesUpdateRequest; use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductBatchUpdate; use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductBatchUpdateRequest\ProductBatchUpdateRequest; use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductCopy; use Shoptet\Api\Sdk\Php\Endpoint\Products\ProductCopyRequest\ProductCopyRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetAlternativeProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetAlternativeProductsRequest\SetAlternativeProductsRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetProductSetItems; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetProductSetItemsRequest\SetProductSetItemsRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetRelatedProducts; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SetRelatedProductsRequest\SetRelatedProductsRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SteGiftsToProduct; -use Shoptet\Api\Sdk\Php\Endpoint\Products\SteGiftsToProductRequest\SteGiftsToProductRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateConsumptionTax; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateConsumptionTaxRequest\UpdateConsumptionTaxRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameterRequest\UpdateFilteringParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateFilteringParameterValueRequest\UpdateFilteringParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Products\UnlinkAllProductRelatedFiles; use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProduct; use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCode; use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductByCodeRequest\UpdateProductByCodeRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategory; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategoryBatch; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategoryBatchRequest\UpdateProductCategoryBatchRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductCategoryRequest\UpdateProductCategoryRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductFlag; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductFlagRequest\UpdateProductFlagRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductImagesSource; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductImagesSourceRequest\UpdateProductImagesSourceRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductOrderInCategory; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductOrderInCategoryRequest\UpdateProductOrderInCategoryRequest; use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateProductRequest\UpdateProductRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameterRequest\UpdateSurchargeParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateSurchargeParameterValueRequest\UpdateSurchargeParameterValueRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameter; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameterRequest\UpdateVariantParameterRequest; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameterValue; -use Shoptet\Api\Sdk\Php\Endpoint\Products\UpdateVariantParameterValueRequest\UpdateVariantParameterValueRequest; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\DownloadProformaInvoicePdf; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetLastProformaInvoiceChanges; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetListOfAllProformaInvoices; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetListOfProformaInvoices; use Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\GetProformaInvoiceDetail; +use Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectDomainList; +use Shoptet\Api\Sdk\Php\Endpoint\Project\GetProjectSalesChannels; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPayment; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByOrderCode; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByProformaInvoiceCode; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentRequest\CreateProofPaymentRequest; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DeleteProofPayment; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DownloadProofOfPaymentPdf; +use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\DownloadProofPaymentAsIsdoc; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetLastProofPaymentsChanges; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetListOfAllProofPayments; use Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\GetListOfProofPayments; @@ -342,6 +340,14 @@ use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\GetListOfQuantityDiscounts; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscount; use Shoptet\Api\Sdk\Php\Endpoint\QuantityDiscounts\UpdateQuantityDiscountRequest\UpdateQuantityDiscountRequest; +use Shoptet\Api\Sdk\Php\Endpoint\RecyclingFees\GetListOfRecyclingFeeCategories; +use Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\AddRelatedProduct; +use Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\AddRelatedProductRequest\AddRelatedProductRequest; +use Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\GetListOfProductRelatedProducts; +use Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\SetRelatedProducts; +use Shoptet\Api\Sdk\Php\Endpoint\RelatedProducts\SetRelatedProductsRequest\SetRelatedProductsRequest; +use Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfEshopReviews; +use Shoptet\Api\Sdk\Php\Endpoint\Reviews\GetListOfProductsReviews; use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethod; use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\CreateShippingMethodRequest\CreateShippingMethodRequest; use Shoptet\Api\Sdk\Php\Endpoint\ShippingMethods\GetListOfShippingMethods; @@ -357,14 +363,40 @@ use Shoptet\Api\Sdk\Php\Endpoint\Stocks\UpdateQuantityInStock; use Shoptet\Api\Sdk\Php\Endpoint\Stocks\UpdateQuantityInStockRequest\UpdateQuantityInStockRequest; use Shoptet\Api\Sdk\Php\Endpoint\Suppliers\GetListOfSuppliers; -use Shoptet\Api\Sdk\Php\Endpoint\SystemEndpoints\GetListOfAvailableEndpoints; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameter; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterRequest\CreateSurchargeParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\CreateSurchargeParameterValueRequest\CreateSurchargeParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\DeleteSurchargeParameterByIndex; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\DeleteSurchargeParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\GetDetailOfSurchargeParameter; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\GetListOfSurchargeParameters; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameter; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameterRequest\UpdateSurchargeParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\SurchargeParameters\UpdateSurchargeParameterValueRequest\UpdateSurchargeParameterValueRequest; use Shoptet\Api\Sdk\Php\Endpoint\Templates\CreateAndEditHtmlCodes; use Shoptet\Api\Sdk\Php\Endpoint\Templates\CreateAndEditHtmlCodesRequest\CreateAndEditHtmlCodesRequest; use Shoptet\Api\Sdk\Php\Endpoint\Templates\DeleteHtmlCode; use Shoptet\Api\Sdk\Php\Endpoint\Templates\GetListingOfHtmlCodes; +use Shoptet\Api\Sdk\Php\Endpoint\Units\GetListOfProductUnits; use Shoptet\Api\Sdk\Php\Endpoint\UnsubscribedEmails\CreateUnsubscribedEmail; use Shoptet\Api\Sdk\Php\Endpoint\UnsubscribedEmails\CreateUnsubscribedEmailRequest\CreateUnsubscribedEmailRequest; use Shoptet\Api\Sdk\Php\Endpoint\UnsubscribedEmails\GetListingOfUnsubscribedEmails; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameter; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameterRequest\CreateVariantParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\CreateVariantParameterValueRequest\CreateVariantParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\DeleteVariantParameter; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\DeleteVariantParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\GetDetailOfVariantParameter; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\GetListOfVariantParameters; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameter; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameterRequest\UpdateVariantParameterRequest; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameterValue; +use Shoptet\Api\Sdk\Php\Endpoint\VariantParameters\UpdateVariantParameterValueRequest\UpdateVariantParameterValueRequest; +use Shoptet\Api\Sdk\Php\Endpoint\VolumeDiscounts\GetListOfVolumeDiscounts; +use Shoptet\Api\Sdk\Php\Endpoint\Warranties\GetListOfProductWarranties; use Shoptet\Api\Sdk\Php\Endpoint\Webhooks\DeleteRegisteredWebhook; use Shoptet\Api\Sdk\Php\Endpoint\Webhooks\GenerateWebhookSignatureKey; use Shoptet\Api\Sdk\Php\Endpoint\Webhooks\GetDetailOfRegisteredWebhooks; @@ -517,7 +549,7 @@ public static function setLogger(LoggerInterface $logger): void * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Eshop/geteshopinfo + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopinfo */ public static function getEshopInfo(array $queryParams = []): ResponseInterface { @@ -537,7 +569,7 @@ public static function getEshopInfo(array $queryParams = []): ResponseInterface * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Eshop/geteshopdesign + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopdesign */ public static function getEshopDesign(array $queryParams = []): ResponseInterface { @@ -557,7 +589,27 @@ public static function getEshopDesign(array $queryParams = []): ResponseInterfac * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Eshop/geteshopmandatoryfields + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopdocumentsettings + */ + public static function getEshopDocumentSettings(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetEshopDocumentSettings::class) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Eshop/geteshopmandatoryfields */ public static function getEshopMandatoryFields(array $queryParams = []): ResponseInterface { @@ -572,6 +624,30 @@ public static function getEshopMandatoryFields(array $queryParams = []): Respons * language?: string, * page?: int, * itemsPerPage?: int, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Reviews/getlistofeshopreviews + */ + public static function getListOfEshopReviews(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetListOfEshopReviews::class) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param array{ + * language?: string, + * page?: int, + * itemsPerPage?: int, + * availabilityId?: string, + * availabilityWhenSoldOutId?: string, * creationTimeFrom?: string, * creationTimeTo?: string, * visibility?: string, @@ -582,6 +658,8 @@ public static function getEshopMandatoryFields(array $queryParams = []): Respons * categoryGuid?: string, * flag?: string, * include?: string, + * productCodes?: string, + * productGuids?: string, * supplierGuid?: string, * changeTimeFrom?: string, * changeTimeTo?: string, @@ -592,7 +670,7 @@ public static function getEshopMandatoryFields(array $queryParams = []): Respons * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlistofproducts */ public static function getListOfProducts(array $queryParams = []): ResponseInterface { @@ -615,7 +693,7 @@ public static function getListOfProducts(array $queryParams = []): ResponseInter * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/createproduct */ public static function createProduct( array|CreateProductRequest $requestBody, @@ -641,7 +719,7 @@ public static function createProduct( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/productcopy + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/productcopy */ public static function productCopy( string $guid, @@ -660,6 +738,10 @@ public static function productCopy( * @param array{ * language?: string, * include?: string, + * productCodes?: string, + * productGuids?: string, + * availabilityId?: string, + * availabilityWhenSoldOutId?: string, * creationTimeFrom?: string, * creationTimeTo?: string, * visibility?: string, @@ -679,7 +761,7 @@ public static function productCopy( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofallproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlistofallproducts */ public static function getListOfAllProducts(array $queryParams = []): ResponseInterface { @@ -689,6 +771,26 @@ public static function getListOfAllProducts(array $queryParams = []): ResponseIn ->execute(); } + /** + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlistofallproductsandpricelistprices + */ + public static function getListOfAllProductsAndPricelistPrices(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetListOfAllProductsAndPricelistPrices::class) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param string $guid [93bc0dbe-7481-11e8-8216-002590dad85e] Product guid * @param array{ @@ -701,7 +803,7 @@ public static function getListOfAllProducts(array $queryParams = []): ResponseIn * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getproductdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getproductdetail */ public static function getProductDetail(string $guid, array $queryParams = []): ResponseInterface { @@ -726,7 +828,7 @@ public static function getProductDetail(string $guid, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/updateproduct */ public static function updateProduct( string $guid, @@ -752,7 +854,7 @@ public static function updateProduct( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/deleteproduct */ public static function deleteProduct(string $guid, array $queryParams = []): ResponseInterface { @@ -775,7 +877,7 @@ public static function deleteProduct(string $guid, array $queryParams = []): Res * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/productbatchupdate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/productbatchupdate */ public static function productBatchUpdate( array|ProductBatchUpdateRequest $requestBody, @@ -800,7 +902,7 @@ public static function productBatchUpdate( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getproductdetailbycode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getproductdetailbycode */ public static function getProductDetailByCode(string $code, array $queryParams = []): ResponseInterface { @@ -825,7 +927,7 @@ public static function getProductDetailByCode(string $code, array $queryParams = * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductbycode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/updateproductbycode */ public static function updateProductByCode( string $code, @@ -851,7 +953,7 @@ public static function updateProductByCode( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteproductvariant + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/deleteproductvariant */ public static function deleteProductVariant(string $code, array $queryParams = []): ResponseInterface { @@ -874,7 +976,7 @@ public static function deleteProductVariant(string $code, array $queryParams = [ * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductimages + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/getlistofproductimages */ public static function getListOfProductImages( string $guid, @@ -902,7 +1004,7 @@ public static function getListOfProductImages( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteallproductimagesingallery + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/deleteallproductimagesingallery */ public static function deleteAllProductImagesInGallery( string $guid, @@ -931,7 +1033,7 @@ public static function deleteAllProductImagesInGallery( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/getproductimagesupdate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/getproductimagesupdate */ public static function getProductImagesUpdate( string $guid, @@ -962,7 +1064,7 @@ public static function getProductImagesUpdate( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createproductimages + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/createproductimages */ public static function createProductImages( string $guid, @@ -993,7 +1095,7 @@ public static function createProductImages( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductimagessource + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/updateproductimagessource */ public static function updateProductImagesSource( string $guid, @@ -1024,7 +1126,7 @@ public static function updateProductImagesSource( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteoneproductimage + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-images/deleteoneproductimage */ public static function deleteOneProductImage( string $guid, @@ -1041,6 +1143,83 @@ public static function deleteOneProductImage( ->execute(); } + /** + * @param string $guid [93bc0dbe-7481-11e8-8216-002590dad85e] Product guid + * @param array|CreateRelatedFileLinkRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-related-files/createrelatedfilelink + */ + public static function createRelatedFileLink( + string $guid, + array|CreateRelatedFileLinkRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(CreateRelatedFileLink::class) + ->addPathParam('guid', $guid) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $guid [93bc0dbe-7481-11e8-8216-002590dad85e] Product guid + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/unlinkallproductrelatedfiles + */ + public static function unlinkAllProductRelatedFiles(string $guid, array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(UnlinkAllProductRelatedFiles::class) + ->addPathParam('guid', $guid) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $guid [92d77e60-7481-11e8-8216-002590dad85e] Product's guid + * @param string $id [232] Related file id + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-related-files/deleteoneproductrelatedfile + */ + public static function deleteOneProductRelatedFile( + string $guid, + string $id, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(DeleteOneProductRelatedFile::class) + ->addPathParam('guid', $guid) + ->addPathParam('id', $id) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -1055,7 +1234,7 @@ public static function deleteOneProductImage( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlastproductchanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Products/getlastproductchanges */ public static function getLastProductChanges(array $queryParams): ResponseInterface { @@ -1077,7 +1256,7 @@ public static function getLastProductChanges(array $queryParams): ResponseInterf * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductcategories + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/getlistofproductcategories */ public static function getListOfProductCategories(array $queryParams = []): ResponseInterface { @@ -1099,7 +1278,7 @@ public static function getListOfProductCategories(array $queryParams = []): Resp * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createproductcategory + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/createproductcategory */ public static function createProductCategory( array|CreateProductCategoryRequest $requestBody, @@ -1123,7 +1302,7 @@ public static function createProductCategory( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getproductcategorydetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/getproductcategorydetail */ public static function getProductCategoryDetail(string $categoryGuid, array $queryParams = []): ResponseInterface { @@ -1147,7 +1326,7 @@ public static function getProductCategoryDetail(string $categoryGuid, array $que * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductcategory + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/updateproductcategory */ public static function updateProductCategory( string $categoryGuid, @@ -1175,7 +1354,7 @@ public static function updateProductCategory( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteproductcategory + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/deleteproductcategory */ public static function deleteProductCategory(string $categoryGuid, array $queryParams = []): ResponseInterface { @@ -1198,7 +1377,7 @@ public static function deleteProductCategory(string $categoryGuid, array $queryP * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductcategorybatch + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/updateproductcategorybatch */ public static function updateProductCategoryBatch( array|UpdateProductCategoryBatchRequest $requestBody, @@ -1224,7 +1403,7 @@ public static function updateProductCategoryBatch( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductsorderincategory + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/getlistofproductsorderincategory */ public static function getListOfProductsOrderInCategory( string $categoryGuid, @@ -1250,7 +1429,7 @@ public static function getListOfProductsOrderInCategory( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductorderincategory + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Categories/updateproductorderincategory */ public static function updateProductOrderInCategory( string $categoryGuid, @@ -1278,7 +1457,7 @@ public static function updateProductOrderInCategory( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofparametriccategories + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Parametric-categories/getlistofparametriccategories */ public static function getListOfParametricCategories(array $queryParams = []): ResponseInterface { @@ -1288,6 +1467,32 @@ public static function getListOfParametricCategories(array $queryParams = []): R ->execute(); } + /** + * @param array|CreateParametricCategoryRequest $requestBody + * @param array{ + * language?: string, + * include?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Parametric-categories/createparametriccategory + */ + public static function createParametricCategory( + array|CreateParametricCategoryRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(CreateParametricCategory::class) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param string $categoryGuid [5c498fb7-70ac-11e9-9208-08002774f818] Guid of parametric category. * @param array{ @@ -1299,7 +1504,7 @@ public static function getListOfParametricCategories(array $queryParams = []): R * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getparametriccategorydetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Parametric-categories/getparametriccategorydetail */ public static function getParametricCategoryDetail( string $categoryGuid, @@ -1312,6 +1517,56 @@ public static function getParametricCategoryDetail( ->execute(); } + /** + * @param string $categoryGuid [5c498fb7-70ac-11e9-9208-08002774f818] Guid of parametric category. + * @param array|UpdateParametricCategoryRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Parametric-categories/updateparametriccategory + */ + public static function updateParametricCategory( + string $categoryGuid, + array|UpdateParametricCategoryRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(UpdateParametricCategory::class) + ->addPathParam('categoryGuid', $categoryGuid) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $categoryGuid [5c498fb7-70ac-11e9-9208-08002774f818] Guid of parametric category. + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Parametric-categories/deleteparametriccategory + */ + public static function deleteParametricCategory(string $categoryGuid, array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(DeleteParametricCategory::class) + ->addPathParam('categoryGuid', $categoryGuid) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -1322,7 +1577,7 @@ public static function getParametricCategoryDetail( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductsflags + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Flags/getlistofproductsflags */ public static function getListOfProductsFlags(array $queryParams = []): ResponseInterface { @@ -1344,7 +1599,7 @@ public static function getListOfProductsFlags(array $queryParams = []): Response * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createproductflag + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Flags/createproductflag */ public static function createProductFlag( array|CreateProductFlagRequest $requestBody, @@ -1370,7 +1625,7 @@ public static function createProductFlag( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateproductflag + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Flags/updateproductflag */ public static function updateProductFlag( string $code, @@ -1396,7 +1651,7 @@ public static function updateProductFlag( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteproductflag + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Flags/deleteproductflag */ public static function deleteProductFlag(string $code, array $queryParams = []): ResponseInterface { @@ -1417,7 +1672,7 @@ public static function deleteProductFlag(string $code, array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductsmeasureunits + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Measure-units/getlistofproductsmeasureunits */ public static function getListOfProductsMeasureUnits(array $queryParams = []): ResponseInterface { @@ -1437,7 +1692,7 @@ public static function getListOfProductsMeasureUnits(array $queryParams = []): R * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductsavailabilities + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-availabilities/getlistofproductsavailabilities */ public static function getListOfProductsAvailabilities(array $queryParams = []): ResponseInterface { @@ -1447,6 +1702,81 @@ public static function getListOfProductsAvailabilities(array $queryParams = []): ->execute(); } + /** + * @param array|CreateProductAvailabilityRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-availabilities/createproductavailability + */ + public static function createProductAvailability( + array|CreateProductAvailabilityRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(CreateProductAvailability::class) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $id [123] product availability ID + * @param array|UpdateProductAvailabilityRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-availabilities/updateproductavailability + */ + public static function updateProductAvailability( + string $id, + array|UpdateProductAvailabilityRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(UpdateProductAvailability::class) + ->addPathParam('id', $id) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $id [123] product availability ID + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-availabilities/deleteproductavailability + */ + public static function deleteProductAvailability(string $id, array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(DeleteProductAvailability::class) + ->addPathParam('id', $id) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -1459,7 +1789,7 @@ public static function getListOfProductsAvailabilities(array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofsurchargeparameters + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/getlistofsurchargeparameters */ public static function getListOfSurchargeParameters(array $queryParams = []): ResponseInterface { @@ -1481,7 +1811,7 @@ public static function getListOfSurchargeParameters(array $queryParams = []): Re * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createsurchargeparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/createsurchargeparameter */ public static function createSurchargeParameter( array|CreateSurchargeParameterRequest $requestBody, @@ -1505,7 +1835,7 @@ public static function createSurchargeParameter( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getdetailofsurchargeparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/getdetailofsurchargeparameter */ public static function getDetailOfSurchargeParameter(string $code, array $queryParams = []): ResponseInterface { @@ -1529,7 +1859,7 @@ public static function getDetailOfSurchargeParameter(string $code, array $queryP * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatesurchargeparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/updatesurchargeparameter */ public static function updateSurchargeParameter( string $code, @@ -1557,7 +1887,7 @@ public static function updateSurchargeParameter( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createsurchargeparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/createsurchargeparametervalue */ public static function createSurchargeParameterValue( string $code, @@ -1583,7 +1913,7 @@ public static function createSurchargeParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletesurchargeparameterbyindex + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/deletesurchargeparameterbyindex */ public static function deleteSurchargeParameterByIndex(string $code, array $queryParams = []): ResponseInterface { @@ -1606,7 +1936,7 @@ public static function deleteSurchargeParameterByIndex(string $code, array $quer * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletesurchargeparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/deletesurchargeparametervalue */ public static function deleteSurchargeParameterValue( string $paramIndex, @@ -1635,7 +1965,7 @@ public static function deleteSurchargeParameterValue( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatesurchargeparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Surcharge-parameters/updatesurchargeparametervalue */ public static function updateSurchargeParameterValue( string $paramIndex, @@ -1664,7 +1994,7 @@ public static function updateSurchargeParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistoffilteringparameters + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/getlistoffilteringparameters */ public static function getListOfFilteringParameters(array $queryParams = []): ResponseInterface { @@ -1686,7 +2016,7 @@ public static function getListOfFilteringParameters(array $queryParams = []): Re * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createfilteringparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/createfilteringparameter */ public static function createFilteringParameter( array|CreateFilteringParameterRequest $requestBody, @@ -1710,7 +2040,7 @@ public static function createFilteringParameter( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getdetailoffilteringparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/getdetailoffilteringparameter */ public static function getDetailOfFilteringParameter(string $code, array $queryParams = []): ResponseInterface { @@ -1734,7 +2064,7 @@ public static function getDetailOfFilteringParameter(string $code, array $queryP * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatefilteringparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/updatefilteringparameter */ public static function updateFilteringParameter( string $code, @@ -1762,7 +2092,7 @@ public static function updateFilteringParameter( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createfilteringparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/createfilteringparametervalue */ public static function createFilteringParameterValue( string $code, @@ -1788,7 +2118,7 @@ public static function createFilteringParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletefilteringparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/deletefilteringparameter */ public static function deleteFilteringParameter(string $code, array $queryParams = []): ResponseInterface { @@ -1811,7 +2141,7 @@ public static function deleteFilteringParameter(string $code, array $queryParams * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletefilteringparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/deletefilteringparametervalue */ public static function deleteFilteringParameterValue( string $code, @@ -1840,7 +2170,7 @@ public static function deleteFilteringParameterValue( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatefilteringparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Filtering-parameters/updatefilteringparametervalue */ public static function updateFilteringParameterValue( string $code, @@ -1870,7 +2200,7 @@ public static function updateFilteringParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofvariantparameters + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/getlistofvariantparameters */ public static function getListOfVariantParameters(array $queryParams = []): ResponseInterface { @@ -1892,7 +2222,7 @@ public static function getListOfVariantParameters(array $queryParams = []): Resp * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createvariantparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/createvariantparameter */ public static function createVariantParameter( array|CreateVariantParameterRequest $requestBody, @@ -1916,7 +2246,7 @@ public static function createVariantParameter( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getdetailofvariantparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/getdetailofvariantparameter */ public static function getDetailOfVariantParameter(string $paramIndex, array $queryParams = []): ResponseInterface { @@ -1940,7 +2270,7 @@ public static function getDetailOfVariantParameter(string $paramIndex, array $qu * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatevariantparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/updatevariantparameter */ public static function updateVariantParameter( string $paramIndex, @@ -1968,7 +2298,7 @@ public static function updateVariantParameter( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createvariantparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/createvariantparametervalue */ public static function createVariantParameterValue( string $paramIndex, @@ -1994,7 +2324,7 @@ public static function createVariantParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletevariantparameter + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/deletevariantparameter */ public static function deleteVariantParameter(string $paramIndex, array $queryParams = []): ResponseInterface { @@ -2017,7 +2347,7 @@ public static function deleteVariantParameter(string $paramIndex, array $queryPa * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deletevariantparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/deletevariantparametervalue */ public static function deleteVariantParameterValue( string $paramIndex, @@ -2046,7 +2376,7 @@ public static function deleteVariantParameterValue( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updatevariantparametervalue + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Variant-parameters/updatevariantparametervalue */ public static function updateVariantParameterValue( string $paramIndex, @@ -2073,7 +2403,7 @@ public static function updateVariantParameterValue( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofconsumptiontaxes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Consumption-taxes/getlistofconsumptiontaxes */ public static function getListOfConsumptionTaxes(array $queryParams = []): ResponseInterface { @@ -2095,7 +2425,7 @@ public static function getListOfConsumptionTaxes(array $queryParams = []): Respo * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createconsumptiontax + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Consumption-taxes/createconsumptiontax */ public static function createConsumptionTax( array|CreateConsumptionTaxRequest $requestBody, @@ -2121,7 +2451,7 @@ public static function createConsumptionTax( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/updateconsumptiontax + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Consumption-taxes/updateconsumptiontax */ public static function updateConsumptionTax( string $id, @@ -2147,7 +2477,7 @@ public static function updateConsumptionTax( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/deleteconsumptiontax + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Consumption-taxes/deleteconsumptiontax */ public static function deleteConsumptionTax(string $id, array $queryParams = []): ResponseInterface { @@ -2168,7 +2498,7 @@ public static function deleteConsumptionTax(string $id, array $queryParams = []) * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofrecyclingfeecategories + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Recycling-fees/getlistofrecyclingfeecategories */ public static function getListOfRecyclingFeeCategories(array $queryParams = []): ResponseInterface { @@ -2188,7 +2518,7 @@ public static function getListOfRecyclingFeeCategories(array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductwarranties + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Warranties/getlistofproductwarranties */ public static function getListOfProductWarranties(array $queryParams = []): ResponseInterface { @@ -2210,7 +2540,7 @@ public static function getListOfProductWarranties(array $queryParams = []): Resp * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductalternativeproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Alternative-products/getlistofproductalternativeproducts */ public static function getListOfProductAlternativeProducts( string $guid, @@ -2236,7 +2566,7 @@ public static function getListOfProductAlternativeProducts( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/addalternativeproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Alternative-products/addalternativeproduct */ public static function addAlternativeProduct( string $guid, @@ -2264,7 +2594,7 @@ public static function addAlternativeProduct( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/setalternativeproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Alternative-products/setalternativeproducts */ public static function setAlternativeProducts( string $guid, @@ -2291,7 +2621,7 @@ public static function setAlternativeProducts( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductrelatedproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Related-products/getlistofproductrelatedproducts */ public static function getListOfProductRelatedProducts(string $guid, array $queryParams = []): ResponseInterface { @@ -2315,7 +2645,7 @@ public static function getListOfProductRelatedProducts(string $guid, array $quer * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/addrelatedproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Related-products/addrelatedproduct */ public static function addRelatedProduct( string $guid, @@ -2343,7 +2673,7 @@ public static function addRelatedProduct( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/setrelatedproducts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Related-products/setrelatedproducts */ public static function setRelatedProducts( string $guid, @@ -2371,7 +2701,7 @@ public static function setRelatedProducts( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/additemtoproductset + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-sets/additemtoproductset */ public static function addItemToProductSet( string $guid, @@ -2399,7 +2729,7 @@ public static function addItemToProductSet( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/setproductsetitems + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-sets/setproductsetitems */ public static function setProductSetItems( string $guid, @@ -2424,7 +2754,7 @@ public static function setProductSetItems( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductunits + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Units/getlistofproductunits */ public static function getListOfProductUnits(array $queryParams = []): ResponseInterface { @@ -2445,7 +2775,7 @@ public static function getListOfProductUnits(array $queryParams = []): ResponseI * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductgifts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-gifts/getlistofproductgifts */ public static function getListOfProductGifts(string $guid, array $queryParams = []): ResponseInterface { @@ -2469,7 +2799,7 @@ public static function getListOfProductGifts(string $guid, array $queryParams = * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/createproductgift + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-gifts/createproductgift */ public static function createProductGift( string $guid, @@ -2497,7 +2827,7 @@ public static function createProductGift( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Products/stegiftstoproduct + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Product-gifts/stegiftstoproduct */ public static function steGiftsToProduct( string $guid, @@ -2529,7 +2859,7 @@ public static function steGiftsToProduct( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Products/getlistofproductsreviews + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Reviews/getlistofproductsreviews */ public static function getListOfProductsReviews(array $queryParams): ResponseInterface { @@ -2549,7 +2879,7 @@ public static function getListOfProductsReviews(array $queryParams): ResponseInt * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/getlistofpricelists + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/getlistofpricelists */ public static function getListOfPriceLists(array $queryParams = []): ResponseInterface { @@ -2571,7 +2901,7 @@ public static function getListOfPriceLists(array $queryParams = []): ResponseInt * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/createpricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/createpricelist */ public static function createPricelist( array|CreatePricelistRequest $requestBody, @@ -2599,7 +2929,7 @@ public static function createPricelist( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/getpricelistdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/getpricelistdetail */ public static function getPricelistDetail(string $id, array $queryParams = []): ResponseInterface { @@ -2623,7 +2953,7 @@ public static function getPricelistDetail(string $id, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/updatepricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/updatepricelist */ public static function updatePricelist( string $id, @@ -2649,7 +2979,7 @@ public static function updatePricelist( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/deletepricelist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/deletepricelist */ public static function deletePricelist(string $id, array $queryParams = []): ResponseInterface { @@ -2683,7 +3013,7 @@ public static function deletePricelist(string $id, array $queryParams = []): Res * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Price-lists/getlistofallpricelistdetails + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Price-lists/getlistofallpricelistdetails */ public static function getListOfAllPricelistDetails(string $id, array $queryParams = []): ResponseInterface { @@ -2694,6 +3024,46 @@ public static function getListOfAllPricelistDetails(string $id, array $queryPara ->execute(); } + /** + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Project/getprojectdomainlist + */ + public static function getProjectDomainList(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetProjectDomainList::class) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Project/getprojectsaleschannels + */ + public static function getProjectSalesChannels(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetProjectSalesChannels::class) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -2714,6 +3084,7 @@ public static function getListOfAllPricelistDetails(string $id, array $queryPara * changeTimeFrom?: string, * changeTimeTo?: string, * sourceId?: string, + * orderCodes?: string, * } $queryParams * * @return ResponseInterface @@ -2721,7 +3092,7 @@ public static function getListOfAllPricelistDetails(string $id, array $queryPara * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlistoforders + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistoforders */ public static function getListOfOrders(array $queryParams = []): ResponseInterface { @@ -2750,7 +3121,7 @@ public static function getListOfOrders(array $queryParams = []): ResponseInterfa * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/createorder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/createorder */ public static function createOrder( array|CreateOrderRequest $requestBody, @@ -2763,10 +3134,35 @@ public static function createOrder( ->execute(); } + /** + * @param array{ + * language?: string, + * orderCodes?: string, + * creationTimeFrom?: string, + * creationTimeTo?: string, + * userId?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-history/getlistofallremarks + */ + public static function getListOfAllRemarks(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetListOfAllRemarks::class) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, * include?: string, + * orderCodes?: string, * statusId?: string, * shippingGuid?: string, * shippingCompanyCode?: string, @@ -2789,7 +3185,7 @@ public static function createOrder( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlistofallorders + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistofallorders */ public static function getListOfAllOrders(array $queryParams = []): ResponseInterface { @@ -2811,7 +3207,7 @@ public static function getListOfAllOrders(array $queryParams = []): ResponseInte * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getorderdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getorderdetail */ public static function getOrderDetail(string $code, array $queryParams = []): ResponseInterface { @@ -2833,7 +3229,7 @@ public static function getOrderDetail(string $code, array $queryParams = []): Re * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/deleteorder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/deleteorder */ public static function deleteOrder(string $code, array $queryParams = []): ResponseInterface { @@ -2857,7 +3253,7 @@ public static function deleteOrder(string $code, array $queryParams = []): Respo * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderhead + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateorderhead */ public static function updateOrderHead( string $code, @@ -2887,7 +3283,7 @@ public static function updateOrderHead( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/createorderitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-items/createorderitem */ public static function createOrderItem( string $code, @@ -2917,7 +3313,7 @@ public static function createOrderItem( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-items/updateorderitem */ public static function updateOrderItem( string $code, @@ -2946,7 +3342,7 @@ public static function updateOrderItem( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/deleteorderitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-items/deleteorderitem */ public static function deleteOrderItem(string $code, string $id, array $queryParams = []): ResponseInterface { @@ -2972,7 +3368,7 @@ public static function deleteOrderItem(string $code, string $id, array $queryPar * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/createorderitemsurchargeparameters + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-items/createorderitemsurchargeparameters */ public static function createOrderItemSurchargeParameters( string $code, @@ -3002,7 +3398,7 @@ public static function createOrderItemSurchargeParameters( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/deleteorderitemsurchargeparameters + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-items/deleteorderitemsurchargeparameters */ public static function deleteOrderItemSurchargeParameters( string $code, @@ -3032,7 +3428,7 @@ public static function deleteOrderItemSurchargeParameters( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/createorderpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-payment/createorderpayment */ public static function createOrderPayment( string $code, @@ -3061,7 +3457,7 @@ public static function createOrderPayment( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-payment/updateorderpayment */ public static function updateOrderPayment( string $code, @@ -3091,7 +3487,7 @@ public static function updateOrderPayment( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/addordershipping + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-shipping/addordershipping */ public static function addOrderShipping( string $code, @@ -3120,7 +3516,7 @@ public static function addOrderShipping( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateordershipping + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-shipping/updateordershipping */ public static function updateOrderShipping( string $code, @@ -3148,7 +3544,7 @@ public static function updateOrderShipping( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/downloadorderaspdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/downloadorderaspdf */ public static function downloadOrderAsPdf(string $code, array $queryParams = []): ResponseInterface { @@ -3171,7 +3567,7 @@ public static function downloadOrderAsPdf(string $code, array $queryParams = []) * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlistofremarksfororder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-history/getlistofremarksfororder */ public static function getListOfRemarksForOrder(string $code, array $queryParams = []): ResponseInterface { @@ -3195,7 +3591,7 @@ public static function getListOfRemarksForOrder(string $code, array $queryParams * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/createorderremark + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-history/createorderremark */ public static function createOrderRemark( string $code, @@ -3222,7 +3618,7 @@ public static function createOrderRemark( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/deleteorderhistoryitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-history/deleteorderhistoryitem */ public static function deleteOrderHistoryItem( string $code, @@ -3250,7 +3646,7 @@ public static function deleteOrderHistoryItem( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateremarksfororder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateremarksfororder */ public static function updateRemarksForOrder( string $code, @@ -3281,7 +3677,7 @@ public static function updateRemarksForOrder( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateorderstatus + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/updateorderstatus */ public static function updateOrderStatus( string $code, @@ -3310,7 +3706,7 @@ public static function updateOrderStatus( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/ordercopy + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/ordercopy */ public static function orderCopy( string $code, @@ -3335,7 +3731,7 @@ public static function orderCopy( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlistoforderstatuses + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistoforderstatuses */ public static function getListOfOrderStatuses(array $queryParams = []): ResponseInterface { @@ -3355,7 +3751,7 @@ public static function getListOfOrderStatuses(array $queryParams = []): Response * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlistofordersources + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlistofordersources */ public static function getListOfOrderSources(array $queryParams = []): ResponseInterface { @@ -3379,7 +3775,7 @@ public static function getListOfOrderSources(array $queryParams = []): ResponseI * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getlastorderchanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getlastorderchanges */ public static function getLastOrderChanges(array $queryParams): ResponseInterface { @@ -3389,6 +3785,31 @@ public static function getLastOrderChanges(array $queryParams): ResponseInterfac ->execute(); } + /** + * @param array{ + * language?: string, + * page?: int, + * itemsPerPage?: int, + * includeClosedAndCancelledOrders?: string, + * productCode?: string, + * orderCode?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/getorderclaims + */ + public static function getOrderClaims(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetOrderClaims::class) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array|OrderBatchInsertionRequest $requestBody * @param array{ @@ -3401,7 +3822,7 @@ public static function getLastOrderChanges(array $queryParams): ResponseInterfac * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/orderbatchinsertion + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Orders/orderbatchinsertion */ public static function orderBatchInsertion( array|OrderBatchInsertionRequest $requestBody, @@ -3424,7 +3845,7 @@ public static function orderBatchInsertion( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getordergiftslist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-gifts/getordergiftslist */ public static function getOrderGiftsList(array $queryParams = []): ResponseInterface { @@ -3446,7 +3867,7 @@ public static function getOrderGiftsList(array $queryParams = []): ResponseInter * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/addordergift + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-gifts/addordergift */ public static function addOrderGift( array|AddOrderGiftRequest $requestBody, @@ -3470,7 +3891,7 @@ public static function addOrderGift( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/deleteordergift + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Order-gifts/deleteordergift */ public static function deleteOrderGift(string $id, array $queryParams = []): ResponseInterface { @@ -3491,7 +3912,7 @@ public static function deleteOrderGift(string $id, array $queryParams = []): Res * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Orders/getordergiftsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Gifts/getordergiftsettings */ public static function getOrderGiftSettings(array $queryParams = []): ResponseInterface { @@ -3513,7 +3934,7 @@ public static function getOrderGiftSettings(array $queryParams = []): ResponseIn * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Orders/updateordergiftsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Gifts/updateordergiftsettings */ public static function updateOrderGiftSettings( array|UpdateOrderGiftSettingsRequest $requestBody, @@ -3547,7 +3968,7 @@ public static function updateOrderGiftSettings( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/getlistofinvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlistofinvoices */ public static function getListOfInvoices(array $queryParams = []): ResponseInterface { @@ -3588,7 +4009,7 @@ public static function getListOfInvoices(array $queryParams = []): ResponseInter * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/getlistofallinvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlistofallinvoices */ public static function getListOfAllInvoices(array $queryParams = []): ResponseInterface { @@ -3609,7 +4030,7 @@ public static function getListOfAllInvoices(array $queryParams = []): ResponseIn * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/getinvoicedetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getinvoicedetail */ public static function getInvoiceDetail(string $code, array $queryParams = []): ResponseInterface { @@ -3634,7 +4055,7 @@ public static function getInvoiceDetail(string $code, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Invoices/createinvoicefromorder + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/createinvoicefromorder */ public static function createInvoiceFromOrder( string $code, @@ -3650,7 +4071,65 @@ public static function createInvoiceFromOrder( } /** - * @param string $code [2018000053] Code of order + * @param string $code [2018000053] Code of proforma invoice + * @param array|CreateInvoiceFromProformaInvoiceRequest $requestBody + * @param array{ + * language?: string, + * suppressExistenceCheck?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/createinvoicefromproformainvoice + */ + public static function createInvoiceFromProformaInvoice( + string $code, + array|CreateInvoiceFromProformaInvoiceRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(CreateInvoiceFromProformaInvoice::class) + ->addPathParam('code', $code) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $code [2018000053] Code of the invoice + * @param array|InvoiceLinkProformaInvoicesRequest $requestBody + * @param array{ + * language?: string, + * include?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/invoicelinkproformainvoices + */ + public static function invoiceLinkProformaInvoices( + string $code, + array|InvoiceLinkProformaInvoicesRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(InvoiceLinkProformaInvoices::class) + ->addPathParam('code', $code) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $code [2018000053] Code of the invoice * @param array|InvoiceLinkProofPaymentsRequest $requestBody * @param array{ * language?: string, @@ -3663,7 +4142,7 @@ public static function createInvoiceFromOrder( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Invoices/invoicelinkproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/invoicelinkproofpayments */ public static function invoiceLinkProofPayments( string $code, @@ -3689,7 +4168,7 @@ public static function invoiceLinkProofPayments( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/downloadinvoiceaspdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/downloadinvoiceaspdf */ public static function downloadInvoiceAsPdf(string $code, array $queryParams = []): ResponseInterface { @@ -3711,7 +4190,7 @@ public static function downloadInvoiceAsPdf(string $code, array $queryParams = [ * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/downloadinvoiceasisdoc + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/downloadinvoiceasisdoc */ public static function downloadInvoiceAsIsdoc(string $code, array $queryParams = []): ResponseInterface { @@ -3736,7 +4215,7 @@ public static function downloadInvoiceAsIsdoc(string $code, array $queryParams = * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Invoices/getlastinvoicechanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Invoices/getlastinvoicechanges */ public static function getLastInvoiceChanges(array $queryParams): ResponseInterface { @@ -3763,7 +4242,7 @@ public static function getLastInvoiceChanges(array $queryParams): ResponseInterf * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlistofproformainvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlistofproformainvoices */ public static function getListOfProformaInvoices(array $queryParams = []): ResponseInterface { @@ -3795,7 +4274,7 @@ public static function getListOfProformaInvoices(array $queryParams = []): Respo * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlistofallproformainvoices + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlistofallproformainvoices */ public static function getListOfAllProformaInvoices(array $queryParams = []): ResponseInterface { @@ -3817,7 +4296,7 @@ public static function getListOfAllProformaInvoices(array $queryParams = []): Re * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getproformainvoicedetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getproformainvoicedetail */ public static function getProformaInvoiceDetail(string $code, array $queryParams = []): ResponseInterface { @@ -3839,7 +4318,7 @@ public static function getProformaInvoiceDetail(string $code, array $queryParams * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/downloadproformainvoicepdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/downloadproformainvoicepdf */ public static function downloadProformaInvoicePdf(string $code, array $queryParams = []): ResponseInterface { @@ -3864,7 +4343,7 @@ public static function downloadProformaInvoicePdf(string $code, array $queryPara * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proforma-invoices/getlastproformainvoicechanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proforma-invoices/getlastproformainvoicechanges */ public static function getLastProformaInvoiceChanges(array $queryParams): ResponseInterface { @@ -3893,7 +4372,7 @@ public static function getLastProformaInvoiceChanges(array $queryParams): Respon * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlistofproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlistofproofpayments */ public static function getListOfProofPayments(array $queryParams = []): ResponseInterface { @@ -3915,7 +4394,7 @@ public static function getListOfProofPayments(array $queryParams = []): Response * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpayment */ public static function createProofPayment( array|CreateProofPaymentRequest $requestBody, @@ -3939,7 +4418,7 @@ public static function createProofPayment( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetail */ public static function getProofPaymentDetail(string $code, array $queryParams = []): ResponseInterface { @@ -3963,7 +4442,7 @@ public static function getProofPaymentDetail(string $code, array $queryParams = * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/updateproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/updateproofpayment */ public static function updateProofPayment( string $code, @@ -3989,7 +4468,7 @@ public static function updateProofPayment( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/deleteproofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/deleteproofpayment */ public static function deleteProofPayment(string $code, array $queryParams = []): ResponseInterface { @@ -4019,7 +4498,7 @@ public static function deleteProofPayment(string $code, array $queryParams = []) * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlistofallproofpayments + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlistofallproofpayments */ public static function getListOfAllProofPayments(array $queryParams = []): ResponseInterface { @@ -4040,7 +4519,7 @@ public static function getListOfAllProofPayments(array $queryParams = []): Respo * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetailbyordercode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetailbyordercode */ public static function getProofPaymentDetailByOrderCode(string $code, array $queryParams = []): ResponseInterface { @@ -4062,7 +4541,7 @@ public static function getProofPaymentDetailByOrderCode(string $code, array $que * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpaymentbyordercode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpaymentbyordercode */ public static function createProofPaymentByOrderCode(string $code, array $queryParams = []): ResponseInterface { @@ -4084,7 +4563,7 @@ public static function createProofPaymentByOrderCode(string $code, array $queryP * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getproofpaymentdetailbyproformainvoicecode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getproofpaymentdetailbyproformainvoicecode */ public static function getProofPaymentDetailByProformaInvoiceCode( string $code, @@ -4108,7 +4587,7 @@ public static function getProofPaymentDetailByProformaInvoiceCode( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/createproofpaymentbyproformainvoicecode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/createproofpaymentbyproformainvoicecode */ public static function createProofPaymentByProformaInvoiceCode( string $code, @@ -4134,7 +4613,7 @@ public static function createProofPaymentByProformaInvoiceCode( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/proofpaymentdocumentsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/proofpaymentdocumentsettings */ public static function proofPaymentDocumentSettings( string $code, @@ -4160,7 +4639,7 @@ public static function proofPaymentDocumentSettings( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/downloadproofofpaymentpdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/downloadproofofpaymentpdf */ public static function downloadProofOfPaymentPdf(string $code, array $queryParams = []): ResponseInterface { @@ -4171,6 +4650,28 @@ public static function downloadProofOfPaymentPdf(string $code, array $queryParam ->execute(); } + /** + * @param string $code [P-2015000248-01] + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/downloadproofpaymentasisdoc + */ + public static function downloadProofPaymentAsIsdoc(string $code, array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(DownloadProofPaymentAsIsdoc::class) + ->addPathParam('code', $code) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -4185,7 +4686,7 @@ public static function downloadProofOfPaymentPdf(string $code, array $queryParam * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Proof-payments/getlastproofpaymentschanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Proof-payments/getlastproofpaymentschanges */ public static function getLastProofPaymentsChanges(array $queryParams): ResponseInterface { @@ -4213,7 +4714,7 @@ public static function getLastProofPaymentsChanges(array $queryParams): Response * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getlistofcreditnotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getlistofcreditnotes */ public static function getListOfCreditNotes(array $queryParams = []): ResponseInterface { @@ -4253,7 +4754,7 @@ public static function getListOfCreditNotes(array $queryParams = []): ResponseIn * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getlistofallcreditnotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getlistofallcreditnotes */ public static function getListOfAllCreditNotes(array $queryParams = []): ResponseInterface { @@ -4275,7 +4776,7 @@ public static function getListOfAllCreditNotes(array $queryParams = []): Respons * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getcreditnotedetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getcreditnotedetail */ public static function getCreditNoteDetail(string $code, array $queryParams = []): ResponseInterface { @@ -4299,7 +4800,7 @@ public static function getCreditNoteDetail(string $code, array $queryParams = [] * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/updatecreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/updatecreditnote */ public static function updateCreditNote( string $code, @@ -4325,7 +4826,7 @@ public static function updateCreditNote( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/deletecreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/deletecreditnote */ public static function deleteCreditNote(string $code, array $queryParams = []): ResponseInterface { @@ -4347,7 +4848,7 @@ public static function deleteCreditNote(string $code, array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/restockcreditnote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/restockcreditnote */ public static function restockCreditNote(string $code, array $queryParams = []): ResponseInterface { @@ -4372,7 +4873,7 @@ public static function restockCreditNote(string $code, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/createcreditnotefrominvoice + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/createcreditnotefrominvoice */ public static function createCreditNoteFromInvoice( string $code, @@ -4400,7 +4901,7 @@ public static function createCreditNoteFromInvoice( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/createcreditnotefromproofofpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/createcreditnotefromproofofpayment */ public static function createCreditNoteFromProofOfPayment( string $code, @@ -4428,7 +4929,7 @@ public static function createCreditNoteFromProofOfPayment( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/createcreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/createcreditnoteitem */ public static function createCreditNoteItem( string $code, @@ -4457,7 +4958,7 @@ public static function createCreditNoteItem( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/updatecreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/updatecreditnoteitem */ public static function updateCreditNoteItem( string $code, @@ -4486,7 +4987,7 @@ public static function updateCreditNoteItem( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/deletecreditnoteitem + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/deletecreditnoteitem */ public static function deleteCreditNoteItem(string $code, string $id, array $queryParams = []): ResponseInterface { @@ -4509,7 +5010,7 @@ public static function deleteCreditNoteItem(string $code, string $id, array $que * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/downloadcreditnotepdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/downloadcreditnotepdf */ public static function downloadCreditNotePdf(string $code, array $queryParams = []): ResponseInterface { @@ -4531,7 +5032,7 @@ public static function downloadCreditNotePdf(string $code, array $queryParams = * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/downloadcreditnoteasisdoc + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/downloadcreditnoteasisdoc */ public static function downloadCreditNoteAsIsdoc(string $code, array $queryParams = []): ResponseInterface { @@ -4556,7 +5057,7 @@ public static function downloadCreditNoteAsIsdoc(string $code, array $queryParam * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Credit-notes/getlastcreditnotechanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Credit-notes/getlastcreditnotechanges */ public static function getLastCreditNoteChanges(array $queryParams): ResponseInterface { @@ -4580,7 +5081,7 @@ public static function getLastCreditNoteChanges(array $queryParams): ResponseInt * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getlistofdeliverynotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getlistofdeliverynotes */ public static function getListOfDeliveryNotes(array $queryParams = []): ResponseInterface { @@ -4610,7 +5111,7 @@ public static function getListOfDeliveryNotes(array $queryParams = []): Response * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getlistofalldeliverynotes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getlistofalldeliverynotes */ public static function getListOfAllDeliveryNotes(array $queryParams = []): ResponseInterface { @@ -4632,7 +5133,7 @@ public static function getListOfAllDeliveryNotes(array $queryParams = []): Respo * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/getdetailofdeliverynote + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/getdetailofdeliverynote */ public static function getDetailOfDeliveryNote(string $code, array $queryParams = []): ResponseInterface { @@ -4654,7 +5155,7 @@ public static function getDetailOfDeliveryNote(string $code, array $queryParams * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Delivery-notes/downloaddeliverynoteaspdf + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Delivery-notes/downloaddeliverynoteaspdf */ public static function downloadDeliveryNoteAsPdf(string $code, array $queryParams = []): ResponseInterface { @@ -4685,7 +5186,7 @@ public static function downloadDeliveryNoteAsPdf(string $code, array $queryParam * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Document-export/generaldocumentdownload + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Exports/generaldocumentdownload */ public static function generalDocumentDownload( string $type, @@ -4710,7 +5211,7 @@ public static function generalDocumentDownload( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Stocks/getlistofstocks + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getlistofstocks */ public static function getListOfStocks(array $queryParams = []): ResponseInterface { @@ -4731,7 +5232,7 @@ public static function getListOfStocks(array $queryParams = []): ResponseInterfa * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockdetail */ public static function getStockDetail(string $stockId, array $queryParams = []): ResponseInterface { @@ -4759,7 +5260,7 @@ public static function getStockDetail(string $stockId, array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockmovements + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockmovements */ public static function getStockMovements(string $stockId, array $queryParams = []): ResponseInterface { @@ -4783,7 +5284,7 @@ public static function getStockMovements(string $stockId, array $queryParams = [ * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Stocks/updatequantityinstock + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/updatequantityinstock */ public static function updateQuantityInStock( string $stockId, @@ -4809,7 +5310,7 @@ public static function updateQuantityInStock( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Stocks/getstockmovementslastmove + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getstockmovementslastmove */ public static function getStockMovementsLastMove(string $stockId, array $queryParams = []): ResponseInterface { @@ -4837,7 +5338,7 @@ public static function getStockMovementsLastMove(string $stockId, array $queryPa * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Stocks/getproductsuppliesinstock + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Stocks/getproductsuppliesinstock */ public static function getProductSuppliesInStock(string $stockId, array $queryParams = []): ResponseInterface { @@ -4860,7 +5361,7 @@ public static function getProductSuppliesInStock(string $stockId, array $queryPa * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Suppliers/getlistofsuppliers + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Suppliers/getlistofsuppliers */ public static function getListOfSuppliers(array $queryParams = []): ResponseInterface { @@ -4882,7 +5383,7 @@ public static function getListOfSuppliers(array $queryParams = []): ResponseInte * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Brands/getlistofbrands + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/getlistofbrands */ public static function getListofBrands(array $queryParams = []): ResponseInterface { @@ -4904,7 +5405,7 @@ public static function getListofBrands(array $queryParams = []): ResponseInterfa * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Brands/createbrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/createbrand */ public static function createBrand( array|CreateBrandRequest $requestBody, @@ -4928,7 +5429,7 @@ public static function createBrand( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Brands/getdetailofbrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/getdetailofbrand */ public static function getDetailOfBrand(string $code, array $queryParams = []): ResponseInterface { @@ -4952,7 +5453,7 @@ public static function getDetailOfBrand(string $code, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Brands/updatebrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/updatebrand */ public static function updateBrand( string $code, @@ -4979,7 +5480,7 @@ public static function updateBrand( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Brands/deletebrand + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/deletebrand */ public static function deleteBrand(string $code, array $queryParams = []): ResponseInterface { @@ -5002,7 +5503,7 @@ public static function deleteBrand(string $code, array $queryParams = []): Respo * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Brands/createbrandbatch + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Brands/createbrandbatch */ public static function createBrandBatch( array|CreateBrandBatchRequest $requestBody, @@ -5029,7 +5530,7 @@ public static function createBrandBatch( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomers + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomers */ public static function getListOfCustomers(array $queryParams = []): ResponseInterface { @@ -5044,6 +5545,8 @@ public static function getListOfCustomers(array $queryParams = []): ResponseInte * @param array{ * language?: string, * suppressMandatoryFieldsCheck?: string, + * sendRegistrationEmail?: string, + * language?: string, * } $queryParams * * @return ResponseInterface @@ -5052,7 +5555,7 @@ public static function getListOfCustomers(array $queryParams = []): ResponseInte * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/createcustomer + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/createcustomer */ public static function createCustomer( array|CreateCustomerRequest $requestBody, @@ -5079,7 +5582,7 @@ public static function createCustomer( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofallcustomers + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofallcustomers */ public static function getListOfAllCustomers(array $queryParams = []): ResponseInterface { @@ -5100,7 +5603,7 @@ public static function getListOfAllCustomers(array $queryParams = []): ResponseI * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getcustomerdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getcustomerdetail */ public static function getCustomerDetail(string $guid, array $queryParams = []): ResponseInterface { @@ -5124,7 +5627,7 @@ public static function getCustomerDetail(string $guid, array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/updatecustomer + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/updatecustomer */ public static function updateCustomer( string $guid, @@ -5150,7 +5653,7 @@ public static function updateCustomer( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/deletecustomer + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/deletecustomer */ public static function deleteCustomer(string $guid, array $queryParams = []): ResponseInterface { @@ -5174,7 +5677,7 @@ public static function deleteCustomer(string $guid, array $queryParams = []): Re * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomeraccounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-accounts/getlistofcustomeraccounts */ public static function getListOfCustomerAccounts(string $guid, array $queryParams = []): ResponseInterface { @@ -5198,7 +5701,7 @@ public static function getListOfCustomerAccounts(string $guid, array $queryParam * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/createcustomeraccount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-accounts/createcustomeraccount */ public static function createCustomerAccount( string $guid, @@ -5225,7 +5728,7 @@ public static function createCustomerAccount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getdetailofcustomeraccount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-accounts/getdetailofcustomeraccount */ public static function getDetailOfCustomerAccount( string $guid, @@ -5254,7 +5757,7 @@ public static function getDetailOfCustomerAccount( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/updatecustomeraccount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-accounts/updatecustomeraccount */ public static function updateCustomerAccount( string $guid, @@ -5283,7 +5786,7 @@ public static function updateCustomerAccount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/deletecustomeraccount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-accounts/deletecustomeraccount */ public static function deleteCustomerAccount( string $guid, @@ -5311,7 +5814,7 @@ public static function deleteCustomerAccount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/gelistofcustomerdeliveryaddresses + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-delivery-addresses/gelistofcustomerdeliveryaddresses */ public static function geListOfCustomerDeliveryAddresses(string $guid, array $queryParams = []): ResponseInterface { @@ -5335,7 +5838,7 @@ public static function geListOfCustomerDeliveryAddresses(string $guid, array $qu * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/createdeliveryaddress + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-delivery-addresses/createdeliveryaddress */ public static function createDeliveryAddress( string $guid, @@ -5362,7 +5865,7 @@ public static function createDeliveryAddress( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getdetailofcustomerdeliveryaddress + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-delivery-addresses/getdetailofcustomerdeliveryaddress */ public static function getDetailOfCustomerDeliveryAddress( string $guid, @@ -5391,7 +5894,7 @@ public static function getDetailOfCustomerDeliveryAddress( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/updatecustomerdeliveryaddress + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-delivery-addresses/updatecustomerdeliveryaddress */ public static function updateCustomerDeliveryAddress( string $guid, @@ -5420,7 +5923,7 @@ public static function updateCustomerDeliveryAddress( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/deletecustomerdeliveryaddress + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-delivery-addresses/deletecustomerdeliveryaddress */ public static function deleteCustomerDeliveryAddress( string $guid, @@ -5448,7 +5951,7 @@ public static function deleteCustomerDeliveryAddress( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomerremarks + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-remarks/getlistofcustomerremarks */ public static function getListOfCustomerRemarks(string $guid, array $queryParams = []): ResponseInterface { @@ -5472,7 +5975,7 @@ public static function getListOfCustomerRemarks(string $guid, array $queryParams * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/createcustomerremark + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-remarks/createcustomerremark */ public static function createCustomerRemark( string $guid, @@ -5499,7 +6002,7 @@ public static function createCustomerRemark( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getdetailofcustomerremark + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-remarks/getdetailofcustomerremark */ public static function getDetailOfCustomerRemark( string $guid, @@ -5528,7 +6031,7 @@ public static function getDetailOfCustomerRemark( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Customers/updatecustomerremark + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-remarks/updatecustomerremark */ public static function updateCustomerRemark( string $guid, @@ -5557,7 +6060,7 @@ public static function updateCustomerRemark( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/deletecustomerremark + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-remarks/deletecustomerremark */ public static function deleteCustomerRemark(string $guid, string $id, array $queryParams = []): ResponseInterface { @@ -5583,7 +6086,7 @@ public static function deleteCustomerRemark(string $guid, string $id, array $que * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlastcustomerchanges + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlastcustomerchanges */ public static function getLastCustomerChanges(array $queryParams): ResponseInterface { @@ -5603,7 +6106,7 @@ public static function getLastCustomerChanges(array $queryParams): ResponseInter * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomerregions + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomerregions */ public static function getListOfCustomerRegions(array $queryParams = []): ResponseInterface { @@ -5623,7 +6126,7 @@ public static function getListOfCustomerRegions(array $queryParams = []): Respon * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Customers/getlistofcustomergroups + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomergroups */ public static function getListOfCustomerGroups(array $queryParams = []): ResponseInterface { @@ -5643,7 +6146,7 @@ public static function getListOfCustomerGroups(array $queryParams = []): Respons * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Templates/getlistingofhtmlcodes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Templates/getlistingofhtmlcodes */ public static function getListingOfHtmlCodes(array $queryParams = []): ResponseInterface { @@ -5665,7 +6168,7 @@ public static function getListingOfHtmlCodes(array $queryParams = []): ResponseI * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Templates/createandedithtmlcodes + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Templates/createandedithtmlcodes */ public static function createAndEditHtmlCodes( array|CreateAndEditHtmlCodesRequest $requestBody, @@ -5689,7 +6192,7 @@ public static function createAndEditHtmlCodes( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Templates/deletehtmlcode + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Templates/deletehtmlcode */ public static function deleteHtmlCode(string $location, array $queryParams = []): ResponseInterface { @@ -5711,7 +6214,7 @@ public static function deleteHtmlCode(string $location, array $queryParams = []) * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Payment-gateways/getinformationaboutpayment + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-gateways/getinformationaboutpayment */ public static function getInformationAboutPayment(string $paymentCode, array $queryParams = []): ResponseInterface { @@ -5727,6 +6230,8 @@ public static function getInformationAboutPayment(string $paymentCode, array $qu * @param array|UpdatePaymentStatusRequest $requestBody * @param array{ * language?: string, + * suppressDocumentGeneration?: string, + * suppressEmailSending?: string, * } $queryParams * * @return ResponseInterface @@ -5735,7 +6240,7 @@ public static function getInformationAboutPayment(string $paymentCode, array $qu * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Payment-gateways/updatepaymentstatus + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-gateways/updatepaymentstatus */ public static function updatePaymentStatus( string $paymentCode, @@ -5762,7 +6267,7 @@ public static function updatePaymentStatus( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/getoverviewofregisteredwebhooks + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/getoverviewofregisteredwebhooks */ public static function getOverviewOfRegisteredWebhooks(array $queryParams = []): ResponseInterface { @@ -5784,7 +6289,7 @@ public static function getOverviewOfRegisteredWebhooks(array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/registernewwebhook + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/registernewwebhook */ public static function registerNewWebhook( array|RegisterNewWebhookRequest $requestBody, @@ -5808,7 +6313,7 @@ public static function registerNewWebhook( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/getdetailofregisteredwebhooks + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/getdetailofregisteredwebhooks */ public static function getDetailOfRegisteredWebhooks(string $id, array $queryParams = []): ResponseInterface { @@ -5832,7 +6337,7 @@ public static function getDetailOfRegisteredWebhooks(string $id, array $queryPar * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/updateexistingwebhook + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/updateexistingwebhook */ public static function updateExistingWebhook( string $id, @@ -5858,7 +6363,7 @@ public static function updateExistingWebhook( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/deleteregisteredwebhook + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/deleteregisteredwebhook */ public static function deleteRegisteredWebhook(string $id, array $queryParams = []): ResponseInterface { @@ -5879,7 +6384,7 @@ public static function deleteRegisteredWebhook(string $id, array $queryParams = * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/generatewebhooksignaturekey + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/generatewebhooksignaturekey */ public static function generateWebhookSignatureKey(array $queryParams = []): ResponseInterface { @@ -5905,7 +6410,7 @@ public static function generateWebhookSignatureKey(array $queryParams = []): Res * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Webhooks/getwebhooknotification + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Webhooks/getwebhooknotification */ public static function getWebhookNotification(array $queryParams = []): ResponseInterface { @@ -5925,7 +6430,7 @@ public static function getWebhookNotification(array $queryParams = []): Response * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Shipping-methods/getlistofshippingmethods + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-methods/getlistofshippingmethods */ public static function getListOfShippingMethods(array $queryParams = []): ResponseInterface { @@ -5947,7 +6452,7 @@ public static function getListOfShippingMethods(array $queryParams = []): Respon * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Shipping-methods/createshippingmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-methods/createshippingmethod */ public static function createShippingMethod( array|CreateShippingMethodRequest $requestBody, @@ -5972,7 +6477,7 @@ public static function createShippingMethod( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/getshippingrequestforcartdetails + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/getshippingrequestforcartdetails */ public static function getShippingRequestForCartDetails( string $shippingRequestCode, @@ -6001,7 +6506,7 @@ public static function getShippingRequestForCartDetails( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/updateshippingdata + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/updateshippingdata */ public static function updateShippingData( string $shippingRequestCode, @@ -6030,7 +6535,7 @@ public static function updateShippingData( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Shipping-requests/getshippingrequestforgettingorderstatus + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Shipping-requests/getshippingrequestforgettingorderstatus */ public static function getShippingRequestForGettingOrderStatus( string $shippingRequestCode, @@ -6055,7 +6560,7 @@ public static function getShippingRequestForGettingOrderStatus( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Payment-methods/getlistingofpaymentmethods + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-methods/getlistingofpaymentmethods */ public static function getListingOfPaymentMethods(array $queryParams = []): ResponseInterface { @@ -6077,7 +6582,7 @@ public static function getListingOfPaymentMethods(array $queryParams = []): Resp * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Payment-methods/createpaymentmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-methods/createpaymentmethod */ public static function createPaymentMethod( array|CreatePaymentMethodRequest $requestBody, @@ -6101,7 +6606,7 @@ public static function createPaymentMethod( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Payment-methods/deletepaymentmethod + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Payment-methods/deletepaymentmethod */ public static function deletePaymentMethod(string $guid, array $queryParams = []): ResponseInterface { @@ -6125,7 +6630,7 @@ public static function deletePaymentMethod(string $guid, array $queryParams = [] * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Unsubscribed-emails/getlistingofunsubscribedemails + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Unsubscribed-emails/getlistingofunsubscribedemails */ public static function getListingOfUnsubscribedEmails(array $queryParams = []): ResponseInterface { @@ -6147,7 +6652,7 @@ public static function getListingOfUnsubscribedEmails(array $queryParams = []): * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Unsubscribed-emails/createunsubscribedemail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Unsubscribed-emails/createunsubscribedemail */ public static function createUnsubscribedEmail( array|CreateUnsubscribedEmailRequest $requestBody, @@ -6170,7 +6675,7 @@ public static function createUnsubscribedEmail( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/getlistingofemaildistributionlists + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/getlistingofemaildistributionlists */ public static function getListingOfEmailDistributionLists(array $queryParams = []): ResponseInterface { @@ -6192,7 +6697,7 @@ public static function getListingOfEmailDistributionLists(array $queryParams = [ * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/createemaildistributionlist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/createemaildistributionlist */ public static function createEmailDistributionList( array|CreateEmailDistributionListRequest $requestBody, @@ -6218,7 +6723,7 @@ public static function createEmailDistributionList( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/getdetailofemaildistributionlist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/getdetailofemaildistributionlist */ public static function getDetailOfEmailDistributionList(string $code, array $queryParams = []): ResponseInterface { @@ -6242,7 +6747,7 @@ public static function getDetailOfEmailDistributionList(string $code, array $que * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/createemailsdistributionlist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/createemailsdistributionlist */ public static function createEmailsDistributionList( string $code, @@ -6272,7 +6777,7 @@ public static function createEmailsDistributionList( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/E-mail-distribution-lists/getlastchangesindistributionlist + * @see https://api.docs.shoptet.com/shoptet-api/openapi/E-mail-distribution-lists/getlastchangesindistributionlist */ public static function getLastChangesInDistributionList(string $code, array $queryParams): ResponseInterface { @@ -6301,7 +6806,7 @@ public static function getLastChangesInDistributionList(string $code, array $que * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/getlistofdiscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/getlistofdiscountcoupons */ public static function getListOfDiscountCoupons(array $queryParams = []): ResponseInterface { @@ -6323,7 +6828,7 @@ public static function getListOfDiscountCoupons(array $queryParams = []): Respon * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/creatediscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/creatediscountcoupons */ public static function createDiscountCoupons( array|CreateDiscountCouponsRequest $requestBody, @@ -6348,7 +6853,7 @@ public static function createDiscountCoupons( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/bulkdeletediscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/bulkdeletediscountcoupons */ public static function bulkDeleteDiscountCoupons( array|BulkDeleteDiscountCouponsRequest $requestBody, @@ -6382,7 +6887,7 @@ public static function bulkDeleteDiscountCoupons( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/getlistofalldiscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/getlistofalldiscountcoupons */ public static function getListOfAllDiscountCoupons(array $queryParams): ResponseInterface { @@ -6403,7 +6908,7 @@ public static function getListOfAllDiscountCoupons(array $queryParams): Response * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/getdetailofdiscountcoupon + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/getdetailofdiscountcoupon */ public static function getDetailOfDiscountCoupon(string $code, array $queryParams = []): ResponseInterface { @@ -6425,7 +6930,7 @@ public static function getDetailOfDiscountCoupon(string $code, array $queryParam * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/deletediscountcoupon + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/deletediscountcoupon */ public static function deleteDiscountCoupon(string $code, array $queryParams = []): ResponseInterface { @@ -6448,7 +6953,7 @@ public static function deleteDiscountCoupon(string $code, array $queryParams = [ * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/creatediscountcouponsset + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/creatediscountcouponsset */ public static function createDiscountCouponsSet( array|CreateDiscountCouponsSetRequest $requestBody, @@ -6475,7 +6980,7 @@ public static function createDiscountCouponsSet( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/updatediscountcouponsusage + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/updatediscountcouponsusage */ public static function updateDiscountCouponsUsage( string $code, @@ -6500,7 +7005,7 @@ public static function updateDiscountCouponsUsage( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/gettemplatesofdiscountcoupons + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/gettemplatesofdiscountcoupons */ public static function getTemplatesOfDiscountCoupons(array $queryParams = []): ResponseInterface { @@ -6522,7 +7027,7 @@ public static function getTemplatesOfDiscountCoupons(array $queryParams = []): R * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/creatediscountcouponstemplate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/creatediscountcouponstemplate */ public static function createDiscountCouponsTemplate( array|CreateDiscountCouponsTemplateRequest $requestBody, @@ -6546,7 +7051,7 @@ public static function createDiscountCouponsTemplate( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discount-coupons/deletediscountcouponstemplate + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discount-coupons/deletediscountcouponstemplate */ public static function deleteDiscountCouponsTemplate(string $guid, array $queryParams = []): ResponseInterface { @@ -6572,7 +7077,7 @@ public static function deleteDiscountCouponsTemplate(string $guid, array $queryP * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/getlistofxydiscounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/getlistofxydiscounts */ public static function getListOfXYDiscounts(array $queryParams = []): ResponseInterface { @@ -6594,7 +7099,7 @@ public static function getListOfXYDiscounts(array $queryParams = []): ResponseIn * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/createxydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/createxydiscount */ public static function createXYDiscount( array|CreateXYDiscountRequest $requestBody, @@ -6618,7 +7123,7 @@ public static function createXYDiscount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/getdetailofxydiscounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/getdetailofxydiscounts */ public static function getDetailOfXYDiscounts(string $id, array $queryParams = []): ResponseInterface { @@ -6642,7 +7147,7 @@ public static function getDetailOfXYDiscounts(string $id, array $queryParams = [ * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/updatexydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/updatexydiscount */ public static function updateXYDiscount( string $id, @@ -6668,7 +7173,7 @@ public static function updateXYDiscount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/deletexydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/deletexydiscount */ public static function deleteXYDiscount(string $id, array $queryParams = []): ResponseInterface { @@ -6689,7 +7194,7 @@ public static function deleteXYDiscount(string $id, array $queryParams = []): Re * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/getxydiscountssettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/getxydiscountssettings */ public static function getXYDiscountsSettings(array $queryParams = []): ResponseInterface { @@ -6711,7 +7216,7 @@ public static function getXYDiscountsSettings(array $queryParams = []): Response * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/XY-discounts/updatexydiscountsettings + * @see https://api.docs.shoptet.com/shoptet-api/openapi/XY-discounts/updatexydiscountsettings */ public static function updateXYDiscountSettings( array|UpdateXYDiscountSettingsRequest $requestBody, @@ -6742,7 +7247,7 @@ public static function updateXYDiscountSettings( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/getlistofquantitydiscounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/getlistofquantitydiscounts */ public static function getListOfQuantityDiscounts(array $queryParams = []): ResponseInterface { @@ -6764,7 +7269,7 @@ public static function getListOfQuantityDiscounts(array $queryParams = []): Resp * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/createquantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/createquantitydiscount */ public static function createQuantityDiscount( array|CreateQuantityDiscountRequest $requestBody, @@ -6793,7 +7298,7 @@ public static function createQuantityDiscount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/getlistofallquantitydiscounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/getlistofallquantitydiscounts */ public static function getListOfAllQuantityDiscounts(array $queryParams = []): ResponseInterface { @@ -6814,7 +7319,7 @@ public static function getListOfAllQuantityDiscounts(array $queryParams = []): R * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/getdetailofquantitydiscounts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/getdetailofquantitydiscounts */ public static function getDetailOfQuantityDiscounts(string $id, array $queryParams = []): ResponseInterface { @@ -6838,7 +7343,7 @@ public static function getDetailOfQuantityDiscounts(string $id, array $queryPara * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/updatequantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/updatequantitydiscount */ public static function updateQuantityDiscount( string $id, @@ -6864,7 +7369,7 @@ public static function updateQuantityDiscount( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Quantity-discounts/deletequantitydiscount + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Quantity-discounts/deletequantitydiscount */ public static function deleteQuantityDiscount(string $id, array $queryParams = []): ResponseInterface { @@ -6880,6 +7385,7 @@ public static function deleteQuantityDiscount(string $id, array $queryParams = [ * language?: string, * page?: int, * itemsPerPage?: int, + * customerGroupCode?: string, * } $queryParams * * @return ResponseInterface @@ -6887,7 +7393,29 @@ public static function deleteQuantityDiscount(string $id, array $queryParams = [ * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/getlistofarticles + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Volume-discounts/getlistofvolumediscounts + */ + public static function getListOfVolumeDiscounts(array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(GetListOfVolumeDiscounts::class) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param array{ + * language?: string, + * page?: int, + * itemsPerPage?: int, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/getlistofarticles */ public static function getListOfArticles(array $queryParams = []): ResponseInterface { @@ -6909,7 +7437,7 @@ public static function getListOfArticles(array $queryParams = []): ResponseInter * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Articles/createarticle + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/createarticle */ public static function createArticle( array|CreateArticleRequest $requestBody, @@ -6940,7 +7468,7 @@ public static function createArticle( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/getlistallarticles + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/getlistallarticles */ public static function getListAllArticles(array $queryParams = []): ResponseInterface { @@ -6961,7 +7489,7 @@ public static function getListAllArticles(array $queryParams = []): ResponseInte * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/getdetailofarticle + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/getdetailofarticle */ public static function getDetailOfArticle(string $articleId, array $queryParams = []): ResponseInterface { @@ -6985,7 +7513,7 @@ public static function getDetailOfArticle(string $articleId, array $queryParams * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Articles/updatearticle + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/updatearticle */ public static function updateArticle( string $articleId, @@ -7011,7 +7539,7 @@ public static function updateArticle( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/deletearticle + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/deletearticle */ public static function deleteArticle(string $articleId, array $queryParams = []): ResponseInterface { @@ -7032,7 +7560,7 @@ public static function deleteArticle(string $articleId, array $queryParams = []) * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/getlistofarticlesections + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/getlistofarticlesections */ public static function getListOfArticleSections(array $queryParams = []): ResponseInterface { @@ -7054,7 +7582,7 @@ public static function getListOfArticleSections(array $queryParams = []): Respon * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Articles/createarticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/createarticlesection */ public static function createArticleSection( array|CreateArticleSectionRequest $requestBody, @@ -7078,7 +7606,7 @@ public static function createArticleSection( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/getdetailofarticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/getdetailofarticlesection */ public static function getDetailOfArticleSection( string $articleSectionId, @@ -7104,7 +7632,7 @@ public static function getDetailOfArticleSection( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Articles/updatearticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/updatearticlesection */ public static function updateArticleSection( string $articleSectionId, @@ -7131,7 +7659,7 @@ public static function updateArticleSection( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Articles/deletearticlesection + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Articles/deletearticlesection */ public static function deleteArticleSection(string $articleSectionId, array $queryParams = []): ResponseInterface { @@ -7154,7 +7682,7 @@ public static function deleteArticleSection(string $articleSectionId, array $que * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Pages/getlistofpages + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Pages/getlistofpages */ public static function getListOfPages(array $queryParams = []): ResponseInterface { @@ -7164,6 +7692,31 @@ public static function getListOfPages(array $queryParams = []): ResponseInterfac ->execute(); } + /** + * @param array|CreatePageRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Pages/createpage + */ + public static function createPage( + array|CreatePageRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(CreatePage::class) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param string $pageId [1] page ID * @param array{ @@ -7175,7 +7728,7 @@ public static function getListOfPages(array $queryParams = []): ResponseInterfac * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Pages/getdetailofpage + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Pages/getdetailofpage */ public static function getDetailOfPage(string $pageId, array $queryParams = []): ResponseInterface { @@ -7186,6 +7739,56 @@ public static function getDetailOfPage(string $pageId, array $queryParams = []): ->execute(); } + /** + * @param string $pageId [1] page ID + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Pages/deletepage + */ + public static function deletePage(string $pageId, array $queryParams = []): ResponseInterface + { + return self::getEndpointFactory() + ->createEndpoint(DeletePage::class) + ->addPathParam('pageId', $pageId) + ->setQueryParams($queryParams) + ->execute(); + } + + /** + * @param string $pageId [1] page ID + * @param array|UpdatePageRequest $requestBody + * @param array{ + * language?: string, + * } $queryParams + * + * @return ResponseInterface + * + * @throws LogicException + * @throws RuntimeException + * @throws ReflectionException + * + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Pages/updatepage + */ + public static function updatePage( + string $pageId, + array|UpdatePageRequest $requestBody, + array $queryParams = [], + ): ResponseInterface { + return self::getEndpointFactory() + ->createEndpoint(UpdatePage::class) + ->addPathParam('pageId', $pageId) + ->setBody($requestBody) + ->setQueryParams($queryParams) + ->execute(); + } + /** * @param array{ * language?: string, @@ -7202,7 +7805,7 @@ public static function getDetailOfPage(string $pageId, array $queryParams = []): * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Discussions/getlistofdiscussionposts + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Discussions/getlistofdiscussionposts */ public static function getListOfDiscussionPosts(array $queryParams = []): ResponseInterface { @@ -7227,7 +7830,7 @@ public static function getListOfDiscussionPosts(array $queryParams = []): Respon * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Job-endpoints/getlistofjobs + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Jobs/getlistofjobs */ public static function getListOfJobs(array $queryParams = []): ResponseInterface { @@ -7248,7 +7851,7 @@ public static function getListOfJobs(array $queryParams = []): ResponseInterface * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Job-endpoints/getjobdetail + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Jobs/getjobdetail */ public static function getJobDetail(string $jobId, array $queryParams = []): ResponseInterface { @@ -7269,7 +7872,7 @@ public static function getJobDetail(string $jobId, array $queryParams = []): Res * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/Files/getlistofuploadedfiles + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Files/getlistofuploadedfiles */ public static function getListOfUploadedFiles(array $queryParams = []): ResponseInterface { @@ -7291,7 +7894,7 @@ public static function getListOfUploadedFiles(array $queryParams = []): Response * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Files/uploadfiles + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Files/uploadfiles */ public static function uploadFiles( array|UploadFilesRequest $requestBody, @@ -7316,7 +7919,7 @@ public static function uploadFiles( * @throws RuntimeException * @throws ReflectionException * - * @see https://api.docs.shoptet.com/openapi/Files/uploadfile + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Files/uploadfile */ public static function uploadFile( array|UploadFileRequest $requestBody, @@ -7340,7 +7943,7 @@ public static function uploadFile( * @throws LogicException * @throws RuntimeException * - * @see https://api.docs.shoptet.com/openapi/System-endpoints/getlistofavailableendpoints + * @see https://api.docs.shoptet.com/shoptet-api/openapi/Endpoints/getlistofavailableendpoints */ public static function getListOfAvailableEndpoints(array $queryParams = []): ResponseInterface { diff --git a/src/Webhook/Event.php b/src/Webhook/Event.php old mode 100644 new mode 100755 index ac07cff..5cb6313 --- a/src/Webhook/Event.php +++ b/src/Webhook/Event.php @@ -54,6 +54,7 @@ enum Event: string case DISCOUNT_COUPON_MASS_CREATE = 'discountCoupon:massCreate'; case DISCOUNT_COUPON_MASS_DELETE = 'discountCoupon:massDelete'; case INVOICE_MASS_UPDATE = 'invoice:massUpdate'; + case ORDER_MASS_CREATE = 'order:massCreate'; case ORDER_MASS_UPDATE = 'order:massUpdate'; case ADDON_SUSPEND = 'addon:suspend'; case ADDON_APPROVE = 'addon:approve'; From 97148f0e23b31a25ee296a4dcedf13b39af20108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mal=C4=8D=C3=ADk?= Date: Thu, 23 Oct 2025 11:34:50 +0200 Subject: [PATCH 2/2] Permissions fix --- .github/CODEOWNERS | 0 .github/workflows/sdk-tests.yaml | 0 .gitignore | 0 LICENSE | 0 README.md | 0 build/phpstan.bootstrap.php | 0 composer.json | 0 composer.lock | 0 docs/request_body_processing_methods.md | 0 examples/authorizationExample.php | 0 examples/callEndpointWithRequestBody.php | 0 examples/handleAddonInstallationCallback.php | 0 init.php | 0 phpstan-baseline.neon | 0 phpstan.neon.dist | 0 phpunit.xml | 0 ruleset.xml | 0 src/Endpoint/AlternativeProducts/AddAlternativeProduct.php | 0 .../AlternativeProducts/GetListOfProductAlternativeProducts.php | 0 src/Endpoint/AlternativeProducts/SetAlternativeProducts.php | 0 src/Endpoint/Articles/CreateArticle.php | 0 src/Endpoint/Articles/CreateArticleSection.php | 0 src/Endpoint/Articles/DeleteArticle.php | 0 src/Endpoint/Articles/DeleteArticleSection.php | 0 src/Endpoint/Articles/GetDetailOfArticle.php | 0 src/Endpoint/Articles/GetDetailOfArticleSection.php | 0 src/Endpoint/Articles/GetListAllArticles.php | 0 src/Endpoint/Articles/GetListOfArticleSections.php | 0 src/Endpoint/Articles/GetListOfArticles.php | 0 src/Endpoint/Articles/UpdateArticle.php | 0 src/Endpoint/Articles/UpdateArticleSection.php | 0 src/Endpoint/Brands/CreateBrand.php | 0 src/Endpoint/Brands/CreateBrandBatch.php | 0 src/Endpoint/Brands/DeleteBrand.php | 0 src/Endpoint/Brands/GetDetailOfBrand.php | 0 src/Endpoint/Brands/GetListofBrands.php | 0 src/Endpoint/Brands/UpdateBrand.php | 0 src/Endpoint/Categories/CreateProductCategory.php | 0 src/Endpoint/Categories/DeleteProductCategory.php | 0 src/Endpoint/Categories/GetListOfProductCategories.php | 0 src/Endpoint/Categories/GetListOfProductsOrderInCategory.php | 0 src/Endpoint/Categories/GetProductCategoryDetail.php | 0 src/Endpoint/Categories/UpdateProductCategory.php | 0 src/Endpoint/Categories/UpdateProductCategoryBatch.php | 0 src/Endpoint/Categories/UpdateProductOrderInCategory.php | 0 src/Endpoint/ConsumptionTaxes/CreateConsumptionTax.php | 0 src/Endpoint/ConsumptionTaxes/DeleteConsumptionTax.php | 0 src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxes.php | 0 src/Endpoint/ConsumptionTaxes/UpdateConsumptionTax.php | 0 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoice.php | 0 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php | 0 src/Endpoint/CreditNotes/CreateCreditNoteItem.php | 0 src/Endpoint/CreditNotes/DeleteCreditNote.php | 0 src/Endpoint/CreditNotes/DeleteCreditNoteItem.php | 0 src/Endpoint/CreditNotes/DownloadCreditNoteAsIsdoc.php | 0 src/Endpoint/CreditNotes/DownloadCreditNotePdf.php | 0 src/Endpoint/CreditNotes/GetCreditNoteDetail.php | 0 src/Endpoint/CreditNotes/GetLastCreditNoteChanges.php | 0 src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php | 0 src/Endpoint/CreditNotes/GetListOfCreditNotes.php | 0 src/Endpoint/CreditNotes/RestockCreditNote.php | 0 src/Endpoint/CreditNotes/UpdateCreditNote.php | 0 src/Endpoint/CreditNotes/UpdateCreditNoteItem.php | 0 src/Endpoint/CustomerAccounts/CreateCustomerAccount.php | 0 src/Endpoint/CustomerAccounts/DeleteCustomerAccount.php | 0 src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccount.php | 0 src/Endpoint/CustomerAccounts/GetListOfCustomerAccounts.php | 0 src/Endpoint/CustomerAccounts/UpdateCustomerAccount.php | 0 src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddress.php | 0 .../CustomerDeliveryAddresses/DeleteCustomerDeliveryAddress.php | 0 .../GeListOfCustomerDeliveryAddresses.php | 0 .../GetDetailOfCustomerDeliveryAddress.php | 0 .../CustomerDeliveryAddresses/UpdateCustomerDeliveryAddress.php | 0 src/Endpoint/CustomerRemarks/CreateCustomerRemark.php | 0 src/Endpoint/CustomerRemarks/DeleteCustomerRemark.php | 0 src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemark.php | 0 src/Endpoint/CustomerRemarks/GetListOfCustomerRemarks.php | 0 src/Endpoint/CustomerRemarks/UpdateCustomerRemark.php | 0 src/Endpoint/Customers/CreateCustomer.php | 0 src/Endpoint/Customers/DeleteCustomer.php | 0 src/Endpoint/Customers/GetCustomerDetail.php | 0 src/Endpoint/Customers/GetLastCustomerChanges.php | 0 src/Endpoint/Customers/GetListOfAllCustomers.php | 0 src/Endpoint/Customers/GetListOfCustomerGroups.php | 0 src/Endpoint/Customers/GetListOfCustomerRegions.php | 0 src/Endpoint/Customers/GetListOfCustomers.php | 0 src/Endpoint/Customers/UpdateCustomer.php | 0 src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php | 0 src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php | 0 src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php | 0 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php | 0 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php | 0 src/Endpoint/DiscountCoupons/CreateDiscountCoupons.php | 0 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php | 0 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php | 0 src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php | 0 src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplate.php | 0 src/Endpoint/DiscountCoupons/GetDetailOfDiscountCoupon.php | 0 src/Endpoint/DiscountCoupons/GetListOfAllDiscountCoupons.php | 0 src/Endpoint/DiscountCoupons/GetListOfDiscountCoupons.php | 0 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCoupons.php | 0 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsage.php | 0 src/Endpoint/Discussions/GetListOfDiscussionPosts.php | 0 .../EmailDistributionLists/CreateEmailDistributionList.php | 0 .../EmailDistributionLists/CreateEmailsDistributionList.php | 0 .../EmailDistributionLists/GetDetailOfEmailDistributionList.php | 0 .../EmailDistributionLists/GetLastChangesInDistributionList.php | 0 .../EmailDistributionLists/GetListingOfEmailDistributionLists.php | 0 src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php | 0 src/Endpoint/Eshop/GetEshopDesign.php | 0 src/Endpoint/Eshop/GetEshopDocumentSettings.php | 0 src/Endpoint/Eshop/GetEshopInfo.php | 0 src/Endpoint/Eshop/GetEshopMandatoryFields.php | 0 src/Endpoint/Exports/GeneralDocumentDownload.php | 0 src/Endpoint/Files/GetListOfUploadedFiles.php | 0 src/Endpoint/Files/UploadFile.php | 0 src/Endpoint/Files/UploadFiles.php | 0 src/Endpoint/FilteringParameters/CreateFilteringParameter.php | 0 .../FilteringParameters/CreateFilteringParameterValue.php | 0 src/Endpoint/FilteringParameters/DeleteFilteringParameter.php | 0 .../FilteringParameters/DeleteFilteringParameterValue.php | 0 .../FilteringParameters/GetDetailOfFilteringParameter.php | 0 src/Endpoint/FilteringParameters/GetListOfFilteringParameters.php | 0 src/Endpoint/FilteringParameters/UpdateFilteringParameter.php | 0 .../FilteringParameters/UpdateFilteringParameterValue.php | 0 src/Endpoint/Flags/CreateProductFlag.php | 0 src/Endpoint/Flags/DeleteProductFlag.php | 0 src/Endpoint/Flags/GetListOfProductsFlags.php | 0 src/Endpoint/Flags/UpdateProductFlag.php | 0 src/Endpoint/Gifts/GetOrderGiftSettings.php | 0 src/Endpoint/Gifts/UpdateOrderGiftSettings.php | 0 src/Endpoint/Invoices/CreateInvoiceFromOrder.php | 0 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php | 0 src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php | 0 src/Endpoint/Invoices/DownloadInvoiceAsPdf.php | 0 src/Endpoint/Invoices/GetInvoiceDetail.php | 0 src/Endpoint/Invoices/GetLastInvoiceChanges.php | 0 src/Endpoint/Invoices/GetListOfAllInvoices.php | 0 src/Endpoint/Invoices/GetListOfInvoices.php | 0 src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php | 0 src/Endpoint/Invoices/InvoiceLinkProofPayments.php | 0 src/Endpoint/Jobs/GetJobDetail.php | 0 src/Endpoint/Jobs/GetListOfJobs.php | 0 src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php | 0 src/Endpoint/OrderGifts/AddOrderGift.php | 0 src/Endpoint/OrderGifts/DeleteOrderGift.php | 0 src/Endpoint/OrderGifts/GetOrderGiftsList.php | 0 src/Endpoint/OrderHistory/CreateOrderRemark.php | 0 src/Endpoint/OrderHistory/DeleteOrderHistoryItem.php | 0 src/Endpoint/OrderHistory/GetListOfAllRemarks.php | 0 src/Endpoint/OrderHistory/GetListOfRemarksForOrder.php | 0 src/Endpoint/OrderItems/CreateOrderItem.php | 0 src/Endpoint/OrderItems/CreateOrderItemSurchargeParameters.php | 0 src/Endpoint/OrderItems/DeleteOrderItem.php | 0 src/Endpoint/OrderItems/DeleteOrderItemSurchargeParameters.php | 0 src/Endpoint/OrderItems/UpdateOrderItem.php | 0 src/Endpoint/OrderPayment/CreateOrderPayment.php | 0 src/Endpoint/OrderPayment/UpdateOrderPayment.php | 0 src/Endpoint/OrderShipping/AddOrderShipping.php | 0 src/Endpoint/OrderShipping/UpdateOrderShipping.php | 0 src/Endpoint/Orders/CreateOrder.php | 0 src/Endpoint/Orders/DeleteOrder.php | 0 src/Endpoint/Orders/DownloadOrderAsPdf.php | 0 src/Endpoint/Orders/GetLastOrderChanges.php | 0 src/Endpoint/Orders/GetListOfAllOrders.php | 0 src/Endpoint/Orders/GetListOfOrderSources.php | 0 src/Endpoint/Orders/GetListOfOrderStatuses.php | 0 src/Endpoint/Orders/GetListOfOrders.php | 0 src/Endpoint/Orders/GetOrderClaims.php | 0 src/Endpoint/Orders/GetOrderDetail.php | 0 src/Endpoint/Orders/OrderBatchInsertion.php | 0 src/Endpoint/Orders/OrderCopy.php | 0 src/Endpoint/Orders/UpdateOrderHead.php | 0 src/Endpoint/Orders/UpdateOrderStatus.php | 0 src/Endpoint/Orders/UpdateRemarksForOrder.php | 0 src/Endpoint/Pages/CreatePage.php | 0 src/Endpoint/Pages/DeletePage.php | 0 src/Endpoint/Pages/GetDetailOfPage.php | 0 src/Endpoint/Pages/GetListOfPages.php | 0 src/Endpoint/Pages/UpdatePage.php | 0 src/Endpoint/ParametricCategories/CreateParametricCategory.php | 0 src/Endpoint/ParametricCategories/DeleteParametricCategory.php | 0 .../ParametricCategories/GetListOfParametricCategories.php | 0 src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php | 0 src/Endpoint/ParametricCategories/UpdateParametricCategory.php | 0 src/Endpoint/PaymentGateways/GetInformationAboutPayment.php | 0 src/Endpoint/PaymentGateways/UpdatePaymentStatus.php | 0 src/Endpoint/PaymentMethods/CreatePaymentMethod.php | 0 src/Endpoint/PaymentMethods/DeletePaymentMethod.php | 0 src/Endpoint/PaymentMethods/GetListingOfPaymentMethods.php | 0 src/Endpoint/PriceLists/CreatePricelist.php | 0 src/Endpoint/PriceLists/DeletePricelist.php | 0 src/Endpoint/PriceLists/GetListOfAllPricelistDetails.php | 0 src/Endpoint/PriceLists/GetListOfPriceLists.php | 0 src/Endpoint/PriceLists/GetPricelistDetail.php | 0 src/Endpoint/PriceLists/UpdatePricelist.php | 0 src/Endpoint/ProductAvailabilities/CreateProductAvailability.php | 0 src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php | 0 .../ProductAvailabilities/GetListOfProductsAvailabilities.php | 0 src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php | 0 src/Endpoint/ProductGifts/CreateProductGift.php | 0 src/Endpoint/ProductGifts/GetListOfProductGifts.php | 0 src/Endpoint/ProductGifts/SteGiftsToProduct.php | 0 src/Endpoint/ProductImages/CreateProductImages.php | 0 src/Endpoint/ProductImages/DeleteAllProductImagesInGallery.php | 0 src/Endpoint/ProductImages/DeleteOneProductImage.php | 0 src/Endpoint/ProductImages/GetListOfProductImages.php | 0 src/Endpoint/ProductImages/GetProductImagesUpdate.php | 0 src/Endpoint/ProductImages/UpdateProductImagesSource.php | 0 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php | 0 src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php | 0 src/Endpoint/ProductSets/AddItemToProductSet.php | 0 src/Endpoint/ProductSets/SetProductSetItems.php | 0 src/Endpoint/Products/CreateProduct.php | 0 src/Endpoint/Products/DeleteProduct.php | 0 src/Endpoint/Products/DeleteProductVariant.php | 0 src/Endpoint/Products/GetLastProductChanges.php | 0 src/Endpoint/Products/GetListOfAllProducts.php | 0 src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php | 0 src/Endpoint/Products/GetListOfProducts.php | 0 src/Endpoint/Products/GetProductDetail.php | 0 src/Endpoint/Products/GetProductDetailByCode.php | 0 src/Endpoint/Products/ProductBatchUpdate.php | 0 src/Endpoint/Products/ProductCopy.php | 0 src/Endpoint/Products/UnlinkAllProductRelatedFiles.php | 0 src/Endpoint/Products/UpdateProduct.php | 0 src/Endpoint/Products/UpdateProductByCode.php | 0 src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php | 0 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php | 0 src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php | 0 src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php | 0 src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php | 0 src/Endpoint/Project/GetProjectDomainList.php | 0 src/Endpoint/Project/GetProjectSalesChannels.php | 0 src/Endpoint/ProofPayments/CreateProofPayment.php | 0 src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php | 0 .../ProofPayments/CreateProofPaymentByProformaInvoiceCode.php | 0 src/Endpoint/ProofPayments/DeleteProofPayment.php | 0 src/Endpoint/ProofPayments/DownloadProofOfPaymentPdf.php | 0 src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php | 0 src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php | 0 src/Endpoint/ProofPayments/GetListOfAllProofPayments.php | 0 src/Endpoint/ProofPayments/GetListOfProofPayments.php | 0 src/Endpoint/ProofPayments/GetProofPaymentDetail.php | 0 src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php | 0 .../ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php | 0 src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php | 0 src/Endpoint/ProofPayments/UpdateProofPayment.php | 0 src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php | 0 src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php | 0 src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscounts.php | 0 src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscounts.php | 0 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscounts.php | 0 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php | 0 src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php | 0 src/Endpoint/RelatedProducts/AddRelatedProduct.php | 0 src/Endpoint/RelatedProducts/GetListOfProductRelatedProducts.php | 0 src/Endpoint/RelatedProducts/SetRelatedProducts.php | 0 src/Endpoint/Reviews/GetListOfEshopReviews.php | 0 src/Endpoint/Reviews/GetListOfProductsReviews.php | 0 src/Endpoint/ShippingMethods/CreateShippingMethod.php | 0 src/Endpoint/ShippingMethods/GetListOfShippingMethods.php | 0 .../ShippingRequests/GetShippingRequestForCartDetails.php | 0 .../ShippingRequests/GetShippingRequestForGettingOrderStatus.php | 0 src/Endpoint/ShippingRequests/UpdateShippingData.php | 0 src/Endpoint/Stocks/GetListOfStocks.php | 0 src/Endpoint/Stocks/GetProductSuppliesInStock.php | 0 src/Endpoint/Stocks/GetStockDetail.php | 0 src/Endpoint/Stocks/GetStockMovements.php | 0 src/Endpoint/Stocks/GetStockMovementsLastMove.php | 0 src/Endpoint/Stocks/UpdateQuantityInStock.php | 0 src/Endpoint/Suppliers/GetListOfSuppliers.php | 0 src/Endpoint/SurchargeParameters/CreateSurchargeParameter.php | 0 .../SurchargeParameters/CreateSurchargeParameterValue.php | 0 .../SurchargeParameters/DeleteSurchargeParameterByIndex.php | 0 .../SurchargeParameters/DeleteSurchargeParameterValue.php | 0 .../SurchargeParameters/GetDetailOfSurchargeParameter.php | 0 src/Endpoint/SurchargeParameters/GetListOfSurchargeParameters.php | 0 src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php | 0 .../SurchargeParameters/UpdateSurchargeParameterValue.php | 0 src/Endpoint/Templates/CreateAndEditHtmlCodes.php | 0 src/Endpoint/Templates/DeleteHtmlCode.php | 0 src/Endpoint/Templates/GetListingOfHtmlCodes.php | 0 src/Endpoint/Units/GetListOfProductUnits.php | 0 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmail.php | 0 .../UnsubscribedEmails/GetListingOfUnsubscribedEmails.php | 0 src/Endpoint/VariantParameters/CreateVariantParameter.php | 0 src/Endpoint/VariantParameters/CreateVariantParameterValue.php | 0 src/Endpoint/VariantParameters/DeleteVariantParameter.php | 0 src/Endpoint/VariantParameters/DeleteVariantParameterValue.php | 0 src/Endpoint/VariantParameters/GetDetailOfVariantParameter.php | 0 src/Endpoint/VariantParameters/GetListOfVariantParameters.php | 0 src/Endpoint/VariantParameters/UpdateVariantParameter.php | 0 src/Endpoint/VariantParameters/UpdateVariantParameterValue.php | 0 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php | 0 src/Endpoint/Warranties/GetListOfProductWarranties.php | 0 src/Endpoint/Webhooks/DeleteRegisteredWebhook.php | 0 src/Endpoint/Webhooks/GenerateWebhookSignatureKey.php | 0 src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooks.php | 0 src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooks.php | 0 src/Endpoint/Webhooks/GetWebhookNotification.php | 0 src/Endpoint/Webhooks/RegisterNewWebhook.php | 0 src/Endpoint/Webhooks/UpdateExistingWebhook.php | 0 src/Endpoint/XYDiscounts/CreateXYDiscount.php | 0 src/Endpoint/XYDiscounts/DeleteXYDiscount.php | 0 src/Endpoint/XYDiscounts/GetDetailOfXYDiscounts.php | 0 src/Endpoint/XYDiscounts/GetListOfXYDiscounts.php | 0 src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php | 0 src/Endpoint/XYDiscounts/UpdateXYDiscount.php | 0 src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php | 0 src/Sdk.php | 0 tests/Unit/Authorization/AuthorizationTest.php | 0 tests/Unit/Authorization/OAuthTest.php | 0 tests/Unit/Factory/DummyEntity.php | 0 tests/Unit/Factory/DummySubEntity.php | 0 tests/Unit/Factory/EndpointFactoryTest.php | 0 tests/Unit/Factory/EntityFactoryTest.php | 0 tests/Unit/FakeResponseFactory.php | 0 tests/Unit/Helper/DummyValueObject.php | 0 tests/Unit/Helper/StringConverterTest.php | 0 tests/Unit/TestHttpClient.php | 0 321 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .github/CODEOWNERS mode change 100644 => 100755 .github/workflows/sdk-tests.yaml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 build/phpstan.bootstrap.php mode change 100644 => 100755 composer.json mode change 100644 => 100755 composer.lock mode change 100644 => 100755 docs/request_body_processing_methods.md mode change 100644 => 100755 examples/authorizationExample.php mode change 100644 => 100755 examples/callEndpointWithRequestBody.php mode change 100644 => 100755 examples/handleAddonInstallationCallback.php mode change 100644 => 100755 init.php mode change 100644 => 100755 phpstan-baseline.neon mode change 100644 => 100755 phpstan.neon.dist mode change 100644 => 100755 phpunit.xml mode change 100644 => 100755 ruleset.xml mode change 100644 => 100755 src/Endpoint/AlternativeProducts/AddAlternativeProduct.php mode change 100644 => 100755 src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProducts.php mode change 100644 => 100755 src/Endpoint/AlternativeProducts/SetAlternativeProducts.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticle.php mode change 100644 => 100755 src/Endpoint/Articles/CreateArticleSection.php mode change 100644 => 100755 src/Endpoint/Articles/DeleteArticle.php mode change 100644 => 100755 src/Endpoint/Articles/DeleteArticleSection.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticle.php mode change 100644 => 100755 src/Endpoint/Articles/GetDetailOfArticleSection.php mode change 100644 => 100755 src/Endpoint/Articles/GetListAllArticles.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticleSections.php mode change 100644 => 100755 src/Endpoint/Articles/GetListOfArticles.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticle.php mode change 100644 => 100755 src/Endpoint/Articles/UpdateArticleSection.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrand.php mode change 100644 => 100755 src/Endpoint/Brands/CreateBrandBatch.php mode change 100644 => 100755 src/Endpoint/Brands/DeleteBrand.php mode change 100644 => 100755 src/Endpoint/Brands/GetDetailOfBrand.php mode change 100644 => 100755 src/Endpoint/Brands/GetListofBrands.php mode change 100644 => 100755 src/Endpoint/Brands/UpdateBrand.php mode change 100644 => 100755 src/Endpoint/Categories/CreateProductCategory.php mode change 100644 => 100755 src/Endpoint/Categories/DeleteProductCategory.php mode change 100644 => 100755 src/Endpoint/Categories/GetListOfProductCategories.php mode change 100644 => 100755 src/Endpoint/Categories/GetListOfProductsOrderInCategory.php mode change 100644 => 100755 src/Endpoint/Categories/GetProductCategoryDetail.php mode change 100644 => 100755 src/Endpoint/Categories/UpdateProductCategory.php mode change 100644 => 100755 src/Endpoint/Categories/UpdateProductCategoryBatch.php mode change 100644 => 100755 src/Endpoint/Categories/UpdateProductOrderInCategory.php mode change 100644 => 100755 src/Endpoint/ConsumptionTaxes/CreateConsumptionTax.php mode change 100644 => 100755 src/Endpoint/ConsumptionTaxes/DeleteConsumptionTax.php mode change 100644 => 100755 src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxes.php mode change 100644 => 100755 src/Endpoint/ConsumptionTaxes/UpdateConsumptionTax.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromInvoice.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php mode change 100644 => 100755 src/Endpoint/CreditNotes/CreateCreditNoteItem.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DeleteCreditNote.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DeleteCreditNoteItem.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DownloadCreditNoteAsIsdoc.php mode change 100644 => 100755 src/Endpoint/CreditNotes/DownloadCreditNotePdf.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetCreditNoteDetail.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetLastCreditNoteChanges.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php mode change 100644 => 100755 src/Endpoint/CreditNotes/GetListOfCreditNotes.php mode change 100644 => 100755 src/Endpoint/CreditNotes/RestockCreditNote.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNote.php mode change 100644 => 100755 src/Endpoint/CreditNotes/UpdateCreditNoteItem.php mode change 100644 => 100755 src/Endpoint/CustomerAccounts/CreateCustomerAccount.php mode change 100644 => 100755 src/Endpoint/CustomerAccounts/DeleteCustomerAccount.php mode change 100644 => 100755 src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccount.php mode change 100644 => 100755 src/Endpoint/CustomerAccounts/GetListOfCustomerAccounts.php mode change 100644 => 100755 src/Endpoint/CustomerAccounts/UpdateCustomerAccount.php mode change 100644 => 100755 src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddress.php mode change 100644 => 100755 src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddress.php mode change 100644 => 100755 src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddresses.php mode change 100644 => 100755 src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddress.php mode change 100644 => 100755 src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddress.php mode change 100644 => 100755 src/Endpoint/CustomerRemarks/CreateCustomerRemark.php mode change 100644 => 100755 src/Endpoint/CustomerRemarks/DeleteCustomerRemark.php mode change 100644 => 100755 src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemark.php mode change 100644 => 100755 src/Endpoint/CustomerRemarks/GetListOfCustomerRemarks.php mode change 100644 => 100755 src/Endpoint/CustomerRemarks/UpdateCustomerRemark.php mode change 100644 => 100755 src/Endpoint/Customers/CreateCustomer.php mode change 100644 => 100755 src/Endpoint/Customers/DeleteCustomer.php mode change 100644 => 100755 src/Endpoint/Customers/GetCustomerDetail.php mode change 100644 => 100755 src/Endpoint/Customers/GetLastCustomerChanges.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfAllCustomers.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerGroups.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomerRegions.php mode change 100644 => 100755 src/Endpoint/Customers/GetListOfCustomers.php mode change 100644 => 100755 src/Endpoint/Customers/UpdateCustomer.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php mode change 100644 => 100755 src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCoupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplate.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetDetailOfDiscountCoupon.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfAllDiscountCoupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetListOfDiscountCoupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCoupons.php mode change 100644 => 100755 src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsage.php mode change 100644 => 100755 src/Endpoint/Discussions/GetListOfDiscussionPosts.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailDistributionList.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/CreateEmailsDistributionList.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionList.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php mode change 100644 => 100755 src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php mode change 100644 => 100755 src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDesign.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopDocumentSettings.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopInfo.php mode change 100644 => 100755 src/Endpoint/Eshop/GetEshopMandatoryFields.php mode change 100644 => 100755 src/Endpoint/Exports/GeneralDocumentDownload.php mode change 100644 => 100755 src/Endpoint/Files/GetListOfUploadedFiles.php mode change 100644 => 100755 src/Endpoint/Files/UploadFile.php mode change 100644 => 100755 src/Endpoint/Files/UploadFiles.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/CreateFilteringParameter.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/CreateFilteringParameterValue.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameter.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/DeleteFilteringParameterValue.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/GetDetailOfFilteringParameter.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/GetListOfFilteringParameters.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/UpdateFilteringParameter.php mode change 100644 => 100755 src/Endpoint/FilteringParameters/UpdateFilteringParameterValue.php mode change 100644 => 100755 src/Endpoint/Flags/CreateProductFlag.php mode change 100644 => 100755 src/Endpoint/Flags/DeleteProductFlag.php mode change 100644 => 100755 src/Endpoint/Flags/GetListOfProductsFlags.php mode change 100644 => 100755 src/Endpoint/Flags/UpdateProductFlag.php mode change 100644 => 100755 src/Endpoint/Gifts/GetOrderGiftSettings.php mode change 100644 => 100755 src/Endpoint/Gifts/UpdateOrderGiftSettings.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromOrder.php mode change 100644 => 100755 src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php mode change 100644 => 100755 src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php mode change 100644 => 100755 src/Endpoint/Invoices/DownloadInvoiceAsPdf.php mode change 100644 => 100755 src/Endpoint/Invoices/GetInvoiceDetail.php mode change 100644 => 100755 src/Endpoint/Invoices/GetLastInvoiceChanges.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfAllInvoices.php mode change 100644 => 100755 src/Endpoint/Invoices/GetListOfInvoices.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php mode change 100644 => 100755 src/Endpoint/Invoices/InvoiceLinkProofPayments.php mode change 100644 => 100755 src/Endpoint/Jobs/GetJobDetail.php mode change 100644 => 100755 src/Endpoint/Jobs/GetListOfJobs.php mode change 100644 => 100755 src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php mode change 100644 => 100755 src/Endpoint/OrderGifts/AddOrderGift.php mode change 100644 => 100755 src/Endpoint/OrderGifts/DeleteOrderGift.php mode change 100644 => 100755 src/Endpoint/OrderGifts/GetOrderGiftsList.php mode change 100644 => 100755 src/Endpoint/OrderHistory/CreateOrderRemark.php mode change 100644 => 100755 src/Endpoint/OrderHistory/DeleteOrderHistoryItem.php mode change 100644 => 100755 src/Endpoint/OrderHistory/GetListOfAllRemarks.php mode change 100644 => 100755 src/Endpoint/OrderHistory/GetListOfRemarksForOrder.php mode change 100644 => 100755 src/Endpoint/OrderItems/CreateOrderItem.php mode change 100644 => 100755 src/Endpoint/OrderItems/CreateOrderItemSurchargeParameters.php mode change 100644 => 100755 src/Endpoint/OrderItems/DeleteOrderItem.php mode change 100644 => 100755 src/Endpoint/OrderItems/DeleteOrderItemSurchargeParameters.php mode change 100644 => 100755 src/Endpoint/OrderItems/UpdateOrderItem.php mode change 100644 => 100755 src/Endpoint/OrderPayment/CreateOrderPayment.php mode change 100644 => 100755 src/Endpoint/OrderPayment/UpdateOrderPayment.php mode change 100644 => 100755 src/Endpoint/OrderShipping/AddOrderShipping.php mode change 100644 => 100755 src/Endpoint/OrderShipping/UpdateOrderShipping.php mode change 100644 => 100755 src/Endpoint/Orders/CreateOrder.php mode change 100644 => 100755 src/Endpoint/Orders/DeleteOrder.php mode change 100644 => 100755 src/Endpoint/Orders/DownloadOrderAsPdf.php mode change 100644 => 100755 src/Endpoint/Orders/GetLastOrderChanges.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfAllOrders.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderSources.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrderStatuses.php mode change 100644 => 100755 src/Endpoint/Orders/GetListOfOrders.php mode change 100644 => 100755 src/Endpoint/Orders/GetOrderClaims.php mode change 100644 => 100755 src/Endpoint/Orders/GetOrderDetail.php mode change 100644 => 100755 src/Endpoint/Orders/OrderBatchInsertion.php mode change 100644 => 100755 src/Endpoint/Orders/OrderCopy.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderHead.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateOrderStatus.php mode change 100644 => 100755 src/Endpoint/Orders/UpdateRemarksForOrder.php mode change 100644 => 100755 src/Endpoint/Pages/CreatePage.php mode change 100644 => 100755 src/Endpoint/Pages/DeletePage.php mode change 100644 => 100755 src/Endpoint/Pages/GetDetailOfPage.php mode change 100644 => 100755 src/Endpoint/Pages/GetListOfPages.php mode change 100644 => 100755 src/Endpoint/Pages/UpdatePage.php mode change 100644 => 100755 src/Endpoint/ParametricCategories/CreateParametricCategory.php mode change 100644 => 100755 src/Endpoint/ParametricCategories/DeleteParametricCategory.php mode change 100644 => 100755 src/Endpoint/ParametricCategories/GetListOfParametricCategories.php mode change 100644 => 100755 src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php mode change 100644 => 100755 src/Endpoint/ParametricCategories/UpdateParametricCategory.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/GetInformationAboutPayment.php mode change 100644 => 100755 src/Endpoint/PaymentGateways/UpdatePaymentStatus.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/CreatePaymentMethod.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/DeletePaymentMethod.php mode change 100644 => 100755 src/Endpoint/PaymentMethods/GetListingOfPaymentMethods.php mode change 100644 => 100755 src/Endpoint/PriceLists/CreatePricelist.php mode change 100644 => 100755 src/Endpoint/PriceLists/DeletePricelist.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfAllPricelistDetails.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetListOfPriceLists.php mode change 100644 => 100755 src/Endpoint/PriceLists/GetPricelistDetail.php mode change 100644 => 100755 src/Endpoint/PriceLists/UpdatePricelist.php mode change 100644 => 100755 src/Endpoint/ProductAvailabilities/CreateProductAvailability.php mode change 100644 => 100755 src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php mode change 100644 => 100755 src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilities.php mode change 100644 => 100755 src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php mode change 100644 => 100755 src/Endpoint/ProductGifts/CreateProductGift.php mode change 100644 => 100755 src/Endpoint/ProductGifts/GetListOfProductGifts.php mode change 100644 => 100755 src/Endpoint/ProductGifts/SteGiftsToProduct.php mode change 100644 => 100755 src/Endpoint/ProductImages/CreateProductImages.php mode change 100644 => 100755 src/Endpoint/ProductImages/DeleteAllProductImagesInGallery.php mode change 100644 => 100755 src/Endpoint/ProductImages/DeleteOneProductImage.php mode change 100644 => 100755 src/Endpoint/ProductImages/GetListOfProductImages.php mode change 100644 => 100755 src/Endpoint/ProductImages/GetProductImagesUpdate.php mode change 100644 => 100755 src/Endpoint/ProductImages/UpdateProductImagesSource.php mode change 100644 => 100755 src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php mode change 100644 => 100755 src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php mode change 100644 => 100755 src/Endpoint/ProductSets/AddItemToProductSet.php mode change 100644 => 100755 src/Endpoint/ProductSets/SetProductSetItems.php mode change 100644 => 100755 src/Endpoint/Products/CreateProduct.php mode change 100644 => 100755 src/Endpoint/Products/DeleteProduct.php mode change 100644 => 100755 src/Endpoint/Products/DeleteProductVariant.php mode change 100644 => 100755 src/Endpoint/Products/GetLastProductChanges.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfAllProducts.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php mode change 100644 => 100755 src/Endpoint/Products/GetListOfProducts.php mode change 100644 => 100755 src/Endpoint/Products/GetProductDetail.php mode change 100644 => 100755 src/Endpoint/Products/GetProductDetailByCode.php mode change 100644 => 100755 src/Endpoint/Products/ProductBatchUpdate.php mode change 100644 => 100755 src/Endpoint/Products/ProductCopy.php mode change 100644 => 100755 src/Endpoint/Products/UnlinkAllProductRelatedFiles.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProduct.php mode change 100644 => 100755 src/Endpoint/Products/UpdateProductByCode.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php mode change 100644 => 100755 src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php mode change 100644 => 100755 src/Endpoint/Project/GetProjectDomainList.php mode change 100644 => 100755 src/Endpoint/Project/GetProjectSalesChannels.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPayment.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php mode change 100644 => 100755 src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php mode change 100644 => 100755 src/Endpoint/ProofPayments/DeleteProofPayment.php mode change 100644 => 100755 src/Endpoint/ProofPayments/DownloadProofOfPaymentPdf.php mode change 100644 => 100755 src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfAllProofPayments.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetListOfProofPayments.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetail.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php mode change 100644 => 100755 src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php mode change 100644 => 100755 src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php mode change 100644 => 100755 src/Endpoint/ProofPayments/UpdateProofPayment.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscounts.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscounts.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscounts.php mode change 100644 => 100755 src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php mode change 100644 => 100755 src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php mode change 100644 => 100755 src/Endpoint/RelatedProducts/AddRelatedProduct.php mode change 100644 => 100755 src/Endpoint/RelatedProducts/GetListOfProductRelatedProducts.php mode change 100644 => 100755 src/Endpoint/RelatedProducts/SetRelatedProducts.php mode change 100644 => 100755 src/Endpoint/Reviews/GetListOfEshopReviews.php mode change 100644 => 100755 src/Endpoint/Reviews/GetListOfProductsReviews.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/CreateShippingMethod.php mode change 100644 => 100755 src/Endpoint/ShippingMethods/GetListOfShippingMethods.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php mode change 100644 => 100755 src/Endpoint/ShippingRequests/UpdateShippingData.php mode change 100644 => 100755 src/Endpoint/Stocks/GetListOfStocks.php mode change 100644 => 100755 src/Endpoint/Stocks/GetProductSuppliesInStock.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockDetail.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovements.php mode change 100644 => 100755 src/Endpoint/Stocks/GetStockMovementsLastMove.php mode change 100644 => 100755 src/Endpoint/Stocks/UpdateQuantityInStock.php mode change 100644 => 100755 src/Endpoint/Suppliers/GetListOfSuppliers.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/CreateSurchargeParameter.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/CreateSurchargeParameterValue.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndex.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValue.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameter.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/GetListOfSurchargeParameters.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php mode change 100644 => 100755 src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValue.php mode change 100644 => 100755 src/Endpoint/Templates/CreateAndEditHtmlCodes.php mode change 100644 => 100755 src/Endpoint/Templates/DeleteHtmlCode.php mode change 100644 => 100755 src/Endpoint/Templates/GetListingOfHtmlCodes.php mode change 100644 => 100755 src/Endpoint/Units/GetListOfProductUnits.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmail.php mode change 100644 => 100755 src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php mode change 100644 => 100755 src/Endpoint/VariantParameters/CreateVariantParameter.php mode change 100644 => 100755 src/Endpoint/VariantParameters/CreateVariantParameterValue.php mode change 100644 => 100755 src/Endpoint/VariantParameters/DeleteVariantParameter.php mode change 100644 => 100755 src/Endpoint/VariantParameters/DeleteVariantParameterValue.php mode change 100644 => 100755 src/Endpoint/VariantParameters/GetDetailOfVariantParameter.php mode change 100644 => 100755 src/Endpoint/VariantParameters/GetListOfVariantParameters.php mode change 100644 => 100755 src/Endpoint/VariantParameters/UpdateVariantParameter.php mode change 100644 => 100755 src/Endpoint/VariantParameters/UpdateVariantParameterValue.php mode change 100644 => 100755 src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php mode change 100644 => 100755 src/Endpoint/Warranties/GetListOfProductWarranties.php mode change 100644 => 100755 src/Endpoint/Webhooks/DeleteRegisteredWebhook.php mode change 100644 => 100755 src/Endpoint/Webhooks/GenerateWebhookSignatureKey.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooks.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooks.php mode change 100644 => 100755 src/Endpoint/Webhooks/GetWebhookNotification.php mode change 100644 => 100755 src/Endpoint/Webhooks/RegisterNewWebhook.php mode change 100644 => 100755 src/Endpoint/Webhooks/UpdateExistingWebhook.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/CreateXYDiscount.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/DeleteXYDiscount.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetDetailOfXYDiscounts.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetListOfXYDiscounts.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscount.php mode change 100644 => 100755 src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php mode change 100644 => 100755 src/Sdk.php mode change 100644 => 100755 tests/Unit/Authorization/AuthorizationTest.php mode change 100644 => 100755 tests/Unit/Authorization/OAuthTest.php mode change 100644 => 100755 tests/Unit/Factory/DummyEntity.php mode change 100644 => 100755 tests/Unit/Factory/DummySubEntity.php mode change 100644 => 100755 tests/Unit/Factory/EndpointFactoryTest.php mode change 100644 => 100755 tests/Unit/Factory/EntityFactoryTest.php mode change 100644 => 100755 tests/Unit/FakeResponseFactory.php mode change 100644 => 100755 tests/Unit/Helper/DummyValueObject.php mode change 100644 => 100755 tests/Unit/Helper/StringConverterTest.php mode change 100644 => 100755 tests/Unit/TestHttpClient.php diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS old mode 100644 new mode 100755 diff --git a/.github/workflows/sdk-tests.yaml b/.github/workflows/sdk-tests.yaml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/build/phpstan.bootstrap.php b/build/phpstan.bootstrap.php old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 diff --git a/docs/request_body_processing_methods.md b/docs/request_body_processing_methods.md old mode 100644 new mode 100755 diff --git a/examples/authorizationExample.php b/examples/authorizationExample.php old mode 100644 new mode 100755 diff --git a/examples/callEndpointWithRequestBody.php b/examples/callEndpointWithRequestBody.php old mode 100644 new mode 100755 diff --git a/examples/handleAddonInstallationCallback.php b/examples/handleAddonInstallationCallback.php old mode 100644 new mode 100755 diff --git a/init.php b/init.php old mode 100644 new mode 100755 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon old mode 100644 new mode 100755 diff --git a/phpstan.neon.dist b/phpstan.neon.dist old mode 100644 new mode 100755 diff --git a/phpunit.xml b/phpunit.xml old mode 100644 new mode 100755 diff --git a/ruleset.xml b/ruleset.xml old mode 100644 new mode 100755 diff --git a/src/Endpoint/AlternativeProducts/AddAlternativeProduct.php b/src/Endpoint/AlternativeProducts/AddAlternativeProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProducts.php b/src/Endpoint/AlternativeProducts/GetListOfProductAlternativeProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/AlternativeProducts/SetAlternativeProducts.php b/src/Endpoint/AlternativeProducts/SetAlternativeProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticle.php b/src/Endpoint/Articles/CreateArticle.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/CreateArticleSection.php b/src/Endpoint/Articles/CreateArticleSection.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/DeleteArticle.php b/src/Endpoint/Articles/DeleteArticle.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/DeleteArticleSection.php b/src/Endpoint/Articles/DeleteArticleSection.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/GetDetailOfArticle.php b/src/Endpoint/Articles/GetDetailOfArticle.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/GetDetailOfArticleSection.php b/src/Endpoint/Articles/GetDetailOfArticleSection.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/GetListAllArticles.php b/src/Endpoint/Articles/GetListAllArticles.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/GetListOfArticleSections.php b/src/Endpoint/Articles/GetListOfArticleSections.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/GetListOfArticles.php b/src/Endpoint/Articles/GetListOfArticles.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticle.php b/src/Endpoint/Articles/UpdateArticle.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Articles/UpdateArticleSection.php b/src/Endpoint/Articles/UpdateArticleSection.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/CreateBrand.php b/src/Endpoint/Brands/CreateBrand.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/CreateBrandBatch.php b/src/Endpoint/Brands/CreateBrandBatch.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/DeleteBrand.php b/src/Endpoint/Brands/DeleteBrand.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/GetDetailOfBrand.php b/src/Endpoint/Brands/GetDetailOfBrand.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/GetListofBrands.php b/src/Endpoint/Brands/GetListofBrands.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Brands/UpdateBrand.php b/src/Endpoint/Brands/UpdateBrand.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/CreateProductCategory.php b/src/Endpoint/Categories/CreateProductCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/DeleteProductCategory.php b/src/Endpoint/Categories/DeleteProductCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/GetListOfProductCategories.php b/src/Endpoint/Categories/GetListOfProductCategories.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/GetListOfProductsOrderInCategory.php b/src/Endpoint/Categories/GetListOfProductsOrderInCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/GetProductCategoryDetail.php b/src/Endpoint/Categories/GetProductCategoryDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/UpdateProductCategory.php b/src/Endpoint/Categories/UpdateProductCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/UpdateProductCategoryBatch.php b/src/Endpoint/Categories/UpdateProductCategoryBatch.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Categories/UpdateProductOrderInCategory.php b/src/Endpoint/Categories/UpdateProductOrderInCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ConsumptionTaxes/CreateConsumptionTax.php b/src/Endpoint/ConsumptionTaxes/CreateConsumptionTax.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTax.php b/src/Endpoint/ConsumptionTaxes/DeleteConsumptionTax.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxes.php b/src/Endpoint/ConsumptionTaxes/GetListOfConsumptionTaxes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTax.php b/src/Endpoint/ConsumptionTaxes/UpdateConsumptionTax.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoice.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromInvoice.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php b/src/Endpoint/CreditNotes/CreateCreditNoteFromProofOfPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/CreateCreditNoteItem.php b/src/Endpoint/CreditNotes/CreateCreditNoteItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/DeleteCreditNote.php b/src/Endpoint/CreditNotes/DeleteCreditNote.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php b/src/Endpoint/CreditNotes/DeleteCreditNoteItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/DownloadCreditNoteAsIsdoc.php b/src/Endpoint/CreditNotes/DownloadCreditNoteAsIsdoc.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/DownloadCreditNotePdf.php b/src/Endpoint/CreditNotes/DownloadCreditNotePdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetCreditNoteDetail.php b/src/Endpoint/CreditNotes/GetCreditNoteDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetLastCreditNoteChanges.php b/src/Endpoint/CreditNotes/GetLastCreditNoteChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php b/src/Endpoint/CreditNotes/GetListOfAllCreditNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/GetListOfCreditNotes.php b/src/Endpoint/CreditNotes/GetListOfCreditNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/RestockCreditNote.php b/src/Endpoint/CreditNotes/RestockCreditNote.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNote.php b/src/Endpoint/CreditNotes/UpdateCreditNote.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php b/src/Endpoint/CreditNotes/UpdateCreditNoteItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerAccounts/CreateCustomerAccount.php b/src/Endpoint/CustomerAccounts/CreateCustomerAccount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerAccounts/DeleteCustomerAccount.php b/src/Endpoint/CustomerAccounts/DeleteCustomerAccount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccount.php b/src/Endpoint/CustomerAccounts/GetDetailOfCustomerAccount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerAccounts/GetListOfCustomerAccounts.php b/src/Endpoint/CustomerAccounts/GetListOfCustomerAccounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerAccounts/UpdateCustomerAccount.php b/src/Endpoint/CustomerAccounts/UpdateCustomerAccount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddress.php b/src/Endpoint/CustomerDeliveryAddresses/CreateDeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddress.php b/src/Endpoint/CustomerDeliveryAddresses/DeleteCustomerDeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddresses.php b/src/Endpoint/CustomerDeliveryAddresses/GeListOfCustomerDeliveryAddresses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddress.php b/src/Endpoint/CustomerDeliveryAddresses/GetDetailOfCustomerDeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddress.php b/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddress.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerRemarks/CreateCustomerRemark.php b/src/Endpoint/CustomerRemarks/CreateCustomerRemark.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerRemarks/DeleteCustomerRemark.php b/src/Endpoint/CustomerRemarks/DeleteCustomerRemark.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemark.php b/src/Endpoint/CustomerRemarks/GetDetailOfCustomerRemark.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarks.php b/src/Endpoint/CustomerRemarks/GetListOfCustomerRemarks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/CustomerRemarks/UpdateCustomerRemark.php b/src/Endpoint/CustomerRemarks/UpdateCustomerRemark.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/CreateCustomer.php b/src/Endpoint/Customers/CreateCustomer.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/DeleteCustomer.php b/src/Endpoint/Customers/DeleteCustomer.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetCustomerDetail.php b/src/Endpoint/Customers/GetCustomerDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetLastCustomerChanges.php b/src/Endpoint/Customers/GetLastCustomerChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfAllCustomers.php b/src/Endpoint/Customers/GetListOfAllCustomers.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerGroups.php b/src/Endpoint/Customers/GetListOfCustomerGroups.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomerRegions.php b/src/Endpoint/Customers/GetListOfCustomerRegions.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/GetListOfCustomers.php b/src/Endpoint/Customers/GetListOfCustomers.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Customers/UpdateCustomer.php b/src/Endpoint/Customers/UpdateCustomer.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php b/src/Endpoint/DeliveryNotes/DownloadDeliveryNoteAsPdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php b/src/Endpoint/DeliveryNotes/GetDetailOfDeliveryNote.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php b/src/Endpoint/DeliveryNotes/GetListOfAllDeliveryNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php b/src/Endpoint/DeliveryNotes/GetListOfDeliveryNotes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php b/src/Endpoint/DiscountCoupons/BulkDeleteDiscountCoupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCoupons.php b/src/Endpoint/DiscountCoupons/CreateDiscountCoupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsSet.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php b/src/Endpoint/DiscountCoupons/CreateDiscountCouponsTemplate.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCoupon.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplate.php b/src/Endpoint/DiscountCoupons/DeleteDiscountCouponsTemplate.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/GetDetailOfDiscountCoupon.php b/src/Endpoint/DiscountCoupons/GetDetailOfDiscountCoupon.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/GetListOfAllDiscountCoupons.php b/src/Endpoint/DiscountCoupons/GetListOfAllDiscountCoupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/GetListOfDiscountCoupons.php b/src/Endpoint/DiscountCoupons/GetListOfDiscountCoupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCoupons.php b/src/Endpoint/DiscountCoupons/GetTemplatesOfDiscountCoupons.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsage.php b/src/Endpoint/DiscountCoupons/UpdateDiscountCouponsUsage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Discussions/GetListOfDiscussionPosts.php b/src/Endpoint/Discussions/GetListOfDiscussionPosts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/CreateEmailDistributionList.php b/src/Endpoint/EmailDistributionLists/CreateEmailDistributionList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/CreateEmailsDistributionList.php b/src/Endpoint/EmailDistributionLists/CreateEmailsDistributionList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionList.php b/src/Endpoint/EmailDistributionLists/GetDetailOfEmailDistributionList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php b/src/Endpoint/EmailDistributionLists/GetLastChangesInDistributionList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php b/src/Endpoint/EmailDistributionLists/GetListingOfEmailDistributionLists.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php b/src/Endpoint/Endpoints/GetListOfAvailableEndpoints.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopDesign.php b/src/Endpoint/Eshop/GetEshopDesign.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopDocumentSettings.php b/src/Endpoint/Eshop/GetEshopDocumentSettings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopInfo.php b/src/Endpoint/Eshop/GetEshopInfo.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Eshop/GetEshopMandatoryFields.php b/src/Endpoint/Eshop/GetEshopMandatoryFields.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Exports/GeneralDocumentDownload.php b/src/Endpoint/Exports/GeneralDocumentDownload.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/GetListOfUploadedFiles.php b/src/Endpoint/Files/GetListOfUploadedFiles.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFile.php b/src/Endpoint/Files/UploadFile.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Files/UploadFiles.php b/src/Endpoint/Files/UploadFiles.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/CreateFilteringParameter.php b/src/Endpoint/FilteringParameters/CreateFilteringParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/CreateFilteringParameterValue.php b/src/Endpoint/FilteringParameters/CreateFilteringParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/DeleteFilteringParameter.php b/src/Endpoint/FilteringParameters/DeleteFilteringParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/DeleteFilteringParameterValue.php b/src/Endpoint/FilteringParameters/DeleteFilteringParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameter.php b/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/GetListOfFilteringParameters.php b/src/Endpoint/FilteringParameters/GetListOfFilteringParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/UpdateFilteringParameter.php b/src/Endpoint/FilteringParameters/UpdateFilteringParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/FilteringParameters/UpdateFilteringParameterValue.php b/src/Endpoint/FilteringParameters/UpdateFilteringParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Flags/CreateProductFlag.php b/src/Endpoint/Flags/CreateProductFlag.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Flags/DeleteProductFlag.php b/src/Endpoint/Flags/DeleteProductFlag.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Flags/GetListOfProductsFlags.php b/src/Endpoint/Flags/GetListOfProductsFlags.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Flags/UpdateProductFlag.php b/src/Endpoint/Flags/UpdateProductFlag.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Gifts/GetOrderGiftSettings.php b/src/Endpoint/Gifts/GetOrderGiftSettings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Gifts/UpdateOrderGiftSettings.php b/src/Endpoint/Gifts/UpdateOrderGiftSettings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/CreateInvoiceFromOrder.php b/src/Endpoint/Invoices/CreateInvoiceFromOrder.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php b/src/Endpoint/Invoices/CreateInvoiceFromProformaInvoice.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php b/src/Endpoint/Invoices/DownloadInvoiceAsIsdoc.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php b/src/Endpoint/Invoices/DownloadInvoiceAsPdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetInvoiceDetail.php b/src/Endpoint/Invoices/GetInvoiceDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetLastInvoiceChanges.php b/src/Endpoint/Invoices/GetLastInvoiceChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfAllInvoices.php b/src/Endpoint/Invoices/GetListOfAllInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/GetListOfInvoices.php b/src/Endpoint/Invoices/GetListOfInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php b/src/Endpoint/Invoices/InvoiceLinkProformaInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Invoices/InvoiceLinkProofPayments.php b/src/Endpoint/Invoices/InvoiceLinkProofPayments.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Jobs/GetJobDetail.php b/src/Endpoint/Jobs/GetJobDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Jobs/GetListOfJobs.php b/src/Endpoint/Jobs/GetListOfJobs.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php b/src/Endpoint/MeasureUnits/GetListOfProductsMeasureUnits.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderGifts/AddOrderGift.php b/src/Endpoint/OrderGifts/AddOrderGift.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderGifts/DeleteOrderGift.php b/src/Endpoint/OrderGifts/DeleteOrderGift.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderGifts/GetOrderGiftsList.php b/src/Endpoint/OrderGifts/GetOrderGiftsList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderHistory/CreateOrderRemark.php b/src/Endpoint/OrderHistory/CreateOrderRemark.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderHistory/DeleteOrderHistoryItem.php b/src/Endpoint/OrderHistory/DeleteOrderHistoryItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderHistory/GetListOfAllRemarks.php b/src/Endpoint/OrderHistory/GetListOfAllRemarks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderHistory/GetListOfRemarksForOrder.php b/src/Endpoint/OrderHistory/GetListOfRemarksForOrder.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderItems/CreateOrderItem.php b/src/Endpoint/OrderItems/CreateOrderItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderItems/CreateOrderItemSurchargeParameters.php b/src/Endpoint/OrderItems/CreateOrderItemSurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderItems/DeleteOrderItem.php b/src/Endpoint/OrderItems/DeleteOrderItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParameters.php b/src/Endpoint/OrderItems/DeleteOrderItemSurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderItems/UpdateOrderItem.php b/src/Endpoint/OrderItems/UpdateOrderItem.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderPayment/CreateOrderPayment.php b/src/Endpoint/OrderPayment/CreateOrderPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderPayment/UpdateOrderPayment.php b/src/Endpoint/OrderPayment/UpdateOrderPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderShipping/AddOrderShipping.php b/src/Endpoint/OrderShipping/AddOrderShipping.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/OrderShipping/UpdateOrderShipping.php b/src/Endpoint/OrderShipping/UpdateOrderShipping.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/CreateOrder.php b/src/Endpoint/Orders/CreateOrder.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/DeleteOrder.php b/src/Endpoint/Orders/DeleteOrder.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/DownloadOrderAsPdf.php b/src/Endpoint/Orders/DownloadOrderAsPdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetLastOrderChanges.php b/src/Endpoint/Orders/GetLastOrderChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfAllOrders.php b/src/Endpoint/Orders/GetListOfAllOrders.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderSources.php b/src/Endpoint/Orders/GetListOfOrderSources.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrderStatuses.php b/src/Endpoint/Orders/GetListOfOrderStatuses.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetListOfOrders.php b/src/Endpoint/Orders/GetListOfOrders.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetOrderClaims.php b/src/Endpoint/Orders/GetOrderClaims.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/GetOrderDetail.php b/src/Endpoint/Orders/GetOrderDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderBatchInsertion.php b/src/Endpoint/Orders/OrderBatchInsertion.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/OrderCopy.php b/src/Endpoint/Orders/OrderCopy.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderHead.php b/src/Endpoint/Orders/UpdateOrderHead.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateOrderStatus.php b/src/Endpoint/Orders/UpdateOrderStatus.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Orders/UpdateRemarksForOrder.php b/src/Endpoint/Orders/UpdateRemarksForOrder.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Pages/CreatePage.php b/src/Endpoint/Pages/CreatePage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Pages/DeletePage.php b/src/Endpoint/Pages/DeletePage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Pages/GetDetailOfPage.php b/src/Endpoint/Pages/GetDetailOfPage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Pages/GetListOfPages.php b/src/Endpoint/Pages/GetListOfPages.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Pages/UpdatePage.php b/src/Endpoint/Pages/UpdatePage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ParametricCategories/CreateParametricCategory.php b/src/Endpoint/ParametricCategories/CreateParametricCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ParametricCategories/DeleteParametricCategory.php b/src/Endpoint/ParametricCategories/DeleteParametricCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ParametricCategories/GetListOfParametricCategories.php b/src/Endpoint/ParametricCategories/GetListOfParametricCategories.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php b/src/Endpoint/ParametricCategories/GetParametricCategoryDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ParametricCategories/UpdateParametricCategory.php b/src/Endpoint/ParametricCategories/UpdateParametricCategory.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentGateways/GetInformationAboutPayment.php b/src/Endpoint/PaymentGateways/GetInformationAboutPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentGateways/UpdatePaymentStatus.php b/src/Endpoint/PaymentGateways/UpdatePaymentStatus.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/CreatePaymentMethod.php b/src/Endpoint/PaymentMethods/CreatePaymentMethod.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/DeletePaymentMethod.php b/src/Endpoint/PaymentMethods/DeletePaymentMethod.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PaymentMethods/GetListingOfPaymentMethods.php b/src/Endpoint/PaymentMethods/GetListingOfPaymentMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/CreatePricelist.php b/src/Endpoint/PriceLists/CreatePricelist.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/DeletePricelist.php b/src/Endpoint/PriceLists/DeletePricelist.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/GetListOfAllPricelistDetails.php b/src/Endpoint/PriceLists/GetListOfAllPricelistDetails.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/GetListOfPriceLists.php b/src/Endpoint/PriceLists/GetListOfPriceLists.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/GetPricelistDetail.php b/src/Endpoint/PriceLists/GetPricelistDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/PriceLists/UpdatePricelist.php b/src/Endpoint/PriceLists/UpdatePricelist.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductAvailabilities/CreateProductAvailability.php b/src/Endpoint/ProductAvailabilities/CreateProductAvailability.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php b/src/Endpoint/ProductAvailabilities/DeleteProductAvailability.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilities.php b/src/Endpoint/ProductAvailabilities/GetListOfProductsAvailabilities.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php b/src/Endpoint/ProductAvailabilities/UpdateProductAvailability.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductGifts/CreateProductGift.php b/src/Endpoint/ProductGifts/CreateProductGift.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductGifts/GetListOfProductGifts.php b/src/Endpoint/ProductGifts/GetListOfProductGifts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductGifts/SteGiftsToProduct.php b/src/Endpoint/ProductGifts/SteGiftsToProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/CreateProductImages.php b/src/Endpoint/ProductImages/CreateProductImages.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/DeleteAllProductImagesInGallery.php b/src/Endpoint/ProductImages/DeleteAllProductImagesInGallery.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/DeleteOneProductImage.php b/src/Endpoint/ProductImages/DeleteOneProductImage.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/GetListOfProductImages.php b/src/Endpoint/ProductImages/GetListOfProductImages.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/GetProductImagesUpdate.php b/src/Endpoint/ProductImages/GetProductImagesUpdate.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductImages/UpdateProductImagesSource.php b/src/Endpoint/ProductImages/UpdateProductImagesSource.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php b/src/Endpoint/ProductRelatedFiles/CreateRelatedFileLink.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php b/src/Endpoint/ProductRelatedFiles/DeleteOneProductRelatedFile.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductSets/AddItemToProductSet.php b/src/Endpoint/ProductSets/AddItemToProductSet.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProductSets/SetProductSetItems.php b/src/Endpoint/ProductSets/SetProductSetItems.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/CreateProduct.php b/src/Endpoint/Products/CreateProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/DeleteProduct.php b/src/Endpoint/Products/DeleteProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/DeleteProductVariant.php b/src/Endpoint/Products/DeleteProductVariant.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetLastProductChanges.php b/src/Endpoint/Products/GetLastProductChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfAllProducts.php b/src/Endpoint/Products/GetListOfAllProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php b/src/Endpoint/Products/GetListOfAllProductsAndPricelistPrices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetListOfProducts.php b/src/Endpoint/Products/GetListOfProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetProductDetail.php b/src/Endpoint/Products/GetProductDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/GetProductDetailByCode.php b/src/Endpoint/Products/GetProductDetailByCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductBatchUpdate.php b/src/Endpoint/Products/ProductBatchUpdate.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/ProductCopy.php b/src/Endpoint/Products/ProductCopy.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php b/src/Endpoint/Products/UnlinkAllProductRelatedFiles.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/UpdateProduct.php b/src/Endpoint/Products/UpdateProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Products/UpdateProductByCode.php b/src/Endpoint/Products/UpdateProductByCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php b/src/Endpoint/ProformaInvoices/DownloadProformaInvoicePdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php b/src/Endpoint/ProformaInvoices/GetLastProformaInvoiceChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php b/src/Endpoint/ProformaInvoices/GetListOfAllProformaInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php b/src/Endpoint/ProformaInvoices/GetListOfProformaInvoices.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php b/src/Endpoint/ProformaInvoices/GetProformaInvoiceDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Project/GetProjectDomainList.php b/src/Endpoint/Project/GetProjectDomainList.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Project/GetProjectSalesChannels.php b/src/Endpoint/Project/GetProjectSalesChannels.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPayment.php b/src/Endpoint/ProofPayments/CreateProofPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php b/src/Endpoint/ProofPayments/CreateProofPaymentByOrderCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php b/src/Endpoint/ProofPayments/CreateProofPaymentByProformaInvoiceCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/DeleteProofPayment.php b/src/Endpoint/ProofPayments/DeleteProofPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/DownloadProofOfPaymentPdf.php b/src/Endpoint/ProofPayments/DownloadProofOfPaymentPdf.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php b/src/Endpoint/ProofPayments/DownloadProofPaymentAsIsdoc.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php b/src/Endpoint/ProofPayments/GetLastProofPaymentsChanges.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php b/src/Endpoint/ProofPayments/GetListOfAllProofPayments.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetListOfProofPayments.php b/src/Endpoint/ProofPayments/GetListOfProofPayments.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetail.php b/src/Endpoint/ProofPayments/GetProofPaymentDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByOrderCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php b/src/Endpoint/ProofPayments/GetProofPaymentDetailByProformaInvoiceCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php b/src/Endpoint/ProofPayments/ProofPaymentDocumentSettings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ProofPayments/UpdateProofPayment.php b/src/Endpoint/ProofPayments/UpdateProofPayment.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/CreateQuantityDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/DeleteQuantityDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscounts.php b/src/Endpoint/QuantityDiscounts/GetDetailOfQuantityDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscounts.php b/src/Endpoint/QuantityDiscounts/GetListOfAllQuantityDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscounts.php b/src/Endpoint/QuantityDiscounts/GetListOfQuantityDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php b/src/Endpoint/QuantityDiscounts/UpdateQuantityDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php b/src/Endpoint/RecyclingFees/GetListOfRecyclingFeeCategories.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/RelatedProducts/AddRelatedProduct.php b/src/Endpoint/RelatedProducts/AddRelatedProduct.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/RelatedProducts/GetListOfProductRelatedProducts.php b/src/Endpoint/RelatedProducts/GetListOfProductRelatedProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/RelatedProducts/SetRelatedProducts.php b/src/Endpoint/RelatedProducts/SetRelatedProducts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Reviews/GetListOfEshopReviews.php b/src/Endpoint/Reviews/GetListOfEshopReviews.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Reviews/GetListOfProductsReviews.php b/src/Endpoint/Reviews/GetListOfProductsReviews.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/CreateShippingMethod.php b/src/Endpoint/ShippingMethods/CreateShippingMethod.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php b/src/Endpoint/ShippingMethods/GetListOfShippingMethods.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php b/src/Endpoint/ShippingRequests/GetShippingRequestForCartDetails.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php b/src/Endpoint/ShippingRequests/GetShippingRequestForGettingOrderStatus.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/ShippingRequests/UpdateShippingData.php b/src/Endpoint/ShippingRequests/UpdateShippingData.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetListOfStocks.php b/src/Endpoint/Stocks/GetListOfStocks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetProductSuppliesInStock.php b/src/Endpoint/Stocks/GetProductSuppliesInStock.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockDetail.php b/src/Endpoint/Stocks/GetStockDetail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovements.php b/src/Endpoint/Stocks/GetStockMovements.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/GetStockMovementsLastMove.php b/src/Endpoint/Stocks/GetStockMovementsLastMove.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Stocks/UpdateQuantityInStock.php b/src/Endpoint/Stocks/UpdateQuantityInStock.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Suppliers/GetListOfSuppliers.php b/src/Endpoint/Suppliers/GetListOfSuppliers.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/CreateSurchargeParameter.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValue.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndex.php b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterByIndex.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValue.php b/src/Endpoint/SurchargeParameters/DeleteSurchargeParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameter.php b/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/GetListOfSurchargeParameters.php b/src/Endpoint/SurchargeParameters/GetListOfSurchargeParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValue.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Templates/CreateAndEditHtmlCodes.php b/src/Endpoint/Templates/CreateAndEditHtmlCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Templates/DeleteHtmlCode.php b/src/Endpoint/Templates/DeleteHtmlCode.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Templates/GetListingOfHtmlCodes.php b/src/Endpoint/Templates/GetListingOfHtmlCodes.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Units/GetListOfProductUnits.php b/src/Endpoint/Units/GetListOfProductUnits.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmail.php b/src/Endpoint/UnsubscribedEmails/CreateUnsubscribedEmail.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php b/src/Endpoint/UnsubscribedEmails/GetListingOfUnsubscribedEmails.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/CreateVariantParameter.php b/src/Endpoint/VariantParameters/CreateVariantParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/CreateVariantParameterValue.php b/src/Endpoint/VariantParameters/CreateVariantParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/DeleteVariantParameter.php b/src/Endpoint/VariantParameters/DeleteVariantParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/DeleteVariantParameterValue.php b/src/Endpoint/VariantParameters/DeleteVariantParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/GetDetailOfVariantParameter.php b/src/Endpoint/VariantParameters/GetDetailOfVariantParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/GetListOfVariantParameters.php b/src/Endpoint/VariantParameters/GetListOfVariantParameters.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/UpdateVariantParameter.php b/src/Endpoint/VariantParameters/UpdateVariantParameter.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VariantParameters/UpdateVariantParameterValue.php b/src/Endpoint/VariantParameters/UpdateVariantParameterValue.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php b/src/Endpoint/VolumeDiscounts/GetListOfVolumeDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Warranties/GetListOfProductWarranties.php b/src/Endpoint/Warranties/GetListOfProductWarranties.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/DeleteRegisteredWebhook.php b/src/Endpoint/Webhooks/DeleteRegisteredWebhook.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/GenerateWebhookSignatureKey.php b/src/Endpoint/Webhooks/GenerateWebhookSignatureKey.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooks.php b/src/Endpoint/Webhooks/GetDetailOfRegisteredWebhooks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooks.php b/src/Endpoint/Webhooks/GetOverviewOfRegisteredWebhooks.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/GetWebhookNotification.php b/src/Endpoint/Webhooks/GetWebhookNotification.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/RegisterNewWebhook.php b/src/Endpoint/Webhooks/RegisterNewWebhook.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/Webhooks/UpdateExistingWebhook.php b/src/Endpoint/Webhooks/UpdateExistingWebhook.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/CreateXYDiscount.php b/src/Endpoint/XYDiscounts/CreateXYDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/DeleteXYDiscount.php b/src/Endpoint/XYDiscounts/DeleteXYDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetDetailOfXYDiscounts.php b/src/Endpoint/XYDiscounts/GetDetailOfXYDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetListOfXYDiscounts.php b/src/Endpoint/XYDiscounts/GetListOfXYDiscounts.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php b/src/Endpoint/XYDiscounts/GetXYDiscountsSettings.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscount.php b/src/Endpoint/XYDiscounts/UpdateXYDiscount.php old mode 100644 new mode 100755 diff --git a/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php b/src/Endpoint/XYDiscounts/UpdateXYDiscountSettings.php old mode 100644 new mode 100755 diff --git a/src/Sdk.php b/src/Sdk.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Authorization/AuthorizationTest.php b/tests/Unit/Authorization/AuthorizationTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Authorization/OAuthTest.php b/tests/Unit/Authorization/OAuthTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Factory/DummyEntity.php b/tests/Unit/Factory/DummyEntity.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Factory/DummySubEntity.php b/tests/Unit/Factory/DummySubEntity.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Factory/EndpointFactoryTest.php b/tests/Unit/Factory/EndpointFactoryTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Factory/EntityFactoryTest.php b/tests/Unit/Factory/EntityFactoryTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/FakeResponseFactory.php b/tests/Unit/FakeResponseFactory.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Helper/DummyValueObject.php b/tests/Unit/Helper/DummyValueObject.php old mode 100644 new mode 100755 diff --git a/tests/Unit/Helper/StringConverterTest.php b/tests/Unit/Helper/StringConverterTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/TestHttpClient.php b/tests/Unit/TestHttpClient.php old mode 100644 new mode 100755